spidey-decomp/chain.h

41 lines
629 B
C
Raw Normal View History

2024-05-23 17:19:28 +00:00
#pragma once
#ifndef CHAIN_H
#define CHAIN_H
2024-05-24 14:47:20 +00:00
#include "export.h"
#include "main.h"
2024-07-22 15:49:58 +00:00
#include "vector.h"
struct SChainData
{
CVector field_0;
2024-07-22 15:55:02 +00:00
CVector field_C;
2024-07-22 15:49:58 +00:00
CVector field_18;
u8 field_24;
u8 padBottom[0x28-0x24-1];
};
2024-05-24 14:47:20 +00:00
class CChain : public CClass
{
public:
2024-07-22 15:49:58 +00:00
EXPORT CChain(CVector*, i32, i32, i32, i32, i32);
EXPORT void SetGroundY(i32);
EXPORT virtual ~CChain(void);
2024-07-22 15:55:02 +00:00
EXPORT void Move(void);
2024-05-24 14:47:20 +00:00
2024-07-22 15:49:58 +00:00
SChainData* field_4;
i32 field_8;
i32 field_C;
i32 field_10;
i32 field_14;
i32 field_18;
i32 field_1C;
i32 field_20;
i32 field_24;
2024-05-24 14:47:20 +00:00
};
void validate_CChain(void);
2024-07-22 15:49:58 +00:00
void validate_SChainData(void);
2024-05-24 14:47:20 +00:00
#endif