Lwmte
9d0fe6a1d8
Ribbon particle ( #1606 )
2025-03-09 20:01:43 +01:00
Lwmte
f87d592ce6
Added Flow.GetTotalSecretCount()
2025-03-09 19:14:39 +01:00
Lwmte
cb73477b90
Added pickups count to Flow.Statistics class
2025-03-09 19:07:28 +01:00
TrainWrack
e0b50439b3
Custom bar module ( #1492 )
...
* 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
* Update CHANGELOG.md
* Add files via upload
* Update CustomBar.lua
* Fix bugs with bar property setters
* Update CustomBar.lua
* Update documentation
---------
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>
2025-03-09 06:59:49 +02:00
TrainWrack
f1bb383baa
Horizon Effects ( #1583 )
...
* First Commit
* Check
* Check
* Check
* Is it done?
* GetHorizonDone
* Add HorizonSwap
* Fix Interpolation
* Update CHANGELOG.md
* Update EffectsFunctions.cpp
* Update EffectsFunctions.h
* Docs
* Create Horizon Class and implement it.
* Fix Interpolation
* Make HorizonObject part of WeatherController
* Implement horizon fading
* Save horizon parameters
* Update CHANGELOG.md
* Update RendererDraw.cpp
* Update EffectsFunctions.cpp
* Invert current horizon transition value if another transition is queued
* Add missing shader change
* StartPosition
* Cleaup
* Start working on Position
* Code commit
* Fix interpolation checks distance for position.
* Docs
* Update CHANGELOG.md
* SavePosition in savegame
* Major cleanup
* Update weather.cpp
* First commit
* Some fixes
* Reworked horizon workflow
* Update CHANGELOG.md
* Update docs
* Added missing rumble parameter
* String constants; use TypeOrNil; general cleanup
* Fix documentation
* Fix documentation
* Update documentation
---------
Co-authored-by: Lwmte <3331699+Lwmte@users.noreply.github.com>
Co-authored-by: Sezz <sezzary@outlook.com>
2025-03-09 06:30:07 +02:00
TrainWrack
e047da7257
Streamer emitter ( #1589 )
...
* WIP
* Committ
* LUA DOCS
* Expose Moveable Scale (#1587 )
* Done
* Update CHANGELOG.md
* Cleanup
* Minor fixes
* Update CHANGELOG.md
---------
Co-authored-by: Lwmte <3331699+Lwmte@users.noreply.github.com>
* Cleanup
* Improve streamer effect implementation
* Shorten names
* Update Streamer.h
* Point to Moveable
* Change to Const
* Doc revisions
* Doc revisions
* Update CHANGELOG.md
* Use precise names
* Do things over seconds
* Make tag optional again
* Integrate start and end colour
* Update doc comment
* Regenerate docs; update strings
* Update doc comment
* Update ReservedScriptNames.h
* Update EffectsFunctions.cpp
* Minor fixes
* Update EffectsFunctions.cpp
* Update EffectsFunctions.cpp
* Update EffectsFunctions.cpp
* Rename Item
* Renames
* Add compiled docs
---------
Co-authored-by: Lwmte <3331699+Lwmte@users.noreply.github.com>
Co-authored-by: Sezz <sezzary@outlook.com>
2025-03-09 06:19:08 +02:00
TrainWrack
e54fba1e4a
Advanced particles ( #1555 )
...
* 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.
* FirstCommit
* Cast gameobj to int
* Update
* WIP
* WIP
* wip
* Checks
* WIP
* WIP
* WIP
* Enum
* Enum revision
* Update CHANGELOG.md
* Revisions due to Develop changes
* CodeCleanup
* Revision to Code as per revised structure.
* Add friction and YVel
* Revisions
* LUA Docs
* RevisionDocs
* x
* Revisions
* Docs
* Docs
* Docs
* Docs
* Make wind default
* Light effect
* LightFinish
* Added Sounds
* Add sound docs
* Update particle anim types file
* Update EffectsFunctions.cpp
* Update EffectsFunctions.cpp
* FixAngle
* Fix StartRot
* Cleanup
* Add Savegame fields
* Add loadgame data.
* Fix bug on develop related to save value of xVel
* Address Comments
---------
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-03-09 05:45:25 +02:00
TrainWrack
d19d56acee
Collision Class ( #1579 )
...
* First Commit
* Make ScriptCollision class
* Fix typo
* Return correct types
* Use NO_HEIGHT
* Implement GetSurfaceMaterial
* Add enums
* Added death, climbable wall, monkeybar
* FIx angle
* Revise things
* Make "Collision" script module; add IsOutOfBounds() method
* Rename IsOutOfBounds()
* Allow getting floor or ceiling material type
* Don't need IsWall()
* Update Collision.cpp
* Restore IsWall()
* Rename class to "Probe"; start docs; make steepness inquirers return an optional
* Update Probe.cpp
* Update class name in doc
* Update Probe.cpp
* add GetRoomName
* UpdateEnums
* Update MaterialType enum; make room name getting more local
* Revise constructors; update doc
* Update Probe.cpp
* Generate html docs
* Slightly clearer doc comments
* Convert spaces to tabs
* Update Probe.cpp
* Update Probe.cpp
* Rename parameters
* Update Probe.cpp
* ScriptProbe -> Probe
* ExposeGetRoom
* Register Collision.MaterialType table; Enable ClimbWall again.
* Cleanup
* Docs revision
* Update CHANGELOG.md
* Moved names to script reserved names
* Fixed incorrect namespace for probe
* Use consistent names; cleanup
* Make argument optional; fix doc
* Update Probe.cpp
* Add missing includes
* Add Preview() method; update docs
* Add constant
---------
Co-authored-by: Sezz <sezzary@outlook.com>
Co-authored-by: Lwmte <3331699+Lwmte@users.noreply.github.com>
2025-03-05 10:13:48 +02:00
Sezz
1715fdb7b0
Update conventions, formatting, docs
2025-02-23 21:59:44 +11: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
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
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
acb1bb1518
Enforce proper convention for the few Lua table constants that didn't use it yet
2025-02-06 18:46:16 +11: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
Sezz
2b41ae743a
Tidy up Lua doc for Static class
2025-02-06 02:35:16 +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
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
Sezz
6ef8a562e5
Update doc comment for moveable
2025-01-28 04:10:12 +11:00
Sezz
fc0c260ea1
Update script Rotation class and its doc
2025-01-23 15:25:09 +11:00
Nemoel-Tomo
a97548467e
Waterfall_Emitter ( #1359 )
...
* waterfall emitter. warning for the test I changed waterfallmist object
* test
* update
* update
* update
* formatting
* formatting
* formatting
* update mist color
* import develop
* bugfix sprite
* added mor sprite particles
* waterfall intensity
* update waterfall to be more filled
* update
* Create a new sprite sequence for waterfall
* Fixed texture order
* removed GetParticleDistanceFade() from waterfall
* Order
* Update Particle struct; update waterfall
* Update Particle struct
* Simplify waterfall emitter
* Simplify waterfall emitter
* Simplify waterfall emitter
* Simplify
* Fix waterfall density; move sprite slot
* Update Waterfall.cpp
* fixed some small bugs with the waterfall after simplify
* commit
* imported develop 60fps branch
* fixed waterfall errors
* update
* commit
* update/test
* update Waterfall
* fixed last bugs
* formatting
* added option for sound
* update
* update, fixing errors
* update
* formatting
* Formatting
* fixed color issue, now only savegame is left
* formatting
* added new fields to savegame
* targetpos is now Vector3
* import develop
* Fixes according to GH notes + move waterfall-specific code out of effects.cpp
* Rollback object ID rename, add missing enum
* renamed ID_WATERFALL_ into ID_WATERFALL_SPRITES
* fixed SpriteSeqID for spark in spark.cpp
* Update CHANGELOG.md
* rewritten waterfall code
* Update waterfall impact point
---------
Co-authored-by: Stranger1992 <84292688+Stranger1992@users.noreply.github.com>
Co-authored-by: Sezz <sezzary@outlook.com>
Co-authored-by: Lwmte <3331699+Lwmte@users.noreply.github.com>
2025-01-10 22:27:48 +00:00
Stranger1992
bfe07f6e21
Bump version in Lua API for development
2025-01-05 16:45:30 +00:00
Lwmte
5597750c2c
Remove abandoned diary code, convert all inventory items to pickups, fix diary savegame
2024-12-28 11:20:25 +01:00
Lwmte
382f778fa2
Bump version, add runtime checks
2024-12-27 19:45:31 +01:00
Lwmte
575bf6cfb1
Shader manager ( #1534 )
...
* Squashed commit of the following:
commit 0543f9146a
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Wed Dec 25 13:49:12 2024 +0100
Fix bad merge
commit 529ffb50dd
Merge: 329bb52ec
a1c76af54
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Wed Dec 25 13:47:26 2024 +0100
Merge branch 'develop' into realtime_shader_reloading
commit 329bb52ec7
Merge: 3f749b485
ac800ff1e
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Wed Dec 25 13:40:38 2024 +0100
Merge branch 'develop_mirrors' into realtime_shader_reloading
commit ac800ff1e1
Author: Sezz <sezzary@outlook.com>
Date: Wed Dec 25 18:23:26 2024 +1100
Final formatting pass
commit c2b2756725
Author: Sezz <sezzary@outlook.com>
Date: Wed Dec 25 18:22:59 2024 +1100
Update RendererFrame.cpp
commit d32eeac7ab
Author: Sezz <sezzary@outlook.com>
Date: Wed Dec 25 18:15:45 2024 +1100
Reapply "Formatting pass"
This reverts commit becd24da93
.
commit becd24da93
Author: Sezz <sezzary@outlook.com>
Date: Wed Dec 25 18:12:43 2024 +1100
Revert "Formatting pass"
This reverts commit 88a8ba24de
.
commit 88a8ba24de
Author: Sezz <sezzary@outlook.com>
Date: Wed Dec 25 17:35:39 2024 +1100
Formatting pass
commit a56d487e30
Author: Jakub <80340234+Jakub768@users.noreply.github.com>
Date: Wed Dec 25 00:31:11 2024 +0000
Update CHANGELOG.md
commit 86aad7c7b1
Merge: daa65d4e3
e3ecc3acd
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Tue Dec 24 23:22:50 2024 +0100
Merge branch 'develop' into develop_mirrors
commit daa65d4e3c
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Tue Dec 24 20:46:01 2024 +0100
Update CHANGELOG.md
commit 58fc1a8ea0
Merge: 63ffb77bd
ee867fb9d
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Tue Dec 24 20:15:28 2024 +0100
Merge branch 'develop' into develop_mirrors
commit 63ffb77bd6
Merge: b3195ae83
3ea8978c6
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Tue Dec 24 20:07:53 2024 +0100
Merge branch 'develop' into develop_mirrors
commit b3195ae83f
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Tue Dec 24 20:01:11 2024 +0100
Update RendererInit.cpp
commit 3f749b4856
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Tue Dec 24 09:10:07 2024 +0100
Reload shaders on graphic settings change
commit f04dcd42cc
Merge: 63539e4f9
1118b2fb2
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Tue Dec 24 08:57:13 2024 +0100
Merge branch 'develop_mirrors' into realtime_shader_reloading
commit 1118b2fb22
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Tue Dec 24 08:47:33 2024 +0100
Disable self-shadowing for now, as it's causing visual glitches
commit 63539e4f98
Merge: ca25f8773
32f94c2f2
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Tue Dec 24 01:49:18 2024 +0100
Merge branch 'develop_mirrors' into realtime_shader_reloading
commit 32f94c2f2a
Merge: e6f4e9e24
c757422f2
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Tue Dec 24 01:35:17 2024 +0100
Merge branch 'develop' into develop_mirrors
commit e6f4e9e24b
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Tue Dec 24 01:07:20 2024 +0100
Implement proper soft shadows
commit 9fbcc7b8cf
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Tue Dec 24 00:52:32 2024 +0100
Fixed silent crash if several Lara objects are present in level near dynamic light with shadow
commit ca25f87738
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Tue Dec 24 00:51:11 2024 +0100
Work
commit 12dae8df99
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Sun Dec 22 22:55:50 2024 +0100
Fixed #1524
commit 9df39696a2
Merge: 724953329
6d38bb361
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Sun Dec 22 20:45:10 2024 +0100
Merge branch 'develop' into develop_mirrors
commit 7249533290
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Sun Dec 22 20:42:06 2024 +0100
Fixed postprocessing order and precompile shaders to speed-up loading
commit b75d14184f
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Sun Dec 22 19:57:12 2024 +0100
Fix #1525
commit bcf4dc5497
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Sun Dec 22 16:11:53 2024 +0100
Interpolate Lara flare light, hide target highlighters in binos
commit 9e923a36bb
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Sun Dec 22 15:06:27 2024 +0100
Fixed #1522
commit 1de0d48d58
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Sat Dec 21 22:07:46 2024 +0100
Fixed #1521
commit 7076014c9b
Merge: af097017f
b62c8d7c4
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Sat Dec 21 20:03:47 2024 +0100
Merge branch 'develop' into develop_mirrors
commit af097017f5
Merge: 4ed353000
04b659b41
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Sat Dec 21 19:32:07 2024 +0100
Merge branch 'develop' into develop_mirrors
commit 4ed353000d
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Sat Dec 21 12:20:05 2024 +0100
Update title.bin
commit 7a3aea07fa
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Sat Dec 21 11:26:49 2024 +0100
Rename CamOldPos and use more consistent type for it
commit 1748eef34a
Merge: 839f05b3d
0ae388845
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Sat Dec 21 10:25:23 2024 +0100
Merge branch 'develop' into develop_mirrors
commit 839f05b3d1
Merge: e4fe73ffd
d75bba698
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Sat Dec 21 01:05:36 2024 +0100
Merge branch 'develop' into develop_mirrors
commit e4fe73ffd5
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Sat Dec 21 00:02:53 2024 +0100
Don't perform binocular animations if binocular meshswap is not present
commit 3f7942eb76
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Fri Dec 20 23:55:15 2024 +0100
Fix meshswap, if object is not present
commit 40cfaaeb0d
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Fri Dec 20 23:43:27 2024 +0100
Fixed various binocular / lasersight issues
commit 1ef9a0e7e6
Merge: ca578885a
64c177702
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Thu Dec 19 22:36:14 2024 +0100
Merge branch 'develop' into develop_mirrors
commit ca578885a2
Author: MontyTRC89 <montyhammet@hotmail.it>
Date: Thu Dec 19 12:19:07 2024 +0100
Fixed 3D non-sorted sprites mirroring
commit 288a413400
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Thu Dec 19 08:59:37 2024 +0100
Continuation of previous fix
commit 60cfe1e2f4
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Thu Dec 19 08:47:24 2024 +0100
Fix Lara not mirroring when using binoculars
commit 2e17f7f8d9
Merge: a6687654b
625131fbb
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Thu Dec 19 01:40:19 2024 +0100
Merge branch 'develop' into develop_mirrors
commit a6687654b0
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Wed Dec 18 22:44:00 2024 +0100
Fixed mirrors on savegame reloading
commit 22460e0edf
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Wed Dec 18 17:01:19 2024 +0100
Update CHANGELOG.md
commit 842d6345fe
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Wed Dec 18 16:40:25 2024 +0100
Add option to reflect sprites
commit ab79156bfe
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Wed Dec 18 15:37:25 2024 +0100
Update RendererDraw.cpp
commit 8ba6a2c286
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Wed Dec 18 14:56:24 2024 +0100
Spawn mirrored dynamic lights in Lara rooms too
commit 1afa98169f
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Wed Dec 18 14:17:59 2024 +0100
Rename
commit 6d195dbb63
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Wed Dec 18 13:35:47 2024 +0100
Reorganize renderer code a little
commit 1f002745f3
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Wed Dec 18 13:14:08 2024 +0100
Rename fields for consistency
commit 79a8db0655
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Wed Dec 18 12:51:17 2024 +0100
Remove lambdas
commit b586dce76e
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Wed Dec 18 12:36:58 2024 +0100
Remove unrelated changes
commit 8cebdae0ef
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Wed Dec 18 12:23:23 2024 +0100
Draw reflections also when Lara is in any of mirrored rooms, not only camera
commit 38b210013f
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Wed Dec 18 11:55:00 2024 +0100
Fixed 3D sprites mirroring
commit 2705a5ae7b
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Wed Dec 18 11:09:56 2024 +0100
Update RendererDraw.cpp
commit 14f6ab36d0
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Wed Dec 18 10:57:59 2024 +0100
Fixed dynamic lights
commit 85469cb4d4
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Wed Dec 18 10:18:04 2024 +0100
Fixed billboards, reintroduce ReflectVectorOptionally
commit 3535eddf5d
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Wed Dec 18 03:12:13 2024 +0100
Remove unnecessary inline, dont reflect room lights
commit bf6ef08c57
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Wed Dec 18 02:44:49 2024 +0100
More decopypasting, rename inline function, remove unneeded arg
commit 569644f1d4
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Wed Dec 18 02:28:31 2024 +0100
Decopypaste more mirror-related code
commit 60a59caa53
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Wed Dec 18 01:09:47 2024 +0100
Update level.cpp
commit 5dd8db198c
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Wed Dec 18 01:07:10 2024 +0100
Simplify renderer code, remove excessive if statements
commit 31d278a780
Merge: f09b81fc8
88bbe4862
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Tue Dec 17 19:48:18 2024 +0100
Merge branch 'develop' into develop_mirrors
commit f09b81fc87
Merge: 3e6e9cb61
ab7e25aa7
Author: MontyTRC89 <montyhammet@hotmail.it>
Date: Sun Dec 15 06:56:26 2024 +0100
Merge branch 'develop' into develop_mirrors
commit 3e6e9cb61e
Author: MontyTRC89 <montyhammet@hotmail.it>
Date: Sun Dec 15 06:56:05 2024 +0100
Added logic for hiding selectively reflecting moveables and statics;
Added enabled flag for disabling mirrros in the future with LUA;
commit c5f10777e7
Author: MontyTRC89 <montyhammet@hotmail.it>
Date: Fri Dec 13 05:20:23 2024 +0100
Fixed random statics positions while shooting
commit 8978a51bfe
Author: MontyTRC89 <montyhammet@hotmail.it>
Date: Fri Dec 13 04:51:07 2024 +0100
Fixed ambient occlusion in mirrored rooms
commit f3afaf47cf
Merge: 4e08942d8
6198975be
Author: MontyTRC89 <montyhammet@hotmail.it>
Date: Thu Dec 12 06:10:39 2024 +0100
Merge branch 'develop' into develop_mirrors
commit 4e08942d86
Merge: 265283aac
e674b8526
Author: MontyTRC89 <montyhammet@hotmail.it>
Date: Wed Dec 11 13:43:19 2024 +0100
Merge branch 'develop' into develop_mirrors;
Removed RendererMirror references in methods calls;
commit 265283aacf
Author: MontyTRC89 <montyhammet@hotmail.it>
Date: Wed Dec 11 04:35:20 2024 +0100
Cached reflection matrix of mirrors at load time;
Fixed lighting in mirrored items;
Added bad cull mode after mirrore debrises drawing;
Added mirroring of dynamic lights;
commit f44a04d057
Author: MontyTRC89 <montyhammet@hotmail.it>
Date: Tue Dec 10 14:57:00 2024 +0100
Fixed items culling in mirror rooms;
Changed file format for having also virtual room;
commit 74c74042d5
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Sun Dec 8 21:41:51 2024 +0100
Use emplace_back and camera room number
commit 41b16e5696
Merge: 39f0c131c
9a241dbc8
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Sun Dec 8 21:07:44 2024 +0100
Merge branch 'develop' into develop_mirrors
commit 39f0c131c3
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date: Sun Dec 8 21:02:00 2024 +0100
Use default argument value for ReadCount
commit c4330a777c
Merge: 374abb27d
d96bf4ba8
Author: MontyTRC89 <montyhammet@hotmail.it>
Date: Sat Dec 7 05:03:24 2024 +0100
Merge branch 'develop' into develop_mirrors
commit 374abb27d3
Author: MontyTRC89 <montyhammet@hotmail.it>
Date: Sat Dec 7 05:02:09 2024 +0100
Implemented mirrors in file format
commit 3e89391776
Merge: ec6ab6413
f9f1f59eb
Author: MontyTRC89 <montyhammet@hotmail.it>
Date: Fri Dec 6 15:10:05 2024 +0100
Merge branch 'develop' into develop_mirrors
commit ec6ab64131
Author: MontyTRC89 <montyhammet@hotmail.it>
Date: Fri Dec 6 15:08:54 2024 +0100
Added debris and effects drawing in mirrored rooms;
Some optimizations for early skip non mirrored items;
commit 2218dd3179
Merge: 92eb4af79
2ee37ea7d
Author: MontyTRC89 <montyhammet@hotmail.it>
Date: Thu Dec 5 11:54:59 2024 +0100
Merge branch 'develop' into develop_mirrors;
Added correct lights to reflected items;
commit 92eb4af796
Author: MontyTRC89 <montyhammet@hotmail.it>
Date: Thu Dec 5 11:19:11 2024 +0100
Fixed broken previous commit
commit bb3d0b993b
Author: MontyTRC89 <montyhammet@hotmail.it>
Date: Thu Dec 5 10:20:32 2024 +0100
WIP TR4 style mirrors
* Code etiquette
* Recompile AA shaders on graphics settings change
* Fixed code under ifdef
---------
Co-authored-by: Sezz <sezzary@outlook.com>
2024-12-26 11:48:14 +02:00
Lwmte
d0527bf2dd
Remove GetNextLevel, as it is broken
2024-12-25 09:32:34 +01:00
Lwmte
222177f45b
Mirrors ( #1519 )
...
* WIP TR4 style mirrors
* Fixed broken previous commit
* Added debris and effects drawing in mirrored rooms;
Some optimizations for early skip non mirrored items;
* Implemented mirrors in file format
* Use default argument value for ReadCount
* Use emplace_back and camera room number
* Fixed items culling in mirror rooms;
Changed file format for having also virtual room;
* Cached reflection matrix of mirrors at load time;
Fixed lighting in mirrored items;
Added bad cull mode after mirrore debrises drawing;
Added mirroring of dynamic lights;
* Fixed ambient occlusion in mirrored rooms
* Fixed random statics positions while shooting
* Added logic for hiding selectively reflecting moveables and statics;
Added enabled flag for disabling mirrros in the future with LUA;
* Simplify renderer code, remove excessive if statements
* Update level.cpp
* Decopypaste more mirror-related code
* More decopypasting, rename inline function, remove unneeded arg
* Remove unnecessary inline, dont reflect room lights
* Fixed billboards, reintroduce ReflectVectorOptionally
* Fixed dynamic lights
* Update RendererDraw.cpp
* Fixed 3D sprites mirroring
* Draw reflections also when Lara is in any of mirrored rooms, not only camera
* Remove unrelated changes
* Remove lambdas
* Rename fields for consistency
* Reorganize renderer code a little
* Rename
* Spawn mirrored dynamic lights in Lara rooms too
* Update RendererDraw.cpp
* Add option to reflect sprites
* Update CHANGELOG.md
* Fixed mirrors on savegame reloading
* Fix Lara not mirroring when using binoculars
* Continuation of previous fix
* Fixed 3D non-sorted sprites mirroring
* Fixed various binocular / lasersight issues
* Fix meshswap, if object is not present
* Don't perform binocular animations if binocular meshswap is not present
* Rename CamOldPos and use more consistent type for it
* Update title.bin
* Fixed #1521
* Fixed #1522
* Interpolate Lara flare light, hide target highlighters in binos
* Fix #1525
* Fixed postprocessing order and precompile shaders to speed-up loading
* Fixed #1524
* Fixed silent crash if several Lara objects are present in level near dynamic light with shadow
* Implement proper soft shadows
* Disable self-shadowing for now, as it's causing visual glitches
* Update RendererInit.cpp
* Update CHANGELOG.md
* Update CHANGELOG.md
* Formatting pass
* Revert "Formatting pass"
This reverts commit 88a8ba24de
.
* Reapply "Formatting pass"
This reverts commit becd24da93
.
* Update RendererFrame.cpp
* Final formatting pass
---------
Co-authored-by: MontyTRC89 <montyhammet@hotmail.it>
Co-authored-by: Jakub <80340234+Jakub768@users.noreply.github.com>
Co-authored-by: Sezz <sezzary@outlook.com>
2024-12-25 10:21:07 +02:00
Lwmte
e3ecc3acdb
Update docs, fix savegame formatting, bump version
2024-12-24 23:22:02 +01:00
Lwmte
3ea8978c67
Rename traveledDistance to distanceTraveled
2024-12-24 20:04:13 +01:00
Lwmte
b62c8d7c40
Minor changes
2024-12-21 20:01:55 +01:00
Lwmte
0ae3888456
Expose different animation slots to scripting API
2024-12-21 10:09:00 +01:00
Lwmte
db717658fc
Added references to Type module
2024-12-16 21:33:37 +01:00
Lwmte
ae79247979
Update docs
2024-12-16 08:10:26 +01:00
Lwmte
0abb8981ba
Add separate binoculars/lasersight camera types, correct default gunflash ranges
2024-12-16 01:11:33 +01:00
Lwmte
8d08a9feb5
Move statistics back to TEN classes
2024-12-15 23:59:31 +01:00
Lwmte
63a5464d00
Clarify documentation
2024-12-15 23:50:41 +01:00
Lwmte
773c5bb7bb
Remove obsolete mirror class, more cleanups in documentation
2024-12-15 23:47:59 +01:00
Lwmte
becadbf046
Fixed time reference
2024-12-15 23:40:58 +01:00
Lwmte
f97d257fd1
Add optics camera type, big enum cleanup and doc formatting
2024-12-15 23:34:33 +01:00
Lwmte
4f66f24bbd
Return flyby camera type, if flyby is active
2024-12-15 21:21:55 +01:00
Lwmte
f4763bd4a2
Customize global hardcoded parameters ( #1495 )
...
* Initial commit
* Update CHANGELOG.md
* Tint flare smoke
* Expose GetCustomizations
* Added lensflare and flicker customization options for flare
* Update LensFlare.cpp
* Remove unnecessary code
* Update lara_flare.cpp
* Massive refactor to merge animations, settings and customizations
* Add HUD customization options
* Customize weapons
* Fixed flare, renamed recoil to interval, fixed lensflare default
* Occlude flare lensflares
* Update Settings.cpp
* Use alternate damage for lasersight mode
* Added hair cust
* Fix comment
* Fix another comment
* Fix link
* Fix placeholder table names
* Reorganize types
* Add missing initializers for hair settings
* Added physics cust
* Clarify description
* Update settings.lua
* Update CHANGELOG.md
* Add gun smoke, gun shells and ammo pickup counts
* Fix naming ambiguity
* Remove missing features from documentation
* Fix comment
* Fix parameter name, change default settings file
* Fixed pitch black
* Rollback DoDistanceFogForVertex
* Add camera cust
* Change binocular/lasersight toggle to color
* Update lara_basic.cpp
* Add time and statistics classes and script API for it
* Fix comment
* Use DoDamage on Lara helpers to register with statistics
* Update Time.cpp
* Fix documentation
* Fix default flare timeout
* Update Settings.lua
* Add flare muzzle offset customization
* Remove young Lara limitations
* Fix lasersight color
* Push full settings.lua
* Update RendererCompatibility.cpp
* Allow to customize root meshes, decopypaste hair and joint init code
* Added sol Time operator overloads
* Some changes to docs, add meaningful error for unknown fields
* Use existing new index template, add gunflash color settings, add shotgun muzzle
* Remove excessive usage of GetSettings()
* Cleanups
* Update Settings.lua
* Clarify parameter name
* Fix InitializeWeaponInfo
* PR review code tidying
* Fix bad merge
* Update FlowHandler.cpp
* Remove tabs for LDoc comments
* Use different comment style to preserve formatting
* Update lara_fire.cpp
* Some cleanups
* Fixed GetTimeUnits
* Fix typo
* Update Time.cpp
---------
Co-authored-by: Sezz <sezzary@outlook.com>
2024-12-15 18:24:49 +02:00
Lwmte
1f1d3b2aad
Delete old documentation when recompiling
2024-12-02 23:57:17 +01:00
Lwmte
c0a93612ae
Dynamic spotlight ( #1488 )
...
* Initial commit
* Update CHANGELOG.md
* Provide helper method to convert rotation to directional vector
* Remove unneeded arguments, add missing function registration
* Fixed direction
* Fixed incorrect behaviour of Moveable:GetJointRotation() function
* Add optional castShadow flag to light functions
* Fixed spotlight shadows
* Cleanup
* Fix spotlight shadows again
* Interpolate dynamic lights, if unique ID is given
* Use name instead of unique ID
* Update docs
* Update CHANGELOG.md
* Fix incorrect variable type
* Update CHANGELOG.md
2024-11-28 23:09:29 +02:00
Lwmte
b5fa51b2dc
Recompile docs for 1.6, version update
2024-11-21 18:27:42 +01:00
Lwmte
9fad7eec50
Fix mistake in documentation
2024-11-21 16:41:18 +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