Commit graph

771 commits

Author SHA1 Message Date
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
Kubsy
0511afab9f
Update Changes.txt 2024-04-01 16:06:11 +01:00
Sezz
369a6dd539 Additionally replace NO_JOINT with NO_VALUE 2024-03-31 23:19:37 +11:00
Sezz
9a98ce04c1 Reorganise script VolumeObject.cpp according to standards 2024-03-31 02:02:48 +11:00
Sezz
31b01122a6 Fix tabulation 2024-03-26 15:12:30 +11:00
Lwmte
982eb38f15 Update Objects.ObjID.html 2024-03-25 23:38:05 +01:00
Kubsy
d2ff29cf4d
Update Changes.txt 2024-03-25 20:55:51 +00:00
Nemoel-Tomo
ffd9c21d50
Single Laser tr3 - Tripwire (#1336)
* first try of the TR3 laserbeams - nothing to see

* update laser; thickness with ocb

* fixed collision

* SLOT-change.  NEWSlot ID #426

replaced ID_TRIPWIRE with ID_LASER_BEAM

* Rename files

* Rename functions

* Cleanup

* Simplify laser beam

* Cleanup

* Construct laser beam cylinder

* changed shader

* Set beam radius with OCB

* fixed shader for laserbeam

* fixed shader for single laserbeam; finished code

* Update TombEngine.sln

Win32 restored on lines 18 and 19

* update ObjectsIDs.h

* moved laser effects into SpriteEffects.hlsli

---------

Co-authored-by: Sezz <sezzary@outlook.com>
2024-03-25 20:50:21 +00:00
Lwmte
c8cbb73ed9 Expose static mesh hit points to lua API, cleanup script code a bit 2024-03-25 20:31:31 +01:00
Lwmte
6c9f644cd3 Added GetMeshCount script function 2024-03-24 13:38:55 +01:00
Kubsy
d2e3f596fe
Update Changes.txt 2024-03-22 22:57:53 +00:00
Lwmte
5383dc0056
Hub system (#1333)
* Work in progress

* Work in progress 2

* Work

* Fix Lara meshswaps appearing

* Update control.cpp

* Work

* Update lara_initialise.cpp

* Solve some problems with default weapon and holsters

* Implement actual resetHub script command, add comments and safeguards

* Update Changes.txt

* Update Changes.txt

* Additional refactors

* Add logging for hub system

* Add savegame verification, correct size writing method

* Transfer vehicles between levels

* Log vehicle transfer

* Update lara_initialise.cpp

* Move all vehicle transfer code to InitializeLaraLevelJump

* Also move health initialization to appropriate function

* Put all static fields into SaveGame class

* Formatting

* Fix pelvis pistol

* Partially fix hub vehicle loading

* WIP

* Introduce a hack for reinitializing vehicles on a hub

* Fix holsters again

* Update lara_initialise.cpp

* Better way to preserve crawl state on leveljump

* Update lara_initialise.cpp

* Update savegame.cpp

* Add IsOnHub

* Fix disappearing Lara

* Update lara_initialise.cpp

* Move inventory objects init to subfunction

* Fix issues with LevelVars reset and default soundtrack on hub restore

* Update lara_initialise.cpp

* Formatting

---------

Co-authored-by: Sezz <sezzary@outlook.com>
2024-03-21 09:06:50 +00:00
Lwmte
9f99115003 Update Changes.txt 2024-02-26 03:23:11 +01:00
Lwmte
9fc85346ac Update Changes.txt 2024-02-26 03:20:15 +01:00
Lwmte
60a89741c6 Fixed #1303 2024-02-18 12:47:03 +01:00
Lwmte
35e411b9a8 Fixed #1312 2024-02-18 02:48:07 +01:00
Jakub
fec6828928
Update Changes.txt 2024-02-17 10:16:06 +00:00
Jakub
b08f2fcbe2
Update Changes.txt 2024-02-17 10:14:56 +00:00
Lwmte
878a34a85d Fixed #1321 2024-02-17 10:18:03 +01:00
Lwmte
a645086112 Fixed #1328 2024-02-17 10:00:37 +01:00
Lwmte
3c4b6fcf3c
Ldoc portable compiler (#1330)
* Add portable ldoc compiler and build event

* Remove broken ldoc compiler

* Remove unneeded file, remove timestamp

* Update documentation
2024-02-13 17:02:25 +00:00
Stranger1992
a77ada8f45 Add Lua API generator and regenerated docs 2024-02-11 22:28:56 +00:00