mirror of
https://github.com/krystalgamer/spidey-decomp.git
synced 2024-12-18 02:06:51 +00:00
6bc201f48a
Made it build on VS2022
44 lines
793 B
C++
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
|