include/game
Guide: Game Logic & Tables
Files
| File | Description |
|---|---|
character.h | The definitions of characters, classes, Djinn and enemies, and a level up's result. |
character_ids.h | Character numbers, with each character's Japanese name, and the portraits. |
game.h | The game's rules and the tables they read: items, summons, abilities, Djinn, classes, elements, enemies, the game flags and the shops' rare item stock. |
game_flags.h | The game flags' size, and the byte and bit of GameFlagBytes that hold a flag. |
game_functions.h | The game module's functions, declared once each in the order of its stub table (src/game/stubs.s). |
inventory.h | OverflowItem, an item slot the spoils code uses when items are handed out. |
item.h | Items: their definitions, types, flags and effects. |
main_routine.h | The main routine, which runs the game's engines one after another, and the scene changes between them. |
main_routine_state.h | The main routine's state: the transition data the main routine reads between engines and the state every engine shares, which a save file keeps. |
stubs.h | Party members, items, Djinn and game-state operations. |
system_call.h | The system call layer: an inline for each of the thirteen main-image functions below that the scene, menu and debug overlays import, which every overlay call of them goes through. |