Skip to Content
The Alchemy Project

include/debug/debug.h

What the debug rooms and windows share: the main-image headers their menus call into, the palette editor's swatch tiles, and the browsers' steps.

Included by battle_internal.h, battle_effect_internal.h, level.c, test.c, field_engine_internal.h, game_internal.h, alpine_crossing_lama_temple.c, altin.c, altin_peak.c, altmiller_cave.c, babi_lighthouse.c, babi_palace.c, battle_arena.c, bilibin.c, bilibin_cave.c, colosseum_azart_match.c, colosseum_entrance.c, colosseum_navampa_match.c, colosseum_satrage_match.c, cottage_rooms_b.c, cottage_rooms_c.c, crossbone_isle.c, crossbone_isle_keys.c, crossbone_isle_stepping_stones.c, file_screen.c, fuchin_temple.c, goma_cave_entrance.c, goma_cave_pillar.c, goma_cave_pond.c, goma_cave_stream.c, gondowan_cave.c, hammet_palace.c, imil.c, imil_fuchin_falls.c, kalay.c, kalay_tolbi_docks.c, kolima.c, kolima_forest_cliff.c, kolima_forest_entrance.c, kolima_forest_floodgate.c, kolima_forest_glade.c, kolima_forest_tree.c, lacquer_rooms_b.c, lalivero.c, lamakan_desert.c, lemurian_ship.c, log_rooms_a.c, log_rooms_b.c, log_rooms_c.c, lunpa_fortress.c and 42 more.

Macros

NameDescription
#defineDEBUG_ITEM_COUNT 270The debug item browsers' item numbers, 0 to 269, wrapping.
#defineDEBUG_BROWSER_ROW_STEP 10The debug browsers' steps: Right and Left move the number ten, R and L thirty.
#defineDEBUG_BROWSER_PAGE_STEP 30

Variables

NameDescription
extern const Uint8DebugPaletteSwatchTiles []The palette editor's swatch tiles, compressed; it decompresses them to tile 208 of character block 0, one tile a colour.

Description

What the debug rooms and windows share: the main-image headers their menus call into, the palette editor's swatch tiles, and the browsers' steps.

Macros in detail

DEBUG_ITEM_COUNT

#define DEBUG_ITEM_COUNT 270

The debug item browsers' item numbers, 0 to 269, wrapping.

Referenced by dbIncreaseItemAndLevelSelectItem() and dbMenuTestSelectItem().

Definition at line 19 of file debug.h.

DEBUG_BROWSER_ROW_STEP

#define DEBUG_BROWSER_ROW_STEP 10

The debug browsers' steps: Right and Left move the number ten, R and L thirty.

Referenced by dbIncreaseItemAndLevelSelectAbility(), dbIncreaseItemAndLevelSelectItem() and dbMenuTestSelectItem().

Definition at line 22 of file debug.h.

DEBUG_BROWSER_PAGE_STEP

#define DEBUG_BROWSER_PAGE_STEP 30

Referenced by dbIncreaseItemAndLevelSelectAbility(), dbIncreaseItemAndLevelSelectItem() and dbMenuTestSelectItem().

Definition at line 23 of file debug.h.

Variables in detail

DebugPaletteSwatchTiles

extern const Uint8 DebugPaletteSwatchTiles[]

The palette editor's swatch tiles, compressed; it decompresses them to tile 208 of character block 0, one tile a colour.

Referenced by fdPaletteEditorRun().

Definition at line 16 of file debug.h.