gzdoom/src/common
dileepvr 95b264bdb6
Isometric Mode and Robin (#2618)
* Feature-complete isometric mode fork.

* Dithered transparency condition tweaks.

* Dithered transparency for non-corpse monsters only (and missiles).

* SpectatorCamera vertical shift.

* Including math.h in hw_sprites.cpp to keep visual studio happy (it couldn't find M_SQRT2 definition).

* Defining MY_SQRT2 in hw_sprites.cpp to keep visual studio happy (it couldn't find M_SQRT2 definition).

* Defining MY_SQRT2 in r_utility.cpp also to keep visual studio happy.

* retrigger checks

* Have correct sprite angle-frame face the camera with orthographic projection enabled.

* Dithered Transparency now works properly on 3D floors. Moved that dither-trans flag setting code within hw_bsp.cpp to handle double-processing of linedefs. Added helper functions to FRenderViewpoint class 'bool IsOrtho()' and 'bool IsAllowedOoB()' to clean up checks everywhere in the code.

* Fixed indents. Added bbox property to subsector struct and use it instead of BSP nodes and Clippers (creating a bbox around viewpoint and checking for overlap) in orthographic mode when no fog of war is active. Turns out to be much faster. Though you need really big maps (Winter's Fury MAP01) to see a difference in fps.

* Non-linux checks don't like uint. Changed to unsigned int.

* Small change of a float to camera.zs. Ignore for testing. Should make no difference.

* Update actor.h to remain mergeable

RF2_NOMIPMAP was introduced, so I had to displace RF_ISOMETRICSPRITES to next bit.
2024-08-11 10:04:40 -04:00
..
2d StringTable cleanup and improvements 2024-04-21 10:34:44 +02:00
audio Turn on the output limiter 2024-06-24 17:16:26 -04:00
console StringTable cleanup and improvements 2024-04-21 10:34:44 +02:00
cutscenes skip frames when playing back IVF to prevent desyncs 2024-04-17 20:35:49 -04:00
engine Allow XInput joysticks to work while the game is unfocused 2024-08-09 18:04:51 -03:00
filesystem Fix directory crash for filenames that appear elsewhere in the path 2024-07-12 13:53:45 -04:00
fonts StringTable cleanup and improvements 2024-04-21 10:34:44 +02:00
menu Allow XInput joysticks to work while the game is unfocused 2024-08-09 18:04:51 -03:00
models Add X, Y and Z offsets for VOXELDEF. Needed for voxelized weapons which would typically be very large and take up the majority of the 256x256x256 canvas, therefore making precise positioning of the models relative to the screen pretty much impossible without tweakable offsets. 2024-06-21 08:17:54 -03:00
objects Add missing GC write barrier 2024-06-30 11:22:07 -03:00
platform don't change priority to idle if i_pauseinbackground is false 2024-08-09 18:04:51 -03:00
rendering Isometric Mode and Robin (#2618) 2024-08-11 10:04:40 -04:00
scripting restrict new relaxed named arguments to zscript >= 4.13 2024-06-03 10:52:07 -03:00
startscreen StringTable cleanup and improvements 2024-04-21 10:34:44 +02:00
statusbar use FTranslationID in all places where strict type checking is needed. 2023-11-09 23:04:10 +01:00
textures StringTable cleanup and improvements 2024-04-21 10:34:44 +02:00
thirdparty GCC-13 support, when precompiled headers are off 2024-02-05 17:40:37 +01:00
utility Isometric Mode and Robin (#2618) 2024-08-11 10:04:40 -04:00
widgets GCC-13 support, when precompiled headers are off 2024-02-05 17:40:37 +01:00