Soft-body Physics Simulation
Public Member Functions | Data Fields
RoR::CacheEntry Class Reference

#include <CacheSystem.h>

Public Member Functions

 CacheEntry ()
 default constructor resets the data. More...

Data Fields

Ogre::String fpath
 filepath relative to the .zip file More...
Ogre::String fname
 filename More...
Ogre::String fname_without_uid
 filename More...
Ogre::String dname
 name parsed from the file More...
int categoryid
 category id More...
Ogre::String categoryname
 category name More...
std::time_t addtimestamp
 timestamp when this file was added to the cache More...
Ogre::String uniqueid
 file's unique id More...
Ogre::String guid
 global unique id More...
int version
 file's version More...
Ogre::String fext
 file's extension More...
std::string resource_bundle_type
 Archive type recognized by OGRE resource system: 'FileSystem' or 'Zip'. More...
std::string resource_bundle_path
 Path of ZIP or directory which contains the media. Shared between CacheEntries, loaded only once. More...
int number
 Sequential number, assigned internally, used by Selector-GUI. More...
std::time_t filetime
 filetime More...
bool deleted
 is this mod deleted? More...
int usagecounter
 how much it was used already More...
std::vector< AuthorInfoauthors
 authors More...
Ogre::String filecachename
 preview image filename More...
Ogre::String resource_group
 Resource group of the loaded bundle. Empty if not loaded yet. More...
RigDef::DocumentPtr actor_def
 Cached actor definition (aka truckfile) after first spawn. More...
std::shared_ptr< RoR::SkinDefskin_def
 Cached skin info, added on first use or during cache rebuild. More...
Ogre::String description
Ogre::String tags
std::string default_skin
int fileformatversion
bool hasSubmeshs
int nodecount
int beamcount
int shockcount
int fixescount
int hydroscount
int wheelcount
int propwheelcount
int commandscount
int flarescount
int propscount
int wingscount
int turbopropscount
int turbojetcount
int rotatorscount
int exhaustscount
int flexbodiescount
int soundsourcescount
float truckmass
float loadmass
float minrpm
float maxrpm
float torque
bool customtach
bool custom_particles
bool forwardcommands
bool importcommands
bool rescuer
ActorType driveable
int numgears
char enginetype
std::vector< Ogre::String > sectionconfigs

Detailed Description

Definition at line 52 of file CacheSystem.h.

Constructor & Destructor Documentation

◆ CacheEntry()

CacheEntry::CacheEntry ( )

default constructor resets the data.

Definition at line 57 of file CacheSystem.cpp.

Field Documentation

◆ actor_def

RigDef::DocumentPtr RoR::CacheEntry::actor_def

Cached actor definition (aka truckfile) after first spawn.

Definition at line 85 of file CacheSystem.h.

◆ addtimestamp

std::time_t RoR::CacheEntry::addtimestamp

timestamp when this file was added to the cache

Definition at line 68 of file CacheSystem.h.

◆ authors

std::vector<AuthorInfo> RoR::CacheEntry::authors


Definition at line 80 of file CacheSystem.h.

◆ beamcount

int RoR::CacheEntry::beamcount

Definition at line 95 of file CacheSystem.h.

◆ categoryid

int RoR::CacheEntry::categoryid

category id

Definition at line 65 of file CacheSystem.h.

◆ categoryname

Ogre::String RoR::CacheEntry::categoryname

category name

Definition at line 66 of file CacheSystem.h.

◆ commandscount

int RoR::CacheEntry::commandscount

Definition at line 101 of file CacheSystem.h.

◆ custom_particles

bool RoR::CacheEntry::custom_particles

Definition at line 118 of file CacheSystem.h.

◆ customtach

bool RoR::CacheEntry::customtach

Definition at line 117 of file CacheSystem.h.

◆ default_skin

std::string RoR::CacheEntry::default_skin

Definition at line 91 of file CacheSystem.h.

◆ deleted

bool RoR::CacheEntry::deleted

is this mod deleted?

Definition at line 78 of file CacheSystem.h.

◆ description

Ogre::String RoR::CacheEntry::description

Definition at line 89 of file CacheSystem.h.

◆ dname

Ogre::String RoR::CacheEntry::dname

name parsed from the file

Definition at line 63 of file CacheSystem.h.

◆ driveable

ActorType RoR::CacheEntry::driveable

Definition at line 123 of file CacheSystem.h.

◆ enginetype

char RoR::CacheEntry::enginetype

Definition at line 125 of file CacheSystem.h.

◆ exhaustscount

int RoR::CacheEntry::exhaustscount

Definition at line 108 of file CacheSystem.h.

◆ fext

Ogre::String RoR::CacheEntry::fext

file's extension

Definition at line 73 of file CacheSystem.h.

◆ filecachename

Ogre::String RoR::CacheEntry::filecachename

preview image filename

Definition at line 81 of file CacheSystem.h.

◆ fileformatversion

int RoR::CacheEntry::fileformatversion

Definition at line 92 of file CacheSystem.h.

◆ filetime

std::time_t RoR::CacheEntry::filetime


