doom3-bfg/neo
Daniel Gibson e37671d6ac Change SDL event-handling, mostly for keyboard input
Sys_GetEvent()
* renamed res_none to no_more_events, because that's what the
  caller assumes when getting that event
* don't return res_none on unhandled events, instead get the next event
  until there is a handled event or no more events
  (=> if -> while, return res_none -> continue)
* Mapping to Doom3 keynum handled differently for SDL1 vs SDL2, see below

For SDL2 we don't use SDL_KeyToDoom3Key on the keysym anymore, but map
the SDL2 scancode to Doom3/Direct-Input scancodes instead (the keynum_t
K_* constants are really used as scancodes!).

This mapping is done in sdl2_scancode_mappings.h scancodeToKeyNum[].
In sdl_events.cpp there are static SDLScanCodeToKeyNum() and
KeyNumToSDLScanCode() functions that use this scancodeToKeyNum[] array.

Sys_GetKeyName() now does something sensible for SDL2 by using
KeyNumToSDLScanCode()

This is also used to implement idKeyInput::LocalizedKeyName() for SDL-targets
(for SDL1.2 the behavior doesn't change much, though, as it doesn't have
consistent scancodes - Sys_GetKeyName() will just return NULL and
idKeyInput::LocalizedKeyName() will fall back to the old default)
2015-01-06 21:22:12 +01:00
..
aas Added support for precompiled headers for MSVC which reduced the compiled time from 4 minutes to 67 seconds. 2012-12-22 16:18:19 +01:00
amplitude Replace malloc.h by stdlib.h 2013-03-16 01:38:53 +01:00
cm Added back dmap and aas compiler from original Doom 3 GPL release 2014-08-01 03:07:00 -04:00
cmake Bink support on Linux with CMake 2014-04-05 17:38:42 +02:00
d3xp Fix loading saved game prior to commit 7e21048 crash. 2014-10-09 18:54:35 +09:00
framework Change SDL event-handling, mostly for keyboard input 2015-01-06 21:22:12 +01:00
idlib USE_SYSTEM_LIBGLEW -- Use the system libglew instead of the bundled one 2014-11-12 19:35:38 +01:00
libs Fix memory corruption in timidity resampling code. 2014-07-20 22:58:43 +10:00
premake Removed null characters from RenderProgs_embedded.h 2014-04-28 11:29:11 +02:00
renderer Disabled GPU Skinning for Mesa driver #187 2014-11-12 12:39:53 +01:00
sound Astyle 2014-11-09 11:15:35 +01:00
swf Use system's libjpeg when -DUSE_SYSTEM_LIBJPEG is used 2014-11-01 17:59:25 +01:00
sys Change SDL event-handling, mostly for keyboard input 2015-01-06 21:22:12 +01:00
tools/compilers Small corrections to dmap 2014-08-02 15:09:25 +02:00
ui Fixed various warnings from clang 2012-12-23 06:40:47 +01:00
astyle-code.bat Merged generic C++ fallbacks for SSE optimized code to allow support for non-x86 based platforms like ARM 2013-06-01 15:13:00 +02:00
astyle-code.sh Changed astyle-code.sh script to use the system astyle which is 2.03 on Kubuntu 13.10 2014-02-23 15:19:11 +01:00
astyle-options.ini Added Artistic Style 2.02.1 C++ beautifier. 2012-11-28 16:36:17 +01:00
astyle.exe Updated astyle.exe to AStyle 2.03 2014-02-23 15:23:10 +01:00
cmake-eclipse-linux-debug.sh First playable version on Linux. 2012-12-16 17:31:21 +01:00
cmake-eclipse-linux-profile.sh First playable version on Linux. 2012-12-16 17:31:21 +01:00
cmake-eclipse-mingw-debug.bat Added Doom 3 GCC compile options. 2012-12-03 14:21:45 +01:00
cmake-eclipse-mingw-release.bat Added neo/cmake-eclipse-mingw-release.bat 2012-12-03 17:30:42 +01:00
cmake-linux-debug.sh New sh script to make standard debug version in linux. Also included the ONATIVE parameter by default in Release version. SDL2 is deacctivated by default, so there is no need to pass that argument to CMake. 2014-11-19 03:39:18 +09:00
cmake-linux-release.sh New sh script to make standard debug version in linux. Also included the ONATIVE parameter by default in Release version. SDL2 is deacctivated by default, so there is no need to pass that argument to CMake. 2014-11-19 03:39:18 +09:00
cmake-vs2010-32bit.bat Changed OpenAL to use buffers instead of streaming 2013-01-05 00:13:35 +01:00
cmake-vs2010-64bit.bat Changed OpenAL to use buffers instead of streaming 2013-01-05 00:13:35 +01:00
cmake-vs2012-32bit-openal.bat Added CMake batch file for OpenAL 2013-06-01 15:15:18 +02:00
cmake-vs2012-32bit.bat Changed OpenAL to use buffers instead of streaming 2013-01-05 00:13:35 +01:00
cmake-vs2012-64bit.bat Changed OpenAL to use buffers instead of streaming 2013-01-05 00:13:35 +01:00
cmake-vs2013-32bit-openal.bat Added .bat files for quick VS 2013 projects creation 2014-02-13 13:50:31 +01:00
cmake-vs2013-32bit.bat Added .bat files for quick VS 2013 projects creation 2014-02-13 13:50:31 +01:00
cmake-vs2013-64bit.bat Added .bat files for quick VS 2013 projects creation 2014-02-13 13:50:31 +01:00
CMakeLists.txt Renamed CMake -DFORRT option to -DWINRT 2014-11-15 14:43:44 +01:00
premake4.exe Embedded Cg renderprog sources into the renderer using Lua/Premake. Now the renderer can export the renderprogs to any GLSL version without having the user to copy the renderprogs/* shaders to the Doom 3 BFG installation directory. fixes #95 2014-04-26 14:13:25 +02:00
premake4.lua Embedded Cg renderprog sources into the renderer using Lua/Premake. Now the renderer can export the renderprogs to any GLSL version without having the user to copy the renderprogs/* shaders to the Doom 3 BFG installation directory. fixes #95 2014-04-26 14:13:25 +02:00
premake4_embed.bat Embedded Cg renderprog sources into the renderer using Lua/Premake. Now the renderer can export the renderprogs to any GLSL version without having the user to copy the renderprogs/* shaders to the Doom 3 BFG installation directory. fixes #95 2014-04-26 14:13:25 +02:00