Go to the source code of this file.
|
#define | EL(x) int el_##x = xmb_file.GetElementID(#x) |
|
#define | AT(x) int at_##x = xmb_file.GetAttributeID(#x) |
|
#define | EL(x) el_##x = xmb_file.GetElementID(#x) |
|
#define | AT(x) at_##x = xmb_file.GetAttributeID(#x) |
|
#define | AT(x) int at_##x = xmb_file.GetAttributeID(#x) |
|
#define | EL(x) int el_##x = xmb_file.GetElementID(#x) |
|
#define | AT(x) int at_##x = xmb_file.GetAttributeID(#x) |
|
#define | READ_COLOUR(el, out) |
|
#define | READ_FLOAT(el, out) |
|
#define | EL(x) int el_##x = xmb_file.GetElementID(#x) |
|
#define | AT(x) int at_##x = xmb_file.GetAttributeID(#x) |
|
#define | EL(x) int el_##x = xmb_file.GetElementID(#x) |
|
#define | AT(x) int at_##x = xmb_file.GetAttributeID(#x) |
|
#define | GET_TERRAIN_PROPERTY(val, prop, out) |
|
#define | GET_ENVIRONMENT_PROPERTY(val, prop, out) |
|
#define | GET_CAMERA_PROPERTY(val, prop, out) |
|
#define AT |
( |
|
x | ) |
int at_##x = xmb_file.GetAttributeID(#x) |
#define AT |
( |
|
x | ) |
at_##x = xmb_file.GetAttributeID(#x) |
#define AT |
( |
|
x | ) |
int at_##x = xmb_file.GetAttributeID(#x) |
#define AT |
( |
|
x | ) |
int at_##x = xmb_file.GetAttributeID(#x) |
#define AT |
( |
|
x | ) |
int at_##x = xmb_file.GetAttributeID(#x) |
#define AT |
( |
|
x | ) |
int at_##x = xmb_file.GetAttributeID(#x) |
#define EL |
( |
|
x | ) |
int el_##x = xmb_file.GetElementID(#x) |
#define EL |
( |
|
x | ) |
el_##x = xmb_file.GetElementID(#x) |
#define EL |
( |
|
x | ) |
int el_##x = xmb_file.GetElementID(#x) |
#define EL |
( |
|
x | ) |
int el_##x = xmb_file.GetElementID(#x) |
#define EL |
( |
|
x | ) |
int el_##x = xmb_file.GetElementID(#x) |
#define GET_CAMERA_PROPERTY |
( |
|
val, |
|
|
|
prop, |
|
|
|
out |
|
) |
| |
Value:if (!pSimulation2->GetScriptInterface().GetProperty(val, #prop,
out))\
LOGWARNING(L
"CMapReader::ParseCamera() failed to get '%hs' property", #prop);
static void out(const wchar_t *fmt,...)
#define GET_ENVIRONMENT_PROPERTY |
( |
|
val, |
|
|
|
prop, |
|
|
|
out |
|
) |
| |
Value:if (!pSimulation2->GetScriptInterface().GetProperty(val, #prop,
out))\
LOGWARNING(L
"CMapReader::ParseEnvironment() failed to get '%hs' property", #prop);
static void out(const wchar_t *fmt,...)
#define GET_TERRAIN_PROPERTY |
( |
|
val, |
|
|
|
prop, |
|
|
|
out |
|
) |
| |
Value:if (!pSimulation2->GetScriptInterface().GetProperty(val, #prop,
out))\
{
LOGERROR(L
"CMapReader::ParseTerrain() failed to get '%hs' property", #prop);\
static void out(const wchar_t *fmt,...)
#define READ_COLOUR |
( |
|
el, |
|
|
|
out |
|
) |
| |
Value:else if (element_name == el) \
{ \
XMBAttributeList attrs = waterelement.GetAttributes();
\
attrs.GetNamedItem(at_r).ToFloat(), \
attrs.GetNamedItem(at_g).ToFloat(), \
attrs.GetNamedItem(at_b).ToFloat(), \
1.f); \
}
static void out(const wchar_t *fmt,...)
#define READ_FLOAT |
( |
|
el, |
|
|
|
out |
|
) |
| |
Value:else if (element_name == el) \
out = waterelement.GetText().ToFloat(); \
} \
static void out(const wchar_t *fmt,...)