Commit graph

60 commits

Author SHA1 Message Date
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
d5ed115d50 Fixed wrong positions for transparent faces in moveable items 2024-05-16 11:49:58 +02: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
2eb2ff877d Starfield and lens flare cleanup 2024-05-08 13:47:47 +10: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
d53b3cf03d Add timeout for Moveable:Enable(), delete output.xml on build, update ldoc version label 2024-04-19 23:39:58 +02: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
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
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
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
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
hispidence
ba648e1383 Fixed doc comments and regenerated docs. 2024-01-07 13:22:52 +00:00
hispidence
a70159d95b Regen docs and fix some doc comments 2023-12-26 20:47:08 +00:00
hispidence
e7ffb94d19 Regen docs, increase margin in css file 2023-11-11 12:16:23 +00:00
hispidence
a6947df0bc Fix documentation comments and regen docs 2023-11-09 18:28:02 +00:00
hispidence
88a6d7f229 Modify changes.txt, fix doc comments, update docs. 2023-09-30 13:53:51 +01:00
hispidence
49ee5b69d9 Merge from origin/develop and put in string scale stuff 2023-09-28 19:21:07 +01:00
hispidence
274360c1d5 Updated docs. 2023-07-20 12:13:57 +01:00
hispidence
b354bca1f0 Regen docs after duplicated LogLevel.h removal. 2023-06-03 11:44:57 +01:00
hispidence
0ec39ac7f0 Fix doc comments & regen docs. 2023-05-31 21:48:00 +01:00
hispidence
5d03947991 Correct some doc comments and regen documentation. 2023-04-11 21:29:59 +01:00
hispidence
51e083a7de Fixed and regened docs; partial fix for #750 2023-03-31 20:51:44 +01:00
hispidence
71d2d047b1 Regenerated docs with version bumped to 1.0.8. 2023-03-24 18:27:38 +00:00
hispidence
9cd98757b7 Fixed and regenerated docs. 2023-02-27 14:33:55 +00:00
hispidence
082adaae52 Bump API version number. 2023-01-29 18:58:58 +00:00
hispidence
526113dbee Update docs. 2023-01-26 21:20:50 +00:00
hispidence
f400895b4b Regen docs. 2023-01-06 20:46:15 +00:00
hispidence
2c2785747b Update Changes.txt and docs. 2023-01-02 19:31:01 +00:00
hispidence
283981b2a7 Docs regen 2022-12-30 16:33:26 +00:00
hispidence
0f0d57cd66 Regenerate docs 2022-12-16 18:36:42 +00:00
hispidence
c9469331af Regen documentation 2022-12-11 18:40:31 +00:00
hispidence
5f0fe0f08b Regenerated documentation 2022-12-09 22:08:16 +00:00
hispidence
34da49943d Compiled doc fixes 2022-12-01 21:17:41 +00:00
hispidence
9fef88ded3 Update object lists and documentation. 2022-11-18 15:34:45 +00:00
hispidence
a56f7af06d Fix documentation, regen docs, bump version. 2022-11-11 21:03:55 +00:00
hispidence
a78a2efc6a Forgot to actually add LaraObject......... 2022-11-11 19:48:43 +00:00
hispidence
a1fe36f7a3 Add LaraObject, update docs. 2022-11-11 19:43:28 +00:00
hispidence
a1c84ad0e6 Unclamp SetHP, update docs. 2022-09-20 19:44:40 +01:00
hispidence
a9bdd74183 Update docs. 2022-09-14 20:05:31 +01:00
hispidence
732afdea87 Regenerate documentation. 2022-09-13 21:23:57 +01:00
hispidence
ffbcf6601b Fix documentation and some comments. 2022-09-07 20:57:50 +01:00
hispidence
e6319ee18a Update docs 2022-08-26 00:13:02 +01:00
hispidence
ec7ef1aa4a Update docs 2022-08-24 15:01:46 +01:00