mirror of
https://github.com/krystalgamer/spidey-decomp.git
synced 2024-11-26 23:00:30 +00:00
CDocOc::RenderClaws
This commit is contained in:
parent
db0d6beb40
commit
7d9bca6f9a
@ -2,6 +2,7 @@
|
||||
#include "validate.h"
|
||||
#include "trig.h"
|
||||
#include "panel.h"
|
||||
#include "ps2m3d.h"
|
||||
|
||||
// @NotOk
|
||||
// globals
|
||||
@ -72,6 +73,12 @@ void DocOck_CreateDocOck(const unsigned int *stack, unsigned int *result)
|
||||
*result = reinterpret_cast<unsigned int>(new CDocOc(v2, v3));
|
||||
}
|
||||
|
||||
// @Ok
|
||||
void CDocOc::RenderClaws(void)
|
||||
{
|
||||
M3d_Render(this->field_570);
|
||||
}
|
||||
|
||||
void validate_CDocOc(void){
|
||||
VALIDATE_SIZE(CDocOc, 0x590);
|
||||
|
||||
@ -84,4 +91,5 @@ void validate_CDocOc(void){
|
||||
VALIDATE(CDocOc, field_4EC, 0x4EC);
|
||||
VALIDATE(CDocOc, field_50C, 0x50C);
|
||||
VALIDATE(CDocOc, field_554, 0x554);
|
||||
VALIDATE(CDocOc, field_570, 0x570);
|
||||
}
|
||||
|
7
docock.h
7
docock.h
@ -10,6 +10,7 @@ class CDocOc : public CBaddy {
|
||||
|
||||
public:
|
||||
EXPORT CDocOc(int*, int);
|
||||
EXPORT void RenderClaws(void);
|
||||
|
||||
int field_324;
|
||||
int field_328;
|
||||
@ -28,7 +29,11 @@ public:
|
||||
unsigned char padAfter514[0x40-4];
|
||||
|
||||
int field_554;
|
||||
unsigned char padAfter554[0x38];
|
||||
unsigned char padAfter554[0x570-0x554-4];
|
||||
|
||||
void* field_570;
|
||||
|
||||
unsigned char padBottom[0x590-0x570-4];
|
||||
};
|
||||
|
||||
|
||||
|
@ -5,3 +5,7 @@
|
||||
void M3d_BuildTransform(CSuper* a){
|
||||
a->actualcsuperend = (__int16*)69;
|
||||
}
|
||||
|
||||
// @TODO
|
||||
void M3d_Render(void*)
|
||||
{}
|
||||
|
Loading…
Reference in New Issue
Block a user