Subversion Repositories eduke32


Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
8429 312d 18h hendricks266 /source/mact/include/keyboard.h Baselayer: Add keyGetScan and keyFlushScans

Backported from NBlood.
8265 365d 11h ny00123 /source/mact/include/keyboard.h Make the secondary backslash key of the standard 102-keys PC keyboard layout, also known as a "less than" key, usable. This is the key generally sitting in-between the left shift and Z keys, for the 102-keys QWERTY layout.  
7178 707d 10h terminx /source/mact/include/keyboard.h Move sctokeylut[] in mact to keyboard.h from keyboard.cpp  
6827 927d 7h terminx /source/mact/include/keyboard.h Beginnings of baselayer.cpp/.h refactor. This is 99.9% renames.  
6137 1238d 18h hendricks266 /source/mact/include/keyboard.h Fix some extern "C".  
6055 1362d 18h hendricks266 /source/mact/include/keyboard.h The great repository rearrangement of 2017.

Files moved but not modified. Changes to follow in a subsequent commit.

You down with CPP?
6020 1376d 5h terminx /source/mact/include/keyboard.h Gut most of MACT keyboard.c in favor of stuff in its header (keyboard.h)  
5662 1687d 4h terminx /source/mact/include/keyboard.h pragma once for mact headers.  
4766 2160d 23h hendricks266 /source/mact/include/keyboard.h Make a bunch of things extern "C". This should fix C++ builds on OS X and with Lunatic. DONT_BUILD.  
4747 2164d 15h terminx /source/mact/include/keyboard.h Part 1 of attempting to adhere to C standard section 7.1.3. It turns out it's illegal to use identifiers that begin with _ or have __ anywhere in them. DONT_BUILD.  
4541 2289d 19h hendricks266 /source/mact/include/keyboard.h Replace the funkily-formatted GNU.TXT with the FSF's official gpl-2.0.txt. Also, update the FSF's address in all source files that contain it.

3208 2899d 4h terminx /source/mact/include/keyboard.h Fix a keyboard scancode oversight I introduced with my changes last night, apparently caused crashes  
3200 2899d 11h terminx /source/mact/include/keyboard.h Further minor MACT cleanups  
3197 2899d 11h terminx /source/mact/include/keyboard.h Change key bindings to use dynamic allocation and remove the previous limit of 128 characters per key bind  
3195 2899d 11h terminx /source/mact/include/keyboard.h Rename a few variables we've added to MACT over the years to be more consistent with the rest of its naming conventions  
3127 2910d 5h helixhorned /source/mact/include/keyboard.h Prettify some code where I felt was necessary.  
3116 2912d 1h hendricks266 /source/mact/include/keyboard.h Work-in-progress adjustment to the C code to compile under C++. It builds for me without errors using Win32 MinGW-GCC, but it still generates warning soup. No guarantees about MSVC or anything using SDL. Enable C++ by building with CPLUSPLUS=1. C remains the default and should compile with no change in setup.

Credit to Plagman for the idea and doing the work on the game side, which is included in this commit.

(Building as C++ will give us features with which we can make improvements and optimizations on the multiplayer code and Polymer.)
2796 3038d 6h helixhorned /source/mact/include/keyboard.h Constify various char* vars, parameters, etc. for more -Wwrite-strings cleanness

-Wwrite-strings is useful to detect code where string literals and e.g. alloc'd
strings are used side-by-side, potentially creating dangerous situations, or to
find uses of old, non-constified APIs. However, enabling it would still flood
the log with too many warnings. Also, GCC wrongly warns for initializations of
char arrays.
2456 3149d 23h hendricks266 /source/mact/include/keyboard.h Fix JonoF's email address.  
1625 3829d 4h terminx /source/mact/include/keyboard.h Source code "cleanup," herein referred to as "rape"  

Show All