Gamestate: Difference between revisions

From Stunts Wiki
Cas (talk | contribs)
No edit summary
Cas (talk | contribs)
No edit summary
Line 4: Line 4:


{|
{|
|-game_longs1 dd 24 dup (?)|
|-||game_longs1 dd 24 dup (?)||
|-game_longs2 dd 24 dup (?)|
|-||game_longs2 dd 24 dup (?)||
|-game_longs3 dd 24 dup (?)|
|-||game_longs3 dd 24 dup (?)||
|-game_vec1 VECTOR <>
|-game_vec1 VECTOR <>
|-game_vec2 VECTOR <>
|-game_vec2 VECTOR <>

Revision as of 01:06, 1 March 2025

GAMESTATE is a memory structure in Stunts, defined with comprehensive labels in structs.inc in Restunts, that holds information about the player's and opponent's cars that is dynamic during game play, such as car coordinates and orientation. It is the structure that Repldump stores in its binary output files and that's used by Cartography and the R5K engine to produce videos based on races.

The structure contains the following fields: