Commit graph

8102 commits

Author SHA1 Message Date
Sezz
16f514ac93 Update gui.cpp 2023-08-07 00:53:35 +10:00
Sezz
94c76bbb5e Add 3 second timeout when setting new key 2023-08-07 00:41:20 +10:00
Sezz
bf82029069
Remove legacy input bit fields (#1164)
* Remove TrInput and DbInput

* Remove legacy InputActions enum

* Fix error

* Remove InputKey enum
2023-08-05 19:17:14 +10:00
Sezz
6aada10cf8
Update Changes.txt 2023-08-04 17:36:45 +10:00
Sezz
f9c8c1d225 Slightly improve readability 2023-08-04 17:32:59 +10:00
Jakub
b7fe9ad817
Update Changes.txt 2023-08-03 22:32:42 +01:00
Jakub
2e191829a5
Merge pull request #1078 from MontyTRC89/better_look_camera
Better look camera
2023-08-03 22:31:33 +01:00
Adngel
eade984ab5 Fix Pushable Alignment issue
Looks like that control updates interfere with the alignment process. So I paused the update if the alignment is happening.

Also changed the polarity of AlignCenter. Now if nothing is added, it will align in the center like TR4, only when the +4 OCB is added, Lara will can grab the pushable freely.
2023-08-03 18:36:30 +02:00
Adngel
8f24c9da3c Merge branch 'develop' into Adngel-pushables-remake 2023-08-03 18:20:12 +02:00
Sezz
80bb6d52ad Decrease volume step 2023-08-03 21:29:17 +10:00
Sezz
2bcdc37641 Update sound settings input 2023-08-03 20:32:46 +10:00
Adngel
5ec7c45ff4 WIP save data for PushableInfo 2023-08-02 18:33:23 +02:00
Adngel
7794efa151 WIP SetStopper function 2023-08-02 16:21:41 +02:00
Sezz
7a019bd6c1 Center game window when launching 2023-08-03 00:12:26 +10:00
Adngel
31aaaaa13b WIP Classic Push/Pull Animation restored 2023-08-02 14:04:51 +02:00
Adngel
5e30b4318a WIP Restore sound map 2023-08-02 12:45:47 +02:00
Adngel
e5f54569c1 Deleted an unused function
I wrote that comparer but it's not required anymore.
2023-08-01 21:47:26 +02:00
Adngel
5d764af9a5 WIP pushables initializator moved from TR5 to Generic 2023-08-01 21:44:51 +02:00
Adngel
9a145a5f4e Merge branch 'develop' into Adngel-pushables-remake 2023-08-01 21:24:32 +02:00
Adngel
77fd5ab842 Fix Scan Error Lara's height.
Added a tolerance to the height detection.
2023-08-01 21:15:55 +02:00
Adngel
876c225108 WIP Added full stack height to the condition check 2023-08-01 21:08:02 +02:00
Adngel
a04039e28f WIP Fixes and polishment
- Pushables that were floating and fell in an empty pool, won't have a velocity delay when they are push or pulled for first time.
- Pushables that have other stacked pushables over it, won't float in water.
- Temporal fix for vertical position update for stacked pushables.
2023-08-01 20:03:22 +02:00
Adngel
2ea910f025 Fix Pushable Stack count
Another problem with the references.
2023-08-01 18:52:58 +02:00
Adngel
9b6a3d966b WIP Implement Stack limit condition 2023-08-01 18:23:13 +02:00
Adngel
b19f436b44 Fix Pushable Stack initialization 2023-08-01 17:59:50 +02:00
Adngel
b014c6e711 Fix Pushable Stack Move
I had a wrong use of references. Solved.
2023-08-01 15:11:22 +02:00
Adngel
f7d586fd83 WIP Pushables stack 2023-07-31 22:03:23 +02:00
Adngel
1f553021bc Fix Water Ripples in underwater ceiling.
Water ripples now won't appear in underwater rooms when the pushable is in a place with not surface.
2023-07-31 16:13:50 +02:00
Adngel
0ae406b8ef WIP polishment
- Reduced the comments capital letters.
- Fixed the issue with the pushable move sound
- Removed unused function. InitializeClimbablePushable
2023-07-31 15:38:45 +02:00
Adngel
3e0c02f1fd WIP Added splash and ripple effects.
(Although the ripple effect could still need some improvement).
2023-07-31 14:36:57 +02:00
Adngel
c252646f32 Fix climbable pushables on water
Looks like that the refresh function was being activated when the pushables were thrown into water, creating a bridge collision before time (What was affecting their action of floating till the surface).
2023-07-31 13:23:18 +02:00
Sezz
a10e5c3ce2 Move function 2023-07-31 20:55:55 +10:00
Sezz
69464401d6 Fix merge errors 2023-07-31 20:43:52 +10:00
Sezz
c484013e29 Merge branch 'develop' into sezz_target_highlighter 2023-07-31 20:21:56 +10:00
Sezz
0fd527c46c Simplify GUI ring access code 2023-07-31 17:53:22 +10:00
Sezz
38afa940d4 Fix filename case in project includes 2023-07-31 17:29:20 +10:00
Lwmte
8c0960772e Make torch flame effect more prominent 2023-07-31 09:14:48 +02:00
Lwmte
b9e5cb42d4 Remove all instances of weird and unnecessary item index calculation 2023-07-31 09:14:48 +02:00
Lwmte
2505101c20 Make fxObj a 32-bit value to solve issues with incorrect particle spawn for burning torch 2023-07-31 09:14:48 +02:00
Sezz
7bf91d18d5 Update string for missing sound effect warning 2023-07-31 16:30:47 +10:00
Adngel
1c5f483371 WIP Climbable Pushables
Still some problems about the RemoveBridge function. Looks like it doesn't work.
2023-07-31 03:44:54 +02:00
Adngel
56a9f9439f WIP scan function polishment
- Tentative fix in Lara's detection.
- Separated the pushable validation from the movement validation. Now the pushable validation will be in the Collision function and will trigger to allow the player grab the pushable. Instead of just unable it to push/pull it.
2023-07-30 15:02:19 +02:00
Sezz
33df7989c7
Organise debug pages (#1172)
* Organise debug pages

* Add functions for debug reticles; make parameters const

* Improve sphere drawing
2023-07-30 20:49:43 +10:00
Adngel
37986d9c6e WIP Added the scans functions. 2023-07-30 03:19:46 +02:00
Adngel
fdac63e66d Fix Idle -> Water transition 2023-07-29 22:29:13 +02:00
Adngel
012517ba76 WIP Added Water States 2023-07-29 21:22:54 +02:00
Adngel
7114304f3b WIP Added Falling State 2023-07-29 20:47:02 +02:00
Adngel
4bd61db4ef WIP added movement state and new functions.
Added Movement State.
Added functions in item.cpp
- GetNearestSectorCenter
- FloatItem
2023-07-29 19:02:44 +02:00
Sezz
9b5bed823c Merge branch 'develop' into better_look_camera 2023-07-30 00:27:02 +10:00
Lwmte
a52d2be19f Fix incorrect vertical position after reloading a savegame made while standing on a bridge 2023-07-29 12:09:48 +02:00