Commit graph

7357 commits

Author SHA1 Message Date
Sezz
68b51a1554 Fix doppelganger formatting 2023-06-22 16:11:54 +10:00
Sezz
29a136b3e5 Update new function 2023-06-19 17:02:09 +10:00
Sezz
53d8e96082 Fix bat formatting 2023-06-19 16:57:00 +10:00
Lwmte
4aa6a6db0b Fix pickup regeneration 2023-06-18 16:11:18 +02:00
TokyoSU
f827a46a92 Removed duplicate drips call in controlPhase. 2023-06-18 15:43:42 +02:00
Lwmte
9abd8c4d39 Update Changes.txt 2023-06-18 15:14:30 +02:00
Lwmte
cd5ea3de83 Update Changes.txt 2023-06-18 15:12:39 +02:00
TokyoSU
ba1df7755a Fix bat.
Check changes.txt for more info.
2023-06-18 15:05:18 +02:00
Lwmte
850d1b9ee2 Add descriptions 2023-06-18 00:35:19 +02:00
Lwmte
19e923b9c4 Fix concealed memory access bug 2023-06-18 00:11:58 +02:00
Lwmte
2cca8f1949 Fix W4 warning 2023-06-17 19:23:46 +02:00
Lwmte
95ff7091a9
Sound engine enhancements (#1141)
* Finalize features

* Add descriptions

* Amplify loudness output

* fix compile error

* Add subtitle parser for voice track

* Update bass.lib

* Return nil instead of empty string if no subtitle is found

* Allow to use newlines in subtitles

* Additionally try to load subtitles from /subtitles subdirectory

* Don't stop ambience when Lara dies

* Add option for turning subtitles on or off

* Update TombEngine.vcxproj

* Parse newlines correctly in subtitles

* Add millisecond constant

* Align menu

* Minor formatting; remove newlines preventing tooltips

---------

Co-authored-by: Kubsy <kubadd475@gmail.com>
Co-authored-by: Sezz <sezzary@outlook.com>
2023-06-17 12:02:51 +01:00
Lwmte
35304ce84a
Dynamic bridge collision (#1137)
* Initial commit

* Don't update bridge offset if not necessary

* Don't stick to bridge when in air

* Update Changes.txt

* Minor simplification

* Simplify

* Update collide_room.h

* Update collide_room.h

* Use real floor height to determine bridge collision

* Detect bridges first to avoid potential issues with item init

* Remove incorrect forward declaration

* Move pickups on dynamic bridges

* Push player away from moving bridges

* Update Changes.txt

* Use actual pickup bounds for collision detection

* Stabilize collision by using both abs Y and bb Y ref points

* Update collide_item.cpp

* Swap function parameters

* Update collide_room.cpp

* Increase movement tolerance

---------

Co-authored-by: Sezz <sezzary@outlook.com>
Co-authored-by: Jakub <80340234+Kubsy@users.noreply.github.com>
2023-06-17 10:52:02 +01:00
Lwmte
ba368be4b7 Fix hit effect for skeletons and mummies 2023-06-17 01:40:15 +02:00
Lwmte
88991e6cae Fix skeletons and mummies not affected by explosive weapons 2023-06-17 01:29:53 +02:00
Lwmte
b91dce1ce1 Fix various discarded W4 compiler warnings 2023-06-16 23:07:37 +02:00
Lwmte
a79d63f61d
Remove shady include directories (#1142)
* Remove all shady include directories
* Update TombEngine.vcxproj
2023-06-16 20:43:08 +03:00
Lwmte
e094092ecf Update Changes.txt 2023-06-16 01:39:11 +02:00
Lwmte
7c9a700005 Fix enemies shooting Lara through static meshes and moveables 2023-06-16 01:36:13 +02:00
Stranger1992
1f63b41237 Update Changes.txt 2023-06-15 21:05:42 +01:00
Kubsy
02c326b1b8 Update Changes.txt 2023-06-15 20:10:53 +01:00
Sezz
865e52f0e6 Add Contains() utility template function 2023-06-15 20:52:34 +10:00
Jakub
ef72fa6e25
Update Changes.txt 2023-06-15 10:51:23 +01:00
Jakub
b1cccbeead
Update Changes.txt 2023-06-15 10:40:39 +01:00
TokyoSU
68967ace7a
Port TR1 Kold/Mr. T (#1136)
* Add kold (WIP)

* Finished kold (TR1 MrT)

* Formatting

* Fix Kold enum names

---------

Co-authored-by: Sezz <sezzary@outlook.com>
2023-06-15 10:38:29 +01:00
Sezz
235b31a587 Merge branch 'develop' of https://github.com/MontyTRC89/TombEngine into develop 2023-06-15 18:21:22 +10:00
Sezz
22cdc2d681 Formatting 2023-06-15 18:20:57 +10:00
Jakub
2f8bfc2b2c
Update Changes.txt 2023-06-15 09:17:55 +01:00
TokyoSU
0becda5b7f
Implemented skateboard kid & skateboard (#1072)
* Framework for code.

* Added skateboard kid template

* Placeholders

* Finished the skateboard kid.

* Fix skateboard kid hitpoints.

* Done the refactor for skateboard kid.

* Readded comment and removed tabs.

* Formatting

* Formatting

* Use better names in skateboard kid enums

* Space

---------

Co-authored-by: Stranger1992 <84292688+Stranger1992@users.noreply.github.com>
Co-authored-by: Sezz <sezzary@outlook.com>
2023-06-15 09:11:47 +01:00
Lwmte
be87730ddf Update Changes.txt 2023-06-15 02:45:55 +02:00
TokyoSU
bf5c27cf6b Fix doppelganger 2023-06-13 21:58:06 +02:00
TokyoSU
d6317c43ad Fix doppelganger 2023-06-13 15:46:58 +02:00
Lwmte
20372e7ab7 Move static ID check to level loading procedure 2023-06-11 20:35:26 +02:00
Lwmte
ef2daae759 Fix crash on loading if static meshes with IDs above maximum are present 2023-06-11 16:54:03 +02:00
Lwmte
9d949ce7d2
Pause sounds in menus (#1134)
* Initial commit
* Update Changes.txt
* Fix sound restart issues when going from/to focus in windowed mode
* Update sound.cpp

---------

Co-authored-by: Jakub <80340234+Kubsy@users.noreply.github.com>
2023-06-10 13:55:56 +03:00
Kubsy
bb4be274a3 Update Changes.txt 2023-06-09 09:00:47 +01:00
Sezz
2954b00269
Revised slope deflection (#1130)
* Prototype revised slope deflection
* Fix function calls
* Update collide_room.cpp
* Simplify
* Precision
* Rename local variable
* Fix merge error
2023-06-08 23:03:54 +03:00
Lwmte
439bdfd364 Fix default ambience overlapping current one when loading a savegame 2023-06-06 22:24:18 +02:00
Lwmte
a4e32bf0e4 Update bass headers 2023-06-06 22:05:21 +02:00
Lwmte
0771dcaa56 More consistent method to jump to new soundtrack postion 2023-06-05 20:47:57 +02:00
Lwmte
02effbf3e4 Save anim_object_id 2023-06-05 20:29:02 +02:00
Lwmte
9ac0ea2a82 Update TombEngine.vcxproj.user 2023-06-05 13:56:50 +02:00
Lwmte
0707f0fdd9 Fix paths for 64-bit build 2023-06-05 01:17:24 +02:00
Lwmte
0d5474170e Update Changes.txt 2023-06-04 21:14:45 +02:00
Lwmte
932bc44b6c Fix clockwork beetle activation crashing the game 2023-06-04 17:52:03 +02:00
Lwmte
0ad391b82c Update Changes.txt 2023-06-04 16:17:24 +02:00
Lwmte
7790a033a2 Fix fog bulb density formula 2023-06-04 16:03:17 +02:00
Lwmte
252410da01 Temporary fix for laserhead / roman god crash 2023-06-04 15:38:49 +02:00
Lwmte
5cac24d00a Fix sprint value going below zero 2023-06-04 12:18:15 +02:00
Sezz
90d837ee6b Fix Tokyo's formatting part 4 2023-06-04 17:14:03 +10:00