OpenClonk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
C4AulExec.cpp File Reference
#include "C4Include.h"
#include "script/C4AulExec.h"
#include "control/C4Record.h"
#include "object/C4Def.h"
#include "object/C4Object.h"
#include "script/C4Aul.h"
#include "script/C4AulScriptFunc.h"
#include "script/C4AulDebug.h"
#include "script/C4ScriptHost.h"
Include dependency graph for C4AulExec.cpp:

Go to the source code of this file.

Macros

#define ReturnIfTranslationAvailable(script, key)
 

Variables

C4AulExec AulExec
 

Macro Definition Documentation

#define ReturnIfTranslationAvailable (   script,
  key 
)
Value:
do \
{ \
const auto &s = script; \
const auto &k = key; \
if (s) \
{ \
try \
{ \
return ::Strings.RegString(s->Translate(k).c_str()); \
} \
} \
} while(0)
C4String * RegString(StdStrBuf String)
C4StringTable Strings
Definition: C4Globals.cpp:42
#define s

Referenced by C4AulExec::FnTranslate().

Variable Documentation