2019-09-23 07:50:21 +08:00
|
|
|
#ifndef WORLD_H
|
|
|
|
#define WORLD_H
|
|
|
|
|
|
|
|
#include "../msvc/string.h"
|
|
|
|
#include "Creature.h"
|
2019-10-06 04:08:12 +08:00
|
|
|
#include "Database.h"
|
|
|
|
#include <windows.h>
|
2019-09-23 07:50:21 +08:00
|
|
|
#include "../IDA/types.h"
|
|
|
|
|
|
|
|
namespace cube {
|
|
|
|
class World {
|
|
|
|
public:
|
2019-10-06 04:08:12 +08:00
|
|
|
void *vtable;
|
|
|
|
int day;
|
|
|
|
float time;
|
|
|
|
_BYTE gap10[416];
|
|
|
|
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;
|
2019-09-23 07:50:21 +08:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // WORLD_H
|