raze/polymer/eduke32/build/src
hendricks266 d3a3c74112 Massive menu input control revamp/cleanup/factor. (added: input.[ch])
New Wii control defaults for the Wii Remote + Nunchuk and the Classic Controller. This includes new code added just so that the Home key brings up the menu in-game, reducing the need for a USB keyboard.

On the technical side, raw joystick access (comparable to what is available for keyboard and mouse) is now present in jmact, on the game side. (added: joystick.[ch])

Using this new raw joystick access, I replaced tueidj's hack to map A and B to LMB/RMB and D-Pad Up/Down to the scrollwheel.

I made the menus more friendly to mouse and joystick browsing by adding and unifying checks and clears for various buttons and gamefuncs. In fact, the majority of the time spent on this commit was tracking down problems that appeared with the factoring and trying to understand the menu system and the way input checks are precariously executed.

In addition, "Press any key or button to continue" now truly means what it says.

As a result of incorporating proper raw access into control.c instead of it directly accessing the implementaiton, the program *may* no longer be affected by joystick input when it is out of focus. This follows the pattern set by the mouse, and I think this is a positive change.

A small bonus: In the classic/old keyboard preset, the key for Show_Console has been changed from '`' to 'C' because '`' is taken by Quick_Kick.

git-svn-id: https://svn.eduke32.com/eduke32@2728 1a8010ca-5511-0410-912e-c29ae57300e0
2012-06-03 16:11:22 +00:00
..
misc Build tools: 2012-03-23 20:23:46 +00:00
tmp Moved build to a subdir underneath the eduke32 dir to avoid people trying to compile from the build src dir by mistake 2008-10-20 03:09:19 +00:00
util generateicon: fix inconsistent format letter vs. vararg in fprintf. 2012-04-08 15:52:24 +00:00
a-c.c Patch adding Wii support by tueidj, part 1: assembly pragmas 2012-05-01 12:37:32 +00:00
a.masm Source code "cleanup," herein referred to as "rape" 2010-05-02 23:27:30 +00:00
a.nasm Fix JonoF's email address. 2012-03-12 04:47:04 +00:00
a.wasm Moved build to a subdir underneath the eduke32 dir to avoid people trying to compile from the build src dir by mistake 2008-10-20 03:09:19 +00:00
baselayer.c Massive menu input control revamp/cleanup/factor. (added: input.[ch]) 2012-06-03 16:11:22 +00:00
build.c The handling for grp, con, and def filenames has been massively cleaned up and factored into common.c. A new header, common_game.h, was created because common.h was placed in build/include (see r2542) and we need a common header for things that strictly should not be in the engine. RTS file names were also improved but some of the patterned changes were already made in r2420, and they were not factored because they are strictly part of the game, not the editor. 2012-06-03 16:09:33 +00:00
cache1d.c Only check file name case when not in-game; don't warn for ALLUPPER or alllower. 2012-05-28 18:15:19 +00:00
compat.c Patch adding Wii support by tueidj, part 8: system-specific changes 2012-05-01 12:40:08 +00:00
config.c On Windows, auto-determine r_screenaspect on startup. 2012-04-09 19:22:00 +00:00
crc32.c Rather trivial changes in engine.c and crc32.c. 2012-03-22 22:48:06 +00:00
defs.c The handling for grp, con, and def filenames has been massively cleaned up and factored into common.c. A new header, common_game.h, was created because common.h was placed in build/include (see r2542) and we need a common header for things that strictly should not be in the engine. RTS file names were also improved but some of the patterned changes were already made in r2420, and they were not factored because they are strictly part of the game, not the editor. 2012-06-03 16:09:33 +00:00
dynamicgtk.c Make the "Start" button of the GTK start-up window the default button of the window, which means pressing Enter now works at you'd expect. 2010-07-02 01:26:56 +00:00
engine.c A couple of minor fixes and comments that got accumulated in my tree. 2012-05-29 20:01:55 +00:00
engine_priv.h engine cleanup: make pow2char and pow2long const, make voxlock static. 2012-03-13 20:05:20 +00:00
glbuild.c Fix 'realloc' routine of GL texture name (id) debugging code. 2012-04-29 20:54:37 +00:00
gtkbits.c git-svn-id: https://svn.eduke32.com/eduke32@1206 1a8010ca-5511-0410-912e-c29ae57300e0 2009-01-10 07:38:50 +00:00
hightile.c Minor tweaks of makepalookup() and hicinit(). 2012-03-28 19:42:49 +00:00
kplib.c Patch adding Wii support by tueidj, part 10: sound and endianness changes 2012-05-01 12:40:53 +00:00
lzwnew.c Patch adding Wii support by tueidj, part 10: sound and endianness changes 2012-05-01 12:40:53 +00:00
md4.c Fix JonoF's email address. 2012-03-12 04:47:04 +00:00
mdsprite.c mdsprite.c: patch up bad array access in loadkvx, remove const from kopen4load arg. 2012-05-29 20:01:40 +00:00
mutex.c Patch adding Wii support by tueidj, part 6: mutexes 2012-05-01 12:39:20 +00:00
nedmalloc.c fix some issues with compilation on mac osx; make B, N, M keys behave the same as KP1, KP2, KP3 when pointing at a polymer light (hack around keyboard strangeness) 2011-02-06 22:57:32 +00:00
osd.c Superficial text changes: 2012-03-26 05:05:57 +00:00
osxbits.m Moved build to a subdir underneath the eduke32 dir to avoid people trying to compile from the build src dir by mistake 2008-10-20 03:09:19 +00:00
polymer.c Fix a null pointer access in Polymer mouse picking. 2012-04-14 13:04:31 +00:00
polymost.c Accumulated trivia, mostly "the usual". 2012-05-05 22:23:44 +00:00
pragmas.c Patch adding Wii support by tueidj, part 1: assembly pragmas 2012-05-01 12:37:32 +00:00
quicklz.c Update QuickLZ to 1.5.1 beta 7 2012-05-17 21:36:50 +00:00
rawinput.c Make 5th mouse button functional in Windows. 2012-02-13 21:38:16 +00:00
scriptfile.c a couple more trivial tweaks 2012-01-10 23:45:34 +00:00
sdlayer.c Massive menu input control revamp/cleanup/factor. (added: input.[ch]) 2012-06-03 16:11:22 +00:00
smalltextfont.c Moved build to a subdir underneath the eduke32 dir to avoid people trying to compile from the build src dir by mistake 2008-10-20 03:09:19 +00:00
startgtk.editor.c Patch from bioman to fix an issue with static linking GTK and to correct the alignment of the fullscreen checkbox in the startup window when building with POLYMER=0 2011-01-31 04:13:53 +00:00
StartupWinController.editor.m OS X: Fix more warnings. 2012-03-26 05:04:21 +00:00
startwin.editor.c Run engine source through new version of astyle, add printf() call to OSD_Printf() to facilitate console access through stdin/stdout for dedicated server mode, minor changes to sdlayer to allow operating without actually initializing SDL 2011-01-16 02:50:27 +00:00
textfont.c Run engine source through new version of astyle, add printf() call to OSD_Printf() to facilitate console access through stdin/stdout for dedicated server mode, minor changes to sdlayer to allow operating without actually initializing SDL 2011-01-16 02:50:27 +00:00
winlayer.c Correct an oversight and make handleevents() call our own window processing function instead of the default Windows one. 2012-05-20 05:36:32 +00:00