Commit graph

9399 commits

Author SHA1 Message Date
Lwmte
ab9debfb94 Add anamorphic glare to a lensflare 2024-11-24 18:09:18 +01:00
Lwmte
0395adfdc9 Tint sun sprite according to lensflare color 2024-11-24 13:59:11 +01:00
Lwmte
27d3ca7bb9 Update sound.cpp 2024-11-24 13:26:51 +01:00
Lwmte
19be42911c Revert "Add simple safety checks to RNG"
This reverts commit 202c94f02e.
2024-11-24 13:20:56 +01:00
Lwmte
a74bb4e584 Fix debris garbage frame on 60 FPS 2024-11-24 13:13:17 +01:00
Lwmte
4e934ee050 Remove unnecessary hardcoded default sound effect condition 2024-11-24 13:13:17 +01:00
Sezz
202c94f02e Add simple safety checks to RNG 2024-11-24 21:28:07 +11:00
Lwmte
e5e625d78b Restore ldoc comment 2024-11-23 14:22:23 +01:00
Lwmte
9f8ea9e13c Revert "Changed/Fixed enemy jeep behaviour (#1395)"
This reverts commit 267fecb063.
2024-11-23 02:40:13 +01:00
Lwmte
a7a28285ba Move default radius discard to item control function 2024-11-22 20:53:29 +01:00
Lwmte
546a72c5c8 Implement OCB for lensflare objects which specifies falloff in sectors 2024-11-22 20:40:25 +01:00
Lwmte
df4a664020 Remove unused block 2024-11-22 20:24:51 +01:00
Lwmte
e093b07c8c Further optimizations to lensflare code 2024-11-22 20:24:40 +01:00
Lwmte
63277cc29d Update CHANGELOG.md 2024-11-21 18:40:35 +01:00
Lwmte
71f6cf5b64 Remove boulder death from special death anims, as it's causing troubles 2024-11-21 18:28:31 +01:00
Lwmte
b5fa51b2dc Recompile docs for 1.6, version update 2024-11-21 18:27:42 +01:00
Lwmte
3a649d612d Fix issues with lensflare occlusion 2024-11-21 17:25:15 +01:00
Lwmte
9fad7eec50 Fix mistake in documentation 2024-11-21 16:41:18 +01:00
Lwmte
f455dd1c91 Remove hardcoded ricochet sound condition 2024-11-21 16:11:04 +01:00
Lwmte
ddfeaf5fa2 Update CHANGELOG.md 2024-11-21 15:42:23 +01:00
Lwmte
1695f4eeb8 Update version.h 2024-11-21 15:24:12 +01:00
Lwmte
9e54c8dd0b Add safeguards in level reader to throw exception if data sizes are inconsistent 2024-11-21 15:17:54 +01:00
Lwmte
c484f8aa84 Enhanced lensflare effects, fix ray test, discard flares behind camera 2024-11-21 14:55:59 +01:00
Lwmte
81a8922f1d Fixed global lensflare distance calculations, add object culling, add fade on visibility 2024-11-21 12:14:19 +01:00
Lwmte
1267effe08 Fixed Util.HasLineOfSight not accounting for statics 2024-11-21 11:10:22 +01:00
Lwmte
86cee87ecd Bump version 2024-11-21 02:41:54 +01:00
Lwmte
64b100561a Don't pollute DumpGameScene with unrelated flag 2024-11-21 02:09:15 +01:00
Lwmte
85a456a4f1 Update CHANGELOG.md 2024-11-21 00:11:40 +01:00
Lwmte
bdf67b75dc
Decoupled sound conditions (#1484)
* Convert sound conditions to a new format

* Convert animcommands to int

* Update flipeffect.cpp

* Update winmain.cpp
2024-11-21 01:02:00 +02:00
Lwmte
3bf00ad18c Implement StaticHandler class to properly handle LUT 2024-11-20 23:00:05 +01:00
Lwmte
91081c9f0d
Freeze event and OnUseItem callbacks (#1463)
* Add use item callbacks, add menu boilerplate code

* Set up scripting API for game mode

* Use word "break" instead of "menu" everywhere

* Rudimentary implementation of BreakPhase

* More progress

* Doc update

* Always active lensflare

* Update CHANGELOG.md

* Fix hair interpolation for spectator mode

* Update target highlighter and other HUD elements while in break mode

* Fix various problems

* Don't try to update camera in spectator mode

* Cleanup camera code

* Rename break to freeze

* Update FlowHandler.cpp

* Update Flow.html

* Update control.cpp

* Rename method

* Add displaystring owner to differentiate between freeze modes

* Disable triggers and volumes in freeze mode

* Update control.cpp

* Rename enum

* Update CHANGELOG.md

* Implement full freeze, correct callback behaviour

* Update RendererDrawMenu.cpp

* Allow DumpGameScene to do partial pass

* Remove hack

* Introduce render mode enum to render scene without any postprocess

* Tidying

* Fix problems with items or renderer not updating before entering freeze mode

* Fix rebase errors

* Use interpolation factor getter instead of raw value everywhere

* Update documentation

* Fixed setting freeze mode from OnStart

* Fixed freeze mode not working in OnStart event

* Revert "Fixed freeze mode not working in OnStart event"

This reverts commit 87f6fbdc6d.

* Bypass cinematic bars and fades for non-full render modes

---------

Co-authored-by: Stranger1992 <84292688+Stranger1992@users.noreply.github.com>
Co-authored-by: Sezz <sezzary@outlook.com>
2024-11-20 20:54:39 +00:00
Sezz
88f21a98d4
Update CONTRIBUTING.md 2024-11-20 21:51:22 +11:00
MontyTRC89
116c3d71fc Merge branch 'develop' of https://github.com/MontyTRC89/TombEngine into develop 2024-11-20 09:09:31 +01:00
MontyTRC89
1de0f27511 Switched to LUT for statics 2024-11-20 09:09:23 +01:00
Lwmte
f218644703 Update CHANGELOG.md 2024-11-20 08:21:56 +01:00
Joey Quint
db68eeaca3
Expose wind (#1465)
* Expose wind

* Update EffectsFunctions.cpp

---------

Co-authored-by: Sezz <sezzary@outlook.com>
2024-11-20 09:15:26 +02:00
Lwmte
2d0d13c620 Implement GetCollidable and SetCollidable lua methods for moveables 2024-11-20 08:18:27 +01:00
MontyTRC89
e3510c3204 Merge branch 'develop' of https://github.com/MontyTRC89/TombEngine into develop 2024-11-20 05:59:14 +01:00
MontyTRC89
e7fd154fc9 Fixed dual paraboloid scene rendering in prevision of adding better ambient lighting 2024-11-20 05:59:04 +01:00
Sezz
d070bc756f Use Quaternion::Identity 2024-11-19 15:48:13 +11:00
Lwmte
545378d967 Update CHANGELOG.md 2024-11-19 01:38:16 +01:00
Lwmte
534ac3876a Fixed occasional crashes if there are static meshes placed within room border walls 2024-11-18 23:32:35 +01:00
Lwmte
9ea15571a8 Fixed quaternion conversion crash if 2 hair joints share the same offset 2024-11-18 20:48:20 +01:00
Sezz
483ead3203 Fix missed illegal -> steep rename 2024-11-18 22:12:15 +11:00
Sezz
231bea0c1e Remove MAX_STATICS constant 2024-11-18 19:31:28 +11:00
Sezz
57a151af2a "Num" prefix -> "count" suffix 2024-11-18 19:24:57 +11:00
Sezz
f9c25a1862 Remove "Num" prefix from level load logs 2024-11-18 18:58:32 +11:00
Sezz
cfbba4b741 Don't create static object copies in loops; readability 2024-11-18 17:38:21 +11:00
MontyTRC89
bb975cda58 Fixed changelog 2024-11-18 06:27:39 +01:00
MontyTRC89
59139b373c Merge branch 'develop' of https://github.com/MontyTRC89/TombEngine into develop 2024-11-18 06:25:49 +01:00