Commit graph

9938 commits

Author SHA1 Message Date
Sezz
395345b112 Merge branch 'develop' into sezz/attractors 2025-02-13 00:32:29 +11:00
Lwmte
6ef9675bcb Update CHANGELOG.md 2025-02-12 09:08:45 +01:00
Sezz
ca56f62f54
Multithreading (#1541)
* Create Worker class for multithreading

* Update TombEngine.vcxproj

* Rename GetWorkerCount() to GetThreadCount()

* Add ProcessInParallel template for vectors

* Add multiThreaded flag to settings, process sprites in parallel

* Update Flow.Settings.html

* Refine WorkerManager class conventions; deinit threads properly

* Don't require explicit destruction

* Address basic PR notes

* Update Worker.cpp

* Simplify ThreadManager class

* Add method for running single task

* Use singleton pattern; use more appropriate Controller suffix

* Update WorkerController template method

* Revise method

* Handle exception in ~WorkerController()

* Grammar

* Correctly init single-threaded mode

* Update CHANGELOG.md

* Defer thread init until g_GameFlow is valid

* unsigned int -> int

* Rename class

---------

Co-authored-by: Lwmte <3331699+Lwmte@users.noreply.github.com>
2025-02-12 09:59:54 +02:00
Sezz
d37ac17a39 Formatting 2025-02-12 17:36:12 +11:00
Sezz
6172cba7f3 Fix random crash 2025-02-12 02:55:28 +11:00
Sezz
e48fab19da Update Attractor.h 2025-02-12 02:41:45 +11:00
Sezz
5d3921b24d Update Attractor.cpp 2025-02-12 02:36:38 +11:00
Sezz
cf77409e81 Merge branch 'develop' into sezz/attractors 2025-02-12 02:01:09 +11:00
Sezz
62ce2f043d Fix bridges moving the player when the player is underwater 2025-02-11 18:05:07 +11:00
Sezz
0bb9af9894 puzzle_keys.cpp formatting 2025-02-11 17:31:51 +11:00
davidmarr
7d18d7506f
Update Type module (#1569)
* Update VolumeObject.cpp

fixed Volume:GetActive() method

* Update CHANGELOG.md

* function description LevelFuncs.OnUseItem

* Revert "function description LevelFuncs.OnUseItem"

This reverts commit 2478afca68.

* Update Type.lua
2025-02-09 14:58:15 +00:00
Lwmte
909f631c2f Fixed mistake in electricity rendering 2025-02-08 11:04:40 +01:00
Sezz
a840c2200c Merge branch 'develop' of https://github.com/MontyTRC89/TombEngine into develop 2025-02-08 02:58:13 +11:00
Sezz
2c6331f583 Deprecate CalculateDistance() script function 2025-02-08 02:58:03 +11:00
Lwmte
a31faffec5 Update CHANGELOG.md 2025-02-07 08:31:14 +01:00
TrainWrack
1f81ccf44d
Diary module (TEN side) (#1509)
* Update to bug report form

* Update bug_report.yaml

* Update AUTHORS.md

- Tomo (general coding, special FX coding, bug fixing)

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update bug_report.yaml

* Add files via upload

* Add files via upload

* Add ID_DIARY_SPRITES (1384) and DIARY_ENTRY_SPRITES (1385)

* Delete Scripts/Engine/Diarymodule.lua

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Delete Scripts/Engine/CustomBar.lua

* Add files via upload

* Update CustomDiary.lua

* Add files via upload

* Add files via upload

* Add files via upload

* Update CustomDiary.lua

* Upload

* Update CHANGELOG.md

* Revisions

* Doc revisions

* Remove GameVars.Engine everywhere.

* Added error warnings by integrating type module

* Update bug_report.yaml

* Fixed the bug with GameVars resetting each level.

* Added .Engine back.

* Added missing checks.

* Removed nil from textOptions loop

* Added full TEN name for printlogs.

* LatestChanges

* Added section for import.

---------

Co-authored-by: Stranger1992 <84292688+Stranger1992@users.noreply.github.com>
2025-02-06 23:05:25 +00:00
Sezz
34ff933e5b Update LogicHandler.cpp 2025-02-06 18:48:45 +11:00
Sezz
5500b13659 Update LogicHandler.cpp 2025-02-06 18:47:33 +11:00
Sezz
acb1bb1518 Enforce proper convention for the few Lua table constants that didn't use it yet 2025-02-06 18:46:16 +11:00
TrainWrack
89d5b74298
Fix Trigger Triggerer (#1565)
* Fix

* Update CHANGELOG.md

* Update trigger.cpp

---------

Co-authored-by: Stranger1992 <84292688+Stranger1992@users.noreply.github.com>
2025-02-06 07:09:53 +00:00
Stranger1992
8316062e3a Merge branch 'develop' of https://github.com/MontyTRC89/TombEngine into develop 2025-02-06 06:03:41 +00:00
Stranger1992
5f447d95c5 Fix stopwatch display in inventory (due to removal of trademarked item)
Now the trademarked item from Tomb Raider Chronicles has been removed and replaced with the stopwatch from Tomb Raider III
2025-02-06 06:03:18 +00:00
Sezz
599a651b6f Update lens flare and starfield Lua docs 2025-02-06 16:56:19 +11:00
Sezz
94ede801bc Misc. script doc tidying; move some script classes to namespaces 2025-02-06 16:35:59 +11:00
TrainWrack
be8048407e
Underwater keys/puzzles (#1529)
* Update to bug report form

* Update bug_report.yaml

* Update AUTHORS.md

- Tomo (general coding, special FX coding, bug fixing)

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update bug_report.yaml

* First Push

* Updae LaraStruct to use animation 280

* Update puzzles_keys.cpp

* Update CHANGELOG.md

* Squashed commit of the following:

commit e50a4f8c27
Author: TrainWrack <120750885+TrainWrack@users.noreply.github.com>
Date:   Wed Dec 25 20:07:56 2024 -0500

    Doc Revision

commit 39a6e713ce
Author: TrainWrack <120750885+TrainWrack@users.noreply.github.com>
Date:   Wed Dec 25 20:02:47 2024 -0500

    Doc revisions

commit c330343820
Author: TrainWrack <120750885+TrainWrack@users.noreply.github.com>
Date:   Wed Dec 25 19:52:59 2024 -0500

    Update CHANGELOG.md

commit ad62d7b605
Author: TrainWrack <120750885+TrainWrack@users.noreply.github.com>
Date:   Wed Dec 25 19:42:32 2024 -0500

    Check

commit e135195641
Author: TrainWrack <120750885+TrainWrack@users.noreply.github.com>
Date:   Wed Dec 25 19:26:23 2024 -0500

    First Commit

commit 4a6c6ee270
Author: TrainWrack <120750885+TrainWrack@users.noreply.github.com>
Date:   Wed Dec 25 19:19:05 2024 -0500

    Update EffectsFunctions.cpp

* Revert "Squashed commit of the following:"

This reverts commit ff2e49c6ed.

* Formatting.

* Formatting.

* Update CHANGELOG.md

---------

Co-authored-by: Stranger1992 <84292688+Stranger1992@users.noreply.github.com>
Co-authored-by: Nemoel-Tomo <tomo_669@hotmail.com>
Co-authored-by: Jakub <kubabilinski03@gmail.com>
Co-authored-by: Jakub <80340234+Jakub768@users.noreply.github.com>
Co-authored-by: Lwmte <3331699+Lwmte@users.noreply.github.com>
Co-authored-by: TrainWreck <barry@DESKTOP-HC53CPN>
2025-02-06 04:51:35 +00:00
Sezz
106787d911 Doc corrections 2025-02-06 04:34:28 +11:00
Sezz
737f5aa742 Make getters const 2025-02-06 04:28:58 +11:00
Sezz
2b41ae743a Tidy up Lua doc for Static class 2025-02-06 02:35:16 +11:00
Sezz
437ce7c139 Complete short -> int conversions for Lua 2025-02-06 01:22:59 +11:00
Lwmte
237ceca0f4 Fixed custom shatter sounds 2025-02-05 08:04:23 +01:00
Lwmte
64e0c303ba Update CHANGELOG.md 2025-02-04 20:58:09 +01:00
Sezz
d2b692cb3b ShadowMode::Lara -> ShadowMode::Player 2025-02-03 16:15:41 +11:00
Sezz
ebb20121ac -1 -> NO_VALUE and other formatting 2025-02-01 23:57:54 +11:00
Jakub
4a6f30a152
Update LICENSE 2025-02-01 12:07:10 +00:00
Sezz
45d46e0e6b Fix display pickup string not being interpolated in 60FPS mode 2025-02-01 22:55:35 +11:00
Sezz
903fdf288f
Optimise BitField class (#1511)
* Optimise BitField class

* DebugBuild -> DEBUG_BUILD

* Fix merge error
2025-02-01 22:40:50 +11:00
TrainWrack
48902b00a9
Emit air bubble exposed (#1537)
* Update to bug report form

* Update bug_report.yaml

* Update AUTHORS.md

- Tomo (general coding, special FX coding, bug fixing)

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update bug_report.yaml

* Update EffectsFunctions.cpp

* First Commit

* Check

* Update CHANGELOG.md

* Doc revisions

* Doc Revision

* Update EffectsFunctions.cpp

* Remove room from arguements.

* Doc clarification.

* Make Size and Amplitude Optional

* Update EffectsFunctions.cpp

---------

Co-authored-by: Stranger1992 <84292688+Stranger1992@users.noreply.github.com>
Co-authored-by: Nemoel-Tomo <tomo_669@hotmail.com>
Co-authored-by: Jakub <kubabilinski03@gmail.com>
Co-authored-by: Jakub <80340234+Jakub768@users.noreply.github.com>
Co-authored-by: Lwmte <3331699+Lwmte@users.noreply.github.com>
Co-authored-by: Sezz <sezzary@outlook.com>
2025-02-01 11:23:04 +00:00
TrainWrack
fa0e125f59
Emit particle upgrade (#1542)
* Update to bug report form

* Update bug_report.yaml

* Update AUTHORS.md

- Tomo (general coding, special FX coding, bug fixing)

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update bug_report.yaml

* Expose ObjectSlot

* Docs

* Code Update

* FinalPush

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Expose startRot

* Expose startRot

* Remove Space.

* Code cleanup, revise doc comment

* Nicer defaults in doc

---------

Co-authored-by: Stranger1992 <84292688+Stranger1992@users.noreply.github.com>
Co-authored-by: Nemoel-Tomo <tomo_669@hotmail.com>
Co-authored-by: Jakub <kubabilinski03@gmail.com>
Co-authored-by: Jakub <80340234+Jakub768@users.noreply.github.com>
Co-authored-by: Lwmte <3331699+Lwmte@users.noreply.github.com>
Co-authored-by: Sezz <sezzary@outlook.com>
2025-02-01 11:22:49 +00:00
Sezz
bcbe216508 Update Vec3.cpp 2025-02-01 20:17:11 +11:00
Sezz
06c33908d9 Explicit conversion 2025-02-01 20:13:34 +11:00
Sezz
c99b8abf25 Add Translate() functions to script Vec2 and Vec3 classes 2025-02-01 20:01:55 +11:00
Sezz
d8c646fabd Start restructuring script Moveable class 2025-02-01 17:47:29 +11:00
Lwmte
98b01ff64a Fixed #1562 2025-01-30 22:25:57 +01:00
Lwmte
d163d1ec30 Fixed #1558 2025-01-27 19:27:37 +01:00
Sezz
6ef8a562e5 Update doc comment for moveable 2025-01-28 04:10:12 +11:00
Lwmte
d919e16790 Fixed player model submerging into the floor while swimming underwater 2025-01-25 23:03:28 +01:00
Lwmte
faf17cd03a Fixed #1557 2025-01-24 23:18:14 +01:00
Lwmte
5f402e380b Fixed #1556 2025-01-24 22:55:08 +01:00
Sezz
ae20a49eb2 Update VS hint comments for various classes 2025-01-23 17:02:26 +11:00
Sezz
fb97628ac9
Add Scale field to Pose class (#1546)
* Reapply "Add functional Scale field to Pose class"

This reverts commit 92305a5d25.

* Update lara.cpp
2025-01-23 16:48:46 +11:00