[saco] Add CEntity ctor/dtor

This commit is contained in:
RD42 2024-02-07 23:40:39 +08:00
parent 9ec91cdd26
commit 8b198a659d
3 changed files with 28 additions and 0 deletions

3
saco/game/entity.cpp Normal file
View File

@ -0,0 +1,3 @@
#include "../main.h"

19
saco/game/entity.h Normal file
View File

@ -0,0 +1,19 @@
#pragma once
//----------------------------------------------------------
class CEntity
{
public:
CEntity() {
memset(field_4, 0, sizeof(field_4));
};
virtual ~CEntity() {};
char field_4[60];
int field_40;
int field_44;
};
//----------------------------------------------------------

View File

@ -145,6 +145,12 @@
<File
RelativePath=".\game\common.h">
</File>
<File
RelativePath=".\game\entity.cpp">
</File>
<File
RelativePath=".\game\entity.h">
</File>
<File
RelativePath=".\game\font.cpp">
</File>