Commit Graph

18 Commits

Author SHA1 Message Date
Ryan Dwyer 6181870b38 Refactor objective checks
* Use a dirty flag so statuses can be recalculated only when they might have changed
* Remove support for unused criteria types
* Re-ID the status constants so the objective status can be the minimum of the criteria statuses
* Merge multiple complete flags into one criteria item
* Merge multiple fail flags into one criteria item
* Use a g_AnyObjectiveFailed variable so the objectives failed AI doesn't have to iterate them
2022-11-17 17:36:19 +10:00
Ryan Dwyer 2c0b5711c1 Pass ailist pointers around instead of ailist IDs to avoid runtime bisection 2022-11-02 20:38:01 +10:00
Ryan Dwyer cb0b99d28a Preload BG rooms where possible 2022-10-31 17:34:01 +10:00
Ryan Dwyer 72d0d415d3 Decompile objLand 2022-04-12 21:18:06 +10:00
Ryan Dwyer c58d3c43a0 ntsc-beta: Get setup files matching 2021-06-13 16:38:23 +10:00
Ryan Dwyer 96a5c2981c Decompile gasReleaseFromPos 2021-05-29 12:56:27 +10:00
Ryan Dwyer 0b9f3c910b Replace spawn flags and chr flags with constants in setup files 2021-05-17 22:29:56 +10:00
Ryan Dwyer 43ea147182 Remove unnecessary arguments in prop macros and replace prop flags with constants 2021-05-17 17:27:25 +10:00
Ryan Dwyer b75e5d9242 Decompile chrDamage 2021-04-24 11:23:05 +10:00
Ryan Dwyer 2bc3549f13 Decompile escastepTick 2021-01-17 13:08:34 +10:00
Ryan Dwyer 706a5b96bb Rename setupParseObjects back to numbered name and decompile new setupParseObjects 2020-10-17 11:11:43 +10:00
Ryan Dwyer d3a2a7e8f2 Decompile fanTick 2020-06-09 17:02:43 +10:00
Ryan Dwyer 5fe352f037 Decompile objTick 2020-06-09 00:18:44 +10:00
Ryan Dwyer 7f42776b51 Fix setup files 2020-03-10 17:03:32 +10:00
Ryan Dwyer 1e5ebab6b3 Rename heli/hovercar/truck symbols and types
* Heli has been renamed to chopper
* Object types 0x27 and 0x28 (both unused) have been renamed to truck and heli
2020-01-18 17:27:54 +10:00
Ryan Dwyer 7aed121eda Identify setupParseObject 2019-11-16 17:23:41 +10:00
Ryan Dwyer d71943050b Rename alliance to team and add constants for all values 2019-09-23 19:19:58 +10:00
Ryan Dwyer c9dec5deac Replace assembly implementation with C implementation 2019-09-07 16:12:32 +10:00