rewrite TargetInspector to directly access memory, and add experimental ShouldVibrate bool

This commit is contained in:
somewhatlurker
2019-08-14 21:46:38 +10:00
parent 21fe175731
commit 98c12e7455
7 changed files with 61 additions and 30 deletions
@@ -4,8 +4,17 @@ namespace TLAC::Components
{
struct TargetState
{
int tgtType;
int tgtHitState;
// seems to be some kind of linked list..
// not sure if these are for all active targets or just used in some functions
TargetState* prev;
TargetState* next;
byte padding10[0x4];
TargetTypes tgtType;
float tgtRemainingTime;
byte padding1C[0x434];
byte ToBeRemoved; // FromList
byte padding451[0xB];
TargetHitStates tgtHitState;
byte padding460[0x48];
};
}