vkdoom_m/src/scripting
Dileep V. Reddy 25f1407228 Cleaning up implementation of isometric camera with optional orthographic projection.
All CVars, mapinfo variables, and playerinfo/playerpawn variables are gone.
A Camera actor named 'SpectatorCamera' is defined in warsrc/static/zscript/actors/shared/camera.zs

The following new flag bits were defined in the 'DViewPosition' struct for use with actor->ViewPos in src/playsim/actor.h:
	VPSF_ALLOWOUTOFBOUNDS =		1 << 3,			// Allow viewpoint to go out of bounds (hardware renderer only).
	VPSF_ORTHOGRAPHIC =		1 << 4,			// Use orthographic projection.
	VPSF_ISOMETRICSPRITES =		1 << 5,			// Displace sprites towards camera and don't billboard (drawn from isometric perspective).

Basically, spawn a SpectatorCamera actor with the appropriate flags and set it to player.camera.
See example template: https://www.mediafire.com/file/fv8rytayjt9l6g1/isometric_actor_wads.zip/file

Has been tested with multiplayer death and disconnection (and respawns). Not tested with portals.
Still only works with hardware renderer (mostly). But should be compatible with older mods and libraries.
2024-02-01 08:43:34 -05:00
..
backend - rename ZSprites to VisualThinkers 2023-11-22 12:11:57 -05:00
decorate add foreach k,v loop for maps 2023-11-20 22:11:05 -05:00
zscript Add function pointer Properties 2023-10-11 19:12:48 +02:00
thingdef.cpp - return a std::string from GetFileFullPath 2023-08-22 22:18:54 +02:00
thingdef.h backend update from Raze. 2023-10-09 18:45:30 +02:00
thingdef_data.cpp Aded FLIPSPRITEOFFSET<X/Y> for actors and bFlipOffset<X/Y> for visual thinkers. 2024-01-21 03:33:48 -05:00
thingdef_properties.cpp use FTranslationID in all places where strict type checking is needed. 2023-11-09 23:04:10 +01:00
vmiterators.cpp - added PARAM_NULLCHECK to the block iterator creation functions. 2022-11-05 09:16:55 +01:00
vmthunks.cpp Cleaning up implementation of isometric camera with optional orthographic projection. 2024-02-01 08:43:34 -05:00
vmthunks_actors.cpp Added new AutomapOffsets property. 2024-01-28 09:48:41 -05:00