Commit graph

8250 commits

Author SHA1 Message Date
Nils Eikelenboom
f38352501d Correct undefined background Main Tab
Correct the background of the world editor main tab with a (new) solid fill. Sometimes it appeared as black, magenta or the just the scene itself. Color is fixed for now as it is a unique situation regarding the use of tabs here.
2024-09-10 22:07:02 +02:00
Nils Eikelenboom
8b049e3b01 Correct positioning sidepanels
Sidepanels of the world editors got shifted due to the introduction of the editor tab. Several corrected overall. Some minor tweaks to be expected in a later commit.
2024-09-10 20:39:54 +02:00
Nils Eikelenboom
b0a11d79d5 Remove space below/above toolbars
Remove the (thin) space between the world editor toolbars.
2024-09-10 13:20:11 +02:00
Areloch
a931e9a308 Tweaks the Scene and SubScene save calls to handle simGroups to call onto their children 2024-09-05 13:49:13 -05:00
Areloch
6ff92f61bb Fixed SceneGroup onInspect call to call up through parent
Adds utility methods and SimGroup onInspect injection to add a select button in inspector to select objects under simgroup
2024-09-03 18:25:28 -05:00
Areloch
4bb26bf96c Reorganized the exec's for datablocks in module template file to be within the start/stop blocks
Tweaked example module script file to comply
Moved ExampleGameMode script file to scripts/shared since client and server need access to the gamemode for logic to work
2024-09-01 23:26:10 -05:00
Areloch
d7335a73e4 Removed dummy placeholder function stub 2024-09-01 17:59:24 -05:00
Brian Roberts
d82a78ec3a
Merge pull request #1312 from Areloch/Torque_Tools_Ext_cmakeFlag
Adds a TORQUE_TOOLS_EXT cmake flag/preprocessor
2024-09-01 17:38:29 -05:00
Areloch
d896a2b99a Removed scan-down of subscenes from Scene's getObjectsByClass call
Properly returned value for SubScene::save()
2024-09-01 17:14:08 -05:00
Areloch
03efedab37 Adds a TORQUE_TOOLS_EXT cmake flag/preprocessor and moves the systemCommand method into that so that one can lock down full shell command execution calls without dropping tools support 2024-09-01 16:55:58 -05:00
Areloch
ae8eca48e1 Implementation of Subscenes, SceneGroups and Gamemodes
Standardizes Gamemodes to be an actual class with data and utility functions that can be parsed
Adds inspector field handling for selecting gamemodes
Updated Scene class to work with Gamemodes for the gamemode field
Updates editor suite elements to be able to create SubScenes, SceneGroups and Gamemodes
Adds ability to convert SimGroup to SubScene
Updates BaseUI's chooselevel menu to have gamemode selection and filters shown levels based on selected gamemode
2024-09-01 16:39:00 -05:00
Brian Roberts
2dbfc16cf9
Merge pull request #1309 from Azaezel/alpha41/ICeeUuu
clean up surface property visualizer
2024-08-30 05:59:23 -05:00
AzaezelX
9da7823074 clean up surface property visualizer
stateblock cleanups, and kill off stray glowbuffer leftovers
2024-08-29 19:17:24 -05:00
Brian Roberts
bb81b687eb
Merge pull request #1308 from Azaezel/alpha41/loglunk2
(backup) correct malformed error reporting
2024-08-28 17:23:08 -05:00
AzaezelX
30dcf0bf78 (backup) correct malformed error reporting 2024-08-28 17:22:44 -05:00
Brian Roberts
5d4925bec7
Merge pull request #1273 from Azaezel/alpha41/steeringSupport
play steering thread on server so mounted objects like turrets can be…
2024-08-28 17:15:28 -05:00
Brian Roberts
6fcfff44a3
Merge pull request #1306 from Azaezel/alpha41/sus
fix misbehaving imposter display
2024-08-28 17:15:15 -05:00
Brian Roberts
77a4486eca
Merge pull request #1307 from Azaezel/alpha41/loglunk
correct malformed error reporting
2024-08-28 17:15:05 -05:00
AzaezelX
24a1636edd correct malformed error reporting 2024-08-28 17:14:42 -05:00
AzaezelX
39300b18a8 fix misbehaving imposter display
corrects display of imposters when pole capture is on
2024-08-28 10:33:12 -05:00
Brian Roberts
0d07823ecd
Merge pull request #1305 from Azaezel/alpha41/beNormal
let normal maps handle raw file locations (imposter support)
2024-08-26 20:08:09 -05:00
AzaezelX
2629d28520 let normal maps handle raw file locations (imposter support) 2024-08-22 18:16:19 -05:00
Brian Roberts
2bbd5db767
Merge pull request #1304 from Azaezel/alpha41/audiofix2
guiaudio crashfix on exit
2024-08-08 00:22:20 -05:00
AzaezelX
1055dc8415 guiaudio crashfix on exit
further ensure sound playback isn't even started unless the test condition is true and the gui element is awake
remove redundant sfx->stop(). already does so with SFX_DELETE(source)
2024-08-07 21:51:36 -05:00
Brian Roberts
35e50b54b9
Merge pull request #1302 from Azaezel/alpha41/guiAudioCtrlFixes
guiAudiocCtrl fixes
2024-08-07 17:51:13 -05:00
Brian Roberts
9260250be1
Merge pull request #1303 from Azaezel/alpha41/lightBright
fix light emission point for shapebaseimaged
2024-08-07 17:49:43 -05:00
AzaezelX
7678f680a4 fix light emission point for shapebaseimaged
light generally comes from the muzzle of a gun, not the ground
2024-08-07 11:02:46 -05:00
AzaezelX
e4b1a869a3 hook up baseline button audio 2024-08-06 08:37:53 -05:00
AzaezelX
9b5f137f77 guiAudiocCtrl fixes
ditch description: not needed.
set process ticking off when the gui element is put to sleep
for the case of re-use of 3d sounds, set emission to the listener position
2024-08-05 17:51:17 -05:00
Brian Roberts
cfe76944e7
Merge pull request #1300 from marauder2k9-torque/macosx-build-copy-dependencies-fix
Macosx cmake cleanup and copy fix
2024-08-05 17:41:54 -05:00
marauder2k7
250b66b4db Update torque_macros.cmake
applying fixes in a hurry cause problems
2024-08-05 01:06:29 +01:00
marauder2k7
0374da0077 Update torque_macros.cmake
since this is showing in the cmake gui may as well make it unique for each framework..
2024-08-05 00:44:36 +01:00
marauder2k7
02de5160cf Update torque_macros.cmake 2024-08-05 00:38:46 +01:00
marauder2k7
9d51fc2830 fix packing
now openal and sdl are embedded in the app bundle along with their symlink alternatives
clear out the openal framework and use the embedded dll instead

