0ad/source/graphics/scripting/JSInterface_LightEnv.h
janwas 3195893d1c # MacOS X compat (part 1)
- u_anim_name disambiguation
- fix implementation of finite (use our fpclassify instead of compiler's
routine)
- รค -> ae
- workaround for MAP_ANONYMOUS
- fix GLint in ogl.cpp
- add include for SIZE_MAX in string_s
- avoid PIC clobbered error and speed up rdtsc a bit
- add include for stat

This was SVN commit r4170.
2006-07-26 14:04:52 +00:00

24 lines
652 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