Commit graph

3238 commits

Author SHA1 Message Date
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
4eca2f5826 Make assertion print an error if it fails. 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
ee81c1a267 Change yet more headers. 2022-02-10 18:35:16 +00:00
hispidence
7911d0115a Change more headers. 2022-02-10 18:35:16 +00:00
hispidence
83b856dce8 Change headers, move a global. 2022-02-10 18:35:16 +00:00
hispidence
c2c6155307 Replace some headers. 2022-02-10 18:35:16 +00:00
hispidence
138624bdc8 Remove more Lua-specific stuff. 2022-02-10 18:35:15 +00:00
hispidence
745427afa0 Forgot a pretty important change. 2022-02-10 18:35:15 +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
hispidence
8ac6a94e1d Move over GameScriptItemInfo. 2022-02-10 18:32:29 +00:00
hispidence
d7a0e13a36 Move some files around so we can keep doing #include "Scripting/FileNameHere.h" 2022-02-10 18:32:29 +00:00
hispidence
e171d407ca More includes; stuff to get it compiling. 2022-02-10 18:32:29 +00:00
hispidence
230e479936 Include ScriptInterfaceLevel; call new functions. 2022-02-10 18:32:28 +00:00
hispidence
ac4d8c07f3 Implement GetSkyLayerEnabled and GetSkyLayerSpeed. 2022-02-10 18:32:14 +00:00
hispidence
d038dcf736 Update project references. 2022-02-10 18:32:14 +00:00
hispidence
f054f29b4c Make GameScriptLevel inherit from ScriptInterfaceLevel.h. 2022-02-10 18:32:13 +00:00
hispidence
9139a79367 Add ScriptInterfaceLevel. Move ScriptInterfaceGame and GameScriptLevel to Scripting. 2022-02-10 18:31:36 +00:00
hispidence
fe978daa9d Move GameScriptSettings over to Scripting. 2022-02-10 18:31:36 +00:00
hispidence
2889a62704 Move GameScriptDisplayString over to Scripting. 2022-02-10 18:31:35 +00:00
hispidence
610b736572 Remove references to files from vcxproj filters. 2022-02-10 18:31:35 +00:00
hispidence
7df2b154a3 Move GameScriptMirror, GameScriptSinkInfo and GameScriptSkyLayer to Scripting. 2022-02-10 18:31:35 +00:00
hispidence
e0cbde2135 Move GameScriptAudioTrack and GameScriptMeshInfo to Scripting. 2022-02-10 18:31:35 +00:00
hispidence
a2ecc0e55c Move GameScriptInventoryObject to Scripting (and some stuff to Common to make it compile). 2022-02-10 18:31:35 +00:00
hispidence
71946c6f93 Move ChunkReader.h to Common. 2022-02-10 18:31:35 +00:00
hispidence
cf610245f1 Move more files. Define MINMAX. 2022-02-10 18:31:35 +00:00
hispidence
e20d5da736 Turn off conformance mode for scripting. Move some headers. 2022-02-10 18:31:34 +00:00
hispidence
c433cd1c1b Move more headers. 2022-02-10 18:31:34 +00:00
hispidence
a499f878d2 Move over GameScriptAIObject and some other things to Scripting. This won't build... yet. 2022-02-10 18:31:34 +00:00
hispidence
52011310b5 Fix float<->byte color calculations. 2022-02-10 18:31:34 +00:00
hispidence
7c484d2510 Move Color to Scripting. 2022-02-10 18:31:34 +00:00
hispidence
416be03d95 Fix build in debug. 2022-02-10 18:31:34 +00:00