Commit graph

54 commits

Author SHA1 Message Date
TrainWrack
d19d56acee
Collision Class (#1579)
* First Commit

* Make ScriptCollision class

* Fix typo

* Return correct types

* Use NO_HEIGHT

* Implement GetSurfaceMaterial

* Add enums

* Added death, climbable wall, monkeybar

* FIx angle

* Revise things

* Make "Collision" script module; add IsOutOfBounds() method

* Rename IsOutOfBounds()

* Allow getting floor or ceiling material type

* Don't need IsWall()

* Update Collision.cpp

* Restore IsWall()

* Rename class to "Probe"; start docs; make steepness inquirers return an optional

* Update Probe.cpp

* Update class name in doc

* Update Probe.cpp

* add GetRoomName

* UpdateEnums

* Update MaterialType enum; make room name getting more local

* Revise constructors; update doc

* Update Probe.cpp

* Generate html docs

* Slightly clearer doc comments

* Convert spaces to tabs

* Update Probe.cpp

* Update Probe.cpp

* Rename parameters

* Update Probe.cpp

* ScriptProbe -> Probe

* ExposeGetRoom

* Register Collision.MaterialType table; Enable ClimbWall again.

* Cleanup

* Docs revision

* Update CHANGELOG.md

* Moved names to script reserved names

* Fixed incorrect namespace for probe

* Use consistent names; cleanup

* Make argument optional; fix doc

* Update Probe.cpp

* Add missing includes

* Add Preview() method; update docs

* Add constant

---------

Co-authored-by: Sezz <sezzary@outlook.com>
Co-authored-by: Lwmte <3331699+Lwmte@users.noreply.github.com>
2025-03-05 10:13:48 +02:00
TrainWrack
1f81ccf44d
Diary module (TEN side) (#1509)
* Update to bug report form

* Update bug_report.yaml

* Update AUTHORS.md

- Tomo (general coding, special FX coding, bug fixing)

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update bug_report.yaml

* Add files via upload

* Add files via upload

* Add ID_DIARY_SPRITES (1384) and DIARY_ENTRY_SPRITES (1385)

* Delete Scripts/Engine/Diarymodule.lua

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Delete Scripts/Engine/CustomBar.lua

* Add files via upload

* Update CustomDiary.lua

* Add files via upload

* Add files via upload

* Add files via upload

* Update CustomDiary.lua

* Upload

* Update CHANGELOG.md

* Revisions

* Doc revisions

* Remove GameVars.Engine everywhere.

* Added error warnings by integrating type module

* Update bug_report.yaml

* Fixed the bug with GameVars resetting each level.

* Added .Engine back.

* Added missing checks.

* Removed nil from textOptions loop

* Added full TEN name for printlogs.

* LatestChanges

* Added section for import.

---------

Co-authored-by: Stranger1992 <84292688+Stranger1992@users.noreply.github.com>
2025-02-06 23:05:25 +00:00
Sezz
94ede801bc Misc. script doc tidying; move some script classes to namespaces 2025-02-06 16:35:59 +11:00
Stranger1992
bfe07f6e21 Bump version in Lua API for development 2025-01-05 16:45:30 +00:00
Lwmte
382f778fa2 Bump version, add runtime checks 2024-12-27 19:45:31 +01:00
Lwmte
e3ecc3acdb Update docs, fix savegame formatting, bump version 2024-12-24 23:22:02 +01:00
Lwmte
db717658fc Added references to Type module 2024-12-16 21:33:37 +01:00
Lwmte
8d08a9feb5 Move statistics back to TEN classes 2024-12-15 23:59:31 +01:00
Lwmte
773c5bb7bb Remove obsolete mirror class, more cleanups in documentation 2024-12-15 23:47:59 +01:00
Lwmte
f97d257fd1 Add optics camera type, big enum cleanup and doc formatting 2024-12-15 23:34:33 +01:00
Lwmte
f4763bd4a2
Customize global hardcoded parameters (#1495)
* Initial commit

* Update CHANGELOG.md

* Tint flare smoke

* Expose GetCustomizations

* Added lensflare and flicker customization options for flare

* Update LensFlare.cpp

* Remove unnecessary code

* Update lara_flare.cpp

* Massive refactor to merge animations, settings and customizations

* Add HUD customization options

* Customize weapons

* Fixed flare, renamed recoil to interval, fixed lensflare default

* Occlude flare lensflares

* Update Settings.cpp

* Use alternate damage for lasersight mode

* Added hair cust

* Fix comment

* Fix another comment

* Fix link

* Fix placeholder table names

* Reorganize types

* Add missing initializers for hair settings

* Added physics cust

* Clarify description

* Update settings.lua

* Update CHANGELOG.md

* Add gun smoke, gun shells and ammo pickup counts

* Fix naming ambiguity

* Remove missing features from documentation

* Fix comment

* Fix parameter name, change default settings file

* Fixed pitch black

* Rollback DoDistanceFogForVertex

* Add camera cust

* Change binocular/lasersight toggle to color

* Update lara_basic.cpp

* Add time and statistics classes and script API for it

* Fix comment

* Use DoDamage on Lara helpers to register with statistics

* Update Time.cpp

* Fix documentation

* Fix default flare timeout

* Update Settings.lua

* Add flare muzzle offset customization

* Remove young Lara limitations

* Fix lasersight color

* Push full settings.lua

* Update RendererCompatibility.cpp

* Allow to customize root meshes, decopypaste hair and joint init code

* Added sol Time operator overloads

* Some changes to docs, add meaningful error for unknown fields

* Use existing new index template, add gunflash color settings, add shotgun muzzle

* Remove excessive usage of GetSettings()

* Cleanups

* Update Settings.lua

* Clarify parameter name

* Fix InitializeWeaponInfo

* PR review code tidying

* Fix bad merge

* Update FlowHandler.cpp

* Remove tabs for LDoc comments

* Use different comment style to preserve formatting

* Update lara_fire.cpp

* Some cleanups

* Fixed GetTimeUnits

* Fix typo

* Update Time.cpp

---------

Co-authored-by: Sezz <sezzary@outlook.com>
2024-12-15 18:24:49 +02:00
Lwmte
b5fa51b2dc Recompile docs for 1.6, version update 2024-11-21 18:27:42 +01:00
Lwmte
91081c9f0d
Freeze event and OnUseItem callbacks (#1463)
* Add use item callbacks, add menu boilerplate code

* Set up scripting API for game mode

* Use word "break" instead of "menu" everywhere

* Rudimentary implementation of BreakPhase

* More progress

* Doc update

* Always active lensflare

* Update CHANGELOG.md

* Fix hair interpolation for spectator mode

* Update target highlighter and other HUD elements while in break mode

* Fix various problems

* Don't try to update camera in spectator mode

* Cleanup camera code

* Rename break to freeze

* Update FlowHandler.cpp

* Update Flow.html

* Update control.cpp

* Rename method

* Add displaystring owner to differentiate between freeze modes

* Disable triggers and volumes in freeze mode

* Update control.cpp

* Rename enum

* Update CHANGELOG.md

* Implement full freeze, correct callback behaviour

* Update RendererDrawMenu.cpp

* Allow DumpGameScene to do partial pass

* Remove hack

* Introduce render mode enum to render scene without any postprocess

* Tidying

* Fix problems with items or renderer not updating before entering freeze mode

* Fix rebase errors

* Use interpolation factor getter instead of raw value everywhere

* Update documentation

* Fixed setting freeze mode from OnStart

* Fixed freeze mode not working in OnStart event

* Revert "Fixed freeze mode not working in OnStart event"

This reverts commit 87f6fbdc6d.

* Bypass cinematic bars and fades for non-full render modes

---------

Co-authored-by: Stranger1992 <84292688+Stranger1992@users.noreply.github.com>
Co-authored-by: Sezz <sezzary@outlook.com>
2024-11-20 20:54:39 +00:00
Sezz
2624c5bed2 Formatting 2024-11-16 22:07:57 +11:00
Lwmte
f51d499e68 Regenerate documentation 2024-11-03 11:39:16 +01: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
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
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
a1fe36f7a3 Add LaraObject, update docs. 2022-11-11 19:43:28 +00: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
02a8d935ca Update docs 2022-08-19 00:05:52 +01:00
hispidence
9686f80b29 Add documentation for EventSequence and update autogenerated docs. 2022-08-11 22:49:31 +01:00
hispidence
3ee432c423 Fix up version name so it doesn't conflict with the LDoc version. Modify .css to enable SOME syntax highlighting. 2022-08-08 23:31:09 +01:00
hispidence
834a104cbd Update all doc pages with new version number. Add not_luadoc flag to allow the docs to properly show the case where a param can be more than one type. 2022-08-08 21:43:41 +01:00