src/game
Guide: Game Logic & Tables
Files
| File | Description |
|---|---|
ability_table.c | The 519 abilities, by ability id: Psynergy, the party's and enemies' moves, item uses, Djinn and summons. |
character_table.c | The eight party members' growth curves, element bonuses, starting levels and starting equipment. |
class_table.c | The 203 classes, by class id. |
djinn_table.c | The 80 Djinn, 20 of each element in element order. |
element_table.c | The element tables: class series by element, element power and resistance by level, the enemies' element presets and the power and resistance curve. |
enemy_table.c | The 165 enemies, by enemy id less ENEMY_ID_FIRST. |
experience_table.c | Each character's lighthouse group and the experience each needs for each level. |
game.c | The game object: the rules of the party and its world. |
game_battle_arithmetic.c | Battle arithmetic: element multipliers, random rolls and success rates. |
game_classes.c | Element levels and classes. |
game_djinn.c | Djinn: definitions, setting and standby, and their counts. |
game_flags.c | The game flags: bits, bytes and nibbles. |
game_internal.h | What every part of the game object shares: its includes and the inventory helper two parts use. |
game_inventory.c | Items and inventories: equipping, adding, removing, breaking and counting. |
game_levels.c | Actions and Psynergy lists, characters, experience and levelling up. |
game_party.c | Enemy units, the active party, coins and counters, and summons. |
game_snapshot.c | Equipping a given item, and the equipment put aside for the Colosso. |
game_units.c | The party's units and their stats, a new game, the prologue, HP and PP. |
item_table.c | Every item, by item id: its price, what it is and who can equip it, the Attack and Defense it adds, its unleash, what it does while worn, and the ability it is used for. |
main_routine.c | The main routine and scene changes: exits, returns from battle, entering. |
rare_item_stock.c | Which items the shops keep a stock of in their Artifacts, and where. |
starting_equipment.c | The characters a new game sets up with their starting equipment, class and level. |
summon_table.c | The 16 summons: the standby Djinn each one needs, and the order the summon menus list them in. |