Previewing a Djinn change before it is made, the chosen member's status, and the checks that keep the members' Djinn counts even. More...
Go to the source code of this file.
Functions | |
| s32 | OwnerAction_RunCompareLoop (u32 mode) |
| Previews a give, trade, set or standby change without committing it. | |
| s32 | DjinnMenu_ShowOwnerStatus (void) |
| Shows the chosen owner's current stats and paged Psynergy list. | |
| s32 | Djinn_MarkBalancedEntries (s8 *requiresTrade, s32 sourceOwnerColumn) |
| Marks recipients that would leave unequal Djinn totals after a direct give. | |
| s32 | Djinn_CheckTurnBalance (s32 sourceOwnerColumn, s32 targetOwnerColumn) |
| Tests whether a hypothetical give leaves every pair of owners within one Djinn. | |
| void | Djinn_CountTurns (u8 *ownedCounts) |
| Counts each owner's Djinn across its set and available bitmasks. | |
Previewing a Djinn change before it is made, the chosen member's status, and the checks that keep the members' Djinn counts even.
Part of menu.c, the menu object, compiled only through it.
Definition in file djinn_preview.c.
Previews a give, trade, set or standby change without committing it.
It saves and restores the unit records before polling for confirmation.
Definition at line 10 of file djinn_preview.c.
Referenced by DjinnMenu_RunScreen(), and OwnerAction_RunCompareLoop().
| s32 DjinnMenu_ShowOwnerStatus | ( | void | ) |
Shows the chosen owner's current stats and paged Psynergy list.
Definition at line 532 of file djinn_preview.c.
Referenced by DjinnMenu_RunScreen(), and DjinnMenu_ShowOwnerStatus().
Marks recipients that would leave unequal Djinn totals after a direct give.
Returns how many recipients would need a trade instead.
Definition at line 680 of file djinn_preview.c.
Referenced by Djinn_MarkBalancedEntries(), and DjinnMenu_SelectDjinn().
Tests whether a hypothetical give leaves every pair of owners within one Djinn.
Definition at line 708 of file djinn_preview.c.
Referenced by Djinn_CheckTurnBalance(), and Djinn_MarkBalancedEntries().
| void Djinn_CountTurns | ( | u8 * | ownedCounts | ) |
Counts each owner's Djinn across its set and available bitmasks.
Definition at line 740 of file djinn_preview.c.
Referenced by Djinn_CheckTurnBalance(), and Djinn_CountTurns().