Changeset View
Changeset View
Standalone View
Standalone View
source/renderer/scripting/JSInterface_Renderer.h
/* Copyright (C) 2018 Wildfire Games. | /* Copyright (C) 2019 Wildfire Games. | ||||
historic_bruno: 2019 | |||||
* This file is part of 0 A.D. | * This file is part of 0 A.D. | ||||
* | * | ||||
* 0 A.D. is free software: you can redistribute it and/or modify | * 0 A.D. is free software: you can redistribute it and/or modify | ||||
* it under the terms of the GNU General Public License as published by | * it under the terms of the GNU General Public License as published by | ||||
* the Free Software Foundation, either version 2 of the License, or | * the Free Software Foundation, either version 2 of the License, or | ||||
* (at your option) any later version. | * (at your option) any later version. | ||||
* | * | ||||
* 0 A.D. is distributed in the hope that it will be useful, | * 0 A.D. is distributed in the hope that it will be useful, | ||||
Show All 30 Lines | namespace JSI_Renderer | ||||
DECLARE_BOOLEAN_SCRIPT_SETTING(WaterRealDepth); | DECLARE_BOOLEAN_SCRIPT_SETTING(WaterRealDepth); | ||||
DECLARE_BOOLEAN_SCRIPT_SETTING(WaterReflection); | DECLARE_BOOLEAN_SCRIPT_SETTING(WaterReflection); | ||||
DECLARE_BOOLEAN_SCRIPT_SETTING(WaterRefraction); | DECLARE_BOOLEAN_SCRIPT_SETTING(WaterRefraction); | ||||
DECLARE_BOOLEAN_SCRIPT_SETTING(WaterShadows); | DECLARE_BOOLEAN_SCRIPT_SETTING(WaterShadows); | ||||
DECLARE_BOOLEAN_SCRIPT_SETTING(Fog); | DECLARE_BOOLEAN_SCRIPT_SETTING(Fog); | ||||
DECLARE_BOOLEAN_SCRIPT_SETTING(Silhouettes); | DECLARE_BOOLEAN_SCRIPT_SETTING(Silhouettes); | ||||
DECLARE_BOOLEAN_SCRIPT_SETTING(ShowSky); | DECLARE_BOOLEAN_SCRIPT_SETTING(ShowSky); | ||||
DECLARE_BOOLEAN_SCRIPT_SETTING(SmoothLOS); | DECLARE_BOOLEAN_SCRIPT_SETTING(SmoothLOS); | ||||
DECLARE_BOOLEAN_SCRIPT_SETTING(Postproc); | DECLARE_BOOLEAN_SCRIPT_SETTING(PostProc); | ||||
DECLARE_BOOLEAN_SCRIPT_SETTING(DisplayFrustum); | DECLARE_BOOLEAN_SCRIPT_SETTING(DisplayFrustum); | ||||
void RegisterScriptFunctions(const ScriptInterface& scriptInterface); | void RegisterScriptFunctions(const ScriptInterface& scriptInterface); | ||||
} | } | ||||
#undef DECLARE_BOOLEAN_SCRIPT_SETTING | #undef DECLARE_BOOLEAN_SCRIPT_SETTING | ||||
#endif // INCLUDED_JSINTERFACE_RENDERER | #endif // INCLUDED_JSINTERFACE_RENDERER |
Wildfire Games · Phabricator
2019