Remove specific zonefile code

This commit is contained in:
njohnson 2025-12-31 18:11:33 -05:00
parent 0ce346c979
commit 9d6fa35f50
71 changed files with 0 additions and 3543 deletions

View File

@ -1,37 +0,0 @@
#include "zonefile_cod10_360.h"
#include "xdatastream.h"
#include <QFile>
#include <QDebug>
ZoneFile_COD10_360::ZoneFile_COD10_360()
: ZoneFile()
{
pSetType(4, ASSET_TYPE_XANIMPARTS);
pSetType(5, ASSET_TYPE_XMODEL);
pSetType(6, ASSET_TYPE_IMAGE);
pSetType(7, ASSET_TYPE_TECHNIQUE_SET);
pSetType(9, ASSET_TYPE_SOUND);
pSetType(11, ASSET_TYPE_COL_MAP_SP);
pSetType(12, ASSET_TYPE_COL_MAP_MP);
pSetType(13, ASSET_TYPE_D3DBSP);
pSetType(14, ASSET_TYPE_GAME_MAP_SP);
pSetType(17, ASSET_TYPE_GFX_MAP);
pSetType(18, ASSET_TYPE_LIGHT_DEF);
pSetType(18, ASSET_TYPE_WEAPON);
pSetType(20, ASSET_TYPE_FONT);
pSetType(21, ASSET_TYPE_MENU);
pSetType(26, ASSET_TYPE_FX);
pSetType(32, ASSET_TYPE_RAWFILE);
pSetType(33, ASSET_TYPE_STRINGTABLE);
pSetType(23, ASSET_TYPE_LOCALIZE_ENTRY);
}
ZoneFile_COD10_360::~ZoneFile_COD10_360()
{
}
bool ZoneFile_COD10_360::Load(const QByteArray aFileData) {
return true;
}

View File

@ -1,16 +0,0 @@
#ifndef ZONEFILE_COD10_360_H
#define ZONEFILE_COD10_360_H
#include "zonefile.h"
class ZoneFile_COD10_360 : public ZoneFile
{
public:
ZoneFile_COD10_360();
~ZoneFile_COD10_360();
bool Load(const QByteArray aFileData) override;
};
#endif // ZONEFILE_COD10_360_H

View File

@ -1,79 +0,0 @@
#include "zonefile_cod11_360.h"
#include "xdatastream.h"
#include <QFile>
#include <QDebug>
ZoneFile_COD11_360::ZoneFile_COD11_360()
: ZoneFile()
{
pSetType(0, ASSET_TYPE_PHYSPRESET);
pSetType(1, ASSET_TYPE_PHYSCOLLMAP);
pSetType(2, ASSET_TYPE_XANIMPARTS);
pSetType(3, ASSET_TYPE_XANIMPARTS);
pSetType(4, ASSET_TYPE_XMODEL_SURFS);
pSetType(5, ASSET_TYPE_XMODEL);
pSetType(6, ASSET_TYPE_PIXELSHADER);
pSetType(7, ASSET_TYPE_TECHNIQUE_SET);
pSetType(8, ASSET_TYPE_IMAGE);
pSetType(9, ASSET_TYPE_SOUND);
pSetType(10, ASSET_TYPE_SOUND_SUBMIX);
pSetType(11, ASSET_TYPE_SOUND_CURVE);
pSetType(12, ASSET_TYPE_SOUND_EVENT);
pSetType(13, ASSET_TYPE_LPF_CURVE);
pSetType(14, ASSET_TYPE_REVERB_CURVE);
pSetType(15, ASSET_TYPE_LOADED_SOUND);
pSetType(16, ASSET_TYPE_CLIPMAP);
pSetType(17, ASSET_TYPE_COMWORLD);
pSetType(18, ASSET_TYPE_GLASSWORLD);
pSetType(19, ASSET_TYPE_PATHDATA);
pSetType(20, ASSET_TYPE_VEHICLE_TRACK);
pSetType(21, ASSET_TYPE_MAP_ENTS);
pSetType(22, ASSET_TYPE_FXWORLD);
pSetType(23, ASSET_TYPE_GFXWORLD);
pSetType(24, ASSET_TYPE_GFXWORLD_TRANSIENT_ZONE);
pSetType(25, ASSET_TYPE_LIGHT_DEF);
pSetType(26, ASSET_TYPE_UI_MAP);
pSetType(27, ASSET_TYPE_FONT);
pSetType(28, ASSET_TYPE_MENULIST);
pSetType(29, ASSET_TYPE_MENU);
pSetType(30, ASSET_TYPE_ANIMCLASS);
pSetType(31, ASSET_TYPE_LOCALIZE_ENTRY);
pSetType(32, ASSET_TYPE_ATTACHMENT);
pSetType(33, ASSET_TYPE_WEAPON);
pSetType(34, ASSET_TYPE_SNDDRIVER_GLOBALS);
pSetType(35, ASSET_TYPE_FX);
pSetType(36, ASSET_TYPE_IMPACT_FX);
pSetType(37, ASSET_TYPE_SURFACE_FX);
pSetType(38, ASSET_TYPE_AITYPE);
pSetType(39, ASSET_TYPE_MPTYPE);
pSetType(40, ASSET_TYPE_CHARACTER);
pSetType(41, ASSET_TYPE_XMODELALIAS);
pSetType(42, ASSET_TYPE_RAWFILE);
pSetType(43, ASSET_TYPE_SCRIPTFILE);
pSetType(44, ASSET_TYPE_STRINGTABLE);
pSetType(45, ASSET_TYPE_LEADERBOARD);
pSetType(46, ASSET_TYPE_STRUCTURED_DATA_DEF);
pSetType(47, ASSET_TYPE_TRACER);
pSetType(48, ASSET_TYPE_VEHICLE);
pSetType(49, ASSET_TYPE_ADDON_MAP_ENTS);
pSetType(50, ASSET_TYPE_NET_CONST_STRINGS);
pSetType(51, ASSET_TYPE_REVERB_PRESET);
pSetType(52, ASSET_TYPE_SCRIPTABLE);
pSetType(53, ASSET_TYPE_DOPPLER_PRESET);
pSetType(54, ASSET_TYPE_LASER);
pSetType(55, ASSET_TYPE_SKELETON_SCRIPT);
pSetType(56, ASSET_TYPE_COUNT);
pSetType(57, ASSET_TYPE_STRING);
pSetType(58, ASSET_TYPE_ASSETLIST);
}
ZoneFile_COD11_360::~ZoneFile_COD11_360()
{
}
bool ZoneFile_COD11_360::Load(const QByteArray aFileData) {
return true;
}

View File

@ -1,16 +0,0 @@
#ifndef ZONEFILE_COD11_360_H
#define ZONEFILE_COD11_360_H
#include "zonefile.h"
class ZoneFile_COD11_360 : public ZoneFile
{
public:
ZoneFile_COD11_360();
~ZoneFile_COD11_360();
bool Load(const QByteArray aFileData) override;
};
#endif // ZONEFILE_COD11_360_H

View File

@ -1,85 +0,0 @@
#include "zonefile_cod12_360.h"
#include "xdatastream.h"
#include <QFile>
#include <QDebug>
ZoneFile_COD12_360::ZoneFile_COD12_360()
: ZoneFile()
{
pSetType(0, ASSET_TYPE_PHYSPRESET);
pSetType(1, ASSET_TYPE_PHYS_CONSTRAINTS);
pSetType(2, ASSET_TYPE_DESTRUCTIBLE_DEF);
pSetType(3, ASSET_TYPE_XANIMPARTS);
pSetType(4, ASSET_TYPE_XMODEL);
pSetType(5, ASSET_TYPE_XMODEL_MESH);
pSetType(6, ASSET_TYPE_MATERIAL);
pSetType(7, ASSET_TYPE_COMPUTE_SHADER_SET);
pSetType(8, ASSET_TYPE_TECHNIQUE_SET);
pSetType(9, ASSET_TYPE_IMAGE);
pSetType(10, ASSET_TYPE_SOUND);
pSetType(17, ASSET_TYPE_LIGHT_DEF);
pSetType(21, ASSET_TYPE_FONT_ICON);
pSetType(23, ASSET_TYPE_WEAPON);
pSetType(27, ASSET_TYPE_CG_MEDIA_TABLE);
pSetType(28, ASSET_TYPE_PLAYER_SOUNDS_TABLE);
pSetType(29, ASSET_TYPE_PLAYER_FX_TABLE);
pSetType(30, ASSET_TYPE_SHARED_WEAPON_SOUNDS);
pSetType(31, ASSET_TYPE_ATTACHMENT);
pSetType(32, ASSET_TYPE_ATTACHMENT_UNIQUE);
pSetType(33, ASSET_TYPE_WEAPON_CAMO);
pSetType(34, ASSET_TYPE_CUSTOMIZATION_TABLE);
pSetType(35, ASSET_TYPE_CUSTOMIZATION_TABLE_FEIMAGES);
pSetType(36, ASSET_TYPE_CUSTOMIZATION_TABLE_COLOR);
pSetType(38, ASSET_TYPE_FX);
pSetType(47, ASSET_TYPE_RAWFILE);
pSetType(48, ASSET_TYPE_STRINGTABLE);
pSetType(49, ASSET_TYPE_STRUCTURED_TABLE);
pSetType(50, ASSET_TYPE_LEADERBOARD_DEF);
pSetType(51, ASSET_TYPE_DDL);
pSetType(54, ASSET_TYPE_SCRIPT_PARSE_TREE);
pSetType(55, ASSET_TYPE_KEY_VALUE_PAIRS);
pSetType(56, ASSET_TYPE_VEHICLE);
pSetType(58, ASSET_TYPE_VEHICLE_TRACER);
pSetType(60, ASSET_TYPE_SURFACE_FX_TABLE);
pSetType(61, ASSET_TYPE_SURFACE_SOUND_DEF);
pSetType(62, ASSET_TYPE_FOOTSTEP_TABLE);
pSetType(63, ASSET_TYPE_ENTITY_FX_IMPACTS);
pSetType(64, ASSET_TYPE_ENTITY_SOUND_IMPACTS);
pSetType(66, ASSET_TYPE_VEHICLE_FX_DEF);
pSetType(67, ASSET_TYPE_VEHICLE_SOUND_DEF);
pSetType(69, ASSET_TYPE_SCRIPT_BUNDLE);
pSetType(70, ASSET_TYPE_SCRIPT_BUNDLE_LIST);
pSetType(71, ASSET_TYPE_RUMBLE);
pSetType(74, ASSET_TYPE_AIM_TABLE);
pSetType(75, ASSET_TYPE_ANIM_SELECTOR_TABLE);
pSetType(76, ASSET_TYPE_ANIM_MAPPING_TABLE);
pSetType(77, ASSET_TYPE_ANIM_STATE_MACHINE);
pSetType(78, ASSET_TYPE_BEHAVIOR_TREE);
pSetType(79, ASSET_TYPE_BEHAVIOR_STATE_MACHINE);
pSetType(81, ASSET_TYPE_S_ANIM);
pSetType(82, ASSET_TYPE_LIGHT_DEF);
pSetType(83, ASSET_TYPE_BIT_FIELD);
pSetType(84, ASSET_TYPE_SURFACE_SOUND_DEF);
pSetType(85, ASSET_TYPE_SURFACE_FX_TABLE);
pSetType(86, ASSET_TYPE_RUMBLE);
pSetType(89, ASSET_TYPE_AIM_TABLE);
pSetType(90, ASSET_TYPE_MAP_TABLE);
pSetType(91, ASSET_TYPE_MAP_TABLE_LOADING_IMAGES);
pSetType(92, ASSET_TYPE_MEDAL);
pSetType(93, ASSET_TYPE_MEDAL_TABLE);
pSetType(94, ASSET_TYPE_OBJECTIVE);
pSetType(95, ASSET_TYPE_OBJECTIVE_LIST);
pSetType(100, ASSET_TYPE_LASER);
pSetType(101, ASSET_TYPE_BEAM);
pSetType(102, ASSET_TYPE_STREAMER_HINT);
}
ZoneFile_COD12_360::~ZoneFile_COD12_360()
{
}
bool ZoneFile_COD12_360::Load(const QByteArray aFileData) {
return true;
}

