dsekai
World engine for retrocomputers.
Loading...
Searching...
No Matches
Data Fields
TOPDOWN_STATE Struct Reference

State for ::ENGINE_TYPE_TOPDOWN. Displays a top-down 2-dimensional view of the world. More...

#include <engines.h>

Data Fields

int16_t screen_scroll_x
 Left horizontal offset of the current viewport in pixels.
 
int16_t screen_scroll_y
 Top vertical offset of the current viewport in pixels.
 
int16_t screen_scroll_tx
 Left horizontal offset of the current viewport in tiles.
 
int16_t screen_scroll_ty
 Top vertical offset of the current viewport in tiles.
 
int16_t screen_scroll_x_tgt
 Horizontal offset the viewport is scrolling to in pixels.
 
int16_t screen_scroll_y_tgt
 Vertical offset the viewport is scrolling to in pixels.
 

Detailed Description

State for ::ENGINE_TYPE_TOPDOWN. Displays a top-down 2-dimensional view of the world.


The documentation for this struct was generated from the following file: