spidey-decomp/spidey.h

150 lines
3.5 KiB
C
Raw Normal View History

#pragma once
#ifndef SPIDEY_H
#define SPIDEY_H
#include "export.h"
#include "ob.h"
class CPlayer : public CSuper
{
public:
int field_194;
unsigned char padAfter194[0x1A8-0x194-4];
2024-05-12 17:44:36 +00:00
int field_1A8;
2024-05-11 14:08:12 +00:00
char field_1AC;
2024-06-02 16:31:32 +00:00
unsigned char padAfter1AC[0x1BC-0x1AC-1];
int* field_1BC;
unsigned char padAfter1BC[0x528-0x1BC-4];
2024-06-02 16:26:34 +00:00
int field_528;
int field_52C;
unsigned char padAfter52C[0x538-0x52C-4];
unsigned int field_538;
unsigned char padAfter538[0x56C-0x538-4];
2024-05-09 17:29:48 +00:00
int field_56C;
2024-05-12 16:43:59 +00:00
unsigned char padAfter56C[0x580-0x56C-4];
int field_580;
2024-06-01 16:49:23 +00:00
CSmokeTrail* field_584;
CSmokeTrail* field_588;
2024-06-01 16:55:52 +00:00
CSmokeTrail* field_58C;
CSmokeTrail* field_590;
unsigned char padAfter584[0x5D0-0x590-4];
2024-05-12 16:43:59 +00:00
2024-05-11 14:08:12 +00:00
2024-05-29 16:24:57 +00:00
int field_5D0;
2024-05-11 14:08:12 +00:00
int field_5D4;
int field_5D8;
unsigned char padAfter5D8[0x5E8-0x5D8-4];
char field_5E8;
unsigned char padAfter5E8[0x89C-0x5E8-4];
2024-05-09 17:29:48 +00:00
MATRIX field_89C;
2024-05-12 16:16:40 +00:00
unsigned char padAfter89C[0x8E8-0x89C-sizeof(MATRIX)];
2024-05-12 16:16:40 +00:00
unsigned char field_8E8;
unsigned char field_8E9;
2024-05-09 17:08:39 +00:00
unsigned char field_8EA;
unsigned char padAFter8Ea;
2024-05-09 17:08:39 +00:00
unsigned char gCamAngleLock; //8EC
2024-05-11 15:36:25 +00:00
unsigned char padAfterLock[0xAD4-0x8EC-1];
char field_AD4;
2024-05-12 17:03:47 +00:00
unsigned char padAfterAD4[0xC6C-0xAD4-1];
2024-05-12 17:44:36 +00:00
CVector field_C6C;
2024-05-13 16:47:39 +00:00
int field_C78;
int field_C7C;
int field_C80;
2024-05-12 16:16:40 +00:00
int field_C84;
unsigned int padAfterC84;
int field_C8C;
2024-05-09 17:29:48 +00:00
int field_C90;
unsigned char padAfterC90[0xCB4-0xC90-4];
int field_CB4;
unsigned char padAfterCB4[0xCE4-0xCB4-4];
int field_CE4;
2024-05-11 14:30:36 +00:00
unsigned char padAfterCE4[0xDC0-0xCE4-4];
CVector field_DC0;
unsigned char padAfterDC0[0xDE4-0xDC0-sizeof(CVector)];
2024-05-09 17:08:39 +00:00
2024-05-09 17:29:48 +00:00
char field_DE4;
2024-05-11 15:36:25 +00:00
unsigned char padAfterDE4[0xDF0-0xDE4-1];
int field_DF0;
int field_DF4;
int field_DF8;
int field_DFC;
2024-05-09 17:08:39 +00:00
2024-05-12 17:44:36 +00:00
int field_E00;
unsigned char padAfterE00[0xE0C-0xE00-4];
int field_E0C;
2024-05-11 14:08:12 +00:00
char field_E10;
2024-05-09 17:08:39 +00:00
__int16 field_E12;
unsigned char padAfterE12[4];
int field_E18;
2024-05-11 15:36:25 +00:00
int field_E1C;
2024-05-12 16:16:40 +00:00
unsigned char padAfterE1C[0xE2D-0xE1C-4];
char field_E2D;
char field_E2E;
2024-05-09 17:08:39 +00:00
unsigned char padBottomPlayer[(0xEFC-0xE2E)-0x1];
EXPORT void SetCamAngleLock(unsigned __int16);
2024-05-09 17:08:39 +00:00
EXPORT void ExitLookaroundMode(void);
EXPORT void SetIgnoreInputTimer(int);
2024-05-09 17:29:48 +00:00
EXPORT void PutCameraBehind(int);
2024-05-11 12:49:01 +00:00
EXPORT void SetSpideyLookaroundCamValue(unsigned __int16, unsigned __int16, __int16);
EXPORT void SetTargetTorsoAngleToThisPoint(CVector *a2);
EXPORT __int16 GetEffectiveHeading(void);
EXPORT void SetTargetTorsoAngle(__int16, int);
2024-05-11 14:08:12 +00:00
EXPORT char DecreaseWebbing(int);
2024-05-11 14:30:36 +00:00
EXPORT void RenderLookaroundReticle(void);
EXPORT void DrawRecticle(unsigned __int16, unsigned __int16, unsigned int);
2024-05-11 15:36:25 +00:00
EXPORT void SetTargetTorsoAngle(__int16, bool);
2024-05-12 16:43:59 +00:00
EXPORT void CreateJumpingSmashKickTrail(void);
2024-05-12 17:44:36 +00:00
EXPORT void PlaySingleAnim(int, int, int);
EXPORT void CutSceneSkipCleanup(void);
EXPORT void OrientToNormal(bool, CVector*);
EXPORT void PriorToVenomDistanceAttack(CVector);
EXPORT void SwitchToStandMode(void);
2024-05-13 16:47:39 +00:00
EXPORT void TidyUpZipWebLandingPosition(int);
2024-05-22 16:30:51 +00:00
EXPORT void CreateFists(unsigned char);
EXPORT unsigned char CanITalkRightNow(void);
2024-05-29 16:24:57 +00:00
EXPORT unsigned char SetFireWebbing(void);
2024-05-29 17:39:03 +00:00
EXPORT void GetHookPosition(CVector*, unsigned char);
2024-06-01 16:49:23 +00:00
EXPORT void DestroyJumpingSmashKickTrail(void);
2024-06-01 16:55:52 +00:00
EXPORT void DestroyHandTrails(void);
2024-06-01 17:33:48 +00:00
EXPORT void DeleteStuff(void);
2024-06-02 16:26:34 +00:00
EXPORT void StopAlertMusic(void);
2024-06-02 16:31:32 +00:00
EXPORT void KillAllCommandBlocks(void);
EXPORT int* KillCommandBlock(int*);
EXPORT void Die(void);
};
EXPORT void Spidey_SetUserFunction(const char *, unsigned int);
void validate_CPlayer(void);
#endif