RigsofRods
Soft-body Physics Simulation
Macros | Functions
ContentManager.cpp File Reference
#include "ContentManager.h"
#include <Overlay/OgreOverlayManager.h>
#include <Overlay/OgreOverlay.h>
#include <Plugins/ParticleFX/OgreBoxEmitterFactory.h>
#include "Application.h"
#include "ColoredTextAreaOverlayElementFactory.h"
#include "ErrorUtils.h"
#include "SoundScriptManager.h"
#include "SkinFileFormat.h"
#include "Language.h"
#include "PlatformUtils.h"
#include "CacheSystem.h"
#include "OgreShaderParticleRenderer.h"
#include "FireExtinguisherAffectorFactory.h"
#include "ExtinguishableFireAffectorFactory.h"
#include "Utils.h"
#include <OgreFileSystem.h>
#include <regex>
#include <rapidjson/stringbuffer.h>
#include <rapidjson/writer.h>
#include <sstream>
+ Include dependency graph for ContentManager.cpp:

Go to the source code of this file.

Macros

#define DECLARE_RESOURCE_PACK(_FIELD_, _NAME_, _RESOURCE_GROUP_)   const ContentManager::ResourcePack ContentManager::ResourcePack::_FIELD_(_NAME_, _RESOURCE_GROUP_);
 

Functions

 DECLARE_RESOURCE_PACK (OGRE_CORE, "OgreCore", "OgreCoreRG")
 
 DECLARE_RESOURCE_PACK (WALLPAPERS, "wallpapers", "Wallpapers")
 
 DECLARE_RESOURCE_PACK (AIRFOILS, "airfoils", "AirfoilsRG")
 
 DECLARE_RESOURCE_PACK (CAELUM, "caelum", "CaelumRG")
 
 DECLARE_RESOURCE_PACK (CUBEMAPS, "cubemaps", "CubemapsRG")
 
 DECLARE_RESOURCE_PACK (DASHBOARDS, "dashboards", "DashboardsRG")
 
 DECLARE_RESOURCE_PACK (FAMICONS, "famicons", "FamiconsRG")
 
 DECLARE_RESOURCE_PACK (FLAGS, "flags", "FlagsRG")
 
 DECLARE_RESOURCE_PACK (FONTS, "fonts", "FontsRG")
 
 DECLARE_RESOURCE_PACK (HYDRAX, "hydrax", "HydraxRG")
 
 DECLARE_RESOURCE_PACK (ICONS, "icons", "IconsRG")
 
 DECLARE_RESOURCE_PACK (MATERIALS, "materials", "MaterialsRG")
 
 DECLARE_RESOURCE_PACK (MESHES, "meshes", "MeshesRG")
 
 DECLARE_RESOURCE_PACK (MYGUI, "mygui", "MyGuiRG")
 
 DECLARE_RESOURCE_PACK (OVERLAYS, "overlays", "OverlaysRG")
 
 DECLARE_RESOURCE_PACK (PAGED, "paged", "PagedRG")
 
 DECLARE_RESOURCE_PACK (PARTICLES, "particles", "ParticlesRG")
 
 DECLARE_RESOURCE_PACK (PSSM, "pssm", "PssmRG")
 
 DECLARE_RESOURCE_PACK (RTSHADER, "rtshader", "RtShaderRG")
 
 DECLARE_RESOURCE_PACK (SCRIPTS, "scripts", "ScriptsRG")
 
 DECLARE_RESOURCE_PACK (SOUNDS, "sounds", "SoundsRG")
 
 DECLARE_RESOURCE_PACK (TEXTURES, "textures", "TexturesRG")
 
 DECLARE_RESOURCE_PACK (SKYX, "SkyX", "SkyXRG")
 

Macro Definition Documentation

◆ DECLARE_RESOURCE_PACK

#define DECLARE_RESOURCE_PACK (   _FIELD_,
  _NAME_,
  _RESOURCE_GROUP_ 
)    const ContentManager::ResourcePack ContentManager::ResourcePack::_FIELD_(_NAME_, _RESOURCE_GROUP_);

Definition at line 67 of file ContentManager.cpp.

Function Documentation

◆ DECLARE_RESOURCE_PACK() [1/23]

