Skip to content

Instantly share code, notes, and snippets.

View kungfooman's full-sized avatar

Hermann Rolfes kungfooman

View GitHub Profile
@kungfooman
kungfooman / con_passive.c
Created October 19, 2021 15:06
Fixed con_passive allowing STDIN while playing Quake 3 (ioquake3)
// REMEMBER: Change SUBSYSTEM:WINDOWS to SUBSYSTEM:CONSOLE
/*
===========================================================================
Copyright (C) 1999-2005 Id Software, Inc.
This file is part of Quake III Arena source code.
Quake III Arena source code is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2 of the License,
@kungfooman
kungfooman / lume_test.html
Created November 21, 2023 11:43
Testing LUME in one file
<script>
const imports = {
lume: 'https://raw.githack.com/lume/lume/develop/dist/index.js',
'lume/': 'https://raw.githack.com/lume/lume/develop/',
'@lume/element': 'https://raw.githack.com/lume/element/main/dist/index.js',
'classy-solid': 'https://raw.githack.com/lume/classy-solid/main/dist/index.js',
'@lume/eventful': 'https://raw.githack.com/lume/eventful/main/dist/index.js',
'@lume/kiwi': 'https://raw.githack.com/lume/kiwi/main/dist/kiwi.js',
'@lume/three-projected-material/': 'https://raw.githack.com/lume/three-projected-material/main/',
'@lume/autolayout': 'https://raw.githack.com/lume/autolayout/main/dist/AutoLayout.js',