spidey-decomp/carnage.h
2024-08-02 16:28:32 +02:00

77 lines
1.4 KiB
C++

#pragma once
#ifndef CARNAGE_H
#define CARNAGE_H
#include "export.h"
#include "baddy.h"
class CCarnage : public CBaddy {
public:
EXPORT CCarnage(int*, int);
EXPORT ~CCarnage(void);
EXPORT void Shouldnt_DoPhysics_Be_Virtual(void);
EXPORT void DoPhysics(void);
u8 carnageStartPad[0x8];
void* field_32C;
u8 padAfter32C[0x334-0x32C-4];
i32 field_334;
i32 field_338;
i32 field_33C;
u8 padAfter33c[0x344-0x33C-4];
void* field_344;
u8 padAfter344[0x354-0x344-4];
i32 field_354;
i32 field_358;
i32 field_35C;
unsigned char padAfter35C[0x10-4];
int field_36C;
int field_370;
int field_374;
int field_378;
};
class CSonicBubble : public CBody
{
public:
EXPORT CSonicBubble(void);
EXPORT ~CSonicBubble(void);
EXPORT void SetScale(int);
int field_F4;
};
class CCarnageElectrified : public CNonRenderedBit
{
public:
EXPORT CCarnageElectrified(CSuper*);
EXPORT virtual ~CCarnageElectrified(void);
SHandle field_3C;
i32 field_44;
};
class CCarnageHitSpark : public CQuadBit
{
public:
EXPORT CCarnageHitSpark(CVector*);
EXPORT virtual ~CCarnageHitSpark(void);
};
void validate_CCarnage(void);
void validate_CSonicBubble(void);
void validate_CCarnageElectrified(void);
void validate_CCarnageHitSpark(void);
EXPORT void CreateSonicBubbleVertexWobbler(void);
EXPORT void Carnage_Create_Carnage(const unsigned int *stack, unsigned int *result);
#endif