Build 7380
SVN-
General
Fix compilation error in texcache
SVN handles and Git names are merged into one person.
Fix compilation error in texcache
A curious Polymost optimization from Nuke.YKT
This bails out of drawing any domost spans that seem to be entirely outside of the range of the screen coordinates. Since this seems so obvious, I have to wonder if Polymost is supposed to be doing this elsewhere already...
Am I missing something here?
Remove reference pointing to vm.pPlayer because it seems incompatible with the new dispatch method
This might not be needed anymore after the previous commit
Add buildvfs, abstraction layer for file I/O.
Currently it passes calls through to the system libraries as before. Also adds an incomplete implementation on PhysFS.
Implement a new VM dispatch method using an explicit jump table
Most of this patch is by pogokeen.
Macro-ize CON keyword tokens in gamedef.h and gameexec.cpp
Most of this patch is by pogokeen.
Move five missed opcodeless keywords down in gamedef.h
#ifdef out deactivated stuff that should not be half-in, half-out
Clean up unused warnings
Fix autoaim bug introduced in r6942
Fix a crash when accessing SECTOR_WALLPTR with CON_SETSECTOR
Use existing viewingrange and yxaspect for showview so it matches that of the main view
This fixes fov when using showview in EVENT_DISPLAYROOMS to do layered rendering, but it might not be right for uses of showview that simply display picture-in-picture stuff on screen.
Clean up a little bit of yxaspect and viewingrange variable cruft in G_DrawRooms()
Display value next to FOV slider and allow dropping FOV to 70
Rename "textures" to "texturecache" and "textures.cache" to "texturecache.index"
This avoids conflicts with folders named "textures", such as in World Tour. Thanks to enderandrew for the observation.
Fixes an issue with the automap
Round computed horiz instead of potentially truncating
Scale both mouse axes the same in CONTROL_GetMouseDelta()
PI -> fPI
Improve vertical mouse aim
This improves vertical mouse aim in two ways: the Y axis is normalized to match the sensitivity of the X axis, and horiz adjustment has been corrected so that the player's pitch is operated on as an angle instead of as the tangent of said angle. Based on a patch from Fox.
Save mouse and joystick analog scales, dead zones, and saturation values to .cfg whether they're the defaults or not
This fixes an issue where changing one of these values would result in the value being written to the .cfg, but changing the value back to the default would leave the old value in the .cfg.
Increase MAXANGVEL for player input per tic from 512 to 1024
atan2 -> atan2f
Fix a mistake in r7322
Patch from Fox.
Fix the cursor being affected by viewport-annexing status bar sizes
Fix system memory check
Patch from Fox to fix positioning of SCUBAMASK tile with the full status bar
Fix the automap glitch in the region around the full status bar in Polymost
Fix the direction which the shadow is cast in "modern" status bar ammo icon
Patch from Fox:
Add a FOV option in the menu. Range from 75 to 120 degrees (at 4:3 resolution), default is 90. New userdef "fov". Equals the FOV in 360 degrees. Update Polymost projection hack, so it compensates for the FOV or height of the game view. Fix FOV in Polymer when the full status bar is visible. Now the FOV depends of the width of the game view instead of the height.
fix use of uninitialized values
Fix a couple minor issues with 90 degree wall texture rotation
Add mousebits gamevar to m32script for querying mouse button states
Fix issue where a useless error would be printed to the log and bad memory reads could occur when compiling a CON script with an invalid structure member passed as gamevar structure access shortcut shorthand
screentext alignment patch from Fox
rotatesprite hack from Fox
CON access to raw q16 values for player horiz and ang etc
Work around weird issue with Bgetsysmemsize() that occurs on exactly one system we've tested
Revert "SDL 2.0.9"
Fix issue with definegamefuncname and undefinegamefunc
Add error message for SDL_SetGammaRamp() failures in videoSetGamma()
Add C as a secondary binding for crouch and remove the mouse look and crosshair toggles from the default key bindings--they can still be bound manually if desired.