gzdoom/wadsrc/static/zscript/actors/shared
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
..
blood.zs
botstuff.zs
bridge.zs
camera.zs Cleaning up implementation of isometric camera with optional orthographic projection. 2024-02-01 08:43:34 -05:00
corona.zs Disable coronas for now 2022-10-19 22:52:27 +02:00
debris.zs
decal.zs
dog.zs
dynlights.zs Added the following GL Light flags: 2022-05-31 09:12:59 +02:00
fastprojectile.zs Fixed wrong parameter type passed into TryMove here 2021-05-28 09:10:43 +02:00
fountain.zs
hatetarget.zs
ice.zs - deprecated A_PlaySound for real and transitoned the internal scripts to A_StartSound 2020-01-04 14:25:55 +01:00
itemeffects.zs
mapmarker.zs Allow map markers to scale relative to automap zoom. 2021-10-08 16:03:51 +02:00
movingcamera.zs - More wrong tracer flags in ActorMover. 2021-12-24 16:37:58 +01:00
randomspawner.zs - Fixed: RandomSpawner spawning another RandomSpawner spawning a missile could result in the second RandomSpawner being erroneously destroyed. 2020-12-02 15:30:23 +01:00
secrettrigger.zs - marked several invisible controller things to not show on the automap with the scanner powerup. 2021-09-12 13:18:40 +02:00
sectoraction.zs - marked several invisible controller things to not show on the automap with the scanner powerup. 2021-09-12 13:18:40 +02:00
setcolor.zs
sharedmisc.zs - marked several invisible controller things to not show on the automap with the scanner powerup. 2021-09-12 13:18:40 +02:00
skies.zs
soundenvironment.zs - marked several invisible controller things to not show on the automap with the scanner powerup. 2021-09-12 13:18:40 +02:00
soundsequence.zs - marked several invisible controller things to not show on the automap with the scanner powerup. 2021-09-12 13:18:40 +02:00
spark.zs - deprecated A_PlaySound for real and transitoned the internal scripts to A_StartSound 2020-01-04 14:25:55 +01:00
specialspot.zs
splashes.zs - fixed: splashes need the MOVEWITHSECTOR flag. 2021-07-02 08:16:29 +02:00
teleport.zs - marked several invisible controller things to not show on the automap with the scanner powerup. 2021-09-12 13:18:40 +02:00
waterzone.zs