Commit Graph

1142 Commits

Author SHA1 Message Date
Ryan Dwyer 4052aa9a6d Decompile alarmActivate 2019-10-08 23:26:43 +10:00
Ryan Dwyer 546f5744fe Decompile ai0047 2019-10-08 22:14:38 +10:00
Ryan Dwyer ec2560d4ba Decompile aiIfNeverBeenOnScreen 2019-10-08 22:11:55 +10:00
Ryan Dwyer 6ff82c129f Decompile ai0045 2019-10-08 22:08:13 +10:00
Ryan Dwyer dec761f9e7 Decompile aiIfShotAtCloseRange 2019-10-08 22:00:03 +10:00
Ryan Dwyer 41b5e6faa0 Decompile aiIfInLoadedRoom 2019-10-08 21:57:15 +10:00
Ryan Dwyer f991d3bfa5 Document a coord in setup
Found it while attempting to decompile cmd 001a
2019-10-08 20:54:39 +10:00
Ryan Dwyer 4e68fb7479 Decompile aiIfSeesPlayer 2019-10-08 20:13:35 +10:00
Ryan Dwyer 8218307db7 Decompile aiIfSawDeath 2019-10-08 20:00:42 +10:00
Ryan Dwyer 9f9169ca28 Decompile aiIfAlarmInactive 2019-10-08 19:50:26 +10:00
Ryan Dwyer 72978c522d Rename aiIfAlarmActive to aiIfChrAlarmActive and decompile real aiIfAlarmActive 2019-10-08 19:49:10 +10:00
Ryan Dwyer 2bbbf77d0d Decompile aiIfRandomGreaterThan 2019-10-08 19:44:44 +10:00
Ryan Dwyer c56572e61f Decompile aiIfRandomLessThan 2019-10-08 19:43:15 +10:00
Ryan Dwyer 8cfba0597c Decompile aiRandom 2019-10-08 18:55:23 +10:00
Ryan Dwyer 6810d014f6 Resolve ld issues and link random 2019-10-08 18:46:05 +10:00
Ryan Dwyer abf368da9c Decompile aiIfPathStarted 2019-10-08 08:24:54 +10:00
Ryan Dwyer 17b9b82f0c Decompile aiIfAlarmActive 2019-10-08 08:12:52 +10:00
Ryan Dwyer c09f1fa4fb Decompile aiStartPath 2019-10-08 08:07:41 +10:00
Ryan Dwyer 2efc8d1115 Decompile aiSetPath 2019-10-08 08:06:03 +10:00
Ryan Dwyer 0ab3c6ee1d Decompile aiRunToPad 2019-10-08 08:04:01 +10:00
Ryan Dwyer 704e85c10f Decompile aiWalkToPad 2019-10-08 08:02:35 +10:00
Ryan Dwyer 2cbd8d1342 Decompile aiGoToPadPreset 2019-10-08 00:14:03 +10:00
Ryan Dwyer 6c39e3b490 Decompile aiJogToPad 2019-10-07 23:14:46 +10:00
Ryan Dwyer 85e60cc2e5 Rename ai0036 to aiRandom 2019-10-07 23:07:29 +10:00
Ryan Dwyer 40a47ee5c2 Decompile aiRunToChr 2019-10-07 23:06:28 +10:00
Ryan Dwyer 50f82ba0f6 Decompile aiGoToChr 2019-10-07 23:01:46 +10:00
Ryan Dwyer c7d14e2354 Decompile aiDeactivateAlarm 2019-10-07 22:45:06 +10:00
Ryan Dwyer 1a932821c2 Decompile aiActivateAlarm 2019-10-07 22:43:41 +10:00
Ryan Dwyer f716542462 Decompile aiRemoveChr 2019-10-07 22:38:14 +10:00
Ryan Dwyer 32c4b5905d Decompile aiFadeOut 2019-10-07 22:33:38 +10:00
Ryan Dwyer 967addefb6 Decompile aiSurrender 2019-10-07 22:32:28 +10:00
Ryan Dwyer 3a7006a553 Decompile aiConsiderGrenadeThrow 2019-10-07 22:24:34 +10:00
Ryan Dwyer a5de0fc679 Decompile aiFaceEntity 2019-10-07 21:51:23 +10:00
Ryan Dwyer bf431e027d Decompile aiAimAndFire2 2019-10-07 21:43:05 +10:00
Ryan Dwyer 63f6eaf7c6 Decompile ai00f0 2019-10-07 21:29:24 +10:00
Ryan Dwyer b56b7b0f1c Decompile ai01ba 2019-10-07 21:19:59 +10:00
Ryan Dwyer cf117ab036 Decompile aiKneelAndFire 2019-10-07 21:18:24 +10:00
Ryan Dwyer 5caebeffd8 Decompile aiAimAndFire1 2019-10-07 21:16:31 +10:00
Ryan Dwyer c86af0391f Decompile aiRollAndFire 2019-10-07 21:07:33 +10:00
Ryan Dwyer c34f8ff03e Decompile aiRunAndFire 2019-10-07 21:06:23 +10:00
Ryan Dwyer 89cebe7f22 Decompile aiWalkAndFire 2019-10-07 21:04:43 +10:00
Ryan Dwyer bf6c85b3f3 Split setup.c into smaller files 2019-10-07 19:25:37 +10:00
Ryan Dwyer f87c39fb42 Decompile aiRunSideways 2019-10-07 18:51:34 +10:00
Ryan Dwyer 858bfcd03b Decompile aiHopSideways 2019-10-07 18:49:38 +10:00
Ryan Dwyer 9389166211 Decompile aiStepSideways 2019-10-07 18:47:33 +10:00
Ryan Dwyer d5de6fd537 Decompile aiIfPlayerInSight 2019-10-07 18:43:53 +10:00
Ryan Dwyer 0bbe2f5efe Decompile aiIfChrUnloaded 2019-10-07 18:38:23 +10:00
Ryan Dwyer d000ee0ee0 Decompile aiIfDying 2019-10-07 18:29:15 +10:00
Ryan Dwyer 055cb7aa8b Decompile aiIfStopped 2019-10-07 18:02:32 +10:00
Ryan Dwyer 222324a046 Decompile aiIfIdle 2019-10-07 17:55:02 +10:00
Ryan Dwyer 8cc9fc069c Restructure files
* Create chraicommands.c
* Move include to src/include
* Use .o files next to each .c file
2019-10-07 17:50:26 +10:00
Ryan Dwyer 384e0a11f3 Decompile aiKneel 2019-10-07 08:15:50 +10:00
Ryan Dwyer 383402a8b1 Decompile aiStop 2019-10-07 08:11:24 +10:00
Ryan Dwyer b93ca7a9c3 Decompile aiReturn 2019-10-06 23:57:44 +10:00
Ryan Dwyer b03597fa46 Decompile aiSetPlayerDeadList 2019-10-06 23:26:15 +10:00
Ryan Dwyer 37de186ff3 Decompile aiSetDarkRoomList 2019-10-06 23:22:17 +10:00
Ryan Dwyer 0c384e6494 Decompile aiSetShootingAtMeList 2019-10-06 23:18:15 +10:00
Ryan Dwyer e909f2376f Decompile aiSetPunchDodgeList 2019-10-06 23:10:28 +10:00
Ryan Dwyer 16875a3d63 Decompile aiSetReturnList 2019-10-06 11:32:18 +10:00
Ryan Dwyer d1f7a94221 Decompile aiSetAilist 2019-10-06 10:14:15 +10:00
Ryan Dwyer 3cbaed1e7f Decompile aiEndList 2019-10-05 22:42:47 +10:00
Ryan Dwyer 980d3b6032 Decompile aiYield and add some structs including chrdata 2019-10-05 22:25:21 +10:00
Ryan Dwyer 505f1e8e36 Decompile aiGoToNext 2019-10-05 19:20:22 +10:00
Ryan Dwyer bfa3b794a7 Decompile aiGoToFirst 2019-10-05 19:12:54 +10:00
Ryan Dwyer 7abfa5655b Identify menu handler functions 2019-10-05 12:02:35 +10:00
Ryan Dwyer a365606fd1 Identify menu dialog functions 2019-10-05 11:21:11 +10:00
Ryan Dwyer ffd9247113 Rename AI commands 2019-10-05 10:02:11 +10:00
Ryan Dwyer 3ef569abfd Add aiLabel to setup's command_pointers array 2019-10-04 23:43:42 +10:00
Ryan Dwyer 4c1b603d15 Match aiLabel 2019-10-04 23:28:39 +10:00
Ryan Dwyer c95707bef5 Link library with setup and match getCurrentStageId 2019-10-01 20:28:33 +10:00
Ryan Dwyer 66e581a77c Discover another table 2019-09-29 09:35:33 +10:00
Ryan Dwyer f20360fb99 Discover another unknown structure 2019-09-29 08:30:45 +10:00
Ryan Dwyer 776fa6a6c0 Discover another structure 2019-09-28 17:20:31 +10:00
Ryan Dwyer 21587f7d38 Discover stagethinglists 2019-09-28 16:44:34 +10:00
Ryan Dwyer d79e48525c Discover menu structures 2019-09-28 15:37:10 +10:00
Ryan Dwyer e9c2525b0f Discover hoverprops 2019-09-25 00:07:31 +10:00
Ryan Dwyer 84ab9d29dc Discover sky structures 2019-09-24 20:55:24 +10:00
Ryan Dwyer 6c639da920 Discover inventory_menupos 2019-09-23 23:42:43 +10:00
Ryan Dwyer 99846b92a5 Improve types 2019-09-23 23:14:23 +10:00
Ryan Dwyer c034f62448 Rename field_0x17e to target 2019-09-23 22:23:31 +10:00
Ryan Dwyer 30e98a1629 Rename all commands containing the word 'group' 2019-09-23 21:19:59 +10:00
Ryan Dwyer 7a1863c3ef Discover orders field 2019-09-23 20:44:36 +10:00
Ryan Dwyer 29fde0d09c Rename group to squadron and add constants 2019-09-23 19:29:18 +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 a00b6092f5 Rename var_a to morale 2019-09-23 18:15:49 +10:00
Ryan Dwyer 89fdc7311b Rename set_unknown_function to set_darkroom_function 2019-09-23 18:09:49 +10:00
Ryan Dwyer 6e0806bbf7 Improve quip related commands and data 2019-09-23 18:04:08 +10:00
Ryan Dwyer 7db82fe44a Discover more stage related tables 2019-09-22 22:29:45 +10:00
Ryan Dwyer dcfa7e32cd Discover local pointers in globals.c 2019-09-22 20:46:39 +10:00
Ryan Dwyer 902edeca66 Flesh out globals.c and make it match 2019-09-22 16:03:20 +10:00
Ryan Dwyer 893a56ac50 Rename commands 004d, 004f, 0050 and define 0051 2019-09-18 22:27:14 +10:00
Ryan Dwyer c9dec5deac Replace assembly implementation with C implementation 2019-09-07 16:12:32 +10:00