42 lines
1011 B
C++
42 lines
1011 B
C++
#ifndef WORLD_H
|
|
#define WORLD_H
|
|
|
|
#include "../msvc/string.h"
|
|
#include "Creature.h"
|
|
#include "Database.h"
|
|
#include <windows.h>
|
|
#include "../IDA/types.h"
|
|
#include "../msvc/list.h"
|
|
#include "SpriteManager.h"
|
|
|
|
namespace cube {
|
|
class World {
|
|
public:
|
|
void *vtable;
|
|
int day;
|
|
float time;
|
|
_BYTE gap10[48];
|
|
msvc::list<cube::Creature*> creatures;
|
|
_BYTE gap50[32];
|
|
cube::SpriteManager *spritemanager;
|
|
_BYTE gap78[312];
|
|
cube::World *self_ptr;
|
|
_BYTE gap1A8[72];
|
|
msvc::string world_name;
|
|
int seed;
|
|
_BYTE gap224[404];
|
|
cube::Database database;
|
|
CRITICAL_SECTION critical_section_0;
|
|
CRITICAL_SECTION critical_section_1;
|
|
CRITICAL_SECTION critical_section_2;
|
|
_BYTE gap440[8];
|
|
cube::Creature *local_creature;
|
|
_BYTE gap450[16];
|
|
BYTE zone_list[24];
|
|
_BYTE gap478[207];
|
|
char end;
|
|
};
|
|
}
|
|
|
|
#endif // WORLD_H
|