Commit graph

82 commits

Author SHA1 Message Date
hispidence
93bdf9af07 SoundSource modernisation. 2022-02-10 18:37:16 +00:00
hispidence
1885e14b80 GameScriptSoundSource -> Objects/SoundSource/SoundSource 2022-02-10 18:37:16 +00:00
hispidence
07b5e887a9 More Sink modernisation. 2022-02-10 18:37:16 +00:00
hispidence
306f6ba920 Move and rename GameScriptSinkInfo -> Sink/Sink. 2022-02-10 18:37:16 +00:00
hispidence
89cea39a81 GameScriptNamedBase -> NamedBase. 2022-02-10 18:37:16 +00:00
hispidence
f67e22a04a Move GameScriptNamedBase. 2022-02-10 18:37:16 +00:00
hispidence
6267ee26fc GameScriptCameraInfo->Camera.
Remove sol::state* arg from Register functions.
2022-02-10 18:37:16 +00:00
hispidence
51e0888f9f Move GameScriptCameraInfo. 2022-02-10 18:37:16 +00:00
hispidence
ec2dad1400 Put Static and AIObject in their parents' tables. 2022-02-10 18:37:15 +00:00
hispidence
b11b054bc2 Lots of renames and table assignments. 2022-02-10 18:37:15 +00:00
hispidence
86d7370c80 More GameLogicScript -> LogicHandler changes. 2022-02-10 18:37:15 +00:00
hispidence
c71865dc3d Rename GameLogicScript files to LogicHandler and move them to Logic. 2022-02-10 18:37:15 +00:00
hispidence
a9702bf22c More GameScriptDisplayString -> DisplayString changes. 2022-02-10 18:37:15 +00:00
hispidence
b33dced728 Rename GameScriptDiplayString files to DisplayString. 2022-02-10 18:37:14 +00:00
hispidence
4d2daa96cf GameScriptMeshInfo->Static 2022-02-10 18:37:14 +00:00
hispidence
77b50c1bbc Put AIObject into folder. 2022-02-10 18:37:14 +00:00
hispidence
a69c31d608 Forgot some stuff. Update lib and pdb. 2022-02-10 18:37:13 +00:00
hispidence
4b6b733558 Rename GameFlowScript to Flow. Make Flow and Objects take parent tables and add their stuff to said tables. 2022-02-10 18:37:13 +00:00
hispidence
f0295af4fa GameScriptItemInfo->Moveable. 2022-02-10 18:37:12 +00:00
hispidence
6900d3ff2a Start fixing up documentation. 2022-02-10 18:36:04 +00:00
hispidence
23e8d810ae Rename Entities -> ObjectsHandler. 2022-02-10 18:36:03 +00:00
hispidence
ce960d1052 Remove wrong .lib and .pdb with correct ones. 2022-02-10 18:36:02 +00:00
hispidence
00b6e76bea Rename some files and folders. 2022-02-10 18:36:02 +00:00
hispidence
54b519776c Turn off whole-program optimization to make the libs not-massive. 2022-02-10 18:36:01 +00:00
hispidence
f9f0ac5839 Split display strings from GameLogicScript. 2022-02-10 18:36:00 +00:00
hispidence
8a4ca06b25 Move GameScriptItemInfo to Entities/Moveable. Move ObjectIDs to Entities.
Move MakeReadOnlyTable to ScriptUtil.h and make the ObjID table in Entities.cpp.

Fix some other stuff I missed in other commits.
2022-02-10 18:35:47 +00:00
hispidence
7eb571d370 Remove old references. 2022-02-10 18:35:18 +00:00
hispidence
f447a386e2 Entity->Entities. 2022-02-10 18:35:18 +00:00
hispidence
8bcc41ef77 Begin to split GameLogicScript. First up is Entity. 2022-02-10 18:35:17 +00:00
hispidence
6cc329f43f Move GameScriptMeshInfo to its own subfolder. 2022-02-10 18:35:17 +00:00
hispidence
b3443ba328 Make DoTitle take the title of an ambient track by reference. Update DoLevel to do the same. 2022-02-10 18:35:17 +00:00
hispidence
14f0b710fb Take vanilla/TRNG stuff out of Tracks.lua (which is now no longer needed) and partially replicate it in the C++ side of things. 2022-02-10 18:35:17 +00:00
hispidence
4d8fbe279c Have GetSkyLayerColor, GetSkyLayerEnabled and GetSkyLayerSpeed use assertion instead of ScriptAssert, as these are internal functions, and not Lua-bound. 2022-02-10 18:35:17 +00:00
hispidence
dc11d354b2 Cleanup. Add file references, clean up some todos, register GameScriptSkyLayer::GetColor, remove an unused function, change some includes that for some reason didn't stop it from compiling beforehand. 2022-02-10 18:35:17 +00:00
hispidence
7c380d12a2 Move all internal headers to Scripting/src. Only the ScriptInterface* should be visible to the rest of TEN. 2022-02-10 18:35:16 +00:00
hispidence
a8f1d3b3be Compile fixes. Don't be alarmed at the removal of the save vectors, they weren't connected to anything yet. 2022-02-10 18:35:16 +00:00
hispidence
83b856dce8 Change headers, move a global. 2022-02-10 18:35:16 +00:00
hispidence
b815227b16 Linker fixes. TEN now builds and runs again. Testing and cleanup to follow. 2022-02-10 18:35:15 +00:00
hispidence
74dc3f7c4f Yet more compile fixes. 2022-02-10 18:35:15 +00:00
hispidence
a66b6cc230 More compile fixes. I decided to worry about getters/setters later and just allow public members to continue to be public for now. 2022-02-10 18:35:15 +00:00
hispidence
1e31dc52d5 More compile fixes. 2022-02-10 18:34:34 +00:00
hispidence
cd9c3e7544 Associated compile fixes. Some of these are dirty and temporary-ish. 2022-02-10 18:34:34 +00:00
hispidence
0834bf805f Make new colour class, RGBAColor8Byte (the name is a work-in-progress, I promise), and move some GameScriptColor stuff into it. 2022-02-10 18:34:33 +00:00
hispidence
2a9175f5fb Partially integrate ScriptInterfaceFlow and replace instances of direct access to Animations members. 2022-02-10 18:34:11 +00:00
hispidence
4429bd8aa2 Add ScriptInterfaceFlow and ScriptInterfaceState. Add references. 2022-02-10 18:34:11 +00:00
hispidence
b59b7e4a1c Fix compile after moving files. 2022-02-10 18:34:11 +00:00
hispidence
c48e801ebf Move over the remaining Script-related files from TR5Main to Scripting. 2022-02-10 18:34:10 +00:00
hispidence
967316cb31 Move GameFlowScript, GameLogicScript and LuaHandler to Scripting. 2022-02-10 18:34:03 +00:00
hispidence
b2350fd600 Move GameScriptFreeFunctions over. 2022-02-10 18:33:15 +00:00
hispidence
e84e19980a Move GameScriptAnimations. 2022-02-10 18:32:29 +00:00