22 #ifndef TITANIC_SCRIPT_SUPPORT_H 23 #define TITANIC_SCRIPT_SUPPORT_H 25 #include "titanic/support/simple_file.h" 29 #define DIALS_ARRAY_COUNT 10 31 enum ScriptArrayFlag { SF_NONE = 0, SF_RANDOM = 1, SF_SEQUENTIAL = 2 };
43 _values[0] = _values[1] = _values[2] = _values[3] = 0;
57 ScriptArrayFlag _mode;
60 _priorIndex(0), _mode(SF_NONE) {}
81 _field20(0), _field28(0), _field2C(0), _field30(0) {}
95 void load(
const CString &resName);
107 int _valuesPerMapping;
109 void load(
const char *name,
int valuesPerMapping);
115 TTtagMapping(uint src, uint dest) : _src(src), _dest(dest) {}
120 void load(
const char *name);
132 void load(
const char *name);
145 uint _rangeStart, _rangeEnd;
149 void load(
const char *name);
161 void load(
const char *name);
166 int find(uint
id)
const;
179 void load(
const char *name);
191 void load(
const char *name);
Definition: script_support.h:105
Definition: script_support.h:65
Definition: script_support.h:189
Definition: script_support.h:159
In find(In first, In last, const T &v)
Definition: algorithm.h:225
Definition: script_support.h:143
Definition: script_support.h:152
Definition: script_support.h:169
Definition: script_support.h:90
Definition: script_support.h:177
Definition: script_support.h:98
Definition: script_support.h:112
Definition: script_support.h:135
Definition: script_support.h:118
Definition: script_support.h:38
Definition: script_support.h:123
Definition: script_support.h:182
Definition: script_support.h:130
Definition: script_support.h:52
Definition: script_support.h:33