mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-09-19 12:16:15 +08:00
[server] Implement CLabelPool ctor/dtor
* Add CLabelPool::Delete() stub
This commit is contained in:
@ -0,0 +1,28 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
CLabelPool::CLabelPool()
|
||||
{
|
||||
for(WORD wLabel = 0; wLabel < MAX_LABELS; wLabel++)
|
||||
{
|
||||
memset(field_1000[wLabel], 0, sizeof(struc_24));
|
||||
field_0[wLabel] = 0;
|
||||
}
|
||||
}
|
||||
|
||||
CLabelPool::~CLabelPool()
|
||||
{
|
||||
for (WORD wLabel = 0; wLabel < MAX_LABELS; wLabel++)
|
||||
{
|
||||
if(field_0[wLabel])
|
||||
{
|
||||
Delete(wLabel);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
BOOL CLabelPool::Delete(WORD wLabel)
|
||||
{
|
||||
// TODO: CLabelPool::Delete W .text:00464210 L .text:0804C150
|
||||
return TRUE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user