This commit is contained in:
nephacks
2025-06-04 03:22:50 +02:00
parent f234f23848
commit f12416cffd
14243 changed files with 6446499 additions and 26 deletions

View File

@@ -0,0 +1,42 @@
//-----------------------------------------------------------------------------
// Autogenerated by schema compiler, compiled May 22 2009 14:03:37
// Do not hand-edit or check in this file!!
//-----------------------------------------------------------------------------
#ifndef PARTICLES_G_H
#define PARTICLES_G_H
#ifdef COMPILER_MSVC
#pragma once
#endif
#include "resourcefile/schema.h"
//-----------------------------------------------------------------------------
// Forward declarations
//-----------------------------------------------------------------------------
struct ParticleSystemDefinition_t;
//-----------------------------------------------------------------------------
// Structure definitions
//-----------------------------------------------------------------------------
//! dmeElementType = "DmeParticleSystemDefinition"
schema struct ParticleSystemDefinition_t
{
int32 max_particles;
int32 initial_particles;
CResourceString material;
float32 cull_radius;
CResourceArray< CResourceReference< ParticleSystemDefinition_t > > children;
};
DEFINE_RESOURCE_TYPE( ParticleSystemDefinition_t, RESOURCE_TYPE_PARTICLE_SYSTEM );
typedef const ResourceBinding_t< ParticleSystemDefinition_t > *HParticleSystem;
typedef CStrongHandle< ParticleSystemDefinition_t > HParticleSystemStrong;
#define PARTICLE_SYSTEM_HANDLE_INVALID ( (HParticleSystem)0 )
#endif // PARTICLES_G_H

View File

@@ -0,0 +1,55 @@
#ifndef RESOURCEEXTREFLIST_G_H
#define RESOURCEEXTREFLIST_G_H
#ifdef COMPILER_MSVC
#pragma once
#endif
#include "resourcefile/schema.h"
//-----------------------------------------------------------------------------
// Forward declarations
//-----------------------------------------------------------------------------
struct ResourceExtRefList_t;
struct ResourceExtRefTypeList_t;
struct ResourceExtRefInfo_t;
//-----------------------------------------------------------------------------
// Enum definitions
//-----------------------------------------------------------------------------
schema enum ResourceExtRefistVersion_t
{
RESOURCE_EXT_REF_LIST_VERSION = 1,// (explicit)
};
//-----------------------------------------------------------------------------
// Structure definitions
//-----------------------------------------------------------------------------
//! resourceBlockType = "RERL"
schema struct ResourceExtRefList_t
{
uint32 m_nVersion;
CResourceArray< ResourceExtRefTypeList_t > m_ResourceTypeList;
CResourceArray< CResourcePointer< char > > m_FileNameList;
};
DEFINE_RESOURCE_BLOCK_TYPE( ResourceExtRefList_t, 'R', 'E', 'R', 'L' )
schema struct ResourceExtRefTypeList_t
{
uint32 m_nResourceType; // see ResourceType_t
CResourceArray< ResourceExtRefInfo_t > m_Resources;
};
schema struct ResourceExtRefInfo_t
{
uint32 m_nId; // see ResourceId_t
uint32 m_nFileNameIndex; // index into ResourceExtRefList_t::m_pFileNameList
CResourcePointer< char > m_pResourceName;
};
#endif // RESOURCEEXTREFLIST_G_H

View File

@@ -0,0 +1,54 @@
#ifndef RESOURCEIDLIST_G_H
#define RESOURCEIDLIST_G_H
#ifdef COMPILER_MSVC
#pragma once
#endif
#include "resourcefile/schema.h"
//-----------------------------------------------------------------------------
// Forward declarations
//-----------------------------------------------------------------------------
struct ResourceIdList_t;
struct ResourceIdTypeList_t;
struct ResourceIdInfo_t;
//-----------------------------------------------------------------------------
// Enum definitions
//-----------------------------------------------------------------------------
schema enum ResourceIdListVersion_t
{
RESOURCE_ID_LIST_VERSION = 1,// (explicit)
};
//-----------------------------------------------------------------------------
// Structure definitions
//-----------------------------------------------------------------------------
//! resourceBlockType = "RIDL"
schema struct ResourceIdList_t
{
uint32 m_nVersion;
CResourceArray< ResourceIdTypeList_t > m_ResourceTypeList;
};
DEFINE_RESOURCE_BLOCK_TYPE( ResourceIdList_t, 'R', 'I', 'D', 'L' )
schema struct ResourceIdTypeList_t
{
uint32 m_nResourceType; // see ResourceType_t
CResourceArray< ResourceIdInfo_t > m_Resources;
};
schema struct ResourceIdInfo_t
{
uint32 m_nId; // see ResourceId_t
uint32 m_nEstimatedSize;
uint32 m_nPermanentDataSize;
CResourcePointer< void > m_PermanentData;
};
#endif // RESOURCEIDLIST_G_H

View File

@@ -0,0 +1,60 @@
//-----------------------------------------------------------------------------
// Autogenerated by schema compiler, compiled May 25 2009 11:22:37
// Do not hand-edit or check in this file!!
//-----------------------------------------------------------------------------
#ifndef SHEET_G_H
#define SHEET_G_H
#ifdef COMPILER_MSVC
#pragma once
#endif
#include "resourcefile/schema.h"
#include "rendersystem/schema/texture.g.h"
//-----------------------------------------------------------------------------
// Forward declarations
//-----------------------------------------------------------------------------
struct Sheet_t;
struct SheetSequence_t;
struct SheetSequenceFrame_t;
struct SheetFrameImage_t;
//-----------------------------------------------------------------------------
// Structure definitions
//-----------------------------------------------------------------------------
schema struct Sheet_t
{
CResourceReference< TextureBits_t > m_hTexture;
CResourceArray< SheetSequence_t > m_Sequences;
};
class CSheet; // Forward declaration of associated runtime class
DEFINE_RESOURCE_CLASS_TYPE( Sheet_t, CSheet, RESOURCE_TYPE_SHEET );
typedef const ResourceBinding_t< CSheet > *HSheet;
typedef CStrongHandle< CSheet > HSheetStrong;
#define SHEET_HANDLE_INVALID ( (HSheet)0 )
schema struct SheetSequence_t
{
uint32 m_nId;
bool m_bClamp;
CResourceArray< SheetSequenceFrame_t > m_Frames;
float32 m_flTotalTime;
};
schema struct SheetSequenceFrame_t
{
float32 m_flDisplayTime;
CResourceArray< SheetFrameImage_t > m_Images;
};
schema struct SheetFrameImage_t
{
Vector2D uv[2];
};
#endif // SHEET_G_H