archiving works and will produce a notarized app if you provide the correct information and enable hardening.
2024-08-04 14:54:25 +01:00
marauder2k7
7177e491dd Update torqueMacOSconfigs.cmake
simplify macos configuration

now sdl and openal no longer complain about multiple rpaths
2024-08-03 15:37:30 +01:00
marauder2k7
d62b40a9bf initial commit
this commit fixes the copying of dependencies into the app sandbox
2024-08-03 14:43:57 +01:00
marauder2k7
3b4ce5f4b5 cmake option
cmake option to enable the templated matrix class, this is still in review phase, if it gets merged into main, probably best to remove this options just in case someone activates it accidentally.
2024-08-01 18:29:38 +01:00
marauder2k7
2ed9fbb6ff Update mathMatrixTest.cpp 2024-08-01 05:07:54 +01:00
marauder2k7
b72b7882c2 unit test improved precision
change matrix unit tests to use POINT_EPSILON macro for testing precision
remove old matrix test class, was not used anyway
2024-08-01 05:04:13 +01:00
marauder2k7
699fa5ef77 Update mMatrix.h
invertTo should always just be const
return loop to * operator, explicit will not allow for scaling of rows and cols
2024-08-01 03:33:07 +01:00
marauder2k7
b5e729c179 Update mMatrix.h
add default destructor
2024-07-31 19:02:23 +01:00
marauder2k7
219792cc30 Update mMatrix.h
returning identity no longer necessary as fullinverse is its own algo
2024-07-31 18:54:22 +01:00
marauder2k7
165a2bea01 fix
fix invertTo function
unitTest to make sure matrix calling invertTo does not get changed.
reimplemented gauss jordan.
2024-07-31 18:52:18 +01:00
marauder2k7
ab4b4cbf96 cramer for inverse
added #if block around inverse methods to track down shadow bug

uses old inverse method as default for now.
2024-07-31 17:32:00 +01:00
marauder2k7
4078f3ad4e inverse fixes
further tests showed issues with inverse function, now to better match what was originally happening, the inverse only happens on the 3x3 portion of the matrix and translation is handled separately.

Frustum test now uses more real world examples of a projection matrix. Test for the full unproject stack of math to test its result as unproject was where the issue about inverse originated
2024-07-30 17:54:16 +01:00
marauder2k7
f96e044d89 unit tests and fixes
implemented the rest of the tests
euler single dimension angle tests now pass, missed 1.0f in z
2024-07-30 13:00:32 +01:00
marauder2k7
d03851958d more fixes
more unit tests revealed more discrepancies fixes applied.
2024-07-30 08:30:42 +01:00
marauder2k7
a5de2d9add tests
added more unit tests to match values between templated and matrix

tests showed discrepancies in affineInverse, fixed the function to return what is expected.
2024-07-30 07:20:57 +01:00
marauder2k7
5883e3d45b Update mathMatrixTest.cpp
test box multiplication
test transformPlane
2024-07-29 22:46:16 +01:00
marauder2k7
8c19f6d8ca inverse function
fixed inverse function, was not returning correctly.
2024-07-29 21:50:33 +01:00