Commit graph

776 commits

Author SHA1 Message Date
Lwmte
821a4e844e Fixed ldoc incorrectly displaying optional parameters 2025-04-13 16:26:51 +02:00
Lwmte
0d60467833 Fixed script API documentation mistakes 2025-04-13 16:22:41 +02:00
Lwmte
0128660f07 Change LDoc to properly format optional arguments and defaults 2025-04-12 17:27:06 +02:00
Lwmte
b643eec165 Added muzzle glow effect for firearms 2025-04-09 09:29:39 +02:00
Lwmte
ab55a7cf14 Use Contains method where applicable 2025-04-04 09:08:55 +02:00
Lwmte
3e2a1ccf37 Update documentation 2025-03-28 23:39:49 +01:00
Lwmte
9fc370833b Implement flyby spline looping in lua API 2025-03-28 21:36:37 +01:00
Nemoel-Tomo
9469a0e63a
Tomo - fireflies (#1597)
* tests only - nothing to see

* update

* update

* update

* update corpse

* update savegame, formatting

* import develop

* formatting

* fix broken streamer vertex

* update firefly streamer spawn

* update effect

* Add in objects for fireflies

* fixed all reviews, formatting, changing on-off cycle

* formatting

* reduced the emitted light to two lights per cluster

* adding antitrigger

* formatting

* fixed corpse

* fixed a bug with corpse

* fixed corpse fall bug

* formatting

* Small refactors

* Fix merge

---------

Co-authored-by: Stranger1992 <84292688+Stranger1992@users.noreply.github.com>
Co-authored-by: Lwmte <3331699+Lwmte@users.noreply.github.com>
2025-03-28 07:44:07 +02:00
Lwmte
67f4fe3d1d Added probe constructor without room number 2025-03-17 23:29:44 +01:00
Lwmte
74e13fc678 Remove formatting leftovers from doc 2025-03-16 15:41:47 +01:00
Lwmte
e521e12a02 Some doc revisions 2025-03-16 10:47:10 +01:00
Lwmte
6b1ca045d0 Update documentation for streamer feather mode 2025-03-15 20:19:13 +01:00
Lwmte
33dd1461ad Change fog distance data type to float 2025-03-15 16:27:57 +01:00
Lwmte
edf3fbf68f Added script API methods for static mesh collision 2025-03-15 10:51:59 +01:00
Sezz
92b8ed821f Update Lua advanced particle emitter 2025-03-15 18:01:27 +11:00
Lwmte
f758bab187 Rollback Starfield naming 2025-03-15 01:01:05 +01:00
Lwmte
66f5f67620 Add more cross-references to documentation 2025-03-13 22:39:26 +01:00
Lwmte
e983bcb2d3 Fixed docs 2025-03-13 22:13:31 +01:00
Lwmte
1daf39471a Update Objects.LaraObject.html 2025-03-13 20:16:22 +01:00
Lwmte
0ea5f3cdc0 Update data types in LDoc 2025-03-12 00:41:16 +01:00
Lwmte
74fa394bd7 Update enums and documentation 2025-03-11 23:52:11 +01:00
Lwmte
ed938bfeb9 Type updates 2025-03-11 23:46:31 +01:00
Lwmte
3046f5f4a2
Refactor scripting documentation and flow data types to use fields instead of getters and setters (#1609)
* Initial commit

* Minor changes

* Rename Flow.Starfield to Flow.StarField

* Added cross-referencing, fixed some descriptions

* Start page LDoc cleanup

* Proofread sound module documentation

* Fixed Vec2 docs

* Update FlowLevel.cpp

* Fixed incorrect tag

* Update CHANGELOG.md

* Allow to refresh starfield in runtime

* Update weather.cpp

* Dynamically change amount of stars

* Update CHANGELOG.md

* Update CHANGELOG.md

* Remove brackets in room class documentation

* Added operators for Rotation class

* Rephrase a little

* Minor nitpicks

---------

Co-authored-by: Sezz <sezzary@outlook.com>
2025-03-12 00:34:48 +02:00
Lwmte
f01ad441d3 Squashed commit of the following:
commit 8ea54ea7d4
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date:   Tue Mar 11 23:34:57 2025 +0100

    Fix merge

commit 566b694c9d
Merge: 935b26bd6 e97c47315
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date:   Tue Mar 11 23:33:43 2025 +0100

    Merge branch 'develop' into pr/1496

commit 935b26bd66
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date:   Tue Mar 11 23:31:57 2025 +0100

    Use script to generate object list, also migrate flatbuffer to powershell script

commit a6ec51e9d4
Merge: 7bf0ffef6 676762e11
Author: davidmarr <116632612+davidmarr@users.noreply.github.com>
Date:   Sun Dec 29 12:53:23 2024 +0100

    Merge branch 'develop' into mod

commit 676762e115
Merge: ae0488410 5597750c2
Author: davidmarr <116632612+davidmarr@users.noreply.github.com>
Date:   Sun Dec 29 12:48:24 2024 +0100

    Merge branch 'MontyTRC89:develop' into develop

commit 7bf0ffef6c
Merge: b876f347c ae0488410
Author: davidmarr <116632612+davidmarr@users.noreply.github.com>
Date:   Thu Dec 26 11:59:22 2024 +0100

    Merge branch 'develop' into mod

commit ae04884102
Merge: e1c61aca0 8fb4668df
Author: davidmarr <116632612+davidmarr@users.noreply.github.com>
Date:   Thu Dec 26 11:58:28 2024 +0100

    Merge branch 'MontyTRC89:develop' into develop

commit b876f347c7
Merge: 0669b6f01 e1c61aca0
Author: davidmarr <116632612+davidmarr@users.noreply.github.com>
Date:   Wed Dec 18 19:24:15 2024 +0100

    Merge branch 'develop' into mod

commit e1c61aca03
Merge: f557f0081 88bbe4862
Author: davidmarr <116632612+davidmarr@users.noreply.github.com>
Date:   Wed Dec 18 19:23:31 2024 +0100

    Merge branch 'MontyTRC89:develop' into develop

commit 0669b6f012
Merge: f978ad1b5 f557f0081
Author: davidmarr <116632612+davidmarr@users.noreply.github.com>
Date:   Wed Dec 18 19:21:52 2024 +0100

    Merge branch 'develop' into mod

commit f557f00815
Merge: 34beccfcc ae7924797
Author: davidmarr <116632612+davidmarr@users.noreply.github.com>
Date:   Mon Dec 16 18:45:13 2024 +0100

    Merge branch 'MontyTRC89:develop' into develop

commit 34beccfccc
Merge: 6516a8b87 2f6114deb
Author: davidmarr <116632612+davidmarr@users.noreply.github.com>
Date:   Fri Dec 13 20:23:25 2024 +0100

    Merge branch 'MontyTRC89:develop' into develop

commit 6516a8b87b
Merge: babdad1a7 e674b8526
Author: davidmarr <116632612+davidmarr@users.noreply.github.com>
Date:   Wed Dec 11 15:48:14 2024 +0100

    Merge branch 'MontyTRC89:develop' into develop

commit f978ad1b53
Merge: 96663d564 babdad1a7
Author: davidmarr <116632612+davidmarr@users.noreply.github.com>
Date:   Sat Dec 7 08:37:39 2024 +0100

    Merge branch 'develop' into mod

commit babdad1a74
Merge: c3a97f411 d96bf4ba8
Author: davidmarr <116632612+davidmarr@users.noreply.github.com>
Date:   Sat Dec 7 08:35:23 2024 +0100

    Merge branch 'MontyTRC89:develop' into develop

commit 96663d5646
Author: davidmarr <116632612+davidmarr@users.noreply.github.com>
Date:   Thu Nov 28 13:35:50 2024 +0100

    add SpriteConstants

commit 89c27fc19d
Author: davidmarr <116632612+davidmarr@users.noreply.github.com>
Date:   Thu Nov 28 12:50:59 2024 +0100

    Revert "conversion error"

    This reverts commit f811117458.

commit 3dd8e76d8b
Merge: 4195bc042 c3a97f411
Author: davidmarr <116632612+davidmarr@users.noreply.github.com>
Date:   Thu Nov 28 12:50:48 2024 +0100

    Merge branch 'develop' into mod

commit c3a97f4113
Merge: 4af4d14db db7f86485
Author: davidmarr <116632612+davidmarr@users.noreply.github.com>
Date:   Thu Nov 28 12:49:21 2024 +0100

    Merge branch 'MontyTRC89:develop' into develop

commit 4af4d14db8
Merge: 5e87ac32e 27d3ca7bb
Author: davidmarr <116632612+davidmarr@users.noreply.github.com>
Date:   Sun Nov 24 13:23:35 2024 +0100

    Merge branch 'MontyTRC89:develop' into develop

commit 4195bc042a
Merge: f81111745 5e87ac32e
Author: davidmarr <116632612+davidmarr@users.noreply.github.com>
Date:   Sun Nov 24 13:20:32 2024 +0100

    Merge branch 'mod' of https://github.com/davidmarr/TombEngine into mod

commit f811117458
Author: davidmarr <116632612+davidmarr@users.noreply.github.com>
Date:   Sun Nov 24 13:17:53 2024 +0100

    conversion error

commit 5e87ac32e6
Merge: ef1a7d2d0 19be42911
Author: davidmarr <116632612+davidmarr@users.noreply.github.com>
Date:   Sun Nov 24 13:15:38 2024 +0100

    Merge branch 'MontyTRC89:develop' into develop

commit 7643d19082
Merge: 202c94f02 d256fe1ef
Author: davidmarr <116632612+davidmarr@users.noreply.github.com>
Date:   Sun Nov 24 13:15:03 2024 +0100

    Merge branch 'MontyTRC89:master' into mod

commit ef1a7d2d0f
Merge: 9e94324e9 202c94f02
Author: davidmarr <116632612+davidmarr@users.noreply.github.com>
Date:   Sun Nov 24 13:04:23 2024 +0100

    Merge branch 'MontyTRC89:develop' into develop

commit 9e94324e93
Author: davidmarr <116632612+davidmarr@users.noreply.github.com>
Date:   Fri Nov 8 20:19:10 2024 +0100

    Revert "function description LevelFuncs.OnUseItem"

    This reverts commit 2478afca68.

commit 2478afca68
Author: davidmarr <116632612+davidmarr@users.noreply.github.com>
Date:   Fri Nov 8 20:18:56 2024 +0100

    function description LevelFuncs.OnUseItem

commit 37be06150e
Merge: c7c3451c1 222e67e49
Author: davidmarr <116632612+davidmarr@users.noreply.github.com>
Date:   Fri Nov 8 20:01:48 2024 +0100

    Merge branch 'MontyTRC89:develop' into develop

commit d256fe1efe
Author: Stranger1992 <84292688+Stranger1992@users.noreply.github.com>
Date:   Sun Nov 3 22:19:11 2024 +0000

    Update bug_report.yaml

commit 710f04596b
Merge: 1affcce9b 0b5ea0db7
Author: Lwmte <3331699+Lwmte@users.noreply.github.com>
Date:   Sun Nov 3 18:37:17 2024 +0100

    Merge branch 'develop'

commit 1affcce9b9
Author: Jakub <80340234+Jakub768@users.noreply.github.com>
Date:   Sun Nov 3 14:18:34 2024 +0000

    Update CHANGELOG.md

commit fae8744e4b
Author: Jakub <80340234+Jakub768@users.noreply.github.com>
Date:   Sun Nov 3 14:16:05 2024 +0000

    Update CHANGELOG.md

commit 815498ec8a
Merge: d81fce22a c3365f3a3
Author: Jakub <kubabilinski03@gmail.com>
Date:   Sun Nov 3 13:51:09 2024 +0000

    Merge branch 'develop'

commit d81fce22ad
Merge: 30e053dc9 a962a17f6
Author: Jakub <kubabilinski03@gmail.com>
Date:   Sun Nov 3 12:35:58 2024 +0000

    Merge branch 'develop'

commit 30e053dc93
Author: Nemoel-Tomo <tomo_669@hotmail.com>
Date:   Wed Oct 30 18:00:21 2024 +0100

    Update AUTHORS.md

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

commit c7c3451c1c
Merge: 4fc411abe e4098c458
Author: davidmarr <116632612+davidmarr@users.noreply.github.com>
Date:   Fri Oct 25 14:44:24 2024 +0200

    Merge branch 'MontyTRC89:develop' into develop

commit 4fc411abe9
Merge: bfcd93f52 f7a22ea1a
Author: davidmarr <116632612+davidmarr@users.noreply.github.com>
Date:   Sun Oct 20 21:38:01 2024 +0200

    Merge branch 'MontyTRC89:develop' into develop

commit bfcd93f52c
Merge: bdea82d74 deec54ff8
Author: davidmarr <116632612+davidmarr@users.noreply.github.com>
Date:   Wed Oct 9 19:59:14 2024 +0200

    Merge branch 'MontyTRC89:develop' into develop

commit eca79130a0
Author: Stranger1992 <84292688+Stranger1992@users.noreply.github.com>
Date:   Tue Sep 3 09:45:21 2024 +0100

    Update bug_report.yaml

commit 7fee647c84
Author: Stranger1992 <84292688+Stranger1992@users.noreply.github.com>
Date:   Tue Sep 3 09:44:53 2024 +0100

    Update to bug report form

commit bdea82d742
Merge: c3b4ecf9b 60b9055d0
Author: davidmarr <116632612+davidmarr@users.noreply.github.com>
Date:   Fri Aug 30 12:56:53 2024 +0200

    Merge branch 'MontyTRC89:develop' into develop

commit c3b4ecf9b6
Merge: b107327f0 37f056bfa
Author: davidmarr <116632612+davidmarr@users.noreply.github.com>
Date:   Tue Aug 13 22:46:38 2024 +0200

    Merge branch 'MontyTRC89:develop' into develop

commit b107327f0a
Author: davidmarr <116632612+davidmarr@users.noreply.github.com>
Date:   Thu Jul 25 13:19:30 2024 +0200

    Update CHANGELOG.md

commit 25aaba6316
Author: davidmarr <116632612+davidmarr@users.noreply.github.com>
Date:   Thu Jul 25 13:16:58 2024 +0200

    Update VolumeObject.cpp

    fixed Volume:GetActive() method
2025-03-11 23:38:35 +01:00
Lwmte
9d0fe6a1d8 Ribbon particle (#1606) 2025-03-09 20:01:43 +01:00
Lwmte
f87d592ce6 Added Flow.GetTotalSecretCount() 2025-03-09 19:14:39 +01:00
Lwmte
cb73477b90 Added pickups count to Flow.Statistics class 2025-03-09 19:07:28 +01:00
TrainWrack
e0b50439b3
Custom bar module (#1492)
* 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

* Update CHANGELOG.md

* Add files via upload

* Update CustomBar.lua

* Fix bugs with bar property setters

* Update CustomBar.lua

* Update documentation

---------

Co-authored-by: Stranger1992 <84292688+Stranger1992@users.noreply.github.com>
Co-authored-by: Nemoel-Tomo <tomo_669@hotmail.com>
Co-authored-by: Jakub <kubabilinski03@gmail.com>
Co-authored-by: Jakub <80340234+Jakub768@users.noreply.github.com>
Co-authored-by: Lwmte <3331699+Lwmte@users.noreply.github.com>
2025-03-09 06:59:49 +02:00
TrainWrack
f1bb383baa
Horizon Effects (#1583)
* First Commit

* Check

* Check

* Check

* Is it done?

* GetHorizonDone

* Add HorizonSwap

* Fix Interpolation

* Update CHANGELOG.md

* Update EffectsFunctions.cpp

* Update EffectsFunctions.h

* Docs

* Create Horizon Class and implement it.

* Fix Interpolation

* Make HorizonObject part of WeatherController

* Implement horizon fading

* Save horizon parameters

* Update CHANGELOG.md

* Update RendererDraw.cpp

* Update EffectsFunctions.cpp

* Invert current horizon transition value if another transition is queued

* Add missing shader change

* StartPosition

* Cleaup

* Start working on Position

* Code commit

* Fix interpolation checks distance for position.

* Docs

* Update CHANGELOG.md

* SavePosition in savegame

* Major cleanup

* Update weather.cpp

* First commit

* Some fixes

* Reworked horizon workflow

* Update CHANGELOG.md

* Update docs

* Added missing rumble parameter

* String constants; use TypeOrNil; general cleanup

* Fix documentation

* Fix documentation

* Update documentation

---------

Co-authored-by: Lwmte <3331699+Lwmte@users.noreply.github.com>
Co-authored-by: Sezz <sezzary@outlook.com>
2025-03-09 06:30:07 +02:00
TrainWrack
e047da7257
Streamer emitter (#1589)
* WIP

* Committ

* LUA DOCS

* Expose Moveable Scale (#1587)

* Done

* Update CHANGELOG.md

* Cleanup

* Minor fixes

* Update CHANGELOG.md

---------

Co-authored-by: Lwmte <3331699+Lwmte@users.noreply.github.com>

* Cleanup

* Improve streamer effect implementation

* Shorten names

* Update Streamer.h

* Point to Moveable

* Change to Const

* Doc revisions

* Doc revisions

* Update CHANGELOG.md

* Use precise names

* Do things over seconds

* Make tag optional again

* Integrate start and end colour

* Update doc comment

* Regenerate docs; update strings

* Update doc comment

* Update ReservedScriptNames.h

* Update EffectsFunctions.cpp

* Minor fixes

* Update EffectsFunctions.cpp

* Update EffectsFunctions.cpp

* Update EffectsFunctions.cpp

* Rename Item

* Renames

* Add compiled docs

---------

Co-authored-by: Lwmte <3331699+Lwmte@users.noreply.github.com>
Co-authored-by: Sezz <sezzary@outlook.com>
2025-03-09 06:19:08 +02:00
TrainWrack
e54fba1e4a
Advanced particles (#1555)
* 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

* Expose ObjectSlot

* Docs

* Code Update

* FinalPush

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Expose startRot

* Expose startRot

* Remove Space.

* FirstCommit

* Cast gameobj to int

* Update

* WIP

* WIP

* wip

* Checks

* WIP

* WIP

* WIP

* Enum

* Enum revision

* Update CHANGELOG.md

* Revisions due to Develop changes

* CodeCleanup

* Revision to Code as per revised structure.

* Add friction and YVel

* Revisions

* LUA Docs

* RevisionDocs

* x

* Revisions

* Docs

* Docs

* Docs

* Docs

* Make wind default

* Light effect

* LightFinish

* Added Sounds

* Add sound docs

* Update particle anim types file

* Update EffectsFunctions.cpp

* Update EffectsFunctions.cpp

* FixAngle

* Fix StartRot

* Cleanup

* Add Savegame fields

* Add loadgame data.

* Fix bug on develop related to save value of xVel

* Address Comments

---------

Co-authored-by: Stranger1992 <84292688+Stranger1992@users.noreply.github.com>
Co-authored-by: Nemoel-Tomo <tomo_669@hotmail.com>
Co-authored-by: Jakub <kubabilinski03@gmail.com>
Co-authored-by: Jakub <80340234+Jakub768@users.noreply.github.com>
Co-authored-by: Lwmte <3331699+Lwmte@users.noreply.github.com>
Co-authored-by: Sezz <sezzary@outlook.com>
2025-03-09 05:45:25 +02:00
davidmarr
7701fb5fd0
Update CSS of Lua documentation (#1576)
* Update VolumeObject.cpp

fixed Volume:GetActive() method

* Update CHANGELOG.md

* function description LevelFuncs.OnUseItem

* Revert "function description LevelFuncs.OnUseItem"

This reverts commit 2478afca68.

* Update ldoc.css
2025-03-08 11:57:10 +02:00
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
Sezz
1715fdb7b0 Update conventions, formatting, docs 2025-02-23 21:59:44 +11:00
Sezz
ca56f62f54
Multithreading (#1541)
* Create Worker class for multithreading

* Update TombEngine.vcxproj

* Rename GetWorkerCount() to GetThreadCount()

* Add ProcessInParallel template for vectors

* Add multiThreaded flag to settings, process sprites in parallel

* Update Flow.Settings.html

* Refine WorkerManager class conventions; deinit threads properly

* Don't require explicit destruction

* Address basic PR notes

* Update Worker.cpp

* Simplify ThreadManager class

* Add method for running single task

* Use singleton pattern; use more appropriate Controller suffix

* Update WorkerController template method

* Revise method

* Handle exception in ~WorkerController()

* Grammar

* Correctly init single-threaded mode

* Update CHANGELOG.md

* Defer thread init until g_GameFlow is valid

* unsigned int -> int

* Rename class

---------

Co-authored-by: Lwmte <3331699+Lwmte@users.noreply.github.com>
2025-02-12 09:59:54 +02:00
Sezz
a840c2200c Merge branch 'develop' of https://github.com/MontyTRC89/TombEngine into develop 2025-02-08 02:58:13 +11:00
Sezz
2c6331f583 Deprecate CalculateDistance() script function 2025-02-08 02:58:03 +11: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
acb1bb1518 Enforce proper convention for the few Lua table constants that didn't use it yet 2025-02-06 18:46:16 +11:00
Sezz
599a651b6f Update lens flare and starfield Lua docs 2025-02-06 16:56:19 +11:00
Sezz
94ede801bc Misc. script doc tidying; move some script classes to namespaces 2025-02-06 16:35:59 +11:00
Sezz
2b41ae743a Tidy up Lua doc for Static class 2025-02-06 02:35:16 +11:00
Sezz
903fdf288f
Optimise BitField class (#1511)
* Optimise BitField class

* DebugBuild -> DEBUG_BUILD

* Fix merge error
2025-02-01 22:40:50 +11:00
TrainWrack
48902b00a9
Emit air bubble exposed (#1537)
* 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

* Update EffectsFunctions.cpp

* First Commit

* Check

* Update CHANGELOG.md

* Doc revisions

* Doc Revision

* Update EffectsFunctions.cpp

* Remove room from arguements.

* Doc clarification.

* Make Size and Amplitude Optional

* Update EffectsFunctions.cpp

---------

Co-authored-by: Stranger1992 <84292688+Stranger1992@users.noreply.github.com>
Co-authored-by: Nemoel-Tomo <tomo_669@hotmail.com>
Co-authored-by: Jakub <kubabilinski03@gmail.com>
Co-authored-by: Jakub <80340234+Jakub768@users.noreply.github.com>
Co-authored-by: Lwmte <3331699+Lwmte@users.noreply.github.com>
Co-authored-by: Sezz <sezzary@outlook.com>
2025-02-01 11:23:04 +00:00
TrainWrack
fa0e125f59
Emit particle upgrade (#1542)
* 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

* Expose ObjectSlot

* Docs

* Code Update

* FinalPush

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Expose startRot

* Expose startRot

* Remove Space.

* Code cleanup, revise doc comment

* Nicer defaults in doc

---------

Co-authored-by: Stranger1992 <84292688+Stranger1992@users.noreply.github.com>
Co-authored-by: Nemoel-Tomo <tomo_669@hotmail.com>
Co-authored-by: Jakub <kubabilinski03@gmail.com>
Co-authored-by: Jakub <80340234+Jakub768@users.noreply.github.com>
Co-authored-by: Lwmte <3331699+Lwmte@users.noreply.github.com>
Co-authored-by: Sezz <sezzary@outlook.com>
2025-02-01 11:22:49 +00:00
Sezz
c99b8abf25 Add Translate() functions to script Vec2 and Vec3 classes 2025-02-01 20:01:55 +11:00
Sezz
d8c646fabd Start restructuring script Moveable class 2025-02-01 17:47:29 +11:00
Sezz
6ef8a562e5 Update doc comment for moveable 2025-01-28 04:10:12 +11:00
Sezz
fc0c260ea1 Update script Rotation class and its doc 2025-01-23 15:25:09 +11:00
Nemoel-Tomo
a97548467e
Waterfall_Emitter (#1359)
* waterfall emitter. warning for the test I changed waterfallmist object

* test

* update

* update

* update

* formatting

* formatting

* formatting

* update mist color

* import develop

* bugfix sprite

* added mor sprite particles

* waterfall intensity

* update waterfall to be more filled

* update

* Create a new sprite sequence for waterfall

* Fixed texture order

* removed GetParticleDistanceFade() from waterfall

* Order

* Update Particle struct; update waterfall

* Update Particle struct

* Simplify waterfall emitter

* Simplify waterfall emitter

* Simplify waterfall emitter

* Simplify

* Fix waterfall density; move sprite slot

* Update Waterfall.cpp

* fixed some small bugs with the waterfall after simplify

* commit

* imported develop 60fps branch

* fixed waterfall errors

* update

* commit

* update/test

* update Waterfall

* fixed last bugs

* formatting

* added option for sound

* update

* update, fixing errors

* update

* formatting

* Formatting

* fixed color issue, now only savegame is left

* formatting

* added new fields to savegame

* targetpos is now Vector3

* import develop

* Fixes according to GH notes + move waterfall-specific code out of effects.cpp

* Rollback object ID rename, add missing enum

* renamed ID_WATERFALL_ into ID_WATERFALL_SPRITES

* fixed SpriteSeqID for spark in spark.cpp

* Update CHANGELOG.md

* rewritten waterfall code

* Update waterfall impact point

---------

Co-authored-by: Stranger1992 <84292688+Stranger1992@users.noreply.github.com>
Co-authored-by: Sezz <sezzary@outlook.com>
Co-authored-by: Lwmte <3331699+Lwmte@users.noreply.github.com>
2025-01-10 22:27:48 +00:00