TombEngine/TR5Main/Scripting
2021-08-12 02:43:59 +01:00
..
AudioTracks.h Make hardcoded array of audio names, as they would normally be loaded from SCRIPT.DAT which is being removed - this is only present until a new system is in-place for them. 2021-06-16 14:29:50 +01:00
GameFlowScript.cpp Update GameFlowScript to account for the changes made to GameScriptInventoryObject. 2021-08-11 01:28:37 +01:00
GameFlowScript.h Clean up GameFlowScript. 2021-08-07 19:13:36 +01:00
GameLogicScript.cpp Fix documentation; Level -> LevelVars. 2021-08-12 02:43:59 +01:00
GameLogicScript.h Make m_levelFuncs an unordered_set, as these seem to be the proper structure to use when the key IS the value. 2021-08-06 16:47:24 +01:00
GameScriptAIObject.cpp Replace WarningsAsErrors usage with ScriptAssert usage. 2021-08-04 16:51:28 +01:00
GameScriptAIObject.h Delete copy operations for GameScriptAIObject, GameScriptCameraInfo, GameScriptSinkInfo and GameScriptSoundSourceInfo - this can be changed later, but for now is a safety measure since we hold a reference, which means copying these would take some extra thought. 2021-07-26 18:25:50 +01:00
GameScriptAudioTrack.cpp Move GameScriptLevel, GameScriptAudioTrack, GameScriptInventoryObject, GameScriptSkyLayer, GameScriptSettings and GameScriptMirror into their own files. This could be changed later as this does create many small .h and .cpp files, but for now this cleans things up and makes it easier to check things class by class. 2021-07-28 18:44:24 +01:00
GameScriptAudioTrack.h Move GameScriptLevel, GameScriptAudioTrack, GameScriptInventoryObject, GameScriptSkyLayer, GameScriptSettings and GameScriptMirror into their own files. This could be changed later as this does create many small .h and .cpp files, but for now this cleans things up and makes it easier to check things class by class. 2021-07-28 18:44:24 +01:00
GameScriptCameraInfo.cpp Replace WarningsAsErrors usage with ScriptAssert usage. 2021-08-04 16:51:28 +01:00
GameScriptCameraInfo.h Delete copy operations for GameScriptAIObject, GameScriptCameraInfo, GameScriptSinkInfo and GameScriptSoundSourceInfo - this can be changed later, but for now is a safety measure since we hold a reference, which means copying these would take some extra thought. 2021-07-26 18:25:50 +01:00
GameScriptColor.cpp Clean up GameScriptColor. 2021-08-07 19:03:27 +01:00
GameScriptColor.h Clean up GameScriptColor. 2021-08-07 19:03:27 +01:00
GameScriptInventoryObject.cpp Add default member initialisers, SetSlot function, and default constructor for GameScriptInventoryObject. 2021-08-11 14:38:24 +01:00
GameScriptInventoryObject.h Add default member initialisers, SetSlot function, and default constructor for GameScriptInventoryObject. 2021-08-11 14:38:24 +01:00
GameScriptItemInfo.cpp Fix wrong name in ItemInfo documentation. 2021-08-11 01:21:11 +01:00
GameScriptItemInfo.h Rearrange GameScriptItemInfo a bit. 2021-07-23 02:03:31 +01:00
GameScriptLevel.cpp Update Level documentation. 2021-08-11 14:50:10 +01:00
GameScriptLevel.h Remove GameScriptLevel members which look superfluous. Mark some others as unused (for now). 2021-08-11 14:51:21 +01:00
GameScriptMeshInfo.cpp Replace WarningsAsErrors usage with ScriptAssert usage. 2021-08-04 16:51:28 +01:00
GameScriptMeshInfo.h Add m_temporary to GameScriptMeshInfo, as well as a constructor and destructor. 2021-07-23 02:04:47 +01:00
GameScriptMirror.cpp Add some initial documentation for GameScriptMirror. 2021-08-09 00:07:53 +01:00
GameScriptMirror.h Move GameScriptLevel, GameScriptAudioTrack, GameScriptInventoryObject, GameScriptSkyLayer, GameScriptSettings and GameScriptMirror into their own files. This could be changed later as this does create many small .h and .cpp files, but for now this cleans things up and makes it easier to check things class by class. 2021-07-28 18:44:24 +01:00
GameScriptNamedBase.h Replace WarningsAsErrors usage with ScriptAssert usage. 2021-08-04 16:51:28 +01:00
GameScriptPosition.cpp Move GameScriptLevel, GameScriptAudioTrack, GameScriptInventoryObject, GameScriptSkyLayer, GameScriptSettings and GameScriptMirror into their own files. This could be changed later as this does create many small .h and .cpp files, but for now this cleans things up and makes it easier to check things class by class. 2021-07-28 18:44:24 +01:00
GameScriptPosition.h Add __tostring metamethod to GameScriptPosition, GameScriptRotation and GameScriptColor. 2021-07-23 02:06:50 +01:00
GameScriptRotation.cpp Add __tostring metamethod to GameScriptPosition, GameScriptRotation and GameScriptColor. 2021-07-23 02:06:50 +01:00
GameScriptRotation.h Add default member initialisers and default constructor for GameScriptRotation. 2021-08-11 14:39:26 +01:00
GameScriptSettings.cpp Add ErrorMode to GameScriptSettings (C++) and errorMode to settings (Lua). Call SetErrorMode in LoadGameFlowScript. 2021-08-06 16:44:37 +01:00
GameScriptSettings.h Add ErrorMode to GameScriptSettings (C++) and errorMode to settings (Lua). Call SetErrorMode in LoadGameFlowScript. 2021-08-06 16:44:37 +01:00
GameScriptSinkInfo.cpp Replace WarningsAsErrors usage with ScriptAssert usage. 2021-08-04 16:51:28 +01:00
GameScriptSinkInfo.h Delete copy operations for GameScriptAIObject, GameScriptCameraInfo, GameScriptSinkInfo and GameScriptSoundSourceInfo - this can be changed later, but for now is a safety measure since we hold a reference, which means copying these would take some extra thought. 2021-07-26 18:25:50 +01:00
GameScriptSkyLayer.cpp More cleanup. 2021-08-09 00:54:09 +01:00
GameScriptSkyLayer.h Improve GameScriptSkyLayer. 2021-08-07 19:06:22 +01:00
GameScriptSoundSourceInfo.cpp Replace WarningsAsErrors usage with ScriptAssert usage. 2021-08-04 16:51:28 +01:00
GameScriptSoundSourceInfo.h Delete copy operations for GameScriptAIObject, GameScriptCameraInfo, GameScriptSinkInfo and GameScriptSoundSourceInfo - this can be changed later, but for now is a safety measure since we hold a reference, which means copying these would take some extra thought. 2021-07-26 18:25:50 +01:00
InventorySlots.h Modify InvItem table to map to both GAME_OBJECT_ID and inv_objects. We can't use a std::pair directly since sol::as_table will interpret the unordered_map weirdly if we do. 2021-08-08 23:52:38 +01:00
ItemEnumPair.h Modify InvItem table to map to both GAME_OBJECT_ID and inv_objects. We can't use a std::pair directly since sol::as_table will interpret the unordered_map weirdly if we do. 2021-08-08 23:52:38 +01:00
LanguageScript.cpp Fix line endings 2020-12-21 13:16:29 -03:00
LanguageScript.h Removed test code; Removed scripts from project (they will be created by LD); Added some missing strings for inventory; Added scripting for puzzles; Removed some old code for scripting; 2021-06-23 05:58:24 +02:00
LuaHandler.cpp Change ExecuteScript and ExecuteString to return void and throw a TENScriptException on error. Remove my old comments which didn't really add info. Implement SetSettings. 2021-08-03 15:12:24 +01:00
LuaHandler.h Make MakeReadOnlyTable a member function of LuaHandler so that GameFlow can use it too. 2021-08-07 19:00:45 +01:00
ObjectIDs.h Add ObjectIDs.h. Add documentation comments to InventorySlots.h 2021-07-20 00:14:59 +01:00
ScriptAssert.cpp Add ScriptWarn and SetErrorMode. 2021-08-06 16:43:01 +01:00
ScriptAssert.h Add ScriptWarn and SetErrorMode. 2021-08-06 16:43:01 +01:00