spidey-decomp/turret.h
krystalgamer 6bc201f48a Windows and Linux are now actually matching
Made it build on VS2022
2024-06-07 20:16:37 +02:00

44 lines
793 B
C++

#pragma once
#ifndef TURRET_H
#define TURRET_H
#include "export.h"
#include "baddy.h"
class CTurret : public CBaddy {
public:
EXPORT void TargetLockAbsolute(const CVector &);
EXPORT void TargetLockDynamic(CBody *a2);
EXPORT void ClearTargetLock(void);
CVector field_324;
unsigned char padAfter324[0x20 - sizeof(CVector)];
CVector field_344;
unsigned char padAfter344[0x378-0x344 - sizeof(CVector)];
CBody *field_378;
};
class CTurretBase : public CBody {
public:
unsigned char fullpad[0x8];
};
class CTurretLaser : public CNonRenderedBit
{
public:
EXPORT void SetDamage(int);
unsigned char topPad[0x11-4];
int field_4C;
unsigned char bottomPad[0x64-0x4C-4];
};
void validate_CTurret(void);
void validate_CTurretBase(void);
void validate_CTurretLaser(void);
#endif