![]() |
dsekai
World engine for retrocomputers.
|
Configuration settings defined at compile time. More...
Go to the source code of this file.
Macros | |
#define | SPRITE_H 16 |
#define | SPRITE_W 16 |
#define | STATUS_WINDOW_W SCREEN_W |
Width in pixels of the status WINDOW. | |
#define | STATUS_WINDOW_H 32 |
Height in pixels of the status WINDOW. | |
#define | SCREEN_MAP_W (160) |
Width of the overview or viewport area in pixels. | |
#define | SCREEN_MAP_H (160 - STATUS_WINDOW_H) |
Height of the overview or viewport area in pixels. | |
#define | SCREEN_MAP_X ((SCREEN_W / 2) - (SCREEN_MAP_W / 2)) |
Left offset of the overview or viewport area in pixels. | |
#define | SCREEN_MAP_Y (0) |
Top offset of the overview or viewport area in pixels. | |
#define | ANI_SPRITE_COUNTDOWN_MAX 10 |
Number of loops between DSEKAI_STATE::ani_sprite_x changes. | |
#define | DSEKAI_MOBILES_MAX 200 |
Maximum count of DSEKAI_STATE::mobile. | |
#define | DSEKAI_MOBILES_ONSCREEN (GRAPHICS_SPRITES_ONSCREEN / 3) |
#define | SCRIPT_STACK_DEPTH 10 |
Maximum depth of available local stack for each MOBILE executing a script. Each stack is individual to that particular mobile. When this depth is exceeded, old excess items will be discarded off the bottom. | |
#define | SCRIPT_STEPS_MAX 128 |
Maximum number of steps in an individual script. | |
#define | SCRIPT_STR_MAX 4096 |
Maximum length of a script in text form. | |
#define | ITEM_INVENTORY_MAX 20 |
Maximum number of items in a single MOBILE inventory. | |
#define | DSEKAI_ITEMS_MAX 200 |
Maximum number of items existing in the world at any time. | |
#define | DSEKAI_ITEMS_ONSCREEN (GRAPHICS_SPRITES_ONSCREEN / 3) |
#define | PATHFIND_LIST_MAX 20 |
Maximum number of nodes in the pathfinding lists. | |
#define | TILE_W 16 |
TILESET_TILE width in pixels. | |
#define | TILE_H 16 |
TILESET_TILE height in pixels. | |
#define | TILEMAP_CROP_DEFS_MAX 10 |
Maximum count of TILEMAP::crop_defs. | |
#define | TILEMAP_ITEMS_MAX 20 |
Maximum count of TILEMAP::item_defs. | |
#define | TILEMAP_SPAWNS_MAX 20 |
Maximum count of TILEMAP::spawns. | |
#define | JSON_TOKENS_MAX 4096 |
#define | JSON_PATH_SZ 255 |
#define | TILEMAP_STRPOOL_SZ 1024 |
#define | TILEMAP_NAME_MAX 8 |
Maximum size of TILEMAP::name. | |
#define | DSEKAI_CROPS_MAX 40 |
Maximum count of DSEKAI_STATE::crops. | |
#define | DSEKAI_CROPS_ONSCREEN (GRAPHICS_SPRITES_ONSCREEN / 3) |
#define | CROP_NAME_MAX 8 |
Maximum size of CROP_DEF::name. | |
#define | CROP_STATIC_SPRITE_PLOT "i_plot" |
#define | CROP_STATIC_SPRITE_SEED "i_seed" |
#define | TITLE_STATIC_SPRITE_WORLD "s_world" |
Configuration settings defined at compile time.