vkdoom_m/wadsrc/static/zscript
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
..
actors Cleaning up implementation of isometric camera with optional orthographic projection. 2024-02-01 08:43:34 -05:00
engine Fixed missing lines in listmenuitems 2024-01-30 14:46:22 -05:00
scriptutil - reorganized the ZScript content in gzdoom.pk3 and changed the files' extensions to something unique for easier syntax highlighting. 2019-02-23 12:08:27 +01:00
ui gave translations a dedicated scripted type. 2023-11-09 23:04:10 +01:00
compatibility.zs Add help messages for most of the deprecated stuff in ZScript. 2020-03-14 12:56:03 +02:00
constants.zs Cleaning up implementation of isometric camera with optional orthographic projection. 2024-02-01 08:43:34 -05:00
destructible.zs Add help messages for most of the deprecated stuff in ZScript. 2020-03-14 12:56:03 +02:00
doombase.zs Cleaning up implementation of isometric camera with optional orthographic projection. 2024-02-01 08:43:34 -05:00
events.zs Added 64-bit networking support 2024-01-05 23:33:15 +01:00
level_compatibility.zs - Fixed comment in level_compatibility.zs regarding pc_cp2.wad MAP38 fix 2023-12-22 22:32:02 +01:00
level_postprocessor.zs Fix planeval; add direct sector slope manipulation 2022-09-20 15:08:02 -04:00
mapdata.zs Exposed P_GetMidTexturePosition() to ZScript. 2023-10-25 16:23:29 +02:00
sounddata.zs - reorganized the ZScript content in gzdoom.pk3 and changed the files' extensions to something unique for easier syntax highlighting. 2019-02-23 12:08:27 +01:00
visualthinker.zs Aded FLIPSPRITEOFFSET<X/Y> for actors and bFlipOffset<X/Y> for visual thinkers. 2024-01-21 03:33:48 -05:00
zscript_license.txt - update some copyright years 2023-03-25 08:06:23 -04:00