Commit Graph

307 Commits

Author SHA1 Message Date
Ryan Dwyer 63847cd4ca Attempt to decompile currentPlayerInit 2020-02-01 20:33:54 +10:00
Ryan Dwyer 60b03dacd5 Rename fade symbols and discover if_fade_complete AI command 2020-01-30 20:17:43 +10:00
Ryan Dwyer 10943af728 Identify chrGoToPos, chrGoToProp, chrGoToCover and rename cmd0124 to go_to_cover 2020-01-27 17:34:12 +10:00
Ryan Dwyer 3942afb9ac Decompile liftActivate 2020-01-25 13:45:41 +10:00
Ryan Dwyer 6264578e4b Decompile func0f08e2ac and decodeXorAaaaaaaa 2020-01-23 18:11:42 +10:00
Ryan Dwyer ee444daa77 Introduce MAX_* and NUM_* constants 2020-01-19 09:36:49 +10:00
Ryan Dwyer 48bc39a7ec Decompile objectiveGetCount 2020-01-18 17:46:07 +10:00
Ryan Dwyer 8a0d43a179 Decompile resetSomeStageThings 2020-01-17 22:59:20 +10:00
Ryan Dwyer 402d8cfb7e Decompile chrDetectDangerousObject 2020-01-17 22:30:39 +10:00
Ryan Dwyer 479c253470 Decompile aiIncreaseSquadronAlertness 2020-01-17 20:48:54 +10:00
Ryan Dwyer 266d29a923 Decompile chrGetDistanceLostToTargetInLastSecond and discover commands if_target_moving_slowly, if_target_moving_away and if_target_moving_closer 2020-01-17 17:10:31 +10:00
Ryan Dwyer efd23f1914 Decompile teamGetChrIds 2020-01-16 23:01:08 +10:00
Ryan Dwyer 39bffa2d91 Decompile aiIfTrainingPcHolographed and ciGetTrainingData 2020-01-14 19:37:04 +10:00
Ryan Dwyer 8574db6ae5 Decompile aiSetPortalFlag 2020-01-14 18:17:09 +10:00
Ryan Dwyer d7cd3c7426 Discover if_hoverbot_next_step, heli_arm_weapons, heli_unarm_weapons and if_heli_weapons_armed 2020-01-14 17:45:00 +10:00
Ryan Dwyer 558f3c8943 Decompile aiIfCoopMode and fix typos in command docblocks 2020-01-14 17:19:08 +10:00
Ryan Dwyer b11011d807 Write docblocks for known AI commands 2020-01-14 00:07:17 +10:00
Ryan Dwyer 09e96979a3 Establish links to game functions from setup segment 2020-01-01 19:04:08 +10:00
Ryan Dwyer 44967252cb Decompile setNumPlayers and getNumPlayers 2020-01-01 12:45:08 +10:00
Ryan Dwyer 852a13a667 Decompile menuhandlerSfxVolume 2019-12-31 13:53:24 +10:00
Ryan Dwyer 2252a8f05a Identify symbols related to sound mode 2019-12-31 11:25:27 +10:00
Ryan Dwyer 8a85edb37a Rename eeprom flags to savefile flags 2019-12-31 09:11:48 +10:00
Ryan Dwyer 804e9d01d4 Decompile aiSetDrCarollImages 2019-12-30 20:09:43 +10:00
Ryan Dwyer 3d24f3e544 Decompile chrFindById, chrFindByLiteralId and ailistFindById 2019-12-30 17:01:48 +10:00
Ryan Dwyer 3bbad9cae5 Rename health/armour related commands 2019-12-29 18:13:33 +10:00
Ryan Dwyer d0146b9543 Discover g_Vars.stagenum and stageGetIndex 2019-12-29 13:34:45 +10:00
Ryan Dwyer 40ce5c1832 Decompile aiIfChrInRoom 2019-12-29 11:44:38 +10:00
Ryan Dwyer 56e7198a69 Rename if_chr_lost_track_of_target_maybe to if_target_is_player 2019-12-29 08:29:34 +10:00
Ryan Dwyer f4d51ff7d2 Decompile aiClearInventory 2019-12-28 12:34:47 +10:00
Ryan Dwyer 044705c818 Rename equip weapon and equip hat commands 2019-12-27 18:12:57 +10:00
Ryan Dwyer 0f61afa53c Attempt to decompile getLowestUnusedChrId 2019-12-26 09:48:14 +10:00
Ryan Dwyer 8ad552b860 Decompile setVar8006297c, getVar8006297c, setVar80062980 and getVar80062980 2019-12-25 22:46:15 +10:00
Ryan Dwyer 1f8552aa51 Rename functions related to AI commands 2019-12-25 19:47:51 +10:00
Ryan Dwyer c89afb8c4d Add unused commands and rename many of them 2019-12-25 18:15:09 +10:00
Ryan Dwyer 7312362c46 Replace float with f32 2019-12-24 22:59:00 +10:00
Ryan Dwyer f643cd5fe3 Decompile chrSawTargetRecently and chrHeardTargetRecently 2019-12-22 16:45:33 +10:00
Ryan Dwyer 45bc7aecf8 Decompile chrResetNearMiss 2019-12-22 16:27:30 +10:00
Ryan Dwyer 12ab88c974 Attempt to decompile chrSawInjury and improve documentation for related AI commands 2019-12-22 16:12:57 +10:00
Ryan Dwyer dc7fa9a1e5 Decompile squadronGetChrIds 2019-12-21 12:19:47 +10:00
Ryan Dwyer da4d81bf93 Decompile chrGoToChr 2019-12-18 17:28:22 +10:00
Ryan Dwyer 9fbd4a8732 Improve documentation for CHR_P1P2 features 2019-12-17 17:12:22 +10:00
Ryan Dwyer 452d86aec3 Convert chrdata.BITFIELD to actual bitfield
* Match chraiExecute
* Match ai01b3
* Match aiToggleP1P2
* Match ai01b5
2019-12-16 21:56:31 +10:00
Ryan Dwyer 6aa34c1283 Decompile aiSetChrPresetToUnalertedTeammate 2019-12-12 19:00:45 +10:00
Ryan Dwyer d0ea7a6ee5 Decompile aiChrBeginOrEndTeleport 2019-12-11 17:40:47 +10:00
Ryan Dwyer f6650ab673 Decompile aiIfChrTeleportFullWhite 2019-12-11 17:12:08 +10:00
Ryan Dwyer 401406abe8 Decompile aiChrSetCutsceneWeapon 2019-12-10 23:04:58 +10:00
Ryan Dwyer a081bbf8d8 Discover and decompile aiMiscellaneous 2019-12-10 19:01:19 +10:00
Ryan Dwyer 9276ba28ce Decompile aiIfDistanceToTarget2GreaterThan 2019-12-03 20:04:29 +10:00
Ryan Dwyer 60a5f7b688 Decompile aiIfDistanceToTarget2LessThan 2019-12-03 20:02:32 +10:00
Ryan Dwyer 840789c0fb Decompile aiSetCloaked 2019-12-03 17:03:23 +10:00