MontyTRC89
11f8e533e9
Fixed ID_LOCUST_EMITTER (missing only rendering)
2021-08-18 11:17:42 +02:00
MontyTRC89
1ad81f4a63
Merge branch 'master' of https://github.com/MontyTRC89/TombEngine
2021-08-16 05:45:10 +02:00
MontyTRC89
ab37257b77
Fixed ID_HAMMERHEAD
2021-08-16 05:44:55 +02:00
hispidence
3f3b259cb9
Make window title a strings.lua string instead.
2021-08-15 23:23:33 +01:00
hispidence
8cb2dcef8a
Update compiled docs.
2021-08-15 23:08:05 +01:00
hispidence
0fd15ad18d
Make AudioTrack documentation stub.
2021-08-15 23:07:22 +01:00
hispidence
813b8bb42a
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
769e36702a
Fix slopes
2021-08-15 18:07:38 -03:00
asasas9500
3be421316b
Revert "Fixed Climb Out Of Water towards -X"
...
This reverts commit f4622315cf
.
2021-08-15 18:02:31 -03:00
MontyTRC89
990cb9f634
Merge branch 'master' of https://github.com/MontyTRC89/TombEngine
2021-08-15 16:04:20 +02:00
MontyTRC89
4f0f077378
FIxed ID_HARPY
2021-08-15 16:04:07 +02:00
hispidence
97089fb2a6
Cast this bit too in service of killing warnings.
2021-08-12 22:17:08 +01:00
hispidence
c07a7aa00e
Merge remote-tracking branch 'origin/master'
2021-08-12 22:13:12 +01:00
hispidence
93117c56a3
Fix some documentation.
2021-08-12 22:11:50 +01:00
hispidence
8ddd04f9d7
Don't register CalculateDistance functions in winmain.
2021-08-12 22:11:22 +01:00
hispidence
561119ef09
Clean up some warnings.
2021-08-12 22:10:05 +01:00
wolfcheese
763b898910
Merge branch 'master' of https://github.com/MontyTRC89/TombEngine
2021-08-12 16:00:04 -04:00
wolfcheese
8ecef928fc
Removed inappropriate object number conversion when listing inventory items
2021-08-12 15:59:50 -04:00
hispidence
904588213a
Add compiled documentation.
2021-08-12 20:16:28 +01:00
hispidence
adcee07c68
Fix some GameLogic documentation.
2021-08-12 20:14:40 +01:00
hispidence
c8de277d44
Remove GetLara as the Lara object is easier to use.
...
Add documentation for the Lara object.
2021-08-12 20:14:02 +01:00
hispidence
cd16268e19
Actually add documentation.
2021-08-12 19:58:22 +01:00
hispidence
3efa8f16b7
Take CalculateDistance and CalculateHorizontalDistance out of header file as they can be static now.
...
Add documentation for said functions.
2021-08-12 19:57:17 +01:00
hispidence
53cd3add4f
Register CalculateDistance and CalculateHorizontalDistance in GameLogicScript.
2021-08-12 19:54:03 +01:00
hispidence
582b000fb9
Make OnControlPhase take a float, representing the delta time.
...
This is not ACTUALLY the amount of time that has passed, since things in the gameplay loop appear to assume they are being called thirty times per second, even if more or less time has passed. Thus to keep the scripts in sync with the the rest of the engine, we force a 1/30 second delta time.
2021-08-12 18:20:14 +01:00
hispidence
196646297b
Amend doc comment.
2021-08-12 17:20:09 +01:00
hispidence
adf1361d99
Fix documentation; Level -> LevelVars.
2021-08-12 02:43:59 +01:00
hispidence
ea1649b7b1
Make "loop" arg to PlayAudioTrack optional; defaulting to false.
2021-08-12 02:39:29 +01:00
hispidence
b708a6068d
Add comments and update documentation for InventoryAdd/InventoryRemove.
2021-08-12 02:38:30 +01:00
hispidence
c1b46afd62
Rename Lua tables Game and Level to GameVars and LevelVars to disambiguate the latter from the Level class.
2021-08-12 00:39:52 +01:00
hispidence
a79a5114a1
Use new SetVolumeMusic and SetVolumeFX calls.
2021-08-12 00:38:44 +01:00
hispidence
63d5f56b22
Big audio & audio settings cleanup.
...
Remove "Sound Enabled" setting, as it would disable BASS if used, leading to a load of warning messages and missing sounds when re-enabled.
Currently-playing track(s) now get quieter/louder when using the music volume slider in the audio settings menu.
Encapsulate GlobalMusicVolume and GlobalFXVolume in functions (at the time of writing this is only strictly necessary for music volume, since SetVolumeMusic needs to also set the volume of currently-playing tracks).
Make "apply" button return to the previous menu, as it does with keyboard controls.
Replace a printf call with a TENLog call.
2021-08-12 00:38:15 +01:00
hispidence
231d49ca26
Merge remote-tracking branch 'origin/master'
2021-08-11 15:06:11 +01:00
hispidence
16a605f102
Remove GameScriptLevel members which look superfluous. Mark some others as unused (for now).
2021-08-11 14:51:21 +01:00
hispidence
94c6ada241
Update Level documentation.
2021-08-11 14:50:10 +01:00
hispidence
55e7de24b8
Add default member initialisers and default constructor for GameScriptRotation.
...
These aren't intended (at the moment) to be exposed to the script writer; it's needed so that classes with a GameScriptRotation member can have a default member initialiser.
2021-08-11 14:39:26 +01:00
hispidence
2d1e2d97b9
Add default member initialisers, SetSlot function, and default constructor for GameScriptInventoryObject.
...
Expose default constructor to Lua API. Use SetSlot as a sol::property instead of accessing the member directly.
Update documentation.
2021-08-11 14:38:24 +01:00
Lwmte
7b9f01a1c4
Fix some lasersight issues
2021-08-11 15:18:22 +03:00
Lwmte
080658c416
Fix #289
2021-08-11 13:10:22 +03:00
hispidence
5cbdfcd578
Make it explicit that item_options is a 64-bit int.
2021-08-11 01:29:38 +01:00
hispidence
686a4902a5
Update GameFlowScript to account for the changes made to GameScriptInventoryObject.
...
Add FROM_DEGREES calls to fix the "rot" property.
2021-08-11 01:28:37 +01:00
hispidence
156342ca14
Register GameScriptRotation in GameFlowScript and not GameLogicScript.
2021-08-11 01:26:35 +01:00
hispidence
25d90c9820
Refactor and add documenation for GameScriptInventoryObject.
2021-08-11 01:23:07 +01:00
hispidence
8453ce49a7
Fix wrong name in ItemInfo documentation.
2021-08-11 01:21:11 +01:00
hispidence
c21f2ac829
Rename some of GameScriptLevel's Lua "members" to better reflect their purpose.
...
Add documentation that was missing.
2021-08-09 20:02:55 +01:00
hispidence
0c58e78733
Fix clusterfuck of a sentence.
2021-08-09 20:01:39 +01:00
hispidence
4fb42ab59b
Give InventoryObject some documentation. Rename "name" to "nameKey".
2021-08-09 20:01:05 +01:00
hispidence
7300193b47
More cleanup.
2021-08-09 00:54:09 +01:00
hispidence
15da537331
Clean GameScriptInventoryObject a bit.
2021-08-09 00:22:58 +01:00
hispidence
3c93a7bc78
Add some initial documentation for GameScriptMirror.
2021-08-09 00:07:53 +01:00