vkdoom_m/src/common
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
..
2d backend update from Raze 2024-01-06 15:24:10 +01:00
audio Fixed music unpausing when alt-tabbing back. 2024-01-12 16:53:56 +01:00
console backend update from Raze 2024-01-06 15:24:10 +01:00
cutscenes fixed playback of external sound files over cutscenes when started from the console. 2024-01-04 18:22:24 +01:00
engine Added new AutomapOffsets property. 2024-01-28 09:48:41 -05:00
filesystem Adding isometric camera mode with orthographic projection to current state of master branch of GZDoom. 2024-01-21 12:13:42 -05:00
fonts merge FileData and ResourceData. 2023-12-14 17:22:29 +01:00
menu Fixed missing field definition for mCenterText 2024-01-30 14:09:30 -05:00
models allow modeldef flags to be overriden 2024-01-16 10:27:08 -05:00
objects ActorModelData cleanup in preparation for decoupled model animations 2023-11-20 22:08:33 -05:00
platform adapted string table so that it can be initialized without full game data being available. 2024-01-09 17:22:59 +01:00
rendering Cleaning up implementation of isometric camera with optional orthographic projection. 2024-02-01 08:43:34 -05:00
scripting Fix .. to root folder in relative include 2024-01-31 07:48:59 -05:00
startscreen eliminated the small white part of the initial window content after the IWAD picker. 2024-01-04 22:21:27 +01:00
statusbar use FTranslationID in all places where strict type checking is needed. 2023-11-09 23:04:10 +01:00
textures removed external stuff from tarray.h 2024-01-09 16:47:24 +01:00
thirdparty backend update from Raze 2024-01-06 15:24:10 +01:00
utility removed external stuff from tarray.h 2024-01-09 16:47:24 +01:00
widgets Fix "unexpected end of TTF file" error 2024-01-11 16:35:38 +01:00