Ykkrosh
13f2e3ca0c
* Fixed some bugs with incorrect macro usage (SDL_BYTE_ORDER vs SDL_BYTEORDER, {MSC,GCC}_VER vs {MSC,GCC}_VERSION, OS_WIN/OS_UNIX in projects where they're not defined). * Removed some redundant declarations of g_Console. * Removed some unnecessary semicolons. * Removed some unused variables. * Added throw specification to operator new. This was SVN commit r4698.
24 lines
651 B
C++
24 lines
651 B
C++
/**
|
|
* =========================================================================
|
|
* File : JSInterface_LightEnv.h
|
|
* Project : Pyrogenesis
|
|
* Description : Provide the LightEnv object type for JavaScript
|
|
*
|
|
* @author Nicolai Haehnle <nicolai@wildfiregames.com>
|
|
* =========================================================================
|
|
*/
|
|
|
|
#ifndef JSI_LIGHTENV_INCLUDED
|
|
#define JSI_LIGHTENV_INCLUDED
|
|
|
|
#include "scripting/ScriptingHost.h"
|
|
|
|
namespace JSI_LightEnv
|
|
{
|
|
void init();
|
|
JSBool getLightEnv( JSContext* cx, JSObject* obj, jsval id, jsval* vp );
|
|
JSBool setLightEnv( JSContext* cx, JSObject* obj, jsval id, jsval* vp );
|
|
}
|
|
|
|
#endif
|