View File

@ -1,16 +0,0 @@
#ifndef ZONEFILE_COD12_360_H
#define ZONEFILE_COD12_360_H
#include "zonefile.h"
class ZoneFile_COD12_360: public ZoneFile
{
public:
ZoneFile_COD12_360();
~ZoneFile_COD12_360();
bool Load(const QByteArray aFileData) override;
};
#endif // ZONEFILE_COD12_PC_H

View File

@ -1,40 +0,0 @@
#include "zonefile_cod2_360.h"
#include "xdatastream.h"
#include <QFile>
#include <QDebug>
ZoneFile_COD2_360::ZoneFile_COD2_360()
: ZoneFile()
{
pSetType(23, ASSET_TYPE_RAWFILE);
pSetType(6, ASSET_TYPE_D3DBSP);
pSetType(2, ASSET_TYPE_MATERIAL);
pSetType(4, ASSET_TYPE_SHOCK_FILE);
//pSetType(-1, ASSET_TYPE_FX);
//pSetType(-1, ASSET_TYPE_SOUND);
//pSetType(-1, ASSET_TYPE_XANIMPARTS);
//pSetType(-1, ASSET_TYPE_COL_MAP_MP);
//pSetType(-1, ASSET_TYPE_STRINGTABLE);
//pSetType(-1, ASSET_TYPE_MENU);
//pSetType(-1, ASSET_TYPE_TECHNIQUE_SET);
//pSetType(-1, ASSET_TYPE_LOCALIZE_ENTRY);
//pSetType(-1, ASSET_TYPE_GFX_MAP);
//pSetType(-1, ASSET_TYPE_LIGHT_DEF);
//pSetType(-1, ASSET_TYPE_FONT);
//pSetType(-1, ASSET_TYPE_XMODEL);
//pSetType(-1, ASSET_TYPE_GAME_MAP_SP);
//pSetType(-1, ASSET_TYPE_COL_MAP_SP);
//pSetType(-1, ASSET_TYPE_PHYSPRESET);
//pSetType(-1, ASSET_TYPE_DESTRUCTIBLE);
}
ZoneFile_COD2_360::~ZoneFile_COD2_360()
{
}
bool ZoneFile_COD2_360::Load(const QByteArray aFileData) {
return true;
}

View File

@ -1,16 +0,0 @@
#ifndef ZONEFILE_COD2_360_H
#define ZONEFILE_COD2_360_H
#include "zonefile.h"
class ZoneFile_COD2_360 : public ZoneFile
{
public:
ZoneFile_COD2_360();
~ZoneFile_COD2_360();
bool Load(const QByteArray aFileData) override;
};
#endif // ZONEFILE_COD2_360_H

View File

@ -1,58 +0,0 @@
#include "zonefile_cod4_360.h"
#include "xassetlist.h"
#include <QFile>
#include "xdatastream.h"
#include <QDebug>
ZoneFile_COD4_360::ZoneFile_COD4_360()
: ZoneFile()
{
pSetType(0, ASSET_TYPE_XMODELPIECES);
pSetType(1, ASSET_TYPE_PHYSPRESET);
pSetType(2, ASSET_TYPE_XANIMPARTS);
pSetType(3, ASSET_TYPE_XMODEL);
pSetType(4, ASSET_TYPE_MATERIAL);
pSetType(5, ASSET_TYPE_PIXELSHADER);
pSetType(6, ASSET_TYPE_TECHNIQUE_SET);
pSetType(7, ASSET_TYPE_IMAGE);
pSetType(8, ASSET_TYPE_SOUND);
pSetType(9, ASSET_TYPE_SOUND_CURVE);
pSetType(10, ASSET_TYPE_LOADED_SOUND);
pSetType(11, ASSET_TYPE_CLIPMAP);
pSetType(12, ASSET_TYPE_CLIPMAP_PVS);
pSetType(13, ASSET_TYPE_COMWORLD);
pSetType(14, ASSET_TYPE_GAMEWORLD_SP);
pSetType(15, ASSET_TYPE_GAMEWORLD_MP);
pSetType(16, ASSET_TYPE_MAP_ENTS);
pSetType(17, ASSET_TYPE_GFXWORLD);
pSetType(18, ASSET_TYPE_LIGHT_DEF);
pSetType(19, ASSET_TYPE_UI_MAP);
pSetType(20, ASSET_TYPE_FONT);
pSetType(21, ASSET_TYPE_MENULIST);
pSetType(22, ASSET_TYPE_MENU);
pSetType(23, ASSET_TYPE_LOCALIZE_ENTRY);
pSetType(24, ASSET_TYPE_WEAPON);
pSetType(25, ASSET_TYPE_SNDDRIVER_GLOBALS);
pSetType(26, ASSET_TYPE_FX);
pSetType(27, ASSET_TYPE_IMPACT_FX);
pSetType(28, ASSET_TYPE_AITYPE);
pSetType(29, ASSET_TYPE_MPTYPE);
pSetType(30, ASSET_TYPE_CHARACTER);
pSetType(31, ASSET_TYPE_XMODELALIAS);
pSetType(32, ASSET_TYPE_RAWFILE);
pSetType(33, ASSET_TYPE_STRINGTABLE);
pSetType(34, ASSET_TYPE_COUNT);
pSetType(35, ASSET_TYPE_STRING);
pSetType(36, ASSET_TYPE_ASSETLIST);
}
ZoneFile_COD4_360::~ZoneFile_COD4_360() {
}
bool ZoneFile_COD4_360::Load(const QByteArray aFileData) {
return ZoneFile::Load(aFileData);
}

View File

@ -1,20 +0,0 @@
#ifndef ZONEFILE_COD4_360_H
#define ZONEFILE_COD4_360_H
#include <QIcon>
#include "zonefile.h"
class ZoneFile_COD4_360 : public ZoneFile
{
public:
ZoneFile_COD4_360();
~ZoneFile_COD4_360();
bool Load(const QByteArray aFileData) override;
private:
};
#endif // ZONEFILE_COD4_360_H

View File

@ -1,39 +0,0 @@
#include "zonefile_cod5_360.h"
#include <QFile>
#include "xdatastream.h"
#include <QDebug>
ZoneFile_COD5_360::ZoneFile_COD5_360()
: ZoneFile()
{
pSetType(1, ASSET_TYPE_PHYSPRESET);
pSetType(3, ASSET_TYPE_DESTRUCTIBLE);
pSetType(4, ASSET_TYPE_XANIMPARTS);
pSetType(5, ASSET_TYPE_XMODEL);
pSetType(6, ASSET_TYPE_MATERIAL);
pSetType(8, ASSET_TYPE_TECHNIQUE_SET);
pSetType(9, ASSET_TYPE_SOUND);
pSetType(11, ASSET_TYPE_COL_MAP_SP);
pSetType(12, ASSET_TYPE_COL_MAP_MP);
pSetType(13, ASSET_TYPE_D3DBSP);
pSetType(14, ASSET_TYPE_GAME_MAP_SP);
pSetType(17, ASSET_TYPE_GFX_MAP);
pSetType(18, ASSET_TYPE_LIGHT_DEF);
pSetType(20, ASSET_TYPE_FONT);
pSetType(21, ASSET_TYPE_MENU);
pSetType(22, ASSET_TYPE_MENU);
pSetType(24, ASSET_TYPE_LOCALIZE_ENTRY);
pSetType(26, ASSET_TYPE_FX);
pSetType(33, ASSET_TYPE_RAWFILE);
//pSetType(-1, ASSET_TYPE_STRINGTABLE);
}
ZoneFile_COD5_360::~ZoneFile_COD5_360() {
}
bool ZoneFile_COD5_360::Load(const QByteArray aFileData) {
return true;
}

View File

@ -1,18 +0,0 @@
#ifndef ZONEFILE_COD5_360_H
#define ZONEFILE_COD5_360_H
#include <QIcon>
#include "zonefile.h"
class ZoneFile_COD5_360 : public ZoneFile
{
public:
ZoneFile_COD5_360();
~ZoneFile_COD5_360();
bool Load(const QByteArray aFileData) override;
};
#endif // ZONEFILE_COD5_360_H

File diff suppressed because it is too large Load Diff

View File

@ -1,18 +0,0 @@
#ifndef ZONEFILE_COD6_360_H
#define ZONEFILE_COD6_360_H
#include <QIcon>
#include "zonefile.h"
class ZoneFile_COD6_360 : public ZoneFile
{
public:
ZoneFile_COD6_360();
~ZoneFile_COD6_360();
bool Load(const QByteArray aFileData) override;
};
#endif // ZONEFILE_COD6_360_H

View File

@ -1,65 +0,0 @@
#include "zonefile_cod7_360.h"
#include "xdatastream.h"
#include <QFile>
#include <QDebug>
ZoneFile_COD7_360::ZoneFile_COD7_360()
: ZoneFile()
{
pSetType(0, ASSET_TYPE_XMODELPIECES);
pSetType(1, ASSET_TYPE_PHYSPRESET);
pSetType(2, ASSET_TYPE_PHYSCONSTRAINTS);
pSetType(3, ASSET_TYPE_DESTRUCTIBLEDEF);
pSetType(4, ASSET_TYPE_XANIMPARTS);
pSetType(5, ASSET_TYPE_XMODEL);
pSetType(6, ASSET_TYPE_MATERIAL);
pSetType(7, ASSET_TYPE_TECHNIQUE_SET);
pSetType(8, ASSET_TYPE_IMAGE);
pSetType(9, ASSET_TYPE_SOUND);
pSetType(10, ASSET_TYPE_SOUND_PATCH);
pSetType(11, ASSET_TYPE_CLIPMAP);
pSetType(12, ASSET_TYPE_CLIPMAP_PVS);
pSetType(13, ASSET_TYPE_COMWORLD);
pSetType(14, ASSET_TYPE_GAMEWORLD_SP);
pSetType(15, ASSET_TYPE_GAMEWORLD_MP);
pSetType(16, ASSET_TYPE_MAP_ENTS);
pSetType(17, ASSET_TYPE_GFXWORLD);
pSetType(18, ASSET_TYPE_LIGHT_DEF);
pSetType(19, ASSET_TYPE_UI_MAP);
pSetType(20, ASSET_TYPE_FONT);
pSetType(21, ASSET_TYPE_MENULIST);
pSetType(22, ASSET_TYPE_MENU);
pSetType(23, ASSET_TYPE_LOCALIZE_ENTRY);
pSetType(24, ASSET_TYPE_WEAPON);
pSetType(25, ASSET_TYPE_WEAPONDEF);
pSetType(26, ASSET_TYPE_WEAPON_VARIANT);
pSetType(27, ASSET_TYPE_SNDDRIVER_GLOBALS);
pSetType(28, ASSET_TYPE_FX);
pSetType(29, ASSET_TYPE_IMPACT_FX);
pSetType(30, ASSET_TYPE_AITYPE);
pSetType(31, ASSET_TYPE_MPTYPE);
pSetType(32, ASSET_TYPE_MPBODY);
pSetType(33, ASSET_TYPE_MPHEAD);
pSetType(34, ASSET_TYPE_CHARACTER);
pSetType(35, ASSET_TYPE_XMODELALIAS);
pSetType(36, ASSET_TYPE_RAWFILE);
pSetType(37, ASSET_TYPE_STRINGTABLE);
pSetType(38, ASSET_TYPE_PACK_INDEX);
pSetType(39, ASSET_TYPE_XGLOBALS);
pSetType(40, ASSET_TYPE_DDL);
pSetType(41, ASSET_TYPE_GLASSES);
pSetType(42, ASSET_TYPE_EMBLEMSET);
pSetType(43, ASSET_TYPE_COUNT);
pSetType(44, ASSET_TYPE_STRING);
pSetType(45, ASSET_TYPE_ASSETLIST);
}
ZoneFile_COD7_360::~ZoneFile_COD7_360()
{
}
bool ZoneFile_COD7_360::Load(const QByteArray aFileData) {
return true;
}

View File

