Build 4327
SVN-
General
Support "r_windowpositioning" in SDL builds.
-
General
Fix 64-bit MSVC builds. DONT_BUILD.
SVN handles and Git names are merged into one person.
Support "r_windowpositioning" in SDL builds.
Fix 64-bit MSVC builds. DONT_BUILD.
Fix building on MinGW (MinGW-w64 was OK). DONT_BUILD.
Fix yellow keycards
Fix a missing reference to WEAPON_POS_LOWER
Set the SDL window icon when changing video mode
Additional fix for the shareware version
Fix shareware version breakage introduced in r3913
Clear GL depth buffer before drawing a frame in Polymost. This should fix the issue with skies in the Duke64 TC.
Add support for "orig_sizex" and "orig_sizey" parameters to "texture" block in def files. This is the same as using "dummytile" before defining a texture. Needed for compatibility with the .def files from Megaton, not because I like arbitrarily adding extranneous shit. :p
Add -usecwd parameter on Windows, to disable searching for Megaton Edition or GOG.com game data
Update Windows application manifests to allow GetVersionEx() to return Windows 8.1 on systems running Windows 8.1. Microsoft is pretty stupid sometimes. :/
Update the info displayed in the "details" tab of the application properties dialog in Windows--change copyright date to 2013, update Duke Nukem trademark ownership from Apogee Software, Ltd to Gearbox Software, LLC
Remove unused SYSTEM_POOL_SIZE definition (was used with nedmalloc), change in3dmode() into macro similar to bkbhit()
Fix "The latest builds show the same screenshot for every save game entry", reported at http://forums.duke4.net/topic/2961-paper-cuts-minor-bugs-and-annoyances/page__view__findpost__p__169847
Add Lunatic stuff to the Visual Studio project. This is just the file view in the IDE, not Lunatic compilation with MSVC! DONT_BUILD.
Slightly tweak r_usetileshades 1 visibility weighting. It's still not right (and it's impossible to ever truly be right) but at least things aren't pitch black now. I considered changing r_usetileshades to default to 2, but there are some areas where mode 2 is also noticeably darker than it should be... the exit area of E1L1 is a prime example.
Rip out all traces of nedmalloc. Sorry, XP users--it's time to upgrade to something newer than an OS from 2001 if this affects you.
Fix issue with PIPEBOMB_CONTROL mode 2, reported at http://forums.duke4.net/topic/6721-grenade-lifetime
MSVC build fix. DONT_BUILD.
Fix keyboard layout issue reported at http://forums.duke4.net/topic/6683-eduke32-forces-my-keyboard-to-us-layout-rather-than-uk
Enable ATI FBO color attachment workaround for Intel as well. Fixes some HD4000 issues.
Fix net.h, dunno why MSVC accepts functions that don't match their prototypes without complaining... :p
Revert "Silence FBO initialization failure message on Intel HD 4000 by moving the glCheckFramebufferStatusEXT() call to below the glBindFramebufferEXT() call. The error returned on HD 4000 previously was something to do with the framebuffer being incomplete, and this seems to fix it, so hopefully it's right."
Factor some duplicate code into Net_SpawnPlayer(), adjust Net_ExtractPlayerUpdate() a bit.
Implement a master volume control that functions separately from the sound effect and music volume controls. This is important because it allows waveform based music (like the SC-55 music pack, etc.) to play back at a louder volume than the sound effects if the end user so desires.
Apparently VS2013 doesn't like redefining "inline" either
Fix USE_OPENGL=0 build
Add a few defined constants for commonly used weapon_pos values
Rename getinput() to P_GetInput(), add bounds checking for a few arrays used for weapon drawing that use kickback_pic as an index.
Make P_PalFrom() static inline in player.h as the whole function is just 4 assignments
MSVC build fix (looks like the compiler version shipped with VS2013 has nearbyintf now...)
Default r_usetileshades to 1 :)
Forgot a file for a previous commit
Fix 1.3D, sorry guys
Fix up handling of the Duke shareware beta a little bit, and change the dialog that pops up after running the shareware version too many times to take you to Steam instead of GOG (the Steam version is a better deal)
Well then, I sure fucked that last commit up didn't I
Fixes a crash after killing the boss in Duke 0.99 and fixes the issue with WGR2 SVN being detected as 0.99 due to malformed definelevelname statements