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
d13490d5b2
Wrap remaining script namespaces
2023-11-11 00:24:55 +11:00
Sezz
8991a4b9be
Move DisplaySprite, ScaleModes, and AlignModes to View namespace
2023-11-10 19:23:36 +11:00
Lwmte
0cc9312a20
Split misc namespace ( #1233 )
...
* Add Sound module
Add Sound module for sound management. Removed LDoc comments from Misc module for sound management functions. Moved the SoundTrackTypes.h file to the folder "\TombEngine\Scripting\Internal\TEN\Misc\SoundTrackTy
* Update SoundHandler.cpp
tableMisc variable renamed to tableSound
* remove functions for audio management from Misc
remove functions for audio management from Misc
* Add StopSound() function
Add StopSound(int) function
* Prevent stack overflow issue
* Update SoundHandler.cpp
* Split remaining Misc functions into modules
* moved LDoc comments above the respective functions
moved LDoc comments above the respective functions
* Fixed References to Sound.SoundTrackType
Fixed References to Sound.SoundTrackType
* Fix merge
* Minor formatting
* Minor formatting
* Move GetDisplayPosition() to Util namespace
* Fix error
---------
Co-authored-by: davidmarr <116632612+davidmarr@users.noreply.github.com>
Co-authored-by: Sezz <sezzary@outlook.com>
2023-10-20 09:53:59 +01:00
Sezz
f8583e7746
Register constants simply for now
2023-10-06 21:00:31 +11:00
Sezz
da2eed4b18
Formatting
2023-10-06 14:16:54 +11:00
Sezz
95b8951471
Move files
2023-10-06 14:10:37 +11:00
Sezz
f56a22f9a2
Maybe register display sprite constant tables
2023-10-06 13:51:12 +11:00
Sezz
0d1a4b875c
Add TEN::Scripting::DisplaySprite namespace
2023-10-06 13:39:29 +11:00
Sezz
4c581b7305
Scripting code formatting
2023-06-25 16:59:59 +10:00
Sezz
84f0215d8c
Formatting
2023-05-18 15:19:23 +10:00
hispidence
cbd45c9de3
Merge remote-tracking branch 'origin/develop' into assetDir
2023-05-13 19:00:11 +01:00
hispidence
c522761c2f
Use const string refs instead of string_view for directory locations. While string_view is better for some situations, in this scenario it wasn't helping to avoid any copies, and only made things more verbose.
...
Refactor the -level option handling again to early out if the file doesn't exist and to determine ahead of time if the path is absolute or relative, thus potentially skipping string comparisons.
2023-05-10 23:35:35 +01:00
Sezz
ca57f46ab8
Fix formatting
2023-05-08 14:24:16 +10:00
hispidence
a2d985b4c5
First commit of assetDir command line option.
2023-05-08 00:12:09 +01:00
Sezz
5b791d16a9
Formatting
2023-04-01 16:27:28 +11:00
hispidence
6cff5b8a3b
Open more libs.
2022-07-25 21:26:50 +01:00
hispidence
ae887750f0
Add Effects namespace in scripting, fix some documentation.
2022-07-10 20:51:07 +01:00
hispidence
e678d2f64b
Move Scripting files so interface and internal files are separated again.
...
(cherry picked from commit 6f542dde7337ddc633a20537af2e719320dc7ac4)
2022-05-12 21:15:43 +01:00