mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 05:13:58 -07:00
* 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.
23 lines
651 B
C++
23 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
|