dsekai
World engine for retrocomputers.
Loading...
Searching...
No Matches
Data Fields | Related Functions
EDITOR_STATE Struct Reference
Collaboration diagram for EDITOR_STATE:
Collaboration graph
[legend]

Data Fields

struct TILEMAP_COORDS coords
 Tile coordinates currently being edited.
 
uint8_t current_tile
 
uint8_t selected_tile
 
uint8_t flags
 Bitfield controlling behavior and flow of editor.
 

Related Functions

(Note that these are not member functions.)

#define EDITOR_FLAG_ACTIVE   0x01
 In-world editor for tilemaps.
 
#define EDITOR_FLAG_FORCE_FRAME   0x02
 EDITOR_STATE::flags indicating next frame should not be blocked out.
 

Friends And Related Function Documentation

◆ EDITOR_FLAG_ACTIVE

#define EDITOR_FLAG_ACTIVE   0x01
related

In-world editor for tilemaps.

\addtoground dsekai_engines_editor Tilemap Editor

EDITOR_STATE::flags indicating editor is currently active.

◆ EDITOR_FLAG_FORCE_FRAME

#define EDITOR_FLAG_FORCE_FRAME   0x02
related

EDITOR_STATE::flags indicating next frame should not be blocked out.

This is a quality of life improvement so that it's easier to see while cycling through tiles.

Field Documentation

◆ current_tile

uint8_t EDITOR_STATE::current_tile

◆ selected_tile

uint8_t EDITOR_STATE::selected_tile

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