Commit graph

8102 commits

Author SHA1 Message Date
Lwmte
fbe4529ab0 Again add a hack for overcoming another hidden memory access problem 2023-07-14 09:18:14 +02:00
Sezz
91820bd2d6 Update lara_helpers.cpp 2023-07-12 23:03:43 +10:00
Sezz
048b1d824a Progress with optics 2023-07-12 02:24:02 +10:00
Sezz
abaa204ba6 Fix stutter bug; fix flex reset when catching edge 2023-07-11 23:22:17 +10:00
Sezz
b90d1db30a Move look around functions 2023-07-11 21:45:10 +10:00
Sezz
29cf5da1ec Split function 2023-07-11 21:21:55 +10:00
Sezz
c53ce6d33e Move ResetLook() function; fix crawl flex reset 2023-07-11 21:09:09 +10:00
Sezz
caf86b5701 Remove TargetSwitch action 2023-07-11 20:27:46 +10:00
Sezz
7e7281f9ed Fix errors 2023-07-11 00:27:13 +10:00
Jakub
189a4cf34f
Update Changes.txt 2023-07-10 14:05:40 +01:00
Nemoel-Tomo
3f2b97194e
changed camera bounce to fit more TR4 (#1156)
* make puzzle_done show up if there is o trigger set

* -

* changed-camera-bounce-to-fit-more-TR4

* -
2023-07-10 14:04:33 +01:00
Jakub
ff4735fc21
Update Changes.txt 2023-07-10 10:04:15 +01:00
Sezz
5030dca92e Merge branch 'develop' of https://github.com/MontyTRC89/TombEngine into develop 2023-07-10 18:49:54 +10:00
Sezz
39303277ac Fix spiky ceiling collision 2023-07-10 18:49:47 +10:00
Stranger1992
88fc5a1cee Removal of redundant ObjectIDs 2023-07-09 20:07:26 +01:00
Lwmte
7095c42875 Fix another 64-bit specific crash with ID_NO_OBJECT 2023-07-09 19:38:56 +02:00
Adngel
3b1782602b new DrawNearbyTileFlags
- Added new function: DrawNearbyTileFlags. A function that shows spheres in the nearby tiles depending of the flags they've got activated. (Stopper, Monkey, Death, Bettle, etc).

- Updated function: DrawNearbyPathfinding. Now if the current path finding box is a blokable box (a grey box button in the editor), they will show green or red depending of their state, instead of the default cyan color.

- Updated lara code. Now she only activates the debug functions if the game is in Debugmode.
2023-07-09 17:24:28 +02:00
TokyoSU
d41927c8fd
Fixed natla. (#1155)
* Fixed natla.

- She still go to lara like a wolf to bite, but she use weapon ...

* Formatting

* Update tr1_natla.cpp

---------

Co-authored-by: Sezz <sezzary@outlook.com>
2023-07-09 13:28:42 +01:00
Lwmte
73ab1bd2e7
Savegame and inventory fixes (#1152)
* Initial commit
* Update Changes.txt
* Update Changes.txt
* Rename parameter

---------

Co-authored-by: Sezz <sezzary@outlook.com>
2023-07-06 11:57:08 +03:00
Lwmte
2861c80deb Update Renderer11Helper.cpp 2023-07-05 23:48:36 +02:00
Lwmte
218d3ff2ac Update Renderer11Helper.cpp 2023-07-05 23:33:33 +02:00
Lwmte
5fef3a3589 Update Input.cpp 2023-07-05 22:31:06 +02:00
Lwmte
e7c24ffcee Add screenshot functionality 2023-07-05 22:25:46 +02:00
Lwmte
6b7ed8ac89 Add null check for lua timer constructor 2023-07-04 20:20:01 +02:00
Lwmte
8e171373ce
Raising block fixes (#1151)
* Update tr5_raisingblock.cpp

* Update Changes.txt
2023-07-01 13:00:38 +01:00
Lwmte
59464fca5b Temporary fix for ADPCM codec on some Win11 systems 2023-06-29 00:10:22 +02:00
Lwmte
c3e79fea54 Don't try to load nonexistent items from savegame 2023-06-28 23:02:24 +02:00
Kubsy
a9e5851502 fix compile error 2023-06-28 11:30:26 +01:00
Jakub
70537dc965
Update Changes.txt 2023-06-28 10:55:25 +01:00
TokyoSU
be151d6d9c
Fix winged mutant (#1135)
* Fixed winged mutant.

- Fixed the dart and bomb spawning point (biteinfo).
- Fixed the dart and bomb being fired like a minigun.
- Fixed the zone detection, so he can fly correctly now !
- Fixed the attack dealing so much damage !

* Fixed ControlMissile

- Fixed the effect being not killed, which result in too much effect created !
- Fixed the UpdateDrips() being called 2 time.
- Fixed the explosion effect of the tr1 bomb of the atlantean !
- Added the atlantean explosion for body part.

* Fix the health of winged mutant (again)

* Formatting

---------

Co-authored-by: Sezz <sezzary@outlook.com>
2023-06-28 10:52:27 +01:00
Sezz
981d865e75 Add constant 2023-06-27 23:23:07 +10:00
Sezz
3316ec7c02 Improve behaviour in low ceilings 2023-06-27 23:12:02 +10:00
Sezz
eb5fc0f2e9 Add comments 2023-06-27 21:46:51 +10:00
Sezz
32dde86c6d Update savegame 2023-06-27 21:37:35 +10:00
Sezz
96b4bd7dcb Update formatting 2023-06-27 21:14:03 +10:00
Sezz
001ec77461 Merge branch 'develop' into better_look_camera 2023-06-27 20:35:42 +10:00
Sezz
f979e147e3 Further scripting code formatting 2023-06-26 17:54:06 +10:00
Sezz
85759b78b6 Remove inline keyword from math constants 2023-06-26 15:08:22 +10:00
Sezz
ccad6f29ea
Remove STOP_SIZE constant (#1147)
* Remove STOP_SIZE; fix slope collision bugs

* Remove bugged line

* Remove stray spaces and tabs

* More relevant reused code block to subfunction
2023-06-26 14:48:11 +10:00
Sezz
1d42567b8d Remove TODO 2023-06-26 14:32:34 +10:00
Sezz
eaa7ec840f Napalm ancient gunflash structs 2023-06-26 00:04:12 +10:00
Sezz
d05fd467fe
Remove ItemNumber from LaraInfo (#1149)
* Remove ItemNumber from LaraInfo

* Fix crash

* Update savegame

* Update savegame
2023-06-25 21:55:30 +10:00
Jakub
f7e0bf318b
Update Changes.txt 2023-06-25 11:56:03 +01:00
Sezz
67f4f381a8 Use correct collision type for spiky ceiling 2023-06-25 17:42:47 +10:00
Sezz
4c581b7305 Scripting code formatting 2023-06-25 16:59:59 +10:00
Sezz
5edb601617 Update tr1_doppelganger.cpp 2023-06-25 16:28:44 +10:00
Sezz
08af94f7c9 Revert "Revert "Fix doppelganger formatting""
This reverts commit 085a86ddee.
2023-06-25 16:21:34 +10:00
Nemoel-Tomo
bc7ee30cf2
fix spiky ceiling (#1146)
* make puzzle_done show up if there is o trigger set

* -

* fixed TR3 spiky ceiling

negative OCB = upwards
positive OCB= downwards
OCB number = speed

* Allow all entities to be harmed; add dedicated coll routine; improve collision; add notes

* Remove unused constant

* Improve Damocles sword behaviour

* Rename file

---------

Co-authored-by: Sezz <sezzary@outlook.com>
2023-06-25 15:49:39 +10:00
Sezz
770c06eb15
Change CreatureBiteInfo Position back to Vector3 (#1145) 2023-06-25 15:47:30 +10:00
Sezz
eea297ef39
Remove SECTOR() lambda (#1148) 2023-06-25 15:45:50 +10:00