mirror of
https://github.com/krystalgamer/spidey-decomp.git
synced 2024-11-26 23:00:30 +00:00
CLaserFence::SetPushback and PCInput_GetMouseStatus
This commit is contained in:
parent
2e5b523c64
commit
e5e66adfbb
11
PCInput.cpp
11
PCInput.cpp
@ -1 +1,10 @@
|
||||
#include "PCInput.h"
|
||||
#include "PCInput.h"
|
||||
|
||||
static unsigned char gMouseStatus;
|
||||
|
||||
// @NotOk
|
||||
// Globals
|
||||
int PCINPUT_GetMouseStatus(void)
|
||||
{
|
||||
return gMouseStatus;
|
||||
}
|
||||
|
@ -3,4 +3,8 @@
|
||||
#ifndef PCINPUT_H
|
||||
#define PCINPUT_H
|
||||
|
||||
#endif
|
||||
#include "export.h"
|
||||
|
||||
EXPORT int PCINPUT_GetMouseStatus(void);
|
||||
|
||||
#endif
|
||||
|
2
turret.h
2
turret.h
@ -32,7 +32,7 @@ class CTurretLaser : public CNonRenderedBit
|
||||
|
||||
unsigned char topPad[0xD];
|
||||
int field_4C;
|
||||
unsigned char bottomPad[0x64-0x4C];
|
||||
unsigned char bottomPad[0x64-0x4C-4];
|
||||
};
|
||||
|
||||
void validate_CTurret(void);
|
||||
|
9
wire.cpp
9
wire.cpp
@ -2,7 +2,16 @@
|
||||
|
||||
#include "validate.h"
|
||||
|
||||
// @Ok
|
||||
void CLaserFence::SetPushback(bool pushback)
|
||||
{
|
||||
this->field_114 = pushback;
|
||||
}
|
||||
|
||||
|
||||
void validate_CLaserFence(void)
|
||||
{
|
||||
VALIDATE_SIZE(CLaserFence, 0x11C);
|
||||
|
||||
VALIDATE(CLaserFence, field_114, 0x114);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user