@ -1,16 +0,0 @@
#ifndef ZONEFILE_COD7_360_H
#define ZONEFILE_COD7_360_H
#include "zonefile.h"
class ZoneFile_COD7_360 : public ZoneFile
{
public:
ZoneFile_COD7_360();
~ZoneFile_COD7_360();
bool Load(const QByteArray aFileData) override;
};
#endif // ZONEFILE_COD7_360_H

View File

@ -1,68 +0,0 @@
#include "zonefile_cod8_360.h"
#include "xdatastream.h"
#include <QFile>
#include <QDebug>
ZoneFile_COD8_360::ZoneFile_COD8_360()
: ZoneFile()
{
pSetType(0, ASSET_TYPE_PHYSPRESET);
pSetType(1, ASSET_TYPE_PHYSCOLLMAP);
pSetType(2, ASSET_TYPE_XANIMPARTS);
pSetType(3, ASSET_TYPE_XMODEL_SURFS);
pSetType(4, ASSET_TYPE_XMODEL);
pSetType(5, ASSET_TYPE_MATERIAL);
pSetType(6, ASSET_TYPE_PIXELSHADER);
pSetType(7, ASSET_TYPE_TECHNIQUE_SET);
pSetType(8, ASSET_TYPE_IMAGE);
pSetType(9, ASSET_TYPE_SOUND);
pSetType(10, ASSET_TYPE_SOUND_CURVE);
pSetType(11, ASSET_TYPE_LOADED_SOUND);
pSetType(12, ASSET_TYPE_CLIPMAP);
pSetType(13, ASSET_TYPE_COMWORLD);
pSetType(14, ASSET_TYPE_GAMEWORLD_SP);
pSetType(15, ASSET_TYPE_GAMEWORLD_MP);
pSetType(16, ASSET_TYPE_GLASSWORLD);
pSetType(17, ASSET_TYPE_PATHDATA);
pSetType(18, ASSET_TYPE_VEHICLE_TRACK);
pSetType(19, ASSET_TYPE_MAP_ENTS);
pSetType(20, ASSET_TYPE_FXWORLD);
pSetType(21, ASSET_TYPE_GFXWORLD);
pSetType(22, ASSET_TYPE_LIGHT_DEF);
pSetType(23, ASSET_TYPE_UI_MAP);
pSetType(24, ASSET_TYPE_FONT);
pSetType(25, ASSET_TYPE_MENULIST);
pSetType(26, ASSET_TYPE_MENU);
pSetType(27, ASSET_TYPE_LOCALIZE_ENTRY);
pSetType(28, ASSET_TYPE_ATTACHMENT);
pSetType(29, ASSET_TYPE_WEAPON);
pSetType(30, ASSET_TYPE_SNDDRIVER_GLOBALS);
pSetType(31, ASSET_TYPE_FX);
pSetType(32, ASSET_TYPE_IMPACT_FX);
pSetType(33, ASSET_TYPE_SURFACE_FX);
pSetType(34, ASSET_TYPE_AITYPE);
pSetType(35, ASSET_TYPE_MPTYPE);
pSetType(36, ASSET_TYPE_CHARACTER);
pSetType(37, ASSET_TYPE_XMODELALIAS);
pSetType(38, ASSET_TYPE_RAWFILE);
pSetType(39, ASSET_TYPE_SCRIPTFILE);
pSetType(40, ASSET_TYPE_STRINGTABLE);
pSetType(41, ASSET_TYPE_LEADERBOARD);
pSetType(42, ASSET_TYPE_STRUCTURED_DATA_DEF);
pSetType(43, ASSET_TYPE_TRACER);
pSetType(44, ASSET_TYPE_VEHICLE);
pSetType(45, ASSET_TYPE_ADDON_MAP_ENTS);
pSetType(46, ASSET_TYPE_COUNT);
pSetType(47, ASSET_TYPE_STRING);
pSetType(48, ASSET_TYPE_ASSETLIST);
}
ZoneFile_COD8_360::~ZoneFile_COD8_360()
{
}
bool ZoneFile_COD8_360::Load(const QByteArray aFileData) {
return true;
}

View File

@ -1,16 +0,0 @@
#ifndef ZONEFILE_COD8_360_H
#define ZONEFILE_COD8_360_H
#include "zonefile.h"
class ZoneFile_COD8_360 : public ZoneFile
{
public:
ZoneFile_COD8_360();
~ZoneFile_COD8_360();
bool Load(const QByteArray aFileData) override;
};
#endif // ZONEFILE_COD8_360_H

View File

@ -1,37 +0,0 @@
#include "zonefile_cod9_360.h"
#include "xdatastream.h"
#include <QFile>
#include <QDebug>
ZoneFile_COD9_360::ZoneFile_COD9_360()
: ZoneFile()
{
pSetType(4, ASSET_TYPE_XANIMPARTS);
pSetType(5, ASSET_TYPE_XMODEL);
pSetType(6, ASSET_TYPE_IMAGE);
pSetType(7, ASSET_TYPE_TECHNIQUE_SET);
pSetType(9, ASSET_TYPE_SOUND);
pSetType(11, ASSET_TYPE_COL_MAP_SP);
pSetType(12, ASSET_TYPE_COL_MAP_MP);
pSetType(13, ASSET_TYPE_D3DBSP);
pSetType(14, ASSET_TYPE_GAME_MAP_SP);
pSetType(17, ASSET_TYPE_GFX_MAP);
pSetType(18, ASSET_TYPE_LIGHT_DEF);
//pSetType(18, ASSET_TYPE_WEAPON);
pSetType(20, ASSET_TYPE_FONT);
pSetType(21, ASSET_TYPE_MENU);
pSetType(26, ASSET_TYPE_FX);
pSetType(32, ASSET_TYPE_RAWFILE);
pSetType(33, ASSET_TYPE_STRINGTABLE);
pSetType(42, ASSET_TYPE_LOCALIZE_ENTRY);
}
ZoneFile_COD9_360::~ZoneFile_COD9_360()
{
}
bool ZoneFile_COD9_360::Load(const QByteArray aFileData) {
return true;
}

View File

@ -1,16 +0,0 @@
#ifndef ZONEFILE_COD9_360_H
#define ZONEFILE_COD9_360_H
#include "zonefile.h"
class ZoneFile_COD9_360 : public ZoneFile
{
public:
ZoneFile_COD9_360();
~ZoneFile_COD9_360();
bool Load(const QByteArray aFileData) override;
};
#endif // ZONEFILE_COD9_360_H

View File

@ -1,33 +0,0 @@
#include "zonefile_cod10_pc.h"
ZoneFile_COD10_PC::ZoneFile_COD10_PC()
: ZoneFile()
{
pSetType(4, ASSET_TYPE_XANIMPARTS);
pSetType(5, ASSET_TYPE_XMODEL);
pSetType(6, ASSET_TYPE_IMAGE);
pSetType(7, ASSET_TYPE_TECHNIQUE_SET);
pSetType(9, ASSET_TYPE_SOUND);
pSetType(11, ASSET_TYPE_COL_MAP_SP);
pSetType(12, ASSET_TYPE_COL_MAP_MP);
pSetType(13, ASSET_TYPE_D3DBSP);
pSetType(14, ASSET_TYPE_GAME_MAP_SP);
pSetType(17, ASSET_TYPE_GFX_MAP);
pSetType(18, ASSET_TYPE_LIGHT_DEF);
pSetType(20, ASSET_TYPE_FONT);
pSetType(21, ASSET_TYPE_MENU);
pSetType(23, ASSET_TYPE_LOCALIZE_ENTRY);
pSetType(24, ASSET_TYPE_WEAPON);
pSetType(26, ASSET_TYPE_FX);
pSetType(32, ASSET_TYPE_RAWFILE);
pSetType(33, ASSET_TYPE_STRINGTABLE);
}
ZoneFile_COD10_PC::~ZoneFile_COD10_PC()
{
}
bool ZoneFile_COD10_PC::Load(const QByteArray aFileData) {
return true;
}

View File

@ -1,16 +0,0 @@
#ifndef ZONEFILE_COD10_PC_H
#define ZONEFILE_COD10_PC_H
#include "zonefile.h"
class ZoneFile_COD10_PC : public ZoneFile
{
public:
ZoneFile_COD10_PC();
~ZoneFile_COD10_PC();
bool Load(const QByteArray aFileData) override;
};
#endif // ZONEFILE_COD10_PC_H

View File

@ -1,33 +0,0 @@
#include "zonefile_cod11_pc.h"
ZoneFile_COD11_PC::ZoneFile_COD11_PC()
: ZoneFile()
{
pSetType(4, ASSET_TYPE_XANIMPARTS);
pSetType(5, ASSET_TYPE_XMODEL);
pSetType(6, ASSET_TYPE_IMAGE);
pSetType(7, ASSET_TYPE_TECHNIQUE_SET);
pSetType(9, ASSET_TYPE_SOUND);
pSetType(11, ASSET_TYPE_COL_MAP_SP);
pSetType(12, ASSET_TYPE_COL_MAP_MP);
pSetType(13, ASSET_TYPE_D3DBSP);
pSetType(14, ASSET_TYPE_GAME_MAP_SP);
pSetType(17, ASSET_TYPE_GFX_MAP);
pSetType(18, ASSET_TYPE_LIGHT_DEF);
pSetType(20, ASSET_TYPE_FONT);
pSetType(21, ASSET_TYPE_MENU);
pSetType(23, ASSET_TYPE_LOCALIZE_ENTRY);
pSetType(24, ASSET_TYPE_WEAPON);
pSetType(26, ASSET_TYPE_FX);
pSetType(32, ASSET_TYPE_RAWFILE);
pSetType(33, ASSET_TYPE_STRINGTABLE);
}
ZoneFile_COD11_PC::~ZoneFile_COD11_PC()
{
}
bool ZoneFile_COD11_PC::Load(const QByteArray aFileData) {
return true;
}

View File

@ -1,16 +0,0 @@
#ifndef ZONEFILE_COD11_H
#define ZONEFILE_COD11_H
#include "zonefile.h"
class ZoneFile_COD11_PC : public ZoneFile
{
public:
ZoneFile_COD11_PC();
~ZoneFile_COD11_PC();
bool Load(const QByteArray aFileData) override;
};
#endif // ZONEFILE_COD11_H

View File

