Build 1609
SVN-
General
Model specular map support and polymer fix for the OSX/ATI driver.
SVN handles and Git names are merged into one person.
Model specular map support and polymer fix for the OSX/ATI driver.
fix for underwater ceiling issue
Better mouse fix?
Fix a couple of bugs
Fix for mouse stalls at < 10 fps
Fix crash when calling rotatesprite from CON with invalid coordinates
Minor formatting changes, fix nedmalloc on BSD, fix win32 joystick detection issue, fix for ambient sounds, possible fix for stopsound malfunctioning after extended play time, add CON compilation error for duplicate "break" in switch statement
Fix some 64 bit casts.
This is an attempt to fix r1595.
- pr_resetlights() was exported but polymer.c wasn't changed to reflect that. This also broke the gcc build so I'm not sure how this was missed. - commented code was laying around in the middle of polymer.h - savegame.c using a bunch of C99 non-constant initializers. Please keep in mind that MSVC is one of the supported compilers and doesn't know C99. - savegame.c using localtime_r, which doesn't exist on Win32. - demo playback calling resetlights and drawrooms without ever calling pr_loadboard(). - this change makes the game run very choppy here.
Very few actual changes... mostly formatting fixes from astyle
More nedmalloc updates, possibly fix win32 mouse death at ~10 fps or less, fix dummytile crash, more untested multiplayer changes... different enet channels for different types of traffic in order to eliminate latency due to the occasional reliable packet getting dropped, therefore causing a hitch in the flow of unreliable movement packets on the same channel, remove mmulti API from engine in favor of having everything in game land
Fix building with MSVC
This should correctly compute the normal of all BUILD floors and walls. Fixes bug 2806174 (E1L1 projection room floor not affected by light and parallaxing artifacts).
Update nedmalloc, fix loading tiles from .art files contained in a .zip, workaround GCC 4.4.x squarerotatetile() miscompilation issue
Annnnnd revert something I didn't mean to commit.
more semi-tested multiplayer changes and sound callback fix
Fixes a bug when you can't enable music from the sounds menu. Not sure why this line had a multiplayer-related check before rev 1574 yet.
m32script fixes and additions
Adds code to disable the Vista/7 DWM when setting OpenGL modes. This buys some OpenGL performance in windowed mode and works around an ATI OpenGL driver bug.
Hook the polymer map selection code to a few more places in the editor code. This will fix the screen turning greenish when selecting a pal with Alt-P. I could just drop the selection from these cases since the cursor can't actually move, but then people would ask why the FPS gets higher in this occurrences.
Revert part of revision 1540 which broke E2L4 and parts of E2L5.
This fixes a small problem with the mapster32 polymer selection code.
Cleaning out tree in case I can't work on anything for a while... more multiplay fixes
more multiplay fixes + server password support + client ping time display
more multiplayer fixes
This fixes a renderer crash with external view + lights.
Fix wall and sector updating over the wire so that it doesn't crash.
Fix the San Andreas texture fix in some cases.
Fix the build with POLYMER=0 or USE_OPENGL=0.
oops
multiplayer fixes
Don't cache sector parallaxing information in _prwalls. This fixes a bug where setting floor/ceiling parallaxing bits in the editor doesn't parallax the corresponding walls right away.
Correct ceiling palette and shade validation in Polymer. That fix prevents changes to a ceiling palettes or shade from being ignored until the sector gets otherwise invalidated.
Proper editor picking code for Polymer. Also fixes a bunch of tabs that MSVC snuck in polymer.c.
Don't rely on repeating texture samplers to flip polymer sprites and request clamped textures for sprite textures. Fixes bug 2869362.
Make polymer impervious to corrupt maps (for the tenth time..). Fixes bug 2869996.
Don't overflow scantoasc[] with high scancodes. This makes the 'T' key work in the console on my laptop.
Fixes a compressed texture cache bug where the background menu tile would sometime get replaced with another tile.
some CON compilation fixes
A bunch of crap I meant to commit days ago... gtk startup window patch from bioman, nedmalloc REPLACE_SYSTEM_ALLOCATOR fix (related code uses #ifdef REPLACE_SYSTEM_ALLOCATOR so defining it to 0 was still satisfying the condition), slightly lower CPU usage in Mapster 2D mode, fix an ancient bug causing the player to not make vent footstep sounds on sprite based vents, fix map save state cvars, add "skill" cvar to console, fix saving the game while CON_SHOWVIEW is in use
Fix 64 bit problems after viewing a security cam.