mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-01-03 16:13:34 +08:00
[saco] Add CEntity ctor/dtor
This commit is contained in:
parent
9ec91cdd26
commit
8b198a659d
3
saco/game/entity.cpp
Normal file
3
saco/game/entity.cpp
Normal file
@ -0,0 +1,3 @@
|
||||
|
||||
#include "../main.h"
|
||||
|
19
saco/game/entity.h
Normal file
19
saco/game/entity.h
Normal 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;
|
||||
};
|
||||
|
||||
//----------------------------------------------------------
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user