Commit graph

692 commits

Author SHA1 Message Date
MontyTRC89
4f3ea36bc1 Temporarly hack for solving invisible Lara in some cases with HUB system 2024-10-13 05:52:52 +02:00
MontyTRC89
061d152207 Fixed rolling ball interpolation 2024-09-29 06:16:13 +02:00
MontyTRC89
1695caa602 Interpolation disable by default on CreateItem();
Interpolation enabled in renderer always after the first frame;
2024-09-06 06:07:12 +02:00
MontyTRC89
3a345e9ccb Merge branch 'develop' into develop_60fps
# Conflicts:
#	TombEngine/Game/control/control.cpp
#	TombEngine/Game/gui.cpp
#	TombEngine/Renderer/RendererDrawMenu.cpp
#	TombEngine/Scripting/Internal/TEN/Flow/FlowHandler.cpp
2024-08-16 10:19:51 +02:00
Stranger1992
e4b3124a68 Rename hair objects to distinguish between the two
ID_HAIR -> SINGLE_BRAID_HAIR
ID_HAIR2 -> DUAL_PIGTAIL_HAIR
2024-08-16 00:09:13 +01:00
Sezz
e3c1ccf5c2 Integrate GetWaterSurface(), GetWaterDepth() and GetWaterHeight() into PointCollisionData 2024-08-16 02:12:41 +10:00
Kewin Kupilas
f2c52e61aa
Add "Lara's Home" menu entry (#1394)
* Add "Lara's Home" menu entry

* Minor things

* Move home_level into Strings.lua

* Lara's Home -> Home Level

---------

Co-authored-by: Sezz <sezzary@outlook.com>
2024-08-11 17:20:09 +01:00
TokyoSU
b9b99af3d2
Seal Mutant Port (#1392)
* begin mutant crawler import

* progress.

* Update MutantCrawler.cpp

* Done seal mutant.

- Changed how ThrowPoison color worked.
The old function didn't really reflect the correct color.

* Update CHANGELOG.md

* Improve ThrowSealMutantGas

* Add ID_SEAL_MUTANT scripting ID

* Update ObjectIDs.h

* Remove IsLaraCrouching()

* Use correct data types for poison effect

* Use references, not pointers

* Use proper spacing

* Use const

* Remove magic numbers, ordering, const, etc

* Remove pointless CreatureBiteInfo constructor; remove global constants;; etc

* Formatting, cleanup

* Replace GetRandomControl() usage

* Comment

* Update CHANGELOG.md

* rename variable

* demagic numbers

* Define constants

* Remove anim data checks

* Update poison gas spawn function

* Update tr3_flamethrower.cpp

* Update SealMutant.cpp

* Update seal mutant

* Update seal light

* Update SealMutant.cpp

* Minor changes

* Update sealMutant

* Update effects.h

* Update flamethrower to have lara as target too.

* Revert feffects from int to uchar

* Cleanup

---------

Co-authored-by: Kubsy <kubadd475@gmail.com>
Co-authored-by: Stranger1992 <84292688+Stranger1992@users.noreply.github.com>
Co-authored-by: Sezz <sezzary@outlook.com>
Co-authored-by: Jakub <80340234+Jakub768@users.noreply.github.com>
Co-authored-by: Jakub <kubabilinski03@gmail.com>
2024-08-11 16:48:52 +01:00
Stranger1992
f804c794f8 Fixed an error in the KeyClearAll() function that prevented it from being displayed in the Lua API 2024-07-03 15:49:38 +01:00
Sezz
063e994213 Merge branch 'develop' into develop_60fps 2024-06-04 19:16:48 +10:00
MontyTRC89
d5ed115d50 Fixed wrong positions for transparent faces in moveable items 2024-05-16 11:49:58 +02:00
Jakub
654e3a0381 remove changes.txt (changelog is now in CHANGELOG.md) 2024-05-16 09:31:38 +01:00
Sezz
715df20e1f Fix crosshair angle interpolation 2024-05-11 01:51:48 +10:00
Sezz
fa697cc26e Update lens flare Lua API 2024-05-10 22:20:04 +10:00
MontyTRC89
1bd1832037 WIP solution for variable monitor refresh rates 2024-05-09 05:42:36 +02:00
Sezz
d49dd998be Merge branch 'develop' into develop_60fps 2024-05-08 14:11:51 +10:00
Sezz
e7889d2b88 Update colour objects 2024-05-08 14:10:45 +10:00
Sezz
2eb2ff877d Starfield and lens flare cleanup 2024-05-08 13:47:47 +10:00
Lwmte
83b6258de0 Merge branch 'develop' into develop_60fps 2024-05-03 10:16:48 +03:00
Lwmte
57cf323d73 Add autodelete parameter to ShowString 2024-05-03 10:16:32 +03:00
MontyTRC89
cedad8c3ab Merge branch 'develop' into develop_60fps 2024-05-01 05:33:10 +02:00
Jakub
d83a84036e
Update Changes.txt 2024-04-29 12:55:59 +01:00
MontyTRC89
47e37d3960 Merge branch 'develop' into develop_60fps 2024-04-29 05:22:30 +02:00
Joey Quint
77cd0644f7 Fixed camera rotating with Lara's hips when climbing out of water - fixes #1311 2024-04-28 22:05:58 +02:00
MontyTRC89
b03480e926 Merge branch 'develop' into develop_60fps
# Conflicts:
#	TombEngine/Game/control/control.cpp
2024-04-28 06:36:13 +02:00
MontyTRC89
1d30d43aac Added color to lens flare;
Added LUA api for starfield and lens flare;
2024-04-28 06:31:59 +02:00
Lwmte
9df06e0a63 Update Changes.txt 2024-04-27 11:00:18 +02:00
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
Lwmte
809d54d811 Update docs 2024-04-24 00:32:32 +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
Lwmte
fed654b06c Update Changes.txt 2024-04-21 16:30:55 +02:00
Lwmte
7b1eec808e Allow arbitrary rotation of a directional flame emitter 2024-04-20 23:03:22 +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
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
Sezz
3e9addf98a Add bridge check to ProcessSectorFlags(); remove NO_BOX and NO_ZONE constants 2024-04-16 16:08:40 +10:00
Stranger1992
3890f0d224 Update Lua API parameters correctly 2024-04-13 02:05:43 +01:00
Stranger1992
1a94a53c56 Update moveable Lua API 2024-04-13 01:58:58 +01:00
Lwmte
266f1b5b6a
Use real bounding box tests for GetCollidedObjects (#1343)
* Initial commit

* Use DX bboxes for item collision tests

* Update collide_item.cpp

* Update collide_item.cpp

* Update collide_item.cpp

* Code cleanup

* More code cleanup and optimizations

* Remove obsolete radius argument for GetCollidedObjects, mode code cleanups

* Fix ITEM_INVISIBLE typos

* Restore custom radius where needed

* Restore custom radius for polerope

* Function cleanup

* Simplify function

* Remove CollidedItems and CollidedMeshes globals

* Use custom radius for pickups and explosion

* Add changelog, shuffle function order

* Simplify

* fix syntax error

* Rename local variable

* Update collide_item.cpp

---------

Co-authored-by: Sezz <sezzary@outlook.com>
Co-authored-by: Jakub <kubabilinski03@gmail.com>
2024-04-12 23:34:30 +10:00
MontyTRC89
2e5867407e Fixed wrong alpha test in alpha blended faces 2024-04-10 06:08:47 +02:00
Lwmte
743022820d Update Changes.txt 2024-04-07 08:16:37 +02:00
Stranger1992
6c7f7e7419 Update Changes.txt 2024-04-06 08:11:09 +01:00
Stranger1992
1e9fcdf001 Update Changes.txt 2024-04-06 08:10:26 +01:00
Lwmte
b8b76cd9c9 Update Flow.html 2024-04-06 08:24:22 +02:00
Lwmte
86f9cb86c7 Add GetFlipMapStatus function 2024-04-06 08:16:07 +02:00
MontyTRC89
8ece609f4c Fixed slpha blended sprites 2024-04-06 06:12:38 +02:00