Build 3071
SVN-
General
CON access to ud.runkey_mode through get/setuserdef
SVN handles and Git names are merged into one person.
CON access to ud.runkey_mode through get/setuserdef
Fix setting r_pr_maxlightpasses from .cfg at startup
Add cvar "cl_runmode" to control ud.runkey_mode. This should fix the "allow walk while running" preference not saving.
Prevent Windows "case mismatch" spam when loading files from disk with the Windows Explorer "hide extensions for known file types" option enabled. This simply changes the relevant Bstrcmp() calls to Bstrncmp() calls instead, using the length of the string returned by SHGetFileInfo() as the number of bytes to compare.
Fix the bug I caused with custom projectiles :p
The other half of the previous commit.
Fix issue with explosion sound cutoff in E1L2. This implements functionality to stop playback and free up the voice of a currently playing sound of the same ID when there are already MAXSOUNDINSTANCES (currently 8) of the same sound playing, determined by distance/volume and which sound is oldest.
Initial determination is based purely on distance/volume, and if two qualifying sounds have the same distance/volume the one which started playback first is the one that gets the axe. Feedback from other developers welcome.
Minor cleanups in actors.c, mostly relating to custom projectiles and the like. A bug causing custom projectiles to knock the player back twice as far as the hard-coded ones was also fixed. There should be no other functional changes for the end user.
Update ENet with the latest changes from github
Fix a.masm changes so MSVC builds work again. The relevant functionality seems to work (non-power of 2 textures drawn without error), even with CLASSIC_NONPOW2_YSIZE_WALLS defined in engine.c, but I'm not familiar with any corner or edge cases that need to be watched out for with this.
Note: CLASSIC_NONPOW2_YSIZE_WALLS is still not enabled in svn.
Rename a couple functions local to actors.c, remove IFHITSECT macro. This is mostly a test commit to make sure our CIA.vc script is properly updated now.
OpenBSD build fix from Brad Smith (plus a couple of irrelevant changes to the same file from my local tree)
Update our prebuilt MinGW libogg/libvorbis/libvorbisfile to the newest versions, courtesy of forum user LeoD
Fix for "undefined reference to `clock_gettime'" linking error on some Linux systems
Fix a single usage of S_IREAD instead of our BS_IREAD compatibility version
Fix useless "No error" message when loading palette.dat fails, change file casing in error message for failing to load tables.dat to reflect the filename actually passed to kopen4load().
offset displayed quotes a bit from the top of the screen to deal with overscan
Fix MSVC build error caused by the use of a C99 feature (that should have been added to the compiler about 13 years ago)
This probably fixes the music breakage caused by r2727.
Replace a couple uses of S_IREAD with our platform-aware BS_IREAD
Replace a few "#ifdef GEKKO" statements added for the Wii port with "#ifdef HAVE_VORBIS" like they should have been in the first place. Allows jaudiolib to build without Ogg support on platforms other than the Wii if desired.
Bump build date from 20110312 to 20120522.
Correct an oversight and make handleevents() call our own window processing function instead of the default Windows one.
Minor formatting fix