|
Polyphase Game Engine
|
#include "Utilities.h"#include "Log.h"#include "Constants.h"#include "Renderer.h"#include "Maths.h"#include "Engine.h"#include "TableDatum.h"#include "Assets/Scene.h"#include "Nodes/3D/StaticMesh3d.h"#include <iostream>#include <fstream>#include <ctype.h>#include <sys/types.h>#include <sys/stat.h>#include "System/System.h"#include "Input/Input.h"#include <btBulletDynamicsCommon.h>#include "Script.h"#include "LuaBindings/Vector_Lua.h"#include "LuaBindings/Asset_Lua.h"#include "LuaBindings/Node_Lua.h"#include "LuaBindings/Widget_Lua.h"Functions | |
| Platform | GetPlatform () |
| bool | IsPlatformConsole (Platform platform) |
| std::string | StringToLower (const std::string &str) |
| std::string | StringToUpper (const std::string &str) |
| std::string | GetCurrentDirectoryPath () |
| void | SetWorkingDirectory (const std::string &dirPath) |
| bool | DoesDirExist (const char *dirPath) |
| void | CreateDir (const char *dirPath) |
| void | RemoveDir (const char *dirPath) |
| std::string | GetDirShortName (const std::string &dirName) |
| void | CreateSymLink (const std::string &original, const std::string &link) |
| btCollisionShape * | CloneCollisionShape (const btCollisionShape *srcShape) |
| void | DestroyCollisionShape (btCollisionShape *shape) |
| void | DebugDrawCollisionShape (btCollisionShape *collisionShape, Node3D *node, const glm::mat4 &parentTransform, std::vector< DebugDraw > *inoutDraws) |
| uint32_t | OctHashString (const char *key) |
| void | GatherAllNodeNames (std::vector< std::string > &outNames) |
| Property * | FindProperty (std::vector< Property > &props, const std::string &name) |
| void | CopyPropertyValues (std::vector< Property > &dstProps, const std::vector< Property > &srcProps) |
| uint32_t | GetStringSerializationSize (const std::string &str) |
| const char * | GetPlatformString (Platform platform) |
| uint8_t | ConvertKeyCodeToChar (uint8_t keyCode, bool shiftDown) |
| glm::mat4 | MakeTransform (glm::vec3 translation, glm::vec3 rotation, glm::vec3 scale) |
| btTransform | MakeBulletTransform (glm::vec3 translation, glm::vec3 rotationDegrees) |
| void | GatherNonDefaultProperties (Node *node, std::vector< Property > &props, NodePtr refNode) |
| void | GatherSubSceneOverrides (Node *node, Node *sceneRoot, std::vector< SubSceneOverride > &overs) |
| void | ApplySubSceneOverride (Node *sceneRoot, const SubSceneOverride &over) |
| void | RemoveSpacesFromString (std::string &str) |
| void | AddDebugDraw (const DebugDraw &draw) |
| void | AddDebugDraw (StaticMesh *mesh, glm::vec3 position, glm::quat rotation, glm::vec3 scale, glm::vec4 color, float life, Material *material) |
| void | AddDebugDraw (StaticMesh *mesh, glm::vec3 position, glm::vec3 rotation, glm::vec3 scale, glm::vec4 color, float life, Material *material) |
| void | CreateTableLua (lua_State *L, const Datum &datum) |
| void | CreateTableCpp (lua_State *L, int tableIdx, Datum &datum) |
| void | LuaPushDatum (lua_State *L, const Datum &arg) |
| Datum | LuaObjectToDatum (lua_State *L, int idx) |
| void | LuaObjectToDatum (lua_State *L, int idx, Datum &datum) |
| glm::vec3 | EnforceEulerRange (const glm::vec3 &eulerAngles) |
| void AddDebugDraw | ( | const DebugDraw & | draw | ) |
| void AddDebugDraw | ( | StaticMesh * | mesh, |
| glm::vec3 | position, | ||
| glm::quat | rotation, | ||
| glm::vec3 | scale, | ||
| glm::vec4 | color, | ||
| float | life, | ||
| Material * | material | ||
| ) |
| void AddDebugDraw | ( | StaticMesh * | mesh, |
| glm::vec3 | position, | ||
| glm::vec3 | rotation, | ||
| glm::vec3 | scale, | ||
| glm::vec4 | color, | ||
| float | life, | ||
| Material * | material | ||
| ) |
| void ApplySubSceneOverride | ( | Node * | sceneRoot, |
| const SubSceneOverride & | over | ||
| ) |
| btCollisionShape * CloneCollisionShape | ( | const btCollisionShape * | srcShape | ) |
| uint8_t ConvertKeyCodeToChar | ( | uint8_t | keyCode, |
| bool | shiftDown | ||
| ) |
| void CopyPropertyValues | ( | std::vector< Property > & | dstProps, |
| const std::vector< Property > & | srcProps | ||
| ) |
| void CreateDir | ( | const char * | dirPath | ) |
| void CreateSymLink | ( | const std::string & | original, |
| const std::string & | link | ||
| ) |
| void CreateTableCpp | ( | lua_State * | L, |
| int | tableIdx, | ||
| Datum & | datum | ||
| ) |
| void CreateTableLua | ( | lua_State * | L, |
| const Datum & | datum | ||
| ) |
| void DebugDrawCollisionShape | ( | btCollisionShape * | collisionShape, |
| Node3D * | node, | ||
| const glm::mat4 & | parentTransform, | ||
| std::vector< DebugDraw > * | inoutDraws | ||
| ) |
| void DestroyCollisionShape | ( | btCollisionShape * | shape | ) |
| bool DoesDirExist | ( | const char * | dirPath | ) |
| glm::vec3 EnforceEulerRange | ( | const glm::vec3 & | eulerAngles | ) |
| void GatherAllNodeNames | ( | std::vector< std::string > & | outNames | ) |
| void GatherSubSceneOverrides | ( | Node * | node, |
| Node * | sceneRoot, | ||
| std::vector< SubSceneOverride > & | overs | ||
| ) |
| std::string GetCurrentDirectoryPath | ( | ) |
| std::string GetDirShortName | ( | const std::string & | dirName | ) |
| Platform GetPlatform | ( | ) |
| const char * GetPlatformString | ( | Platform | platform | ) |
| uint32_t GetStringSerializationSize | ( | const std::string & | str | ) |
| bool IsPlatformConsole | ( | Platform | platform | ) |
| Datum LuaObjectToDatum | ( | lua_State * | L, |
| int | idx | ||
| ) |
| void LuaObjectToDatum | ( | lua_State * | L, |
| int | idx, | ||
| Datum & | datum | ||
| ) |
| void LuaPushDatum | ( | lua_State * | L, |
| const Datum & | arg | ||
| ) |
| btTransform MakeBulletTransform | ( | glm::vec3 | translation, |
| glm::vec3 | rotationDegrees | ||
| ) |
| glm::mat4 MakeTransform | ( | glm::vec3 | translation, |
| glm::vec3 | rotation, | ||
| glm::vec3 | scale | ||
| ) |
| uint32_t OctHashString | ( | const char * | key | ) |
| void RemoveDir | ( | const char * | dirPath | ) |
| void RemoveSpacesFromString | ( | std::string & | str | ) |
| void SetWorkingDirectory | ( | const std::string & | dirPath | ) |
| std::string StringToLower | ( | const std::string & | str | ) |
| std::string StringToUpper | ( | const std::string & | str | ) |