Commit graph

4733 commits

Author SHA1 Message Date
Jeff Hutchinson 2e8a0185b3 Fix buffer overflow issue in StringUnit::getWords.
getWords("a b c d", 2); // "c d"

that turns into this inside the engine:

getWords("a b c d", 2, 1000000);

that code after parsing d goes string++ which passes over the null character. This now enforces that check. Found this with the new script interpreter...how this wasn't blowing up before is beyond me.
2021-06-18 21:08:03 -04:00
Brian Roberts 43c403a30e
Merge pull request #494 from just-bank/fix-simobject-call
Fix return value conversion when using SimObject::call() method
2021-06-15 12:30:08 -05:00
bank 5d1c29f54b
Fix return value conversion when using SimObject::call() method from scripts. 2021-06-15 19:03:43 +03:00
Brian Roberts dc82bc7485
Merge pull request #488 from OTHGMars/ResOptions
Window resolution options
2021-05-17 05:26:36 -05:00
OTHGMars 9539a4a055 Adds comment explaining window position change in GuiCanvas. 2021-05-14 17:30:23 -04:00
OTHGMars dd665496d1 Borderless window defaults.
Limits borderless windows to the monitor usable area on non windows platforms to prevent the window from rendering behind taskbar/title bars.
2021-05-14 03:57:00 -04:00
OTHGMars 1ba7070bb6 Maintains window position when updating video mode for LightManager compatibility. 2021-05-14 03:52:43 -04:00
OTHGMars de1e6df64b Removes redundant ScreenResChangeSignal trigger. 2021-05-14 03:50:28 -04:00
Brian Roberts 89e76f96de
Merge pull request #477 from Areloch/torsiontscriptcompliance
Updates the torsion.in file to properly be configured to handle tscript extension
2021-05-13 23:03:09 -05:00
OTHGMars a5c809a738 Limit fullscreen resolution to options that match the monitor aspect ratio. 2021-05-13 20:52:04 -04:00
Areloch 438788c9b3 Rolled in Az's suggested fixes 2021-05-13 19:30:53 -05:00
Brian Roberts 6fe51cd9c3
Merge pull request #487 from JeffProgrammer/mac_m1
Add support for Apple Silicon
2021-05-11 15:17:28 -05:00
Jeff Hutchinson 61fef8080b mend 2021-05-10 19:58:51 -04:00
Jeff Hutchinson e981fd2cc3 Add support for aarch64 / apple silicon 2021-05-10 15:55:56 -04:00
Brian Roberts ce79101cb3
Merge pull request #486 from Jozor/Preview4_0
Update TORQUE_GAME_ENGINE version number to reflect current version 4.0
2021-04-23 02:02:29 -05:00
Joseph 6f52b87360 Update TORQUE_GAME_ENGINE version number to reflect current version 4.0 2021-04-23 07:05:09 +01:00
Brian Roberts 793c4c3701
Merge pull request #484 from Azaezel/alpha40/matEditorSaveFix
form steve yorkshire: mat editor save extension fix
2021-04-22 20:02:29 -05:00
AzaezelX 0289090c34 minor cleanup 2021-04-22 20:02:21 -05:00
Brian Roberts 2a2987869b
Merge pull request #478 from Bloodknight/SDL_OpenGL_BPP_Fix
Fixes a resolution switching issue when the game uses **only** OpenGL…
2021-04-22 19:51:14 -05:00
Brian Roberts 880cb13762
Merge pull request #448 from Azaezel/alpha40/genericObjectSpawner
general spawnspheres
2021-04-22 19:39:00 -05:00
Brian Roberts 357abb3292
Merge pull request #480 from Azaezel/alpha40/bintoDec
adds binary to decimal and vice versa methods
2021-04-22 19:34:25 -05:00
Brian Roberts 369c06c24c
Merge pull request #485 from Azaezel/alpha40/stringtoChar
make string to char* conversion automatic
2021-04-22 19:34:05 -05:00
Brian Roberts 058302dd80
Merge pull request #483 from Areloch/updateMasterServerDomain
Updates the masterserver domain referenced in the default scripts, pointing it to the new torque3d master server
2021-04-22 19:33:51 -05:00
AzaezelX 2e3e4228b2 make string to char* conversion automatic 2021-04-21 14:45:10 -05:00
Brian Roberts 9323bac5ea
Update Templates/BaseGame/game/core/gui/scripts/canvas.tscript
Co-authored-by: Lukas Joergensen <lpjoergensen@gmail.com>
2021-04-13 16:53:31 -05:00
Jeff Hutchinson c19bb29a16
Merge pull request #481 from Azaezel/alpha40/profileconflictreport
report which profile usages are conflicting (was,is)
2021-04-12 21:48:38 -04:00
Jeff Hutchinson 481c900d77
Merge pull request #482 from Azaezel/alpha40/sanitizerAug
add additional chars to the flatfile->asset->objectID name santizatio…
2021-04-12 21:46:22 -04:00
Jeff Hutchinson ef34210fef Implement Unit Test Suite for TorqueScript. 2021-04-12 21:43:57 -04:00
AzaezelX fadafbfa1b form steve yorkshire: mat editor save extension fix 2021-04-11 19:57:31 -05:00
Areloch 92abfb8ccf Updates the masterserver domain referenced in the default scripts, pointing it to the new torque3d master server 2021-04-08 20:32:22 -05:00
AzaezelX ab1661a851 add additional chars to the flatfile->asset->objectID name santization chain 2021-04-06 15:17:06 -05:00
AzaezelX ab878eb312 report which profile usages are conflicting (was,is) 2021-04-06 14:54:53 -05:00
AzaezelX b7b4ced8d6 adds binary to decimal and vice versa methods 2021-04-02 14:08:26 -05:00
Marc 3d2f3bda64 Fixes a resolution switching issue when the game uses **only** OpenGL as the renderer
Canvas.tscript fixes provided by @OTHG_Mars
2021-03-18 21:37:36 +00:00
Brian Roberts b6a1acabf8
Merge pull request #471 from Areloch/forestCreationEditingFixes
Adjusts Forest object creation and forest item data creation/management to work with asset/module workflows
2021-03-14 01:12:58 -06:00
Brian Roberts a8e2ec6df4
Merge pull request #475 from Areloch/importAssetSuffixes
Adds import config settings for forcefully adding configurable suffixes for shapes, materials and images
2021-03-14 01:12:29 -06:00
Brian Roberts 43391f0f10
Merge pull request #474 from Areloch/internalNameTreeDisplayFix
Fixes display of internal names on objects shown in guiTreeViewCtrl
2021-03-14 01:12:20 -06:00
Brian Roberts 1695e76514
Merge pull request #472 from Areloch/moduleFriendlyDBCreation
Makes the DB creation process better jive with modules
2021-03-14 01:12:05 -06:00
Brian Roberts 6e6f90b8f6
Merge pull request #473 from Areloch/AssetScriptFileABFix
Misc. minor AB fixes
2021-03-14 01:11:55 -06:00
Areloch 9a0de40505 Updates the torsion.in file to properly be configured to handle tscript extension 2021-03-13 23:47:18 -06:00
Brian Roberts 5442f52bc5
Merge pull request #476 from Azaezel/alpha40/emissiveProper
reset emissive to show 0,0,0,0 for local/vector lights in a manner th…
2021-03-09 15:27:10 -06:00
AzaezelX e5bc0a6e54 reset emissive to show 0,0,0,0 for local/vector lights in a manner that doesn't cause them to black out. 2021-03-09 15:26:48 -06:00
Areloch a0c8a77043 Adds import config settings for forcefully adding configurable suffixes for shapes, materials and images 2021-02-27 02:43:37 -06:00
Areloch e428ecd6ab Fixes display of internal names on objects shown in guiTreeViewCtrl 2021-02-24 01:05:24 -06:00
Areloch 9a10d52e0b Added logic to correctly associate constructor script file for shape asset to asset as an assetfile 2021-02-21 02:21:50 -06:00
Areloch 87bd7bbeae Fixes script presentation logic in the AB so it only shows scripts that isn't an asset file for an asset.
Also fixes a reference to the Inspector for refreshing purposes.
Adds a pop call to ensure AB is in focus when shown
2021-02-21 02:16:34 -06:00
Areloch 12b58dc7ef Makes the DB creation process better jive with modules by having you select the destination folder for the managed datablock script file to be saved off into 2021-02-21 02:09:40 -06:00
Areloch 8af6513aea Adjusts Forest object creation and forest item data creation/management to work with asset/module workflows 2021-02-21 02:04:13 -06:00
Brian Roberts bea11acc66
Merge pull request #450 from Azaezel/alpha40/playgui_onwake_callback
provides a general Playgui_onWake callback for modules
2021-02-15 22:28:26 -06:00
Brian Roberts f4982f3b7d
Merge pull request #464 from Azaezel/alpha40/ribbonParticles
ribbon particle resource port
2021-02-15 22:28:10 -06:00