mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-08-02 16:26:26 -04:00
Decompile sky0f11f07c and discover wind speed AI command
This commit is contained in:
@@ -3800,13 +3800,12 @@
|
||||
msrc4, \
|
||||
msrc5,
|
||||
|
||||
// This just does:
|
||||
// addr8007db84 = addr7f1a9da4 * value
|
||||
// In practice, value is 8, 11, 15, 20, 22 and 130,
|
||||
// though some of these setup files are probably not used.
|
||||
#define cmd01b2_mponly(value) \
|
||||
/**
|
||||
* Set the wind speed, which controls how quickly clouds in the sky are moving.
|
||||
*/
|
||||
#define set_wind_speed(speed) \
|
||||
mkshort(0x01b2), \
|
||||
value,
|
||||
speed,
|
||||
|
||||
/**
|
||||
* Toggle which player (Bond or Coop) is referenced by the chr's CHR_P1P2
|
||||
|
||||
+2
-2
@@ -404,8 +404,8 @@ extern struct skeleton g_Skel22;
|
||||
extern struct skeleton g_SkelRobot;
|
||||
extern struct headorbody g_HeadsAndBodies[];
|
||||
extern struct hatposition var8007dae4[1][6];
|
||||
extern f32 var8007db80;
|
||||
extern f32 var8007db84;
|
||||
extern f32 g_SkyCloudOffset;
|
||||
extern f32 g_SkyWindSpeed;
|
||||
extern f32 var8007db88[];
|
||||
extern u32 var8007db94[];
|
||||
extern u32 var8007dba0;
|
||||
|
||||
@@ -398,7 +398,7 @@
|
||||
/*0x01ae*/ bool aiClearInventory(void);
|
||||
/*0x01af*/ bool aiChrGrabObject(void);
|
||||
/*0x01b1*/ bool aiShuffleRuinsPillars(void);
|
||||
/*0x01b2*/ bool ai01b2(void);
|
||||
/*0x01b2*/ bool aiSetWindSpeed(void);
|
||||
/*0x01b3*/ bool aiToggleP1P2(void);
|
||||
/*0x01b4*/ bool ai01b4(void);
|
||||
/*0x01b5*/ bool aiChrSetP1P2(void);
|
||||
|
||||
@@ -9,7 +9,7 @@ void skyReset(u32 stagenum);
|
||||
void skyTick(void);
|
||||
|
||||
void sky0f11f000(f32 left, f32 top, struct coord *arg2);
|
||||
u32 sky0f11f07c(void);
|
||||
bool sky0f11f07c(struct coord *arg0, struct coord *arg1, f32 *arg2);
|
||||
u32 sky0f11f1fc(void);
|
||||
void sky0f11f384(struct coord *arg0, struct coord *arg1, struct coord *out);
|
||||
f32 sky0f11f3d0(f32 value, f32 min, f32 max);
|
||||
|
||||
Reference in New Issue
Block a user