Build 4064
SVN-
Generale
Fix shareware version breakage introduced in r3913
Nickname SVN e nomi Git sono unificati per persona.
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
Fix a reference to "RDR_POLYMER" that was missed in startgtk
Add support for shareware 0.99/1.0/1.1, for shits and giggles.
MSVC build fix
Add a simple indicator of progress when loading a large def (like the HRP)... print one period to the startup window per 50 passes of the main loop in defsparser()
Support high DPI setups for the startup dialogs on Windows
Sanitize hard coded render mode numbers... replace all references to rendmode 0, 3, 4, etc with proper REND_CLASSIC, REND_POLYMOST, REND_POLYMER labels.
Alter cvar system to fill the cvar name into the description line automatically, and remove the cvar name from the descriptions for all cvars
Unify glow and detail texture setup between polymost and mdsprite
Some further texcache refactoring. Removes all of the texcache globals and shoves them into a struct for easy management.
Promote pr_customaspect to double from float to match the array of predefined aspect ratios that's in the menu
Fix a warning and uncomment something I accidentally left commented during testing
Make the menus look the same in all rendering modes, because the LOADSCREEN tile looks like shit when any kind of palette-based shading is involved. So, now everyone gets the ugly metal looking MENUSCREEN.
Properly handle shading models with traditional fog when r_usetileshades is also enabled.
Rename gltexinvalidateall to gltexinvalidatetype and add an enum for the two currently accepted values, INVALIDATE_ALL and INVALIDATE_ART