src/game
Guide: Game Logic & Tables
Files
| File | Description |
|---|---|
ability_table.c | The 734 abilities, by ability id. |
character_table.c | The eight characters' definitions, by character id. |
class_table.c | The 244 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, the power and resistance curve, and the dragons and sea creatures two weapons' effects look for. |
enemy_table.c | The 380 enemies' definitions (gmEnemyGetDefinition), each row keyed by its enemy id and headed by its name in the English release; the name field itself is blank, and gmBattleUnitSet takes the name from the messages. |
experience_table.c | Each character's element group, what the data transfer from The Broken Seal copies and hands out, and the experience each character 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 | A unit's level in each element, the elemental power and resistance those levels give it, and the class a character's Djinn and items make it. |
game_djinn.c | The Djinn the party holds: a Djinni found and given to a member, set or put on standby, moved between members and back from recovery, and the counts the menus show. |
game_internal.h | What every part of the game object shares: its includes, the declarations its parts disagreed on and one inventory helper. |
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 | The equipment put aside for the Trial Road, as The Broken Seal's for the Colosso: Felix's, Jenna's, Sheba's and Piers's inventories, and giving them back. |
game_units.c | The party's units and their stats, a new game, HP and PP, and the data transfer from The Broken Seal up to Isaac's party joining at Contigo. |
item_table.c | The 516 items, by item id. |
main_routine.c | The main routine and scene changes: exits, returns from an engine, entering a scene. |
rare_item_stock.c | Each item's place among the shops' rare item counters, and two short lists a new game reads. |
starting_equipment.c | |
summon_table.c | The summons: the order the Summon command lists them in, and each one's ability and the Djinn it needs. |