mirror of
https://gitlab.com/ryandwyer/perfect-dark
synced 2026-07-09 05:23:15 -04:00
Attempt to decompile ai0104
This commit is contained in:
@@ -8499,6 +8499,20 @@ glabel ai0104
|
||||
/* f058b64: acab0438 */ sw $t3,0x438($a1)
|
||||
);
|
||||
|
||||
// Mismatch due to temporary registers
|
||||
//bool ai0104(void)
|
||||
//{
|
||||
// if (g_Vars.chrdata->proppreset1 >= 0) {
|
||||
// struct defaultobj *obj = g_Vars.positions[g_Vars.chrdata->proppreset1].entity;
|
||||
// obj->hidden &= ~OBJHIDDENFLAG_00200000;
|
||||
// }
|
||||
//
|
||||
// g_Vars.chrdata->proppreset1 = -1;
|
||||
// g_Vars.aioffset += 2;
|
||||
//
|
||||
// return false;
|
||||
//}
|
||||
|
||||
/**
|
||||
* @cmd 0105
|
||||
*/
|
||||
|
||||
@@ -459,7 +459,8 @@
|
||||
#define OBJECTFLAG2_80000000 0x80000000 // Not used in scripts
|
||||
|
||||
#define OBJHIDDENFLAG_ACTIVATED_BY_BOND 0x00004000
|
||||
#define OBJHIDDENFLAG_ACTIVATED_BY_COOP 0x00040000
|
||||
#define OBJHIDDENFLAG_ACTIVATED_BY_BOND 0x00004000
|
||||
#define OBJHIDDENFLAG_00200000 0x00200000
|
||||
|
||||
#define OBJTYPE_DOOR 0x01
|
||||
#define OBJTYPE_DOORSCALE 0x02
|
||||
|
||||
Reference in New Issue
Block a user