Commit graph

1778 commits

Author SHA1 Message Date
hispidence
5280feb812 Update SetScriptErrorMode call. 2021-08-21 00:15:56 +01:00
hispidence
1621a00b3a 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
hispidence
f7c98f9ccc Set project to C++17, which apparently is what it should be. 2021-08-21 00:11:34 +01:00
MontyTRC89
db15fce51e Fixed missile control routine; Improved ID_CROCODILE_GOD; 2021-08-20 16:03:53 +02:00
MontyTRC89
4991da66f6 Refactored energy bubbles function names; Removed LanguageScript.cpp from the project; Working on ID_CROCODILE_GOD; 2021-08-20 06:00:34 +02:00
MontyTRC89
2e1ac44c08 Merge branch 'master' of https://github.com/MontyTRC89/TombEngine 2021-08-20 05:26:07 +02:00
MontyTRC89
109b7d6e18 Merge branch 'master' of https://github.com/MontyTRC89/TombEngine; Renamed namespaces;
# Conflicts:
#	TR5Main/TR5Main.vcxproj.user
2021-08-20 05:25:51 +02:00
hispidence
bd6d2a998c Remove obsolete class. 2021-08-20 03:01:32 +01:00
hispidence
b5483512f2 Remove comments; these are technically no longer unused as they're linked up with Lua variables. 2021-08-20 02:43:56 +01:00
hispidence
ad7c6fddd1 Fixed some GameFlowScript.cpp warnings:
Remove SkyVelocity1 and SkyVelocity2 - they weren't being used.
Change a loop var to a size_t.
Make GameScriptInventoryObject.yOffset a short.
2021-08-20 02:42:47 +01:00
hispidence
6170ae72e8 Add newindex error to SoundSourceInfo. 2021-08-20 01:51:51 +01:00
hispidence
9fbf00cce5 Fix some documentation. 2021-08-20 01:51:16 +01:00
hispidence
7af11a9bf4 Add unlimitedAir documentation comment. 2021-08-20 01:48:06 +01:00
hispidence
12d896776a Give newindex errors to script classes which already have index errors. 2021-08-20 01:41:14 +01:00
hispidence
e74fa376d1 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
Lwmte
6727138e64 Add RefreshFloorGlobals hack to temporarily fix issues with monkeyswing and possibly other states 2021-08-19 18:43:52 +03:00
MontyTRC89
aa706f010c Fixed locusts; First try of namespaces for objects; 2021-08-19 14:17:21 +02:00
Lwmte
4364e99036 Clean up files, fix build type for cso file 2021-08-19 12:28:39 +03:00
Lwmte
ac5400ec5b Move font to /Textures folder, fix project settings to launch proper binary 2021-08-19 11:41:37 +03:00
MontyTRC89
40a76c648c Merge branch 'master' of https://github.com/MontyTRC89/TombEngine 2021-08-18 11:18:18 +02:00
MontyTRC89
a84b39886e Fixed ID_LOCUST_EMITTER (missing only rendering) 2021-08-18 11:17:42 +02:00
hispidence
12e5b06e4a Remove spammy printf statement. 2021-08-17 14:24:03 +01:00
hispidence
6df0bb5252 Remove some unused includes. 2021-08-17 14:23:47 +01:00
hispidence
5a20f921b0 Make Debug and Release configs build two separate executables. This is to stop Visual Studio getting confused and being unable to hit breakpoints or give callstack information when switching from one config to the other.
Add output console back in for Debug.

Make Release able to compile and run.
2021-08-17 14:23:06 +01:00
hispidence
df51a7a812 Make TENLog use spdlog.
Debug builds output to console and log file (Build/logs/TENLog.txt), and Release only logs to log file.
2021-08-17 14:19:53 +01:00
hispidence
64c6647aaa Add spdlog 1.9.1. 2021-08-17 14:06:08 +01:00
hispidence
3329523091 Make some getters const. 2021-08-17 13:37:08 +01:00
hispidence
906d583e7f Add documentation for SetGameFarView, Level.FarView, and Level.UVRotate, as well as some value checking. 2021-08-17 13:36:34 +01:00
hispidence
d1c67f29cc Remove g_AudioTracks reference from a file where it's not used. 2021-08-17 13:15:38 +01:00
Lwmte
5ae3de037e Revert pushable "fix" 2021-08-17 12:23:57 +03:00
asasas9500
4b2f0211fc Fix laser head 2021-08-16 23:40:51 -03:00
Lwmte
582fa41e44 Update tr5_pushableblock.cpp 2021-08-17 03:13:22 +03:00
hispidence
8cba52f026 Fix assert error message. 2021-08-17 00:30:21 +01:00
Troye
0aa262852a Fix camera on waterout and block pulling/pushing 2021-08-16 18:05:38 -05:00
Lwmte
4b3964a6ae Fix pushable detection without hacks 2021-08-17 01:40:25 +03:00
asasas9500
b04354e35a Remove hack remains 2021-08-16 18:19:40 -03:00
Lwmte
b9c52e1038 Fix big scorpion and harpy poisoning 2021-08-17 00:15:09 +03:00
Lwmte
6202f367b0 Rollback regression from 6235959889 2021-08-16 18:55:25 +03:00
Lwmte
1df5e432c2 Fix sol compile error on release build 2021-08-16 17:22:37 +03:00
hispidence
10e1479d33 Compile updated docs. 2021-08-16 12:55:22 +01:00
hispidence
67fc07163e Make LogLevel::Error print to cout instead of cerr so it reaches the console window. 2021-08-16 12:53:33 +01:00
hispidence
9271172129 Fail assert if string is not found. 2021-08-16 12:52:45 +01:00
hispidence
e5d12a56f2 Document errorMode. Make it an enum on the Lua side rather than a string. 2021-08-16 12:52:06 +01:00
MontyTRC89
85b26b4238 Merge branch 'master' of https://github.com/MontyTRC89/TombEngine 2021-08-16 05:45:10 +02:00
MontyTRC89
075c35ef95 Fixed ID_HAMMERHEAD 2021-08-16 05:44:55 +02:00
hispidence
b574a9b899 Make window title a strings.lua string instead. 2021-08-15 23:23:33 +01:00
hispidence
fcccbde1be Update compiled docs. 2021-08-15 23:08:05 +01:00
hispidence
e49450d6b6 Make AudioTrack documentation stub. 2021-08-15 23:07:22 +01:00
hispidence
99e056b3c7 Add documentation comments in GameFlowScript.cpp.
Move windowTitle from GameScriptSettings to GameFlowScript and rename it to SetWindowTitleKey.
2021-08-15 23:04:56 +01:00
asasas9500
96b9161f9b Fix slopes 2021-08-15 18:07:38 -03:00