Commit graph

8956 commits

Author SHA1 Message Date
Leif Melles
2560634b94 Option Flow.EnableFlyCheatItems()
Added Flow.EnableFlyCheatItems() function for choosing if flyCheat add items or not
2024-10-28 13:30:31 +01:00
Adngel
0a8eb65de3 Fix Collision with no-collidable statics.
With this check, statics with Extents 0 in the three axis, will be ignored for the collision checks.
2024-10-28 12:28:16 +01:00
Sezz
1e89416098 Fix water tread climb out 2024-10-28 21:50:08 +11:00
Lwmte
4bbc30b0e5 Decopypaste camera interpolation 2024-10-28 07:46:28 +01:00
Lwmte
2ded586f1a Added visible mouse pointer in windowed mode 2024-10-28 00:29:39 +01:00
Lwmte
407ae147bd Reapply death block flag fix, because the bug was still present in 1.2 as well 2024-10-27 23:28:25 +01:00
Lwmte
1c2945de62 Revert "Fixed incorrect detection of death flag in L-shaped portal setups"
This reverts commit 20229be3b1.
2024-10-27 21:33:42 +01:00
Lwmte
20229be3b1 Fixed incorrect detection of death flag in L-shaped portal setups 2024-10-27 21:12:51 +01:00
Lwmte
23ab42cfa3 Fixed #1435 2024-10-27 20:21:47 +01:00
Lwmte
f85376ddca Fix garbage frames for newly drawn or triggered items 2024-10-27 18:41:54 +01:00
TokyoSU
5acb5f6483
Fixed bitwise for itemStatus (#1434)
* Fixed bitwise for itemStatus
* Update items.h
2024-10-27 18:55:54 +02:00
Adngel
317edbf5cb Fix underwater buoyant pushables.
Moved the lines:

pushableColl.FloorHeight = pointColl.GetFloorHeight();
pushableColl.CeilingHeight = pointColl.GetCeilingHeight();

Inside of the previous if, because if it uses bridge collision, this must be deactivated to avoid wrong results.

and "auto pushableColl = PushableCollisionData{};" was moved before the if so it were ready.
2024-10-27 13:00:55 +01:00
Lwmte
67c8e33570 Another attempt at fixing item status 2024-10-27 11:14:16 +01:00
Lwmte
627a30dc78 Update CHANGELOG.md 2024-10-27 10:32:12 +01:00
Lwmte
47088ba978 Another attempt at fixing item status bug 2024-10-27 09:53:25 +01:00
Lwmte
7b5129a6d8 Possibly fix antitriggering 2024-10-27 09:33:28 +01:00
Lwmte
cfdf7af404 Fix pickups pushed above climbable blocks 2024-10-27 09:30:18 +01:00
Lwmte
b3ae526726 Update CHANGELOG.md 2024-10-27 08:58:07 +01:00
Lwmte
e3ca14f84f Fix problem with player falling through dynamic bridges 2024-10-27 08:55:05 +01:00
Lwmte
d08f881d1e Rearrange some control phase calls 2024-10-26 22:25:14 +02:00
Lwmte
2e3fdc2942 Hide menu looping option from UI 2024-10-26 21:54:23 +02:00
Lwmte
e89647d1b5 Update CHANGELOG.md 2024-10-26 21:50:23 +02:00
Lwmte
e566319f44 Update CHANGELOG.md 2024-10-26 21:49:46 +02:00
Adngel
7b7eb8f49f
Adngel smoke emitter update (#1377)
* Update tr5_smoke_emitter.cpp

* Created namespace and more update

* Update tr5_smoke_emitter.cpp

* Update tr5_smoke_emitter.cpp

* New OCBs

* Update tr5_smoke_emitter.cpp

- Removed displacement (So no more OCB &1) to avoid conflict with other formulas
- Removed deprecated OCB 111
- Changed OCB for no Damage from &2 to <0, to avoid conflict with other formulas.
- Changed OCB&8 to OCB > 0 to simplify formula
- Enhaced steam shot particles direction to accept Pitch rotations
- Created ItemFlags[3] to contain bit flags (Fla (0) used for the No-Damage setting)
- Created enum for the flags used in ItemFlags[3]

* Fix: Pitch <-> Yaw formula

* Formatting

* Updated feedback

* Sounds update

* Formatting

* Rename file

* Constants

* SFX Reorganisation (#1384)

* Updated SFX for Steam Emitter.

Additionally, divided the SFX List with comments for better readability and revised names for custom footstep enums.

* Updated sound_effects.h.

* Refined comments and names.

---------

Co-authored-by: Sezz <sezzary@outlook.com>

* Define various constants

* Fix Vel Y when pointing downwards

* Reduced damage time Interval

Reduced damage time Interval to increase the damage received by the steam shot.

* Squashed commit of the following:

commit bc6bf2c5a4
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date:   Mon Sep 30 11:44:09 2024 +0200

    Fix speedboat / rubber boat on leveljumps

commit 5f7ac065d1
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date:   Mon Sep 30 11:42:50 2024 +0200

    Show relative anim number in stats

commit ca87efa4fd
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date:   Sat Sep 28 18:59:09 2024 +0200

    Possibly fix minecart wrench

commit 3a0e703d1d
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date:   Sat Sep 28 18:45:34 2024 +0200

    Fix Lara meshswaps after kayak dismount after leveljump

commit ef751cf236
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date:   Sat Sep 28 17:29:27 2024 +0200

    Fixed #1405

commit 3dafdf44e3
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date:   Mon Sep 23 19:58:56 2024 +0200

    Update kayak.cpp

commit 90effcdc58
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date:   Mon Sep 23 01:17:15 2024 +0200

    Update CHANGELOG.md

commit 1b95946db9
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date:   Mon Sep 23 01:04:19 2024 +0200

    Fix kayak and minecart meshswaps on leveljump

commit f8f20a071c
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date:   Mon Sep 23 00:23:49 2024 +0200

    Fixed leveljump vehicle transfer

commit d62ae232ee
Author: Stranger1992 <84292688+Stranger1992@users.noreply.github.com>
Date:   Sun Sep 22 09:48:22 2024 +0100

    Change player HAIR enumerations

commit 29c2363141
Author: Stranger1992 <84292688+Stranger1992@users.noreply.github.com>
Date:   Sun Sep 15 21:24:16 2024 +0100

    Update CHANGELOG.md

commit a98ed141cc
Author: Stranger1992 <84292688+Stranger1992@users.noreply.github.com>
Date:   Sun Sep 15 15:13:36 2024 +0100

    Update CHANGELOG.md

    Contains listings for branches to be merged for the next release.

commit feee7c8285
Author: Sezz <sezzary@outlook.com>
Date:   Thu Sep 5 23:02:24 2024 +1000

    Update InputAction class

commit b318179bb9
Author: Sezz <sezzary@outlook.com>
Date:   Sun Sep 1 22:25:40 2024 +1000

    Organise Lua room class

commit a9516cd7f7
Author: davidmarr <116632612+davidmarr@users.noreply.github.com>
Date:   Sun Sep 1 13:13:20 2024 +0200

    Add Room:GetRoomNumber() method (#1401)

    * add RoomGetRoomNumber() method

    * Update CHANGELOG.md

    * fix GetReverbType() method

    * Update MoveableObject.cpp

    Modified Moveable() function description for consistency

commit cccd0d9bfb
Author: Stranger1992 <84292688+Stranger1992@users.noreply.github.com>
Date:   Sat Aug 31 15:23:01 2024 +0100

    level.rumble sound effect parameters exposed to user

    Formally: this was hardcoded in TR5 to the klaxon from the Sinking Submarine level. I have moved this to a new sound enum in the default soundmap and removed the pitch shift as this can be set in the XML by the user.  This change has also been documented on the TombEngine website.

commit 60b9055d0a
Author: Sezz <sezzary@outlook.com>
Date:   Tue Aug 27 19:17:57 2024 +1000

    Add F12 as alternative to PrtSc for screenshots

commit 806c052ff5
Author: Sezz <sezzary@outlook.com>
Date:   Sun Aug 18 22:58:50 2024 +1000

    Fix GetBoneOrientation()

commit f85769f3ca
Author: TokyoSU <77746747+TokyoSU@users.noreply.github.com>
Date:   Sat Aug 17 19:10:04 2024 +0200

    Update RendererCompatibility.cpp

* Rename PARTICLE_COUNT_MAX to MAX_PARTICLES

* Update effects.h

* Revert rename

* Revert rename

* Fix typo

---------

Co-authored-by: Sezz <sezzary@outlook.com>
Co-authored-by: Stranger1992 <84292688+Stranger1992@users.noreply.github.com>
Co-authored-by: Lwmte <3331699+Lwmte@users.noreply.github.com>
2024-10-26 22:28:29 +03:00
Lwmte
4e7fbf18ce
Merge pull request #1362 from MontyTRC89/develop_60fps
60 FPS, starfield, lens flare
2024-10-26 22:18:56 +03:00
Lwmte
76dd26bb57 Fix merge errors 2024-10-26 21:19:52 +02:00
Lwmte
c8a49e413f Merge branch 'develop' into develop_60fps 2024-10-26 21:12:37 +02:00
Lwmte
ac63d0b178
Implement pickup count modification via hitpoints (#1426)
* Implement pickup count modification via hitpoints

* Always show picked up ammo and consumable count
2024-10-26 21:52:12 +03:00
TokyoSU
267fecb063
Changed/Fixed enemy jeep behaviour (#1395)
* Enemy Jeep WIP

* Update EnemyJeep.cpp

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Fix CreatureBiteInfo requiring vector3 instead

* Re-enable collision with enemy jeep.

- But still avoid him getting killed with vehicle colliding him !

* Fix formatting

* Formatting

* Update to bug report form

* Update bug_report.yaml

* Revert rename

* Fix errors and typos

* Update effects.cpp

* Remove redundant FindAiTargetObject variation, rename struct

* Fix typo

* Remove jeep hack from DoObjectCollision and replace it with other solution

---------

Co-authored-by: Sezz <sezzary@outlook.com>
Co-authored-by: Stranger1992 <84292688+Stranger1992@users.noreply.github.com>
Co-authored-by: Lwmte <3331699+Lwmte@users.noreply.github.com>
2024-10-26 21:50:37 +03:00
Lwmte
60f3c3d8c5 Fix shaky track camera 2024-10-26 20:43:03 +02:00
porzell
0c15fdbe61
Allow more access to Moveable joint info in Lua (#1386)
* Allow more access to Moveable joint info in Lua
- Added Lua support to correspond with optional 'offset' parameter in GetJointPosition() for moveables
- Added Lua support for GetJointRotation() for moveables

* Update CHANGELOG.md
* Update MoveableObject.cpp
- Fixed typos and clarified doc comments
* Update MoveableObject.cpp

---------

Co-authored-by: Lwmte <3331699+Lwmte@users.noreply.github.com>
2024-10-25 22:19:47 +03:00
l.m. (Leif Melles)
ff0b1cc085
Replaced static limiting array for Flame Emitters to unlimited std::vector (#1424)
* Increase active Flame Emitters from 32 to 128
* Replaced static limiting array for Flame Emitters to unlimited std::vector
* Flame Emitter Vector changes
* Update vector for flame
* Include vector
* Remove Default Fire Count
* Remove it again
* Rename on field to fade

---------

Co-authored-by: Lwmte <3331699+Lwmte@users.noreply.github.com>
2024-10-25 21:38:10 +03:00
l.m. (Leif Melles)
5f008f4562
Movable GetStatus() fix for antitrigger (#1421)
* Update to bug report form
* Update bug_report.yaml
* get movable status fix
* get movable status fix
* Update CHANGELOG.md

---------

Co-authored-by: Stranger1992 <84292688+Stranger1992@users.noreply.github.com>
Co-authored-by: Lwmte <3331699+Lwmte@users.noreply.github.com>
2024-10-25 21:37:42 +03:00
Lwmte
4bf3b1dfd7 Merge branch 'develop' into develop_60fps 2024-10-25 08:43:58 +02:00
Lwmte
53e7ca0972 Decopypaste sync code, rename variable framerate to high, remove unused variables 2024-10-25 08:43:45 +02:00
Lwmte
e4098c458f Fix typo 2024-10-24 08:23:50 +02:00
Sezz
9a3166b9a1 Final code cleanup 2024-10-24 15:33:42 +11:00
Sezz
4a64e73648 Enforce some conventions with recent changes 2024-10-24 15:02:36 +11:00
Lwmte
a2812d5b34 Unrollback Tokyo's value 2024-10-23 20:28:36 +02:00
Lwmte
6278b59a1d Rollback Tokyo's jump distance constant and add no box checks to CanCreatureJump 2024-10-23 19:53:05 +02:00
Lwmte
4c42cb871a Fix door height and floordata precision loss with NO_HEIGHT variable 2024-10-23 19:49:23 +02:00
Lwmte
b7d9d994c2 Rename other constants in box.h 2024-10-23 16:28:51 +02:00
Lwmte
3f33021869 Fix TargetNearestEntity, refactor box flags, extend search LOT range to 32-bit 2024-10-23 16:22:52 +02:00
Stranger1992
521fdbfa8b Changed hardcoded sound for RAISING_BLOCKS back to the soundID used in TRLE (ID 149) 2024-10-21 23:22:49 +01:00
Stranger1992
f7a22ea1a7 Clarify Lua API for SetOnCollidedWithObject() 2024-10-18 00:14:02 +01:00
Jakub
e5e001b090
Merge branch 'develop' into develop_60fps 2024-10-16 16:19:13 +01:00
Lwmte
0638756d90 Fixed ghost collision with moveables with zero bounds 2024-10-16 00:59:37 +02:00
Lwmte
b1bbd55328 Fixed issue with Lara not rotating together with bridges while picking up items 2024-10-16 00:12:29 +02:00
MontyTRC89
9ea62f711a Fixed vehicle and Lara in HUB system level change 2024-10-15 15:18:51 +02:00
MontyTRC89
9cf2077051 Possibly fixed invisible Lara at HUB level switch 2024-10-14 05:56:34 +02:00