Pyrogenesis  13997
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros | Functions
EngineScriptConversions.cpp File Reference
#include "precompiled.h"
#include "scriptinterface/ScriptInterface.h"
#include "scriptinterface/ScriptExtraHeaders.h"
#include "maths/Fixed.h"
#include "maths/FixedVector2D.h"
#include "maths/FixedVector3D.h"
#include "ps/CLogger.h"
#include "ps/Overlay.h"
#include "ps/utf16string.h"
#include "simulation2/helpers/Grid.h"
#include "simulation2/system/IComponent.h"
#include "simulation2/system/ParamNode.h"

Go to the source code of this file.

Macros

#define FAIL(msg)   STMT(JS_ReportError(cx, msg); return false)
 

Functions

template<jsint atype, typename T >
jsval ToJSVal_Grid (JSContext *cx, const Grid< T > &val)
 

Macro Definition Documentation

#define FAIL (   msg)    STMT(JS_ReportError(cx, msg); return false)

Definition at line 33 of file EngineScriptConversions.cpp.

Function Documentation

template<jsint atype, typename T >
jsval ToJSVal_Grid ( JSContext *  cx,
const Grid< T > &  val 
)

Definition at line 213 of file EngineScriptConversions.cpp.