|
Polyphase Game Engine
|
#include <stdio.h>#include "Renderer.h"#include "World.h"#include "InputDevices.h"#include "Input/PlayerInputSystem.h"#include "Engine.h"#include "Log.h"#include "Script.h"#include "Assets/Scene.h"#include "Assets/Timeline.h"#include "Assets/NodeGraphAsset.h"#include "Assets/TinyLLMAsset.h"#include "Assets/TinyLLMTokenizerAsset.h"#include "TinyLLMManager.h"#include "TweenManager.h"#include "Timeline/TimelineTrack.h"#include "Timeline/TimelineClip.h"#include "Timeline/Tracks/TransformTrack.h"#include "Timeline/Tracks/TransformClip.h"#include "Timeline/Tracks/AudioTrack.h"#include "Timeline/Tracks/AudioClip.h"#include "Timeline/Tracks/AnimationTrack.h"#include "Timeline/Tracks/AnimationClip.h"#include "Timeline/Tracks/ScriptValueTrack.h"#include "Timeline/Tracks/ScriptValueClip.h"#include "Timeline/Tracks/ActivateTrack.h"#include "Timeline/Tracks/ActivateClip.h"#include "Timeline/Tracks/FunctionCallTrack.h"#include "Timeline/Tracks/FunctionCallClip.h"#include "Nodes/TimelinePlayer.h"#include "Nodes/NodeGraphPlayer.h"#include "AssetManager.h"#include "NetworkManager.h"#include "Network/Http/HttpClient.h"#include "SerialManager.h"#include "WindowManager.h"#include "ToolTipManager.h"#include "AudioManager.h"#include "Constants.h"#include "Utilities.h"#include "Profiler.h"#include "Maths.h"#include "ScriptAutoReg.h"#include "ScriptFunc.h"#include "TimerManager.h"#include "SignalBus.h"#include "Nodes/Widgets/Button.h"#include "FileWatcher.h"#include "ScriptUtils.h"#include "System/System.h"#include "Graphics/Graphics.h"#include "Input/Input.h"#include "Audio/Audio.h"#include "Plugins/RuntimePluginManager.h"#include "NodeGraph/GraphDomainManager.h"#include "NodeGraph/Domains/MaterialDomain.h"#include "NodeGraph/Domains/ShaderDomain.h"#include "NodeGraph/Domains/ProceduralDomain.h"#include "NodeGraph/Domains/AnimationDomain.h"#include "NodeGraph/Domains/FSMDomain.h"#include "NodeGraph/Domains/SceneGraphDomain.h"Macros | |
| #define | OCT_LUA_DEBUGGING (PLATFORM_WINDOWS) |
Functions | |
| const std::vector< std::string > & | GetDefaultSceneNames () |
| void | SetDefaultSceneNames (const std::vector< std::string > &names) |
| void | OnScriptFileChanged (const FileChangeEvent &event) |
| void | ForceLinkage () |
| Platform | StringToPlatform (const char *str) |
| bool | IsHeadless () |
| void | ReadCommandLineArgs (int32_t argc, char **argv) |
| bool | Initialize () |
| bool | Update () |
| void | Shutdown () |
| void | Quit () |
| World * | GetWorld (int32_t index) |
| int32_t | GetNumWorlds () |
| EngineState * | GetEngineState () |
| const EngineConfig * | GetEngineConfig () |
| EngineConfig * | GetMutableEngineConfig () |
| void | RegisterOctHooks (const OctGameHooks &hooks) |
| const OctGameHooks & | GetOctHooks () |
| const Clock * | GetAppClock () |
| bool | IsShuttingDown () |
| void | LoadProject (const std::string &path, bool discoverAssets) |
| void | EnableConsole (bool enable) |
| void | ResizeWindow (uint32_t width, uint32_t height) |
| bool | IsPlayingInEditor () |
| bool | IsPlaying () |
| bool | IsGameTickEnabled () |
| void | ReloadAllScripts (bool restartComponents) |
| void | SetScriptHotReloadEnabled (bool enabled) |
| bool | IsScriptHotReloadEnabled () |
| void | SetPaused (bool paused) |
| bool | IsPaused () |
| void | FrameStep () |
| void | SetTimeDilation (float timeDilation) |
| float | GetTimeDilation () |
| void | GarbageCollect () |
| void | GatherGlobalProperties (std::vector< Property > &props) |
| void | SetScreenOrientation (ScreenOrientation mode) |
| ScreenOrientation | GetScreenOrientation () |
| void | WriteProjectFile (const std::string &path, const std::string &newName) |
| void | WriteEngineConfig (std::string path) |
| void | ReadEngineConfig (std::string path) |
| void | ResetEngineConfig () |
| lua_State * | GetLua () |
| void | GameMain (int32_t argc, char **argv) |
| int | main (int argc, char **argv) |
| #define OCT_LUA_DEBUGGING (PLATFORM_WINDOWS) |
| void EnableConsole | ( | bool | enable | ) |
| void ForceLinkage | ( | ) |
| void FrameStep | ( | ) |
| void GameMain | ( | int32_t | argc, |
| char ** | argv | ||
| ) |
| void GarbageCollect | ( | ) |
| void GatherGlobalProperties | ( | std::vector< Property > & | props | ) |
| const Clock * GetAppClock | ( | ) |
| const std::vector< std::string > & GetDefaultSceneNames | ( | ) |
| const EngineConfig * GetEngineConfig | ( | ) |
| EngineState * GetEngineState | ( | ) |
| lua_State * GetLua | ( | ) |
| EngineConfig * GetMutableEngineConfig | ( | ) |
| int32_t GetNumWorlds | ( | ) |
| const OctGameHooks & GetOctHooks | ( | ) |
| ScreenOrientation GetScreenOrientation | ( | ) |
| float GetTimeDilation | ( | ) |
| World * GetWorld | ( | int32_t | index | ) |
| bool Initialize | ( | ) |
| bool IsGameTickEnabled | ( | ) |
| bool IsHeadless | ( | ) |
| bool IsPaused | ( | ) |
| bool IsPlaying | ( | ) |
| bool IsPlayingInEditor | ( | ) |
| bool IsScriptHotReloadEnabled | ( | ) |
| bool IsShuttingDown | ( | ) |
| void LoadProject | ( | const std::string & | path, |
| bool | discoverAssets | ||
| ) |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
| void OnScriptFileChanged | ( | const FileChangeEvent & | event | ) |
| void Quit | ( | ) |
| void ReadCommandLineArgs | ( | int32_t | argc, |
| char ** | argv | ||
| ) |
| void ReadEngineConfig | ( | std::string | path | ) |
| void RegisterOctHooks | ( | const OctGameHooks & | hooks | ) |
| void ReloadAllScripts | ( | bool | restartComponents | ) |
| void ResetEngineConfig | ( | ) |
| void ResizeWindow | ( | uint32_t | width, |
| uint32_t | height | ||
| ) |
| void SetDefaultSceneNames | ( | const std::vector< std::string > & | names | ) |
| void SetPaused | ( | bool | paused | ) |
| void SetScreenOrientation | ( | ScreenOrientation | mode | ) |
| void SetScriptHotReloadEnabled | ( | bool | enabled | ) |
| void SetTimeDilation | ( | float | timeDilation | ) |
| void Shutdown | ( | ) |
| Platform StringToPlatform | ( | const char * | str | ) |
| bool Update | ( | ) |
| void WriteEngineConfig | ( | std::string | path | ) |
| void WriteProjectFile | ( | const std::string & | path, |
| const std::string & | newName | ||
| ) |