Commit graph

9399 commits

Author SHA1 Message Date
Kubsy
571f87f35f
Update Changes.txt 2024-04-26 10:45:40 +01:00
Lwmte
29a5fc7411
UseItem event (#1357)
* Implement UseItem event, refactor item usage a bit

* Decopypaste medipack hotkey usage code

* Prevent small and large medipacks from being used simultaneously; tidy up UseItem()

---------

Co-authored-by: Sezz <sezzary@outlook.com>
2024-04-26 10:43:10 +01:00
Sezz
ad82158301 Illegal slope -> steep slope 2024-04-26 17:51:53 +10:00
Sezz
b73b31784c Add TODOs 2024-04-26 16:30:44 +10:00
Sezz
0817b64926 Merge branch 'develop' into sezz_point_collision_class 2024-04-26 16:25:06 +10:00
Sezz
bcd689b8ba Update collide_room.cpp 2024-04-26 15:53:02 +10:00
Sezz
546034ecc1 Apply PR comments 2024-04-26 15:49:27 +10:00
Sezz
15bd3d5217 Add bridge check to player move test over death sectors 2024-04-25 19:38:39 +10:00
Adngel
9dc4f9e24e
Adngel small fixes (#1355)
* Update tr2_worker_shotgun.cpp

Added enumerators for Animations and States.

* Fix Worker Shotgun walking attack

Now the enemy can hurt Lara with every shooting he does while walking.

* Fix skidoo driver lack of AI

* Update tr2_worker_shotgun.cpp

Use TestProbability()

---------

Co-authored-by: Sezz <sezzary@outlook.com>
2024-04-24 15:25:22 +10:00
Lwmte
30a72eb71b Filter out code bits for legacy soundtrack mask 2024-04-24 00:42:00 +02:00
Lwmte
809d54d811 Update docs 2024-04-24 00:32:32 +02:00
Lwmte
46d1987816 Implement lua API functions to get last chosen inventory item 2024-04-24 00:30:02 +02:00
Lwmte
c13bd9ab19 Fixed original issue with classic switch off trigger wrongly activating some trigger actions 2024-04-24 00:21:00 +02:00
MontyTRC89
c241af1c70 Meteors interpolation 2024-04-23 20:59:43 +02:00
MontyTRC89
c55b252393 Global lens flare;
Starry night simulation;
2024-04-23 20:40:51 +02:00
Lwmte
29ebdf452f Update effects.cpp 2024-04-22 20:58:46 +02:00
Stranger1992
612e7de243 Squashed commit of the following:
commit a7dcba12ce
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date:   Sun Apr 21 19:39:05 2024 +0200

    Fix directional flame emitters
2024-04-21 22:58:19 +01:00
Lwmte
a7dcba12ce Fix directional flame emitters 2024-04-21 19:39:05 +02:00
Jakub
cb3cd84f6d Merge remote-tracking branch 'origin/develop' 2024-04-21 15:43:10 +01:00
Lwmte
fed654b06c Update Changes.txt 2024-04-21 16:30:55 +02:00
Lwmte
5cc7c24186 Rollback old incorrect collision check for top/bottom of solid statics 2024-04-21 15:24:58 +02:00
Lwmte
83e2bac286 Fix ember emitter color range as well 2024-04-21 12:07:41 +02:00
Lwmte
064d08e4f4 Properly calculate light values for dynamic light objects 2024-04-21 11:23:52 +02:00
Lwmte
7b1eec808e Allow arbitrary rotation of a directional flame emitter 2024-04-20 23:03:22 +02:00
Jakub
0d49a053ec Merge branch 'develop' 2024-04-20 14:27:43 +01:00
Lwmte
faf09d6f9c Merge both fixes from previous commits 2024-04-20 07:59:14 +02:00
MontyTRC89
e73bb7b92b Increased max lens flares to 8;
Choose the nearest 8 ones;
Make the code in post process optional only if some lens flares are available;
Max distance of lens flare 20 blocks and they must be in the same room of camera;
2024-04-20 06:44:12 +02:00
MontyTRC89
994dc69ce0 Implemented ID_LENS_FARE objects 2024-04-20 06:30:00 +02:00
MontyTRC89
c384a78e19 Merge branch 'develop' into develop_60fps 2024-04-20 06:01:50 +02:00
MontyTRC89
5468734174 Merge branch 'develop' of https://github.com/MontyTRC89/TombEngine into develop 2024-04-20 06:01:35 +02:00
MontyTRC89
063b6cb010 Fixed blinking of water when there are debris 2024-04-20 06:01:31 +02:00
MontyTRC89
374697f38b WIP ID_LENS_FLARE objects 2024-04-20 05:41:01 +02:00
Lwmte
91c00db0f2 Fixed drawing of transparent surfaces when debris are present in scene 2024-04-20 00:49:37 +02:00
Lwmte
d53b3cf03d Add timeout for Moveable:Enable(), delete output.xml on build, update ldoc version label 2024-04-19 23:39:58 +02:00
Lwmte
a4227dddb0 Fixed collision for solid static meshes with zero collision box 2024-04-19 22:58:09 +02:00
Adngel
dbd164cf68 Update Changes.txt 2024-04-19 17:02:42 +02:00
Adngel
4943fa22a0 Bug Fix: Pushables wrong collision
Fixed a bug where climbable pushables reactivated their bridge collisions during the continuous push/pulling.
2024-04-19 14:59:26 +02:00
Adngel
7880d275b1 Bug fix: Trex double rotation
The rotation from AI.angle was correct, but looks like it was applying the same rotation to the head and the neck (was at the end was like duplicating the value).

I've edited these two lines to add only half of the angle the head and other half to the neck.
2024-04-19 13:34:45 +02:00
MontyTRC89
7d66d49742 Lens flares set by code and not hardcoded in shader 2024-04-18 16:58:07 +02:00
MontyTRC89
4bbf52abf5 Polished the lens flare pixel shader 2024-04-18 15:58:47 +02:00
MontyTRC89
ce403506b5 Lens flares prototype 2024-04-18 09:38:15 +02:00
MontyTRC89
d0a451f866 Merge branch 'develop' into develop_60fps 2024-04-18 05:52:43 +02:00
MontyTRC89
ff32cca745 Shadow maps interpolation 2024-04-18 05:52:20 +02:00
Lwmte
633d6dc4c5 Update footprint.cpp 2024-04-17 11:59:57 +02:00
Sezz
2632a28398 Add bridge check to pad trigger 2024-04-17 17:58:22 +10:00
Lwmte
65fe27c272 Update lara_collide.cpp 2024-04-17 09:56:48 +02:00
MontyTRC89
c11eab5f58 Hairs interpolation 2024-04-17 05:31:19 +02:00
Lwmte
4a95305191 Fix #1350 2024-04-17 02:24:49 +02:00
Lwmte
b6d22844bf Fixed fire item effect not extinguishing in water 2024-04-17 02:16:14 +02:00
Lwmte
ccf77beff3 Fixed diving when swimming over sinks 2024-04-17 01:37:32 +02:00