mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 13:16:39 +00:00
svn -> git Migration
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
#ifndef __OPENEQ_ZONV4__
|
||||
#define __OPENEQ_ZONV4__
|
||||
|
||||
#include "dat.hpp"
|
||||
#include "ter.hpp"
|
||||
|
||||
/* Big thanks to jbb on the ZON stuff! */
|
||||
|
||||
#pragma pack(1)
|
||||
|
||||
struct zonv4_header {
|
||||
char magic[4]; // Constant at EQGZ
|
||||
} typedef zonv4_header;
|
||||
|
||||
struct zonv4_placeable {
|
||||
long id;
|
||||
long loc;
|
||||
float x, y, z;
|
||||
float rx, ry, rz;
|
||||
float scale;
|
||||
} typedef zonv4_placeable;
|
||||
|
||||
struct zonv4_object {
|
||||
long offset;
|
||||
long id;
|
||||
} typedef zonv4_object;
|
||||
|
||||
#pragma pack()
|
||||
|
||||
class Zonv4Loader : public FileLoader {
|
||||
public:
|
||||
Zonv4Loader();
|
||||
~Zonv4Loader();
|
||||
|
||||
virtual int Open(char *base_path, char *zone_name, Archive *archive);
|
||||
virtual int Close();
|
||||
|
||||
private:
|
||||
DATLoader datloader;
|
||||
TERLoader *model_loaders;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user