@ -1,81 +0,0 @@
#include "zonefile_cod12_pc.h"
ZoneFile_COD12_PC::ZoneFile_COD12_PC()
: ZoneFile()
{
pSetType(0, ASSET_TYPE_PHYSPRESET);
pSetType(1, ASSET_TYPE_PHYS_CONSTRAINTS);
pSetType(2, ASSET_TYPE_DESTRUCTIBLE_DEF);
pSetType(3, ASSET_TYPE_XANIMPARTS);
pSetType(4, ASSET_TYPE_XMODEL);
pSetType(5, ASSET_TYPE_XMODEL_MESH);
pSetType(6, ASSET_TYPE_MATERIAL);
pSetType(7, ASSET_TYPE_COMPUTE_SHADER_SET);
pSetType(8, ASSET_TYPE_TECHNIQUE_SET);
pSetType(9, ASSET_TYPE_IMAGE);
pSetType(10, ASSET_TYPE_SOUND);
pSetType(17, ASSET_TYPE_LIGHT_DEF);
pSetType(21, ASSET_TYPE_FONT_ICON);
pSetType(23, ASSET_TYPE_WEAPON);
pSetType(27, ASSET_TYPE_CG_MEDIA_TABLE);
pSetType(28, ASSET_TYPE_PLAYER_SOUNDS_TABLE);
pSetType(29, ASSET_TYPE_PLAYER_FX_TABLE);
pSetType(30, ASSET_TYPE_SHARED_WEAPON_SOUNDS);
pSetType(31, ASSET_TYPE_ATTACHMENT);
pSetType(32, ASSET_TYPE_ATTACHMENT_UNIQUE);
pSetType(33, ASSET_TYPE_WEAPON_CAMO);
pSetType(34, ASSET_TYPE_CUSTOMIZATION_TABLE);
pSetType(35, ASSET_TYPE_CUSTOMIZATION_TABLE_FEIMAGES);
pSetType(36, ASSET_TYPE_CUSTOMIZATION_TABLE_COLOR);
pSetType(38, ASSET_TYPE_FX);
pSetType(47, ASSET_TYPE_RAWFILE);
pSetType(48, ASSET_TYPE_STRINGTABLE);
pSetType(49, ASSET_TYPE_STRUCTURED_TABLE);
pSetType(50, ASSET_TYPE_LEADERBOARD_DEF);
pSetType(51, ASSET_TYPE_DDL);
pSetType(54, ASSET_TYPE_SCRIPT_PARSE_TREE);
pSetType(55, ASSET_TYPE_KEY_VALUE_PAIRS);
pSetType(56, ASSET_TYPE_VEHICLE);
pSetType(58, ASSET_TYPE_VEHICLE_TRACER);
pSetType(60, ASSET_TYPE_SURFACE_FX_TABLE);
pSetType(61, ASSET_TYPE_SURFACE_SOUND_DEF);
pSetType(62, ASSET_TYPE_FOOTSTEP_TABLE);
pSetType(63, ASSET_TYPE_ENTITY_FX_IMPACTS);
pSetType(64, ASSET_TYPE_ENTITY_SOUND_IMPACTS);
pSetType(66, ASSET_TYPE_VEHICLE_FX_DEF);
pSetType(67, ASSET_TYPE_VEHICLE_SOUND_DEF);
pSetType(69, ASSET_TYPE_SCRIPT_BUNDLE);
pSetType(70, ASSET_TYPE_SCRIPT_BUNDLE_LIST);
pSetType(71, ASSET_TYPE_RUMBLE);
pSetType(74, ASSET_TYPE_AIM_TABLE);
pSetType(75, ASSET_TYPE_ANIM_SELECTOR_TABLE);
pSetType(76, ASSET_TYPE_ANIM_MAPPING_TABLE);
pSetType(77, ASSET_TYPE_ANIM_STATE_MACHINE);
pSetType(78, ASSET_TYPE_BEHAVIOR_TREE);
pSetType(79, ASSET_TYPE_BEHAVIOR_STATE_MACHINE);
pSetType(81, ASSET_TYPE_S_ANIM);
pSetType(82, ASSET_TYPE_LIGHT_DEF);
pSetType(83, ASSET_TYPE_BIT_FIELD);
pSetType(84, ASSET_TYPE_SURFACE_SOUND_DEF);
pSetType(85, ASSET_TYPE_SURFACE_FX_TABLE);
pSetType(86, ASSET_TYPE_RUMBLE);
pSetType(89, ASSET_TYPE_AIM_TABLE);
pSetType(90, ASSET_TYPE_MAP_TABLE);
pSetType(91, ASSET_TYPE_MAP_TABLE_LOADING_IMAGES);
pSetType(92, ASSET_TYPE_MEDAL);
pSetType(93, ASSET_TYPE_MEDAL_TABLE);
pSetType(94, ASSET_TYPE_OBJECTIVE);
pSetType(95, ASSET_TYPE_OBJECTIVE_LIST);
pSetType(100, ASSET_TYPE_LASER);
pSetType(101, ASSET_TYPE_BEAM);
pSetType(102, ASSET_TYPE_STREAMER_HINT);
}
ZoneFile_COD12_PC::~ZoneFile_COD12_PC()
{
}
bool ZoneFile_COD12_PC::Load(const QByteArray aFileData) {
return true;
}

View File

@ -1,16 +0,0 @@
#ifndef ZONEFILE_COD12_PC_H
#define ZONEFILE_COD12_PC_H
#include "zonefile.h"
class ZoneFile_COD12_PC : public ZoneFile
{
public:
ZoneFile_COD12_PC();
~ZoneFile_COD12_PC();
bool Load(const QByteArray aFileData) override;
};
#endif // ZONEFILE_COD12_PC_H

View File

@ -1,81 +0,0 @@
#include "zonefile_cod21_pc.h"
ZoneFile_COD21_PC::ZoneFile_COD21_PC()
: ZoneFile()
{
pSetType(0, ASSET_TYPE_PHYSPRESET);
pSetType(1, ASSET_TYPE_PHYS_CONSTRAINTS);
pSetType(2, ASSET_TYPE_DESTRUCTIBLE_DEF);
pSetType(3, ASSET_TYPE_XANIMPARTS);
pSetType(4, ASSET_TYPE_XMODEL);
pSetType(5, ASSET_TYPE_XMODEL_MESH);
pSetType(6, ASSET_TYPE_MATERIAL);
pSetType(7, ASSET_TYPE_COMPUTE_SHADER_SET);
pSetType(8, ASSET_TYPE_TECHNIQUE_SET);
pSetType(9, ASSET_TYPE_IMAGE);
pSetType(10, ASSET_TYPE_SOUND);
pSetType(17, ASSET_TYPE_LIGHT_DEF);
pSetType(21, ASSET_TYPE_FONT_ICON);
pSetType(23, ASSET_TYPE_WEAPON);
pSetType(27, ASSET_TYPE_CG_MEDIA_TABLE);
pSetType(28, ASSET_TYPE_PLAYER_SOUNDS_TABLE);
pSetType(29, ASSET_TYPE_PLAYER_FX_TABLE);
pSetType(30, ASSET_TYPE_SHARED_WEAPON_SOUNDS);
pSetType(31, ASSET_TYPE_ATTACHMENT);
pSetType(32, ASSET_TYPE_ATTACHMENT_UNIQUE);
pSetType(33, ASSET_TYPE_WEAPON_CAMO);
pSetType(34, ASSET_TYPE_CUSTOMIZATION_TABLE);
pSetType(35, ASSET_TYPE_CUSTOMIZATION_TABLE_FEIMAGES);
pSetType(36, ASSET_TYPE_CUSTOMIZATION_TABLE_COLOR);
pSetType(38, ASSET_TYPE_FX);
pSetType(47, ASSET_TYPE_RAWFILE);
pSetType(48, ASSET_TYPE_STRINGTABLE);
pSetType(49, ASSET_TYPE_STRUCTURED_TABLE);
pSetType(50, ASSET_TYPE_LEADERBOARD_DEF);
pSetType(51, ASSET_TYPE_DDL);
pSetType(54, ASSET_TYPE_SCRIPT_PARSE_TREE);
pSetType(55, ASSET_TYPE_KEY_VALUE_PAIRS);
pSetType(56, ASSET_TYPE_VEHICLE);
pSetType(58, ASSET_TYPE_VEHICLE_TRACER);
pSetType(60, ASSET_TYPE_SURFACE_FX_TABLE);
pSetType(61, ASSET_TYPE_SURFACE_SOUND_DEF);
pSetType(62, ASSET_TYPE_FOOTSTEP_TABLE);
pSetType(63, ASSET_TYPE_ENTITY_FX_IMPACTS);
pSetType(64, ASSET_TYPE_ENTITY_SOUND_IMPACTS);
pSetType(66, ASSET_TYPE_VEHICLE_FX_DEF);
pSetType(67, ASSET_TYPE_VEHICLE_SOUND_DEF);
pSetType(69, ASSET_TYPE_SCRIPT_BUNDLE);
pSetType(70, ASSET_TYPE_SCRIPT_BUNDLE_LIST);
pSetType(71, ASSET_TYPE_RUMBLE);
pSetType(74, ASSET_TYPE_AIM_TABLE);
pSetType(75, ASSET_TYPE_ANIM_SELECTOR_TABLE);
pSetType(76, ASSET_TYPE_ANIM_MAPPING_TABLE);
pSetType(77, ASSET_TYPE_ANIM_STATE_MACHINE);
pSetType(78, ASSET_TYPE_BEHAVIOR_TREE);
pSetType(79, ASSET_TYPE_BEHAVIOR_STATE_MACHINE);
pSetType(81, ASSET_TYPE_S_ANIM);
pSetType(82, ASSET_TYPE_LIGHT_DEF);
pSetType(83, ASSET_TYPE_BIT_FIELD);
pSetType(84, ASSET_TYPE_SURFACE_SOUND_DEF);
pSetType(85, ASSET_TYPE_SURFACE_FX_TABLE);
pSetType(86, ASSET_TYPE_RUMBLE);
pSetType(89, ASSET_TYPE_AIM_TABLE);
pSetType(90, ASSET_TYPE_MAP_TABLE);
pSetType(91, ASSET_TYPE_MAP_TABLE_LOADING_IMAGES);
pSetType(92, ASSET_TYPE_MEDAL);
pSetType(93, ASSET_TYPE_MEDAL_TABLE);
pSetType(94, ASSET_TYPE_OBJECTIVE);
pSetType(95, ASSET_TYPE_OBJECTIVE_LIST);
pSetType(100, ASSET_TYPE_LASER);
pSetType(101, ASSET_TYPE_BEAM);
pSetType(102, ASSET_TYPE_STREAMER_HINT);
}
ZoneFile_COD21_PC::~ZoneFile_COD21_PC()
{
}
bool ZoneFile_COD21_PC::Load(const QByteArray aFileData) {
return true;//ZoneFile::Load(aFileData);
}

View File

@ -1,16 +0,0 @@
#ifndef ZONEFILE_COD21_PC_H
#define ZONEFILE_COD21_PC_H
#include "zonefile.h"
class ZoneFile_COD21_PC : public ZoneFile
{
public:
ZoneFile_COD21_PC();
~ZoneFile_COD21_PC();
bool Load(const QByteArray aFileData) override;
};
#endif // ZONEFILE_COD21_PC_H

View File

@ -1,46 +0,0 @@
#include "zonefile_cod4_pc.h"
ZoneFile_COD4_PC::ZoneFile_COD4_PC()
: ZoneFile()
{
pSetType(0, ASSET_TYPE_XMODELPIECES);
pSetType(1, ASSET_TYPE_PHYSPRESET);
pSetType(2, ASSET_TYPE_XANIMPARTS);
pSetType(3, ASSET_TYPE_XMODEL);
pSetType(4, ASSET_TYPE_MATERIAL);
pSetType(5, ASSET_TYPE_TECHNIQUE_SET);
pSetType(6, ASSET_TYPE_IMAGE);
pSetType(7, ASSET_TYPE_PIXELSHADER);
pSetType(8, ASSET_TYPE_SOUND_CURVE);
pSetType(9, ASSET_TYPE_LOADED_SOUND);
pSetType(0xA, ASSET_TYPE_COL_MAP_MP);
pSetType(0xB, ASSET_TYPE_COL_MAP_SP);
pSetType(0xC, ASSET_TYPE_COM_MAP);
pSetType(0xD, ASSET_TYPE_GAME_MAP_SP);
pSetType(0xE, ASSET_TYPE_GAME_MAP_MP);
pSetType(0xF, ASSET_TYPE_MAP_ENTS);
pSetType(0x10, ASSET_TYPE_GFX_MAP);
pSetType(0x11, ASSET_TYPE_LIGHT_DEF);
pSetType(0x12, ASSET_TYPE_UI_MAP);
pSetType(0x13, ASSET_TYPE_FONT);
pSetType(0x14, ASSET_TYPE_MENULIST);
pSetType(0x15, ASSET_TYPE_MENU);
pSetType(0x16, ASSET_TYPE_LOCALIZE_ENTRY);
pSetType(0x17, ASSET_TYPE_WEAPON);
pSetType(0x18, ASSET_TYPE_SNDDRIVER_GLOBALS);
pSetType(0x19, ASSET_TYPE_IMPACT_FX);
pSetType(0x1A, ASSET_TYPE_AITYPE);
pSetType(0x1B, ASSET_TYPE_MPTYPE);
pSetType(0x1C, ASSET_TYPE_CHARACTER);
pSetType(0x1D, ASSET_TYPE_XMODELALIAS);
pSetType(0x1F, ASSET_TYPE_RAWFILE);
pSetType(0x20, ASSET_TYPE_STRINGTABLE);
}
ZoneFile_COD4_PC::~ZoneFile_COD4_PC() {
}
bool ZoneFile_COD4_PC::Load(const QByteArray aFileData) {
return ZoneFile::Load(aFileData);
}

View File

@ -1,18 +0,0 @@
#ifndef ZONEFILE_COD4_PC_H
#define ZONEFILE_COD4_PC_H
#include <QIcon>
#include "zonefile.h"
class ZoneFile_COD4_PC : public ZoneFile
{
public:
ZoneFile_COD4_PC();
~ZoneFile_COD4_PC();
bool Load(const QByteArray aFileData) override;
};
#endif // ZONEFILE_COD4_PC_H

View File

@ -1,35 +0,0 @@
#include "zonefile_cod5_pc.h"
ZoneFile_COD5_PC::ZoneFile_COD5_PC()
: ZoneFile()
{
pSetType(1, ASSET_TYPE_PHYSPRESET);
pSetType(3, ASSET_TYPE_DESTRUCTIBLE);
pSetType(4, ASSET_TYPE_XANIMPARTS);
pSetType(5, ASSET_TYPE_XMODEL);
pSetType(6, ASSET_TYPE_MATERIAL);
pSetType(7, ASSET_TYPE_TECHNIQUE_SET);
pSetType(9, ASSET_TYPE_SOUND);
pSetType(11, ASSET_TYPE_COL_MAP_SP);
pSetType(12, ASSET_TYPE_COL_MAP_MP);
pSetType(13, ASSET_TYPE_D3DBSP);
pSetType(14, ASSET_TYPE_GAME_MAP_SP);
pSetType(17, ASSET_TYPE_GFX_MAP);
pSetType(18, ASSET_TYPE_LIGHT_DEF);
pSetType(20, ASSET_TYPE_FONT);
pSetType(21, ASSET_TYPE_MENU);
pSetType(23, ASSET_TYPE_RAWFILE);
pSetType(24, ASSET_TYPE_WEAPON);
pSetType(26, ASSET_TYPE_FX);
pSetType(32, ASSET_TYPE_SCRIPT_PARSE_TREE);
pSetType(33, ASSET_TYPE_STRINGTABLE);
}
ZoneFile_COD5_PC::~ZoneFile_COD5_PC() {
}
bool ZoneFile_COD5_PC::Load(const QByteArray aFileData) {
return ZoneFile::Load(aFileData);
}

View File

@ -1,18 +0,0 @@
#ifndef ZONEFILE_COD5_PC_H
#define ZONEFILE_COD5_PC_H
#include <QIcon>
#include "zonefile.h"
class ZoneFile_COD5_PC : public ZoneFile
{
public:
ZoneFile_COD5_PC();
~ZoneFile_COD5_PC();
bool Load(const QByteArray aFileData) override;
};
#endif // ZONEFILE_COD5_PC_H

View File

@ -1,35 +0,0 @@
#include "zonefile_cod6_pc.h"
ZoneFile_COD6_PC::ZoneFile_COD6_PC()
: ZoneFile()
{
pSetType(1, ASSET_TYPE_PHYSPRESET);
pSetType(3, ASSET_TYPE_DESTRUCTIBLE);
pSetType(4, ASSET_TYPE_XANIMPARTS);
pSetType(5, ASSET_TYPE_XMODEL);
pSetType(6, ASSET_TYPE_IMAGE);
pSetType(7, ASSET_TYPE_TECHNIQUE_SET);
pSetType(9, ASSET_TYPE_SOUND);
pSetType(11, ASSET_TYPE_COL_MAP_SP);
pSetType(12, ASSET_TYPE_COL_MAP_MP);
pSetType(13, ASSET_TYPE_D3DBSP);
pSetType(14, ASSET_TYPE_GAME_MAP_SP);
pSetType(17, ASSET_TYPE_GFX_MAP);
pSetType(18, ASSET_TYPE_LIGHT_DEF);
pSetType(20, ASSET_TYPE_FONT);
pSetType(21, ASSET_TYPE_MENU);
pSetType(23, ASSET_TYPE_RAWFILE);
pSetType(24, ASSET_TYPE_WEAPON);
pSetType(26, ASSET_TYPE_FX);
pSetType(32, ASSET_TYPE_SCRIPT_PARSE_TREE);
pSetType(33, ASSET_TYPE_STRINGTABLE);
}
ZoneFile_COD6_PC::~ZoneFile_COD6_PC() {
}
bool ZoneFile_COD6_PC::Load(const QByteArray aFileData) {
return true;
}

View File

@ -1,18 +0,0 @@
#ifndef ZONEFILE_COD6_PC_H
#define ZONEFILE_COD6_PC_H
#include <QIcon>
#include "zonefile.h"
class ZoneFile_COD6_PC : public ZoneFile
{
public:
ZoneFile_COD6_PC();
~ZoneFile_COD6_PC();
bool Load(const QByteArray aFileData) override;
};
#endif // ZONEFILE_COD6_PC_H

View File

@ -1,55 +0,0 @@
#include "zonefile_cod7_pc.h"
ZoneFile_COD7_PC::ZoneFile_COD7_PC()
: ZoneFile()
{
pSetType(0, ASSET_TYPE_XMODELPIECES);
pSetType(1, ASSET_TYPE_PHYSPRESET);
pSetType(2, ASSET_TYPE_PHYSCONSTRAINTS);
pSetType(3, ASSET_TYPE_DESTRUCTIBLEDEF);
pSetType(4, ASSET_TYPE_XANIMPARTS);
pSetType(5, ASSET_TYPE_XMODEL);
pSetType(6, ASSET_TYPE_MATERIAL);
pSetType(7, ASSET_TYPE_TECHNIQUE_SET);
pSetType(8, ASSET_TYPE_IMAGE);
pSetType(9, ASSET_TYPE_SOUND);
pSetType(10, ASSET_TYPE_SOUND_PATCH);
pSetType(11, ASSET_TYPE_CLIPMAP);
pSetType(12, ASSET_TYPE_CLIPMAP_PVS);
pSetType(13, ASSET_TYPE_COMWORLD);
pSetType(14, ASSET_TYPE_GAMEWORLD_SP);
pSetType(15, ASSET_TYPE_GAMEWORLD_MP);
pSetType(16, ASSET_TYPE_MAP_ENTS);
pSetType(17, ASSET_TYPE_GFXWORLD);
pSetType(18, ASSET_TYPE_LIGHT_DEF);
pSetType(19, ASSET_TYPE_UI_MAP);
pSetType(20, ASSET_TYPE_FONT);
pSetType(21, ASSET_TYPE_MENULIST);
pSetType(22, ASSET_TYPE_MENU);
pSetType(23, ASSET_TYPE_LOCALIZE_ENTRY);
pSetType(24, ASSET_TYPE_WEAPON);
pSetType(25, ASSET_TYPE_WEAPONDEF);
pSetType(26, ASSET_TYPE_WEAPON_VARIANT);
pSetType(27, ASSET_TYPE_SNDDRIVER_GLOBALS);
pSetType(28, ASSET_TYPE_FX);
pSetType(29, ASSET_TYPE_IMPACT_FX);
pSetType(30, ASSET_TYPE_AITYPE);
pSetType(31, ASSET_TYPE_MPTYPE);
pSetType(32, ASSET_TYPE_MPBODY);
pSetType(33, ASSET_TYPE_MPHEAD);
pSetType(34, ASSET_TYPE_CHARACTER);
pSetType(35, ASSET_TYPE_XMODELALIAS);
pSetType(36, ASSET_TYPE_RAWFILE);
pSetType(37, ASSET_TYPE_STRINGTABLE);
pSetType(38, ASSET_TYPE_PACK_INDEX);
pSetType(39, ASSET_TYPE_XGLOBALS);
pSetType(40, ASSET_TYPE_DDL);
pSetType(41, ASSET_TYPE_GLASSES);
pSetType(42, ASSET_TYPE_EMBLEMSET);
pSetType(43, ASSET_TYPE_COUNT);
pSetType(44, ASSET_TYPE_ASSETLIST);
}
bool ZoneFile_COD7_PC::Load(const QByteArray aFileData) {
return true;
}

View File

@ -1,15 +0,0 @@
#ifndef ZONEFILE_COD7_PC_H
#define ZONEFILE_COD7_PC_H
#include "zonefile.h"
class ZoneFile_COD7_PC : public ZoneFile
{
public:
ZoneFile_COD7_PC();
~ZoneFile_COD7_PC() = default;
bool Load(const QByteArray aFileData) override;
};
#endif // ZONEFILE_COD7_PC_H

View File

@ -1,33 +0,0 @@
#include "zonefile_cod8_pc.h"
ZoneFile_COD8_PC::ZoneFile_COD8_PC()
: ZoneFile()
{
pSetType(4, ASSET_TYPE_XANIMPARTS);
pSetType(5, ASSET_TYPE_XMODEL);
pSetType(6, ASSET_TYPE_IMAGE);
pSetType(7, ASSET_TYPE_TECHNIQUE_SET);
pSetType(9, ASSET_TYPE_SOUND);
pSetType(11, ASSET_TYPE_COL_MAP_SP);
pSetType(12, ASSET_TYPE_COL_MAP_MP);
pSetType(13, ASSET_TYPE_D3DBSP);
pSetType(14, ASSET_TYPE_GAME_MAP_SP);
pSetType(17, ASSET_TYPE_GFX_MAP);
pSetType(18, ASSET_TYPE_LIGHT_DEF);
pSetType(20, ASSET_TYPE_FONT);
pSetType(21, ASSET_TYPE_MENU);
pSetType(23, ASSET_TYPE_LOCALIZE_ENTRY);
pSetType(24, ASSET_TYPE_WEAPON);
pSetType(26, ASSET_TYPE_FX);
pSetType(32, ASSET_TYPE_RAWFILE);
pSetType(33, ASSET_TYPE_STRINGTABLE);
}
ZoneFile_COD8_PC::~ZoneFile_COD8_PC()
{
}
bool ZoneFile_COD8_PC::Load(const QByteArray aFileData) {
return true;
}

View File

@ -1,16 +0,0 @@
#ifndef ZONEFILE_COD7_PC_H
#define ZONEFILE_COD7_PC_H
#include "zonefile.h"
class ZoneFile_COD8_PC : public ZoneFile
{
public:
ZoneFile_COD8_PC();
~ZoneFile_COD8_PC();
bool Load(const QByteArray aFileData) override;
};
#endif // ZONEFILE_COD7_PC_H

View File

@ -1,33 +0,0 @@
#include "zonefile_cod9_pc.h"
ZoneFile_COD9_PC::ZoneFile_COD9_PC()
: ZoneFile()
{
pSetType(4, ASSET_TYPE_XANIMPARTS);
pSetType(5, ASSET_TYPE_XMODEL);
pSetType(6, ASSET_TYPE_IMAGE);
pSetType(7, ASSET_TYPE_TECHNIQUE_SET);
pSetType(9, ASSET_TYPE_SOUND);
pSetType(11, ASSET_TYPE_COL_MAP_SP);
pSetType(12, ASSET_TYPE_COL_MAP_MP);
pSetType(13, ASSET_TYPE_D3DBSP);
pSetType(14, ASSET_TYPE_GAME_MAP_SP);
pSetType(17, ASSET_TYPE_GFX_MAP);
pSetType(18, ASSET_TYPE_LIGHT_DEF);
pSetType(20, ASSET_TYPE_FONT);
pSetType(21, ASSET_TYPE_MENU);
pSetType(23, ASSET_TYPE_LOCALIZE_ENTRY);
pSetType(24, ASSET_TYPE_WEAPON);
pSetType(26, ASSET_TYPE_FX);
pSetType(32, ASSET_TYPE_RAWFILE);
pSetType(33, ASSET_TYPE_STRINGTABLE);
}
ZoneFile_COD9_PC::~ZoneFile_COD9_PC()
{
}
bool ZoneFile_COD9_PC::Load(const QByteArray aFileData) {
return true;
}

View File

@ -1,16 +0,0 @@
#ifndef ZONEFILE_COD9_PC_H
#define ZONEFILE_COD9_PC_H
#include "zonefile.h"
class ZoneFile_COD9_PC : public ZoneFile
{
public:
ZoneFile_COD9_PC();
~ZoneFile_COD9_PC();
bool Load(const QByteArray aFileData) override;
};
#endif // ZONEFILE_COD9_PC_H

View File

