RigsofRods
Soft-body Physics Simulation
AngelScriptBindings.h
Go to the documentation of this file.
1 /*
2  This source file is part of Rigs of Rods
3  Copyright 2005-2012 Pierre-Michel Ricordel
4  Copyright 2007-2012 Thomas Fischer
5  Copyright 2013-2022 Petr Ohlidal
6 
7  For more information, see http://www.rigsofrods.org/
8 
9  Rigs of Rods is free software: you can redistribute it and/or modify
10  it under the terms of the GNU General Public License version 3, as
11  published by the Free Software Foundation.
12 
13  Rigs of Rods is distributed in the hope that it will be useful,
14  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  GNU General Public License for more details.
17 
18  You should have received a copy of the GNU General Public License
19  along with Rigs of Rods. If not, see <http://www.gnu.org/licenses/>.
20 */
21 
22 #pragma once
23 
24 #include <angelscript.h>
25 
27 
28 namespace RoR {
29 
32 
34 void RegisterActor(AngelScript::asIScriptEngine* engine);
35 
37 void RegisterVehicleAi(AngelScript::asIScriptEngine* engine);
38 
40 void RegisterInputEngine(AngelScript::asIScriptEngine* engine);
41 
43 void RegisterConsole(AngelScript::asIScriptEngine* engine);
44 
46 void RegisterLocalStorage(AngelScript::asIScriptEngine* engine);
47 
49 void RegisterGameScript(AngelScript::asIScriptEngine* engine);
50 
52 void RegisterScriptEvents(AngelScript::asIScriptEngine* engine);
53 
55 void RegisterImGuiBindings(AngelScript::asIScriptEngine* engine);
56 
57 // This function will register the following objects with the scriptengine:
58 // - Ogre::Vector3
59 // - Ogre::Vector2
60 // - Ogre::Radian
61 // - Ogre::Degree
62 // - Ogre::Quaternion
63 // - Ogre::ColourValue
65 void RegisterOgreObjects(AngelScript::asIScriptEngine* engine);
66 
68 void RegisterTerrain(AngelScript::asIScriptEngine* engine);
69 
71 void RegisterProceduralRoad(AngelScript::asIScriptEngine* engine);
72 
74 void RegisterGenericFileFormat(AngelScript::asIScriptEngine* engine);
75 
77 void RegisterMessageQueue(AngelScript::asIScriptEngine* engine);
78 
80 void RegisterSoundScript(AngelScript::asIScriptEngine* engine);
81 
83 void RegisterCacheSystem(AngelScript::asIScriptEngine* engine);
84 
86 
87 } // namespace RoR
RoR::RegisterOgreObjects
void RegisterOgreObjects(AngelScript::asIScriptEngine *engine)
defined in OgreAngelscript.cpp
Definition: OgreAngelscript.cpp:683
RoR::RegisterLocalStorage
void RegisterLocalStorage(AngelScript::asIScriptEngine *engine)
Registers RoR::LocalStorage, defined in LocalStorageAngelscript.cpp.
RoR::RegisterVehicleAi
void RegisterVehicleAi(AngelScript::asIScriptEngine *engine)
defined in VehicleAiAngelscript.cpp
RoR::RegisterCacheSystem
void RegisterCacheSystem(AngelScript::asIScriptEngine *engine)
defined in CacheSystemAngelscript.cpp
RoR::RegisterConsole
void RegisterConsole(AngelScript::asIScriptEngine *engine)
Registers RoR::Console, defined in ConsoleAngelscript.cpp.
RoR::RegisterTerrain
void RegisterTerrain(AngelScript::asIScriptEngine *engine)
Registers RoR::Terrain, defined in TerrainAngelscript.cpp.
RoR::RegisterProceduralRoad
void RegisterProceduralRoad(AngelScript::asIScriptEngine *engine)
defined in ProceduralRoadAngelscript.cpp
RoR::RegisterGameScript
void RegisterGameScript(AngelScript::asIScriptEngine *engine)
Registers RoR::GameScript, defined in GameScriptAngelscript.cpp.
RoR::RegisterGenericFileFormat
void RegisterGenericFileFormat(AngelScript::asIScriptEngine *engine)
defined in GenericFileFormatAngelscript.cpp
RoR::RegisterScriptEvents
void RegisterScriptEvents(AngelScript::asIScriptEngine *engine)
Registers enum scriptEvents, defined in ScriptEventsAngelscript.cpp.
RoR::RegisterActor
void RegisterActor(AngelScript::asIScriptEngine *engine)
defined in ActorAngelscript.cpp
RoR::RegisterImGuiBindings
void RegisterImGuiBindings(AngelScript::asIScriptEngine *engine)
defined in ImGuiAngelscript.cpp
Definition: ImGuiAngelscript.cpp:53
RoR::RegisterMessageQueue
void RegisterMessageQueue(AngelScript::asIScriptEngine *engine)
Registers enum MsgType, defined in MsgQueueAngelscript.cpp.
RoR::RegisterSoundScript
void RegisterSoundScript(AngelScript::asIScriptEngine *engine)
defined in SoundScriptAngelscript.cpp
Definition: SoundScriptAngelscript.cpp:30
RoR::RegisterInputEngine
void RegisterInputEngine(AngelScript::asIScriptEngine *engine)
Registers RoR::InputEngine, defined in InputEngineAngelscript.cpp.
RoR
Definition: AppContext.h:36