iw4x-client/src/Components/Modules/Zones.hpp

69 lines
2.9 KiB
C++
Raw Normal View History

2016-09-20 16:00:02 -04:00
#define VERSION_ALPHA2 316
#define VERSION_ALPHA3 318//319
2016-09-24 14:55:52 -04:00
#define VERSION_ALPHA3_DEC 319
2016-09-20 16:00:02 -04:00
2016-09-18 09:10:23 -04:00
namespace Components
{
class Zones : public Component
{
public:
Zones();
~Zones();
#if defined(DEBUG) || defined(FORCE_UNIT_TESTS)
const char* getName() { return "Zones"; };
2016-09-18 09:10:23 -04:00
#endif
2016-11-04 16:33:56 -04:00
static void SetVersion(int version);
2016-09-18 09:10:23 -04:00
2016-09-24 14:55:52 -04:00
static int Version() { return Zones::ZoneVersion; };
2016-09-24 10:37:13 -04:00
private:
2016-09-18 09:10:23 -04:00
static int ZoneVersion;
2016-09-22 15:22:12 -04:00
static int FxEffectIndex;
static char* FxEffectStrings[64];
2016-11-03 16:17:37 -04:00
static bool CheckGameMapSp(int type);
static void GameMapSpPatchStub();
static void LoadFxElemDefArrayStub(bool atStreamStart);
static bool LoadFxElemDefStub(bool atStreamStart, Game::FxElemDef* fxElem, int size);
static void LoadXModelLodInfo(int i);
static void LoadXModelLodInfoStub();
2016-09-21 17:19:16 -04:00
static bool LoadXModel(bool atStreamStart, char* xmodel, int size);
static bool LoadXSurfaceArray(bool atStreamStart, char* buffer, int size);
2016-11-03 15:19:43 -04:00
static bool LoadGameWorldSp(bool atStreamStart, char* buffer, int size);
static bool LoadVehicleDef(bool atStreamStart, char* buffer, int size);
2016-09-21 17:19:16 -04:00
static bool Loadsnd_alias_tArray(bool atStreamStart, char* buffer, int len);
2016-11-03 15:19:43 -04:00
static bool LoadLoadedSound(bool atStreamStart, char* buffer, int size);
2016-09-22 15:22:12 -04:00
static bool LoadmenuDef_t(bool atStreamStart, char* buffer, int size);
static bool LoadFxEffectDef(bool atStreamStart, char* buffer, int size);
static bool LoadMaterialShaderArgumentArray(bool atStreamStart, Game::MaterialShaderArgument* argument, int size);
static bool LoadStructuredDataStructPropertyArray(bool atStreamStart, char* data, int size);
static void LoadPathDataTail();
static void LoadWeaponAttach();
static void LoadWeaponAttachStuff(DWORD* varWeaponAttachStuff, int count);
2016-09-24 10:37:13 -04:00
static void LoadWeaponCompleteDef();
2016-09-26 16:14:11 -04:00
static bool LoadGfxImage(bool atStreamStart, char* buffer, int size);
2016-10-02 08:22:17 -04:00
static bool LoadXAsset(bool atStreamStart, char* buffer, int size);
static bool LoadMaterialTechnique(bool atStreamStart, char* buffer, int size);
static bool LoadMaterial(bool atStreamStart, char* buffer, int size);
static bool LoadGfxWorld(bool atStreamStart, char* buffer, int size);
static void Loadsunflare_t(bool atStreamStart);
2016-10-30 20:36:34 -04:00
static bool LoadStatement(bool atStreamStart, char* buffer, int size);
2016-11-01 15:04:06 -04:00
static void LoadWindowImage(bool atStreamStart);
2016-11-04 14:41:03 -04:00
static void LoadPhysPreset(bool atStreamStart, char* buffer, int size);
static void LoadXModelSurfs(bool atStreamStart, char* buffer, int size);
static void LoadImpactFx(bool atStreamStart, char* buffer, int size);
2016-11-04 16:33:56 -04:00
static void LoadPathNodeArray(bool atStreamStart, char* buffer, int size);
static void LoadPathnodeConstantTail(bool atStreamStart, char* buffer, int size);
static void LoadExpressionSupportingDataPtr(bool atStreamStart);
2016-11-04 14:41:03 -04:00
static void LoadImpactFxArray();
static int ImpactFxArrayCount();
2016-11-04 16:33:56 -04:00
static void LoadPathDataConstant();
static int PathDataSize();
2016-09-18 09:10:23 -04:00
};
}