Definition at line 77 of file CacheSystem.h.

◆ fixescount

int RoR::CacheEntry::fixescount

Definition at line 97 of file CacheSystem.h.

◆ flarescount

int RoR::CacheEntry::flarescount

Definition at line 102 of file CacheSystem.h.

◆ flexbodiescount

int RoR::CacheEntry::flexbodiescount

Definition at line 109 of file CacheSystem.h.

◆ fname

Ogre::String RoR::CacheEntry::fname


Definition at line 61 of file CacheSystem.h.

◆ fname_without_uid

Ogre::String RoR::CacheEntry::fname_without_uid


Definition at line 62 of file CacheSystem.h.

◆ forwardcommands

bool RoR::CacheEntry::forwardcommands

Definition at line 119 of file CacheSystem.h.

◆ fpath

Ogre::String RoR::CacheEntry::fpath

filepath relative to the .zip file

Definition at line 60 of file CacheSystem.h.

◆ guid

Ogre::String RoR::CacheEntry::guid

global unique id

Definition at line 71 of file CacheSystem.h.

◆ hasSubmeshs

bool RoR::CacheEntry::hasSubmeshs

Definition at line 93 of file CacheSystem.h.

◆ hydroscount

int RoR::CacheEntry::hydroscount

Definition at line 98 of file CacheSystem.h.

◆ importcommands

bool RoR::CacheEntry::importcommands

Definition at line 120 of file CacheSystem.h.

◆ loadmass

float RoR::CacheEntry::loadmass

Definition at line 113 of file CacheSystem.h.

◆ maxrpm

float RoR::CacheEntry::maxrpm

Definition at line 115 of file CacheSystem.h.

◆ minrpm

float RoR::CacheEntry::minrpm

Definition at line 114 of file CacheSystem.h.

◆ nodecount

int RoR::CacheEntry::nodecount

Definition at line 94 of file CacheSystem.h.

◆ number

int RoR::CacheEntry::number

Sequential number, assigned internally, used by Selector-GUI.

Definition at line 76 of file CacheSystem.h.

◆ numgears

int RoR::CacheEntry::numgears

Definition at line 124 of file CacheSystem.h.

◆ propscount

int RoR::CacheEntry::propscount

Definition at line 103 of file CacheSystem.h.

◆ propwheelcount

int RoR::CacheEntry::propwheelcount

Definition at line 100 of file CacheSystem.h.

◆ rescuer

bool RoR::CacheEntry::rescuer

Definition at line 121 of file CacheSystem.h.

◆ resource_bundle_path

std::string RoR::CacheEntry::resource_bundle_path

Path of ZIP or directory which contains the media. Shared between CacheEntries, loaded only once.

Definition at line 75 of file CacheSystem.h.

◆ resource_bundle_type

std::string RoR::CacheEntry::resource_bundle_type

Archive type recognized by OGRE resource system: 'FileSystem' or 'Zip'.

Definition at line 74 of file CacheSystem.h.

◆ resource_group

Ogre::String RoR::CacheEntry::resource_group

Resource group of the loaded bundle. Empty if not loaded yet.

Definition at line 83 of file CacheSystem.h.

◆ rotatorscount

int RoR::CacheEntry::rotatorscount

Definition at line 107 of file CacheSystem.h.

◆ sectionconfigs

std::vector<Ogre::String> RoR::CacheEntry::sectionconfigs

Definition at line 126 of file CacheSystem.h.

◆ shockcount

int RoR::CacheEntry::shockcount

Definition at line 96 of file CacheSystem.h.

◆ skin_def

std::shared_ptr<RoR::SkinDef> RoR::CacheEntry::skin_def

Cached skin info, added on first use or during cache rebuild.

Definition at line 86 of file CacheSystem.h.

◆ soundsourcescount

int RoR::CacheEntry::soundsourcescount

Definition at line 110 of file CacheSystem.h.

◆ tags

Ogre::String RoR::CacheEntry::tags

Definition at line 90 of file CacheSystem.h.

◆ torque

float RoR::CacheEntry::torque

Definition at line 116 of file CacheSystem.h.

◆ truckmass

float RoR::CacheEntry::truckmass

Definition at line 112 of file CacheSystem.h.

◆ turbojetcount

int RoR::CacheEntry::turbojetcount

Definition at line 106 of file CacheSystem.h.

◆ turbopropscount

int RoR::CacheEntry::turbopropscount

Definition at line 105 of file CacheSystem.h.

◆ uniqueid

Ogre::String RoR::CacheEntry::uniqueid

file's unique id

Definition at line 70 of file CacheSystem.h.

◆ usagecounter

int RoR::CacheEntry::usagecounter

how much it was used already

Definition at line 79 of file CacheSystem.h.

◆ version

int RoR::CacheEntry::version

file's version

Definition at line 72 of file CacheSystem.h.

◆ wheelcount

int RoR::CacheEntry::wheelcount

Definition at line 99 of file CacheSystem.h.

◆ wingscount

int RoR::CacheEntry::wingscount

Definition at line 104 of file CacheSystem.h.

The documentation for this class was generated from the following files: