mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-06-14 06:03:48 -04:00
Decompile aiSetPadPresetToInvestigationTerminal
This commit is contained in:
+10
-1
@@ -1364,7 +1364,16 @@
|
||||
src4, \
|
||||
0x00,
|
||||
|
||||
#define jog_to_object(object) \
|
||||
/**
|
||||
* Takes the given object, looks at the pad ID that the object is sitting on,
|
||||
* then uses a lookup table at g_InvestigationPadMap to decide which pad to set
|
||||
* as the current chr's pad preset.
|
||||
*
|
||||
* It's only used for investigation scientists to run to a spot in front of the
|
||||
* terminal. Due to the fact that this lookup table is hard coded in a global
|
||||
* location, it's recommended to keep usage of this function to one stage only.
|
||||
*/
|
||||
#define set_pad_preset_to_investigation_terminal(object) \
|
||||
mkshort(0x0142), \
|
||||
object, \
|
||||
0x00,
|
||||
|
||||
@@ -320,7 +320,7 @@
|
||||
/*0x013f*/ bool ai013f(void);
|
||||
/*0x0140*/ bool ai0140(void);
|
||||
/*0x0141*/ bool aiShuffleInvestigationTerminals(void);
|
||||
/*0x0142*/ bool ai0142(void);
|
||||
/*0x0142*/ bool aiSetPadPresetToInvestigationTerminal(void);
|
||||
/*0x0143*/ bool ai0143(void);
|
||||
/*0x0144*/ bool ai0144(void);
|
||||
/*0x0145*/ bool aiRebuildTeams(void);
|
||||
|
||||
@@ -418,7 +418,7 @@ extern s16 ciquiptable_bank0[];
|
||||
extern s16 ciquiptable_bank1[];
|
||||
extern s16 ciquiptable_bank2[];
|
||||
extern s16 ciquiptable_bank3[];
|
||||
extern u32 var80069730;
|
||||
extern u16 g_InvestigationPadMap[40];
|
||||
extern u32 var80069780;
|
||||
extern u32 var8006978c;
|
||||
extern u16 special_animations[];
|
||||
|
||||
Reference in New Issue
Block a user