@ -1,37 +0,0 @@
#include "zonefile_cod10_ps3.h"
#include "xdatastream.h"
#include <QFile>
#include <QDebug>
ZoneFile_COD10_PS3::ZoneFile_COD10_PS3()
: ZoneFile()
{
pSetType(4, ASSET_TYPE_XANIMPARTS);
pSetType(5, ASSET_TYPE_XMODEL);
pSetType(6, ASSET_TYPE_IMAGE);
pSetType(7, ASSET_TYPE_TECHNIQUE_SET);
pSetType(9, ASSET_TYPE_SOUND);
pSetType(11, ASSET_TYPE_COL_MAP_SP);
pSetType(12, ASSET_TYPE_COL_MAP_MP);
pSetType(13, ASSET_TYPE_D3DBSP);
pSetType(14, ASSET_TYPE_GAME_MAP_SP);
pSetType(15, ASSET_TYPE_MENU);
pSetType(16, ASSET_TYPE_FONT);
pSetType(17, ASSET_TYPE_LOCALIZE_ENTRY);
pSetType(18, ASSET_TYPE_WEAPON);
pSetType(19, ASSET_TYPE_GFX_MAP);
pSetType(20, ASSET_TYPE_LIGHT_DEF);
pSetType(26, ASSET_TYPE_FX);
pSetType(32, ASSET_TYPE_RAWFILE);
pSetType(33, ASSET_TYPE_STRINGTABLE);
}
ZoneFile_COD10_PS3::~ZoneFile_COD10_PS3()
{
}
bool ZoneFile_COD10_PS3::Load(const QByteArray aFileData) {
return true;
}

View File

@ -1,15 +0,0 @@
#ifndef ZONEFILE_COD10_PS3_H
#define ZONEFILE_COD10_PS3_H
#include "zonefile.h"
class ZoneFile_COD10_PS3 : public ZoneFile
{
public:
ZoneFile_COD10_PS3();
~ZoneFile_COD10_PS3();
bool Load(const QByteArray aFileData) override;
};
#endif // ZONEFILE_COD10_PS3_H

View File

@ -1,37 +0,0 @@
#include "zonefile_cod11_ps3.h"
#include "xdatastream.h"
#include <QFile>
#include <QDebug>
ZoneFile_COD11_PS3::ZoneFile_COD11_PS3()
: ZoneFile()
{
pSetType(4, ASSET_TYPE_XANIMPARTS);
pSetType(5, ASSET_TYPE_XMODEL);
pSetType(6, ASSET_TYPE_IMAGE);
pSetType(7, ASSET_TYPE_TECHNIQUE_SET);
pSetType(9, ASSET_TYPE_SOUND);
pSetType(11, ASSET_TYPE_COL_MAP_SP);
pSetType(12, ASSET_TYPE_COL_MAP_MP);
pSetType(13, ASSET_TYPE_D3DBSP);
pSetType(14, ASSET_TYPE_GAME_MAP_SP);
pSetType(15, ASSET_TYPE_MENU);
pSetType(16, ASSET_TYPE_FONT);
pSetType(17, ASSET_TYPE_LOCALIZE_ENTRY);
pSetType(18, ASSET_TYPE_WEAPON);
pSetType(19, ASSET_TYPE_GFX_MAP);
pSetType(20, ASSET_TYPE_LIGHT_DEF);
pSetType(26, ASSET_TYPE_FX);
pSetType(32, ASSET_TYPE_RAWFILE);
pSetType(33, ASSET_TYPE_STRINGTABLE);
}
ZoneFile_COD11_PS3::~ZoneFile_COD11_PS3()
{
}
bool ZoneFile_COD11_PS3::Load(const QByteArray aFileData) {
return true;
}

View File

@ -1,16 +0,0 @@
#ifndef ZONEFILE_COD11_PS3_H
#define ZONEFILE_COD11_PS3_H
#include "zonefile.h"
class ZoneFile_COD11_PS3 : public ZoneFile
{
public:
ZoneFile_COD11_PS3();
~ZoneFile_COD11_PS3();
bool Load(const QByteArray aFileData) override;
};
#endif // ZONEFILE_COD11_PS3_H

View File

@ -1,37 +0,0 @@
#include "zonefile_cod12_ps3.h"
#include "xdatastream.h"
#include <QFile>
#include <QDebug>
ZoneFile_COD12_PS3::ZoneFile_COD12_PS3()
: ZoneFile()
{
pSetType(4, ASSET_TYPE_XANIMPARTS);
pSetType(5, ASSET_TYPE_XMODEL);
pSetType(6, ASSET_TYPE_IMAGE);
pSetType(7, ASSET_TYPE_TECHNIQUE_SET);
pSetType(9, ASSET_TYPE_SOUND);
pSetType(11, ASSET_TYPE_COL_MAP_SP);
pSetType(12, ASSET_TYPE_COL_MAP_MP);
pSetType(13, ASSET_TYPE_D3DBSP);
pSetType(14, ASSET_TYPE_GAME_MAP_SP);
pSetType(15, ASSET_TYPE_MENU);
pSetType(16, ASSET_TYPE_FONT);
pSetType(17, ASSET_TYPE_LOCALIZE_ENTRY);
pSetType(18, ASSET_TYPE_WEAPON);
pSetType(19, ASSET_TYPE_GFX_MAP);
pSetType(20, ASSET_TYPE_LIGHT_DEF);
pSetType(26, ASSET_TYPE_FX);
pSetType(32, ASSET_TYPE_RAWFILE);
pSetType(33, ASSET_TYPE_STRINGTABLE);
}
ZoneFile_COD12_PS3::~ZoneFile_COD12_PS3()
{
}
bool ZoneFile_COD12_PS3::Load(const QByteArray aFileData) {
return true;
}

View File

@ -1,16 +0,0 @@
#ifndef ZONEFILE_COD12_PS3_H
#define ZONEFILE_COD12_PS3_H
#include "zonefile.h"
class ZoneFile_COD12_PS3 : public ZoneFile
{
public:
ZoneFile_COD12_PS3();
~ZoneFile_COD12_PS3();
bool Load(const QByteArray aFileData) override;
};
#endif // ZONEFILE_COD12_PS3_H

View File

@ -1,29 +0,0 @@
#include "zonefile_cod4_ps3.h"
#include <QFile>
#include "xdatastream.h"
#include <QDebug>
ZoneFile_COD4_PS3::ZoneFile_COD4_PS3()
: ZoneFile()
{
pSetType(2, ASSET_TYPE_XANIMPARTS);
pSetType(3, ASSET_TYPE_XMODEL);
pSetType(7, ASSET_TYPE_MATERIAL);
pSetType(9, ASSET_TYPE_TECHNIQUE_SET);
pSetType(12, ASSET_TYPE_COL_MAP_SP);
pSetType(14, ASSET_TYPE_D3DBSP);
pSetType(15, ASSET_TYPE_GAME_MAP_SP);
pSetType(18, ASSET_TYPE_SOUND);
pSetType(19, ASSET_TYPE_WEAPON);
pSetType(27, ASSET_TYPE_FX);
pSetType(18, ASSET_TYPE_GFX_MAP);
}
ZoneFile_COD4_PS3::~ZoneFile_COD4_PS3() {
}
bool ZoneFile_COD4_PS3::Load(const QByteArray aFileData) {
return true;
}

View File

@ -1,18 +0,0 @@
#ifndef ZONEFILE_COD4_PS3_H
#define ZONEFILE_COD4_PS3_H
#include <QIcon>
#include "zonefile.h"
class ZoneFile_COD4_PS3 : public ZoneFile
{
public:
ZoneFile_COD4_PS3();
~ZoneFile_COD4_PS3();
bool Load(const QByteArray aFileData) override;
};
#endif // ZONEFILE_COD4_PS3_H

View File

@ -1,38 +0,0 @@
#include "zonefile_cod5_ps3.h"
#include <QFile>
#include "xdatastream.h"
#include <QDebug>
ZoneFile_COD5_PS3::ZoneFile_COD5_PS3()
: ZoneFile()
{
pSetType(1, ASSET_TYPE_PHYSPRESET);
pSetType(3, ASSET_TYPE_DESTRUCTIBLE);
pSetType(4, ASSET_TYPE_XANIMPARTS);
pSetType(5, ASSET_TYPE_XMODEL);
pSetType(6, ASSET_TYPE_IMAGE);
pSetType(7, ASSET_TYPE_TECHNIQUE_SET);
pSetType(9, ASSET_TYPE_SOUND);
pSetType(11, ASSET_TYPE_COL_MAP_SP);
pSetType(12, ASSET_TYPE_COL_MAP_MP);
pSetType(13, ASSET_TYPE_D3DBSP);
pSetType(14, ASSET_TYPE_GAME_MAP_SP);
pSetType(15, ASSET_TYPE_MENU);
pSetType(16, ASSET_TYPE_FONT);
pSetType(17, ASSET_TYPE_RAWFILE);
pSetType(18, ASSET_TYPE_WEAPON);
pSetType(19, ASSET_TYPE_GFX_MAP);
pSetType(20, ASSET_TYPE_LIGHT_DEF);
pSetType(26, ASSET_TYPE_FX);
pSetType(32, ASSET_TYPE_SCRIPT_PARSE_TREE);
pSetType(33, ASSET_TYPE_STRINGTABLE);
}
ZoneFile_COD5_PS3::~ZoneFile_COD5_PS3() {
}
bool ZoneFile_COD5_PS3::Load(const QByteArray aFileData) {
return true;
}

View File

@ -1,18 +0,0 @@
#ifndef ZONEFILE_COD5_PS3_H
#define ZONEFILE_COD5_PS3_H
#include <QIcon>
#include "zonefile.h"
class ZoneFile_COD5_PS3 : public ZoneFile
{
public:
ZoneFile_COD5_PS3();
~ZoneFile_COD5_PS3();
bool Load(const QByteArray aFileData) override;
};
#endif // ZONEFILE_COD5_PS3_H

View File

@ -1,34 +0,0 @@
#include "zonefile_cod6_ps3.h"
ZoneFile_COD6_PS3::ZoneFile_COD6_PS3()
: ZoneFile()
{
pSetType(1, ASSET_TYPE_PHYSPRESET);
pSetType(3, ASSET_TYPE_DESTRUCTIBLE);
pSetType(4, ASSET_TYPE_XANIMPARTS);
pSetType(5, ASSET_TYPE_XMODEL);
pSetType(6, ASSET_TYPE_IMAGE);
pSetType(7, ASSET_TYPE_TECHNIQUE_SET);
pSetType(9, ASSET_TYPE_SOUND);
pSetType(11, ASSET_TYPE_COL_MAP_SP);
pSetType(12, ASSET_TYPE_COL_MAP_MP);
pSetType(13, ASSET_TYPE_D3DBSP);
pSetType(14, ASSET_TYPE_GAME_MAP_SP);
pSetType(15, ASSET_TYPE_MENU);
pSetType(16, ASSET_TYPE_FONT);
pSetType(17, ASSET_TYPE_RAWFILE);
pSetType(18, ASSET_TYPE_WEAPON);
pSetType(19, ASSET_TYPE_GFX_MAP);
pSetType(20, ASSET_TYPE_LIGHT_DEF);
pSetType(26, ASSET_TYPE_FX);
pSetType(32, ASSET_TYPE_SCRIPT_PARSE_TREE);
pSetType(33, ASSET_TYPE_STRINGTABLE);
}
ZoneFile_COD6_PS3::~ZoneFile_COD6_PS3() {
}
bool ZoneFile_COD6_PS3::Load(const QByteArray aFileData) {
return true;
}

View File

@ -1,18 +0,0 @@
#ifndef ZONEFILE_COD6_PS3_H
#define ZONEFILE_COD6_PS3_H
#include <QIcon>
#include "zonefile.h"
class ZoneFile_COD6_PS3 : public ZoneFile
{
public:
ZoneFile_COD6_PS3();
~ZoneFile_COD6_PS3();
bool Load(const QByteArray aFileData) override;
};
#endif // ZONEFILE_COD6_PS3_H

View File

