TombEngine/TR5Main/Scripting
2021-08-21 00:13:44 +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 Fixed some GameFlowScript.cpp warnings: 2021-08-20 02:42:47 +01:00
GameFlowScript.h Make some getters const. 2021-08-17 13:37:08 +01:00
GameLogicScript.cpp Remove some unused includes. 2021-08-17 14:23:47 +01:00
GameLogicScript.h Take CalculateDistance and CalculateHorizontalDistance out of header file as they can be static now. 2021-08-12 19:57:17 +01:00
GameScriptAIObject.cpp Give newindex errors to script classes which already have index errors. 2021-08-20 01:41:14 +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 Make AudioTrack documentation stub. 2021-08-15 23:07:22 +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 Give newindex errors to script classes which already have index errors. 2021-08-20 01:41:14 +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 Fixed some GameFlowScript.cpp warnings: 2021-08-20 02:42:47 +01:00
GameScriptInventoryObject.h Fixed some GameFlowScript.cpp warnings: 2021-08-20 02:42:47 +01:00
GameScriptItemInfo.cpp Give newindex errors to script classes which already have index errors. 2021-08-20 01:41:14 +01:00
GameScriptItemInfo.h Rearrange GameScriptItemInfo a bit. 2021-07-23 02:03:31 +01:00
GameScriptLevel.cpp Add unlimitedAir documentation comment. 2021-08-20 01:48:06 +01:00
GameScriptLevel.h Remove comments; these are technically no longer unused as they're linked up with Lua variables. 2021-08-20 02:43:56 +01:00
GameScriptMeshInfo.cpp Fix some documentation. 2021-08-20 01:51:16 +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 Move index_error_maker into new file (ScriptUtil.h). Add newindex_error_maker. Make them call ScriptAssert instead of just throwing an exception so it won't terminate the application on WARN or SILENT error modes. 2021-08-20 01:37:49 +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 Document errorMode. Make it an enum on the Lua side rather than a string. 2021-08-16 12:52:06 +01:00
GameScriptSettings.h Document errorMode. Make it an enum on the Lua side rather than a string. 2021-08-16 12:52:06 +01:00
GameScriptSinkInfo.cpp Fix some documentation. 2021-08-20 01:51:16 +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 Add newindex error to SoundSourceInfo. 2021-08-20 01:51:51 +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.h Remove obsolete class. 2021-08-20 03:01:32 +01: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 Rename SetErrorMode to SetScriptErrorMode to avoid VS getting confused by some MS function with the same name. Add GetScriptErrorMode. 2021-08-21 00:13:44 +01:00
ScriptAssert.h Rename SetErrorMode to SetScriptErrorMode to avoid VS getting confused by some MS function with the same name. Add GetScriptErrorMode. 2021-08-21 00:13:44 +01:00
ScriptUtil.h Move index_error_maker into new file (ScriptUtil.h). Add newindex_error_maker. Make them call ScriptAssert instead of just throwing an exception so it won't terminate the application on WARN or SILENT error modes. 2021-08-20 01:37:49 +01:00