mirror of
https://github.com/krystalgamer/spidey-decomp.git
synced 2025-03-02 17:56:02 +00:00
CDocOc skeleton
This commit is contained in:
parent
f34dc4b6e1
commit
bfbdc281a2
19
docock.cpp
Normal file
19
docock.cpp
Normal file
@ -0,0 +1,19 @@
|
||||
#include "docock.h"
|
||||
#include "validate.h"
|
||||
|
||||
|
||||
void validate_CDocOc(void){
|
||||
VALIDATE_SIZE(CDocOc, 0x590);
|
||||
|
||||
VALIDATE(CDocOc, field_324, 0x324);
|
||||
VALIDATE(CDocOc, field_328, 0x328);
|
||||
VALIDATE(CDocOc, field_32C, 0x32C);
|
||||
VALIDATE(CDocOc, field_330, 0x330);
|
||||
VALIDATE(CDocOc, field_334, 0x334);
|
||||
VALIDATE(CDocOc, field_4A8, 0x4A8);
|
||||
VALIDATE(CDocOc, field_4EC, 0x4EC);
|
||||
VALIDATE(CDocOc, field_50C, 0x50C);
|
||||
VALIDATE(CDocOc, field_510, 0x510);
|
||||
VALIDATE(CDocOc, field_514, 0x514);
|
||||
VALIDATE(CDocOc, field_554, 0x554);
|
||||
}
|
32
docock.h
Normal file
32
docock.h
Normal file
@ -0,0 +1,32 @@
|
||||
#pragma once
|
||||
|
||||
#include "export.h"
|
||||
#include "baddy.h"
|
||||
|
||||
class CDocOc : public CBaddy {
|
||||
|
||||
public:
|
||||
int field_324;
|
||||
int field_328;
|
||||
int field_32C;
|
||||
int field_330;
|
||||
CVector field_334[30];
|
||||
unsigned char padAfter334[0xC];
|
||||
|
||||
int field_4A8;
|
||||
unsigned char padAfter4A8[0x40];
|
||||
|
||||
int field_4EC;
|
||||
unsigned char padAfter4EC[0x1C];
|
||||
|
||||
int field_50C;
|
||||
int field_510;
|
||||
int field_514;
|
||||
unsigned char padAfter514[0x40-4];
|
||||
|
||||
int field_554;
|
||||
unsigned char padAfter554[0x38];
|
||||
};
|
||||
|
||||
|
||||
void validate_CDocOc(void);
|
2
main.cpp
2
main.cpp
@ -18,6 +18,7 @@
|
||||
#include "cop.h"
|
||||
#include "carnage.h"
|
||||
#include "chopper.h"
|
||||
#include "docock.h"
|
||||
|
||||
template<bool b>
|
||||
struct StaticAssert{};
|
||||
@ -73,6 +74,7 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
|
||||
validate_CCop();
|
||||
validate_CCarnage();
|
||||
validate_CChopper();
|
||||
validate_CDocOc();
|
||||
|
||||
puts("[*] Validation done!");
|
||||
|
||||
|
16
spider.dsp
16
spider.dsp
@ -108,10 +108,18 @@ SOURCE=.\carnage.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\chopper.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\cop.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\docock.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\friction.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
@ -196,10 +204,18 @@ SOURCE=.\carnage.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\chopper.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\cop.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\docock.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\export.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
Loading…
x
Reference in New Issue
Block a user