@ -1,37 +0,0 @@
#include "zonefile_cod7_ps3.h"
#include "xdatastream.h"
#include <QFile>
#include <QDebug>
ZoneFile_COD7_PS3::ZoneFile_COD7_PS3()
: ZoneFile()
{
pSetType(4, ASSET_TYPE_XANIMPARTS);
pSetType(5, ASSET_TYPE_XMODEL);
pSetType(6, ASSET_TYPE_IMAGE);
pSetType(7, ASSET_TYPE_TECHNIQUE_SET);
pSetType(9, ASSET_TYPE_SOUND);
pSetType(11, ASSET_TYPE_COL_MAP_SP);
pSetType(12, ASSET_TYPE_COL_MAP_MP);
pSetType(13, ASSET_TYPE_D3DBSP);
pSetType(14, ASSET_TYPE_GAME_MAP_SP);
pSetType(15, ASSET_TYPE_MENU);
pSetType(16, ASSET_TYPE_FONT);
pSetType(17, ASSET_TYPE_LOCALIZE_ENTRY);
pSetType(18, ASSET_TYPE_WEAPON);
pSetType(19, ASSET_TYPE_GFX_MAP);
pSetType(20, ASSET_TYPE_LIGHT_DEF);
pSetType(26, ASSET_TYPE_FX);
pSetType(32, ASSET_TYPE_RAWFILE);
pSetType(33, ASSET_TYPE_STRINGTABLE);
}
ZoneFile_COD7_PS3::~ZoneFile_COD7_PS3()
{
}
bool ZoneFile_COD7_PS3::Load(const QByteArray aFileData) {
return true;
}

View File

@ -1,16 +0,0 @@
#ifndef ZONEFILE_COD7_PS3_H
#define ZONEFILE_COD7_PS3_H
#include "zonefile.h"
class ZoneFile_COD7_PS3 : public ZoneFile
{
public:
ZoneFile_COD7_PS3();
~ZoneFile_COD7_PS3();
bool Load(const QByteArray aFileData) override;
};
#endif // ZONEFILE_COD7_PS3_H

View File

@ -1,37 +0,0 @@
#include "zonefile_cod8_ps3.h"
#include "xdatastream.h"
#include <QFile>
#include <QDebug>
ZoneFile_COD8_PS3::ZoneFile_COD8_PS3()
: ZoneFile()
{
pSetType(4, ASSET_TYPE_XANIMPARTS);
pSetType(5, ASSET_TYPE_XMODEL);
pSetType(6, ASSET_TYPE_IMAGE);
pSetType(7, ASSET_TYPE_TECHNIQUE_SET);
pSetType(9, ASSET_TYPE_SOUND);
pSetType(11, ASSET_TYPE_COL_MAP_SP);
pSetType(12, ASSET_TYPE_COL_MAP_MP);
pSetType(13, ASSET_TYPE_D3DBSP);
pSetType(14, ASSET_TYPE_GAME_MAP_SP);
pSetType(15, ASSET_TYPE_MENU);
pSetType(16, ASSET_TYPE_FONT);
pSetType(17, ASSET_TYPE_LOCALIZE_ENTRY);
pSetType(18, ASSET_TYPE_WEAPON);
pSetType(19, ASSET_TYPE_GFX_MAP);
pSetType(20, ASSET_TYPE_LIGHT_DEF);
pSetType(26, ASSET_TYPE_FX);
pSetType(32, ASSET_TYPE_RAWFILE);
pSetType(33, ASSET_TYPE_STRINGTABLE);
}
ZoneFile_COD8_PS3::~ZoneFile_COD8_PS3()
{
}
bool ZoneFile_COD8_PS3::Load(const QByteArray aFileData) {
return true;
}

View File

@ -1,16 +0,0 @@
#ifndef ZONEFILE_COD8_PS3_H
#define ZONEFILE_COD8_PS3_H
#include "zonefile.h"
class ZoneFile_COD8_PS3 : public ZoneFile
{
public:
ZoneFile_COD8_PS3();
~ZoneFile_COD8_PS3();
bool Load(const QByteArray aFileData) override;
};
#endif // ZONEFILE_COD8_PS3_H

View File

@ -1,36 +0,0 @@
#include "zonefile_cod9_ps3.h"
#include "xdatastream.h"
#include <QFile>
#include <QDebug>
ZoneFile_COD9_PS3::ZoneFile_COD9_PS3()
{
pSetType(4, ASSET_TYPE_XANIMPARTS);
pSetType(5, ASSET_TYPE_XMODEL);
pSetType(6, ASSET_TYPE_IMAGE);
pSetType(7, ASSET_TYPE_TECHNIQUE_SET);
pSetType(9, ASSET_TYPE_SOUND);
pSetType(11, ASSET_TYPE_COL_MAP_SP);
pSetType(12, ASSET_TYPE_COL_MAP_MP);
pSetType(13, ASSET_TYPE_D3DBSP);
pSetType(14, ASSET_TYPE_GAME_MAP_SP);
pSetType(15, ASSET_TYPE_MENU);
pSetType(16, ASSET_TYPE_FONT);
pSetType(17, ASSET_TYPE_LOCALIZE_ENTRY);
pSetType(18, ASSET_TYPE_WEAPON);
pSetType(19, ASSET_TYPE_GFX_MAP);
pSetType(20, ASSET_TYPE_LIGHT_DEF);
pSetType(26, ASSET_TYPE_FX);
pSetType(32, ASSET_TYPE_RAWFILE);
pSetType(33, ASSET_TYPE_STRINGTABLE);
}
ZoneFile_COD9_PS3::~ZoneFile_COD9_PS3()
{
}
bool ZoneFile_COD9_PS3::Load(const QByteArray aFileData) {
return true;
}

View File

@ -1,16 +0,0 @@
#ifndef ZONEFILE_COD9_PS3_H
#define ZONEFILE_COD9_PS3_H
#include "zonefile.h"
class ZoneFile_COD9_PS3 : public ZoneFile
{
public:
ZoneFile_COD9_PS3();
~ZoneFile_COD9_PS3();
bool Load(const QByteArray aFileData) override;
};
#endif // ZONEFILE_COD9_PS3_H

View File

@ -1,37 +0,0 @@
#include "zonefile_cod4_wii.h"
#include "xdatastream.h"
#include <QFile>
#include <QDebug>
ZoneFile_COD4_Wii::ZoneFile_COD4_Wii()
: ZoneFile()
{
pSetType(4, ASSET_TYPE_XANIMPARTS);
pSetType(5, ASSET_TYPE_XMODEL);
pSetType(6, ASSET_TYPE_IMAGE);
pSetType(7, ASSET_TYPE_TECHNIQUE_SET);
pSetType(9, ASSET_TYPE_SOUND);
pSetType(11, ASSET_TYPE_COL_MAP_SP);
pSetType(12, ASSET_TYPE_COL_MAP_MP);
pSetType(13, ASSET_TYPE_D3DBSP);
pSetType(14, ASSET_TYPE_GAME_MAP_SP);
pSetType(15, ASSET_TYPE_MENU);
pSetType(16, ASSET_TYPE_FONT);
pSetType(17, ASSET_TYPE_LOCALIZE_ENTRY);
pSetType(18, ASSET_TYPE_WEAPON);
pSetType(19, ASSET_TYPE_GFX_MAP);
pSetType(20, ASSET_TYPE_LIGHT_DEF);
pSetType(26, ASSET_TYPE_FX);
pSetType(32, ASSET_TYPE_RAWFILE);
pSetType(33, ASSET_TYPE_STRINGTABLE);
}
ZoneFile_COD4_Wii::~ZoneFile_COD4_Wii()
{
}
bool ZoneFile_COD4_Wii::Load(const QByteArray aFileData) {
return true;
}

View File

@ -1,16 +0,0 @@
#ifndef ZONEFILE_COD4_WII_H
#define ZONEFILE_COD4_WII_H
#include "zonefile.h"
class ZoneFile_COD4_Wii : public ZoneFile
{
public:
ZoneFile_COD4_Wii();
~ZoneFile_COD4_Wii();
bool Load(const QByteArray aFileData) override;
};
#endif // ZONEFILE_COD4_WII_H

View File

@ -1,37 +0,0 @@
#include "zonefile_cod7_wii.h"
#include "xdatastream.h"
#include <QFile>
#include <QDebug>
ZoneFile_COD7_Wii::ZoneFile_COD7_Wii()
: ZoneFile()
{
pSetType(4, ASSET_TYPE_XANIMPARTS);
pSetType(5, ASSET_TYPE_XMODEL);
pSetType(6, ASSET_TYPE_IMAGE);
pSetType(7, ASSET_TYPE_TECHNIQUE_SET);
pSetType(9, ASSET_TYPE_SOUND);
pSetType(11, ASSET_TYPE_COL_MAP_SP);
pSetType(12, ASSET_TYPE_COL_MAP_MP);
pSetType(13, ASSET_TYPE_D3DBSP);
pSetType(14, ASSET_TYPE_GAME_MAP_SP);
pSetType(15, ASSET_TYPE_MENU);
pSetType(16, ASSET_TYPE_FONT);
pSetType(17, ASSET_TYPE_LOCALIZE_ENTRY);
pSetType(18, ASSET_TYPE_WEAPON);
pSetType(19, ASSET_TYPE_GFX_MAP);
pSetType(20, ASSET_TYPE_LIGHT_DEF);
pSetType(26, ASSET_TYPE_FX);
pSetType(32, ASSET_TYPE_RAWFILE);
pSetType(33, ASSET_TYPE_STRINGTABLE);
}
ZoneFile_COD7_Wii::~ZoneFile_COD7_Wii()
{
}
bool ZoneFile_COD7_Wii::Load(const QByteArray aFileData) {
return true;
}

View File

@ -1,16 +0,0 @@
#ifndef ZONEFILE_COD7_WII_H
#define ZONEFILE_COD7_WII_H
#include "zonefile.h"
class ZoneFile_COD7_Wii : public ZoneFile
{
public:
ZoneFile_COD7_Wii();
~ZoneFile_COD7_Wii();
bool Load(const QByteArray aFileData) override;
};
#endif // ZONEFILE_COD7_WII_H

View File

@ -1,37 +0,0 @@
#include "zonefile_cod8_wii.h"
#include "xdatastream.h"
#include <QFile>
#include <QDebug>
ZoneFile_COD8_Wii::ZoneFile_COD8_Wii()
: ZoneFile()
{
pSetType(4, ASSET_TYPE_XANIMPARTS);
pSetType(5, ASSET_TYPE_XMODEL);
pSetType(6, ASSET_TYPE_IMAGE);
pSetType(7, ASSET_TYPE_TECHNIQUE_SET);
pSetType(9, ASSET_TYPE_SOUND);
pSetType(11, ASSET_TYPE_COL_MAP_SP);
pSetType(12, ASSET_TYPE_COL_MAP_MP);
pSetType(13, ASSET_TYPE_D3DBSP);
pSetType(14, ASSET_TYPE_GAME_MAP_SP);
pSetType(15, ASSET_TYPE_MENU);
pSetType(16, ASSET_TYPE_FONT);
pSetType(17, ASSET_TYPE_LOCALIZE_ENTRY);
pSetType(18, ASSET_TYPE_WEAPON);
pSetType(19, ASSET_TYPE_GFX_MAP);
pSetType(20, ASSET_TYPE_LIGHT_DEF);
pSetType(26, ASSET_TYPE_FX);
pSetType(32, ASSET_TYPE_RAWFILE);
pSetType(33, ASSET_TYPE_STRINGTABLE);
}
ZoneFile_COD8_Wii::~ZoneFile_COD8_Wii()
{
}
bool ZoneFile_COD8_Wii::Load(const QByteArray aFileData) {
return true;
}

View File

@ -1,16 +0,0 @@
#ifndef ZONEFILE_COD8_WII_H
#define ZONEFILE_COD8_WII_H
#include "zonefile.h"
class ZoneFile_COD8_Wii : public ZoneFile
{
public:
ZoneFile_COD8_Wii();
~ZoneFile_COD8_Wii();
bool Load(const QByteArray aFileData) override;
};
#endif // ZONEFILE_COD8_WII_H

View File

