mirror of
https://github.com/krystalgamer/spidey-decomp.git
synced 2024-10-07 02:33:33 +00:00
Added skeleton for CCarnage
This commit is contained in:
parent
766a1b577a
commit
d912211f3e
19
carnage.cpp
Normal file
19
carnage.cpp
Normal file
@ -0,0 +1,19 @@
|
||||
#include "carnage.h"
|
||||
#include "validate.h"
|
||||
|
||||
|
||||
|
||||
void validate_CCarnage(void){
|
||||
VALIDATE_SIZE(CCarnage, 0x37C);
|
||||
|
||||
VALIDATE(CCarnage, field_334, 0x334);
|
||||
VALIDATE(CCarnage, field_338, 0x338);
|
||||
VALIDATE(CCarnage, field_33C, 0x33C);
|
||||
VALIDATE(CCarnage, field_354, 0x354);
|
||||
VALIDATE(CCarnage, field_358, 0x358);
|
||||
VALIDATE(CCarnage, field_35C, 0x35C);
|
||||
VALIDATE(CCarnage, field_36C, 0x36C);
|
||||
VALIDATE(CCarnage, field_370, 0x370);
|
||||
VALIDATE(CCarnage, field_374, 0x374);
|
||||
VALIDATE(CCarnage, field_378, 0x378);
|
||||
}
|
27
carnage.h
Normal file
27
carnage.h
Normal file
@ -0,0 +1,27 @@
|
||||
#pragma once
|
||||
|
||||
#include "export.h"
|
||||
#include "baddy.h"
|
||||
|
||||
class CCarnage : public CBaddy {
|
||||
public:
|
||||
unsigned char carnageStartPad[0x10];
|
||||
|
||||
int field_334;
|
||||
int field_338;
|
||||
int field_33C;
|
||||
unsigned char padAfter33c[0x18 - 4];
|
||||
|
||||
int field_354;
|
||||
int field_358;
|
||||
int field_35C;
|
||||
unsigned char padAfter35C[0x10-4];
|
||||
|
||||
int field_36C;
|
||||
int field_370;
|
||||
int field_374;
|
||||
int field_378;
|
||||
};
|
||||
|
||||
|
||||
void validate_CCarnage(void);
|
2
main.cpp
2
main.cpp
@ -16,6 +16,7 @@
|
||||
#include "torch.h"
|
||||
#include "hostage.h"
|
||||
#include "cop.h"
|
||||
#include "carnage.h"
|
||||
|
||||
template<bool b>
|
||||
struct StaticAssert{};
|
||||
@ -69,6 +70,7 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
|
||||
validate_CHostage();
|
||||
validate_CScriptOnlyBaddy();
|
||||
validate_CCop();
|
||||
validate_CCarnage();
|
||||
|
||||
puts("[*] Validation done!");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user