DECLARE_RESOURCE_PACK ( AIRFOILS  ,
"airfoils"  ,
"AirfoilsRG"   
)

◆ DECLARE_RESOURCE_PACK() [2/23]

DECLARE_RESOURCE_PACK ( CAELUM  ,
"caelum"  ,
"CaelumRG"   
)

◆ DECLARE_RESOURCE_PACK() [3/23]

DECLARE_RESOURCE_PACK ( CUBEMAPS  ,
"cubemaps"  ,
"CubemapsRG"   
)

◆ DECLARE_RESOURCE_PACK() [4/23]

DECLARE_RESOURCE_PACK ( DASHBOARDS  ,
"dashboards"  ,
"DashboardsRG"   
)

◆ DECLARE_RESOURCE_PACK() [5/23]

DECLARE_RESOURCE_PACK ( FAMICONS  ,
"famicons"  ,
"FamiconsRG"   
)

◆ DECLARE_RESOURCE_PACK() [6/23]

DECLARE_RESOURCE_PACK ( FLAGS  ,
"flags"  ,
"FlagsRG"   
)

◆ DECLARE_RESOURCE_PACK() [7/23]

DECLARE_RESOURCE_PACK ( FONTS  ,
"fonts"  ,
"FontsRG"   
)

◆ DECLARE_RESOURCE_PACK() [8/23]

DECLARE_RESOURCE_PACK ( HYDRAX  ,
"hydrax"  ,
"HydraxRG"   
)

◆ DECLARE_RESOURCE_PACK() [9/23]

DECLARE_RESOURCE_PACK ( ICONS  ,
"icons"  ,
"IconsRG"   
)

◆ DECLARE_RESOURCE_PACK() [10/23]

DECLARE_RESOURCE_PACK ( MATERIALS  ,
"materials"  ,
"MaterialsRG"   
)

◆ DECLARE_RESOURCE_PACK() [11/23]

DECLARE_RESOURCE_PACK ( MESHES  ,
"meshes"  ,
"MeshesRG"   
)

◆ DECLARE_RESOURCE_PACK() [12/23]

DECLARE_RESOURCE_PACK ( MYGUI  ,
"mygui"  ,
"MyGuiRG"   
)

◆ DECLARE_RESOURCE_PACK() [13/23]

DECLARE_RESOURCE_PACK ( OGRE_CORE  ,
"OgreCore"  ,
"OgreCoreRG"   
)

◆ DECLARE_RESOURCE_PACK() [14/23]

DECLARE_RESOURCE_PACK ( OVERLAYS  ,
"overlays"  ,
"OverlaysRG"   
)

◆ DECLARE_RESOURCE_PACK() [15/23]

DECLARE_RESOURCE_PACK ( PAGED  ,
"paged"  ,
"PagedRG"   
)

◆ DECLARE_RESOURCE_PACK() [16/23]

DECLARE_RESOURCE_PACK ( PARTICLES  ,
"particles"  ,
"ParticlesRG"   
)

◆ DECLARE_RESOURCE_PACK() [17/23]

DECLARE_RESOURCE_PACK ( PSSM  ,
"pssm"  ,
"PssmRG"   
)

◆ DECLARE_RESOURCE_PACK() [18/23]

DECLARE_RESOURCE_PACK ( RTSHADER  ,
"rtshader"  ,
"RtShaderRG"   
)

◆ DECLARE_RESOURCE_PACK() [19/23]

DECLARE_RESOURCE_PACK ( SCRIPTS  ,
"scripts"  ,
"ScriptsRG"   
)

◆ DECLARE_RESOURCE_PACK() [20/23]

DECLARE_RESOURCE_PACK ( SKYX  ,
"SkyX"  ,
"SkyXRG"   
)

◆ DECLARE_RESOURCE_PACK() [21/23]

DECLARE_RESOURCE_PACK ( SOUNDS  ,
"sounds"  ,
"SoundsRG"   
)

◆ DECLARE_RESOURCE_PACK() [22/23]

DECLARE_RESOURCE_PACK ( TEXTURES  ,
"textures"  ,
"TexturesRG"   
)

◆ DECLARE_RESOURCE_PACK() [23/23]

DECLARE_RESOURCE_PACK ( WALLPAPERS  ,
"wallpapers"  ,
"Wallpapers"   
)