@ -1,37 +0,0 @@
#include "zonefile_cod10_wiiu.h"
#include "xdatastream.h"
#include <QFile>
#include <QDebug>
ZoneFile_COD10_WiiU::ZoneFile_COD10_WiiU()
: ZoneFile()
{
pSetType(4, ASSET_TYPE_XANIMPARTS);
pSetType(5, ASSET_TYPE_XMODEL);
pSetType(6, ASSET_TYPE_IMAGE);
pSetType(7, ASSET_TYPE_TECHNIQUE_SET);
pSetType(9, ASSET_TYPE_SOUND);
pSetType(11, ASSET_TYPE_COL_MAP_SP);
pSetType(12, ASSET_TYPE_COL_MAP_MP);
pSetType(13, ASSET_TYPE_D3DBSP);
pSetType(14, ASSET_TYPE_GAME_MAP_SP);
pSetType(15, ASSET_TYPE_MENU);
pSetType(16, ASSET_TYPE_FONT);
pSetType(17, ASSET_TYPE_LOCALIZE_ENTRY);
pSetType(18, ASSET_TYPE_WEAPON);
pSetType(19, ASSET_TYPE_GFX_MAP);
pSetType(20, ASSET_TYPE_LIGHT_DEF);
pSetType(26, ASSET_TYPE_FX);
pSetType(32, ASSET_TYPE_RAWFILE);
pSetType(33, ASSET_TYPE_STRINGTABLE);
}
ZoneFile_COD10_WiiU::~ZoneFile_COD10_WiiU()
{
}
bool ZoneFile_COD10_WiiU::Load(const QByteArray aFileData) {
return true;
}

View File

@ -1,16 +0,0 @@
#ifndef ZONEFILE_COD10_WIIU_H
#define ZONEFILE_COD10_WIIU_H
#include "zonefile.h"
class ZoneFile_COD10_WiiU : public ZoneFile
{
public:
ZoneFile_COD10_WiiU();
~ZoneFile_COD10_WiiU();
bool Load(const QByteArray aFileData) override;
};
#endif // ZONEFILE_COD10_WIIU_H

View File

@ -1,37 +0,0 @@
#include "zonefile_cod9_wiiu.h"
#include "xdatastream.h"
#include <QFile>
#include <QDebug>
ZoneFile_COD9_WiiU::ZoneFile_COD9_WiiU()
: ZoneFile()
{
pSetType(4, ASSET_TYPE_XANIMPARTS);
pSetType(5, ASSET_TYPE_XMODEL);
pSetType(6, ASSET_TYPE_IMAGE);
pSetType(7, ASSET_TYPE_TECHNIQUE_SET);
pSetType(9, ASSET_TYPE_SOUND);
pSetType(11, ASSET_TYPE_COL_MAP_SP);
pSetType(12, ASSET_TYPE_COL_MAP_MP);
pSetType(13, ASSET_TYPE_D3DBSP);
pSetType(14, ASSET_TYPE_GAME_MAP_SP);
pSetType(15, ASSET_TYPE_MENU);
pSetType(16, ASSET_TYPE_FONT);
pSetType(17, ASSET_TYPE_LOCALIZE_ENTRY);
pSetType(18, ASSET_TYPE_WEAPON);
pSetType(19, ASSET_TYPE_GFX_MAP);
pSetType(20, ASSET_TYPE_LIGHT_DEF);
pSetType(26, ASSET_TYPE_FX);
pSetType(32, ASSET_TYPE_RAWFILE);
pSetType(33, ASSET_TYPE_STRINGTABLE);
}
ZoneFile_COD9_WiiU::~ZoneFile_COD9_WiiU()
{
}
bool ZoneFile_COD9_WiiU::Load(const QByteArray aFileData) {
return true;
}

View File

@ -1,16 +0,0 @@
#ifndef ZONEFILE_COD9_H
#define ZONEFILE_COD9_H
#include "zonefile.h"
class ZoneFile_COD9_WiiU : public ZoneFile
{
public:
ZoneFile_COD9_WiiU();
~ZoneFile_COD9_WiiU();
bool Load(const QByteArray aFileData) override;
};
#endif // ZONEFILE_COD9_H

View File

@ -1,245 +0,0 @@
#include "zonefile.h"
#include "xassetlist.h"
#include "xfile.h"
#include "xdatastream.h"
#include "xcommoninfo.h"
#include <QFile>
#include <QDebug>
ZoneFile::ZoneFile()
: mStem()
, mSize()
, mTagCount()
, mTags()
, mRecordCount()
, mRecords()
, mCommonInfo(nullptr)
, mTypeMap()
, mHeaderData()
, mAssetList(this)
, mDebug(false)
{
}
ZoneFile::ZoneFile(const ZoneFile &aZoneFile)
: mStem(aZoneFile.mStem)
, mSize(aZoneFile.mSize)
, mTagCount(aZoneFile.mTagCount)
, mTags(aZoneFile.mTags)
, mRecordCount(aZoneFile.mRecordCount)
, mRecords(aZoneFile.mRecords)
, mAssetTypes(aZoneFile.mAssetTypes)
, mCommonInfo(aZoneFile.mCommonInfo)
, mTypeMap(aZoneFile.mTypeMap)
, mHeaderData(aZoneFile.mHeaderData)
, mAssetList(aZoneFile.mAssetList)
{
}
ZoneFile &ZoneFile::operator=(const ZoneFile &other)
{
if (this != &other)
{
mStem = other.mStem;
mSize = other.mSize;
mTagCount = other.mTagCount;
mTags = other.mTags;
mRecordCount = other.mRecordCount;
mRecords = other.mRecords;
mAssetTypes = other.mAssetTypes;
mCommonInfo = other.mCommonInfo;
mTypeMap = other.mTypeMap;
mHeaderData = other.mHeaderData;
mAssetList = other.mAssetList;
}
return *this;
}
bool ZoneFile::Load(const QByteArray aFileData)
{
XDataStream zoneStream(aFileData);
zoneStream.SetDebug(mDebug);
if (GetCommonInfo()->GetPlatform() == PLATFORM_PC)
{
zoneStream.setByteOrder(QDataStream::LittleEndian);
}
mHeaderData.SetCommonInfo(mCommonInfo);
mHeaderData.ParseData(&zoneStream);
mAssetList.SetCommonInfo(mCommonInfo);
mAssetList.ParseData(&zoneStream);
return true;
}
bool ZoneFile::Load(const QString aFilePath)
{
QFile file(aFilePath);
if (!file.open(QIODevice::ReadOnly))
{
qDebug() << "Failed to open file: " << aFilePath;
return false;
}
return Load(file.readAll());
}
QByteArray ZoneFile::GetBinaryData() {
return {};
}
QString ZoneFile::GetStem() const {
return mStem;
}
QString ZoneFile::GetBaseStem() const {
return mStem.split('.').first();
}
quint32 ZoneFile::GetSize() const {
return mSize;
}
quint32 ZoneFile::GetTagCount() const {
return mTagCount;
}
QStringList ZoneFile::GetTags() const {
return mTags;
}
QStringList ZoneFile::GetNames() const {
QStringList result;
for (int i = 0; i < mAssetList.Size(); i++)
{
auto current = mAssetList.GetAsset(i);
result.append(current->GetName());
}
return result;
}
QVector<XAssetType> ZoneFile::GetTypes() const
{
QVector<XAssetType> result;
for (int i = 0; i < mAssetList.Size(); i++)
{
result.append(mAssetList.GetAsset(i)->GetType());
}
return result;
}
XAssetList ZoneFile::GetAssetList() const {
return mAssetList;
}
void ZoneFile::SetStem(const QString aStem) {
mStem = aStem;
}
void ZoneFile::SetSize(quint32 aSize) {
mSize = aSize;
}
void ZoneFile::SetTagCount(quint32 aTagCount) {
mTagCount = aTagCount;
}
void ZoneFile::SetTags(const QStringList aTags) {
mTags = aTags;
}
void ZoneFile::SetRecordCount(quint32 aRecordCount) {
mRecordCount = aRecordCount;
}
void ZoneFile::SetRecords(const QStringList aRecords) {
mRecords = aRecords;
}
void ZoneFile::SetHeaderData(XFile aHeaderData)
{
mHeaderData = aHeaderData;
}
void ZoneFile::SetAssetList(XAssetList aAssetList) {
mAssetList = aAssetList;
}
XAssetType ZoneFile::GetType(quint32 aRawType) const
{
if (mTypeMap.contains(aRawType))
{
return mTypeMap[aRawType];
}
qDebug() << "GetType has no enum for " << QString::number(aRawType, 16);
return ASSET_TYPE_NONE;
}
void ZoneFile::pSetType(quint32 aRawType, XAssetType aType)
{
mTypeMap[aRawType] = aType;
}
quint32 ZoneFile::RecordCount() const
{
return mRecordCount;
}
QStringList ZoneFile::Records() const
{
return mRecords;
}
QVector<XAssetType> ZoneFile::AssetTypes() const
{
return mAssetTypes;
}
void ZoneFile::SetAssetTypes(const QVector<XAssetType> &aAssetTypes)
{
mAssetTypes = aAssetTypes;
}
QMap<quint32, XAssetType> ZoneFile::TypeMap() const
{
return mTypeMap;
}
void ZoneFile::SetTypeMap(const QMap<quint32, XAssetType> &aTypeMap)
{
mTypeMap = aTypeMap;
}
XFile ZoneFile::HeaderData() const
{
return mHeaderData;
}
bool ZoneFile::Debug() const
{
return mDebug;
}
void ZoneFile::SetDebug(bool aDebug)
{
mDebug = aDebug;
}
const XCommonInfo *ZoneFile::GetCommonInfo() const
{
return mCommonInfo;
}
void ZoneFile::SetCommonInfo(const XCommonInfo *newCommonInfo)
{
mCommonInfo = newCommonInfo;
}

View File

@ -1,77 +0,0 @@
#ifndef ZONEFILE_H
#define ZONEFILE_H
#include "xasset.h"
#include "xassetlist.h"
#include "xfile.h"
#include <QStringList>
#include <QIcon>
#include <QMap>
class ZoneFile
{
public:
ZoneFile();
virtual ~ZoneFile() = default;
ZoneFile(const ZoneFile &aZoneFile);
ZoneFile &operator=(const ZoneFile &other);
virtual bool Load(const QByteArray aFileData);
virtual bool Load(const QString aFilePath);
virtual QByteArray GetBinaryData();
QString GetStem() const;
QString GetBaseStem() const;
quint32 GetSize() const;
quint32 GetTagCount() const;
QStringList GetTags() const;
QVector<XAssetType> GetTypes() const;
XAssetList GetAssetList() const;
QStringList GetNames() const;
void SetStem(const QString aStem);
void SetSize(quint32 aSize);
void SetTagCount(quint32 aTagCount);
void SetTags(const QStringList aTags);
void SetRecordCount(quint32 aRecordCount);
void SetRecords(const QStringList aRecords);
void SetHeaderData(XFile aHeaderData);
void SetAssetList(XAssetList aAssetList);
XAssetType GetType(quint32 aRawType) const;
const XCommonInfo *GetCommonInfo() const;
void SetCommonInfo(const XCommonInfo *newCommonInfo);
quint32 RecordCount() const;
QStringList Records() const;
QVector<XAssetType> AssetTypes() const;
void SetAssetTypes(const QVector<XAssetType> &aAssetTypes);
QMap<quint32, XAssetType> TypeMap() const;
void SetTypeMap(const QMap<quint32, XAssetType> &aTypeMap);
XFile HeaderData() const;
bool Debug() const;
void SetDebug(bool aDebug);
protected:
void pSetType(quint32 aRawType, XAssetType aType);
private:
QString mStem;
quint32 mSize;
quint32 mTagCount;
QStringList mTags;
quint32 mRecordCount;
QStringList mRecords;
QVector<XAssetType> mAssetTypes;
const XCommonInfo* mCommonInfo;
QMap<quint32, XAssetType> mTypeMap;
XFile mHeaderData;
XAssetList mAssetList;
bool mDebug;
};
#endif // ZONEFILE_H

View File

@ -1,19 +0,0 @@
QT += core widgets
TEMPLATE = lib
CONFIG += staticlib c++17
SOURCES += $$files($$PWD/*.cpp, true)
HEADERS += $$files($$PWD/*.h, true)
LIBS += \
-L$$OUT_PWD/../ -lcore -lxassets
INCLUDEPATH += \
$$PWD/../core \
$$PWD/../xassets
DEPENDPATH += \
$$PWD/../core \
$$PWD/../xassets
DESTDIR = $$OUT_PWD/../