Subversion Repositories eduke32


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

Filtering Options

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

Backported from NBlood.
8265 726d 22h 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 1068d 20h terminx /source/mact/include/keyboard.h Move sctokeylut[] in mact to keyboard.h from keyboard.cpp  
6827 1288d 18h terminx /source/mact/include/keyboard.h Beginnings of baselayer.cpp/.h refactor. This is 99.9% renames.  
6137 1600d 5h hendricks266 /source/mact/include/keyboard.h Fix some extern "C".  
6055 1724d 5h 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 1737d 16h terminx /source/mact/include/keyboard.h Gut most of MACT keyboard.c in favor of stuff in its header (keyboard.h)  
5662 2048d 15h terminx /source/mact/include/keyboard.h pragma once for mact headers.  
4766 2522d 10h 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 2526d 2h 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 2651d 6h 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 3260d 15h terminx /source/mact/include/keyboard.h Fix a keyboard scancode oversight I introduced with my changes last night, apparently caused crashes  
3200 3260d 22h terminx /source/mact/include/keyboard.h Further minor MACT cleanups  
3197 3260d 22h 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 3260d 22h 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 3271d 16h helixhorned /source/mact/include/keyboard.h Prettify some code where I felt was necessary.  
3116 3273d 12h 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 3399d 16h 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 3511d 10h hendricks266 /source/mact/include/keyboard.h Fix JonoF's email address.  
1625 4190d 15h terminx /source/mact/include/keyboard.h Source code "cleanup," herein referred to as "rape"  

Show All