mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-07-28 07:07:35 -04:00
Decompile tvscreenSetImageByNum
This commit is contained in:
+3
-3
@@ -125,9 +125,9 @@ extern u32 var8009ce70;
|
||||
extern u32 var8009ce74;
|
||||
extern u32 var8009ce78[4];
|
||||
extern u32 var8009ce88[4];
|
||||
extern struct monitorscreen var8009ce98;
|
||||
extern struct monitorscreen var8009cf10;
|
||||
extern struct monitorscreen var8009cf88;
|
||||
extern struct tvscreen var8009ce98;
|
||||
extern struct tvscreen var8009cf10;
|
||||
extern struct tvscreen var8009cf88;
|
||||
extern struct stagesetup g_StageSetup;
|
||||
extern u8 *g_GeCreditsData;
|
||||
extern struct objective *g_Objectives[MAX_OBJECTIVES];
|
||||
|
||||
@@ -3743,6 +3743,62 @@
|
||||
#define TRACKTYPE_AMBIENT 5
|
||||
#define TRACKTYPE_6 6
|
||||
|
||||
#define TVIMAGE_00 0x00
|
||||
#define TVIMAGE_01 0x01
|
||||
#define TVIMAGE_02 0x02
|
||||
#define TVIMAGE_03 0x03
|
||||
#define TVIMAGE_04 0x04
|
||||
#define TVIMAGE_05 0x05
|
||||
#define TVIMAGE_06 0x06
|
||||
#define TVIMAGE_07 0x07
|
||||
#define TVIMAGE_08 0x08
|
||||
#define TVIMAGE_09 0x09
|
||||
#define TVIMAGE_0A 0x0a
|
||||
#define TVIMAGE_0B 0x0b
|
||||
#define TVIMAGE_0C 0x0c
|
||||
#define TVIMAGE_0D 0x0d
|
||||
#define TVIMAGE_0E 0x0e
|
||||
#define TVIMAGE_0F 0x0f
|
||||
#define TVIMAGE_10 0x10
|
||||
#define TVIMAGE_11 0x11
|
||||
#define TVIMAGE_12 0x12
|
||||
#define TVIMAGE_13 0x13
|
||||
#define TVIMAGE_14 0x14
|
||||
#define TVIMAGE_15 0x15
|
||||
#define TVIMAGE_16 0x16
|
||||
#define TVIMAGE_17 0x17
|
||||
#define TVIMAGE_18 0x18
|
||||
#define TVIMAGE_19 0x19
|
||||
#define TVIMAGE_1A 0x1a
|
||||
#define TVIMAGE_1B 0x1b
|
||||
#define TVIMAGE_1C 0x1c
|
||||
#define TVIMAGE_1D 0x1d
|
||||
#define TVIMAGE_1E 0x1e
|
||||
#define TVIMAGE_1F 0x1f
|
||||
#define TVIMAGE_20 0x20
|
||||
#define TVIMAGE_21 0x21
|
||||
#define TVIMAGE_22 0x22
|
||||
#define TVIMAGE_23 0x23
|
||||
#define TVIMAGE_24 0x24
|
||||
#define TVIMAGE_25 0x25
|
||||
#define TVIMAGE_26 0x26
|
||||
#define TVIMAGE_27 0x27
|
||||
#define TVIMAGE_28 0x28
|
||||
#define TVIMAGE_29 0x29
|
||||
#define TVIMAGE_2A 0x2a
|
||||
#define TVIMAGE_2B 0x2b
|
||||
#define TVIMAGE_2C 0x2c
|
||||
#define TVIMAGE_2D 0x2d
|
||||
#define TVIMAGE_2E 0x2e
|
||||
#define TVIMAGE_2F 0x2f
|
||||
#define TVIMAGE_30 0x30
|
||||
#define TVIMAGE_31 0x31
|
||||
#define TVIMAGE_32 0x32
|
||||
#define TVIMAGE_33 0x33
|
||||
#define TVIMAGE_34 0x34
|
||||
#define TVIMAGE_35 0x35
|
||||
#define TVIMAGE_36 0x36
|
||||
|
||||
#define VEHICLEMODE_OFF 0
|
||||
#define VEHICLEMODE_ENGINESTART 1
|
||||
#define VEHICLEMODE_RUNNING 2
|
||||
|
||||
+1
-1
@@ -257,7 +257,7 @@ extern struct autogunobj *g_ThrownLaptops;
|
||||
extern struct var8006996c *var8006996c;
|
||||
extern s32 g_MaxThrownLaptops;
|
||||
extern struct prop *g_Lifts[MAX_LIFTS];
|
||||
extern u32 var80069d90;
|
||||
extern u32 g_TvImage00;
|
||||
extern u32 var8006aaa0;
|
||||
extern u32 var8006aae4;
|
||||
extern struct audiochannel *g_AudioChannels;
|
||||
|
||||
@@ -204,8 +204,8 @@ bool propCanRegen(struct prop *prop);
|
||||
u32 func0f07e474(struct prop *prop);
|
||||
s32 objTick(struct prop *prop);
|
||||
Gfx *propsRenderBeams(Gfx *gdl);
|
||||
u32 func0f07f918(void);
|
||||
void imageSlotSetImage(struct monitorscreen *screen, u32 arg1);
|
||||
void tvscreenSetImage(struct tvscreen *screen, void *arg1);
|
||||
void tvscreenSetImageByNum(struct tvscreen *screen, s32 imagenum);
|
||||
u32 func0f07fbf0(void);
|
||||
u32 func0f07fbf8(void);
|
||||
void func0f0809c4(struct prop *prop, struct modelrenderdata *renderdata, bool withalpha);
|
||||
|
||||
+3
-3
@@ -1517,7 +1517,7 @@ struct monitorthing {
|
||||
/*0x044*/ struct projectile *unk044;
|
||||
};
|
||||
|
||||
struct monitorscreen {
|
||||
struct tvscreen {
|
||||
/*0x00*/ u32 unk00;
|
||||
/*0x04*/ u32 unk04;
|
||||
/*0x08*/ u32 unk08;
|
||||
@@ -1719,7 +1719,7 @@ struct packedchr { // objtype 0x09
|
||||
|
||||
struct singlemonitorobj { // objtype 0x0a
|
||||
struct defaultobj base;
|
||||
/*0x5c*/ struct monitorscreen screen;
|
||||
/*0x5c*/ struct tvscreen screen;
|
||||
/*0xd0*/ s16 owneroffset;
|
||||
/*0xd2*/ s8 ownerpart;
|
||||
/*0xd3*/ u8 imagenum;
|
||||
@@ -1727,7 +1727,7 @@ struct singlemonitorobj { // objtype 0x0a
|
||||
|
||||
struct multimonitorobj { // objtype 0x0b
|
||||
struct defaultobj base;
|
||||
struct monitorscreen screens[4];
|
||||
struct tvscreen screens[4];
|
||||
u8 imagenums[4];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user