Subversion Repositories eduke32

Rev

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

Filtering Options

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

Backported from NBlood.
 
8265 723d 19h 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 1065d 17h terminx /source/mact/include/keyboard.h Move sctokeylut[] in mact to keyboard.h from keyboard.cpp  
6827 1285d 14h terminx /source/mact/include/keyboard.h Beginnings of baselayer.cpp/.h refactor. This is 99.9% renames.  
6137 1597d 1h hendricks266 /source/mact/include/keyboard.h Fix some extern "C".  
6055 1721d 1h 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 1734d 13h terminx /source/mact/include/keyboard.h Gut most of MACT keyboard.c in favor of stuff in its header (keyboard.h)  
5662 2045d 11h terminx /source/mact/include/keyboard.h pragma once for mact headers.  
4766 2519d 7h 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 2522d 23h 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 2648d 2h 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.

DONT_BUILD.
 
3208 3257d 11h terminx /source/mact/include/keyboard.h Fix a keyboard scancode oversight I introduced with my changes last night, apparently caused crashes  
3200 3257d 18h terminx /source/mact/include/keyboard.h Further minor MACT cleanups  
3197 3257d 18h 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 3257d 18h 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 3268d 12h helixhorned /source/mact/include/keyboard.h Prettify some code where I felt was necessary.  
3116 3270d 8h 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 3396d 13h 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 3508d 6h hendricks266 /source/mact/include/keyboard.h Fix JonoF's email address.  
1625 4187d 12h terminx /source/mact/include/keyboard.h Source code "cleanup," herein referred to as "rape"  

Show All