svn -> git Migration

This commit is contained in:
KimLS
2013-02-16 16:14:39 -08:00
parent 88c9715fb0
commit da7347f76f
1174 changed files with 445622 additions and 0 deletions
+43
View File
@@ -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