JeffR
3442aceb0f
Updates most of the handling of asset types to follow a more standardized type-registration system.
...
This streamlines much of the code and makes it easier to find and follow how different asset, object and file types are handled by the asset browser
Also clears out various bits of cruft and old commented blocks of code
2024-09-28 16:09:56 -05:00
AzaezelX
7664b63071
snap syncing
...
for world and convex shape editors
2024-09-22 14:34:07 -05:00
Brian Roberts
e7585f15ab
Merge pull request #1316 from Azaezel/alpha41/colorPickerCleanups
...
colorpicker cleanups
2024-09-17 10:24:03 -05:00
AzaezelX
ead06b845e
colorpicker cleanups
...
largely focuses on removing extraneous code and mangled math
2024-09-16 13:24:41 -05:00
AzaezelX
afeb957601
fix malformed GBitmap::getColor
2024-09-16 12:40:18 -05: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
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
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
AzaezelX
24a1636edd
correct malformed error reporting
2024-08-28 17:14:42 -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
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
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
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
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
d62b40a9bf
initial commit
...
this commit fixes the copying of dependencies into the app sandbox
2024-08-03 14:43:57 +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
marauder2k7
fc058aaa5c
Update mathMatrixTest.cpp
...
change mul tests to use more real world examples
2024-07-29 20:45:30 +01:00
marauder2k7
409f523dc3
Update mathMatrixTest.cpp
...
more tests that match between template and matrixf
2024-07-29 20:01:39 +01:00
marauder2k7
f77ff37e08
Create mathMatrixTest.cpp
...
committed tests for matrix class
so far all tests are matching between templated and stock matrixf class
2024-07-29 19:24:33 +01:00
marauder2k7
54bb31c8bc
Update mMatrix.h
...
bracket lines
change functions to match mmath_c to figure out where the issue is.
2024-07-29 17:24:23 +01:00
marauder2k7
75c5a0919b
Update mMatrix.h
...
silence issues from macos clang
2024-07-29 16:39:08 +01:00
Brian Roberts
95c7e9f3f2
Merge pull request #1299 from Azaezel/alpha41/abFixes
...
fix guiwindowCTRL callback
2024-07-29 04:06:16 -05:00
marauder2k7
2fa15191ae
Update mMatrix.h
...
most working example
2024-07-28 20:40:26 +01:00
marauder2k7
504b549ac0
Update mMatrix.h
2024-07-28 19:38:02 +01:00
marauder2k7
c61d36b799
closest
...
backup closest working example, no errors or warnings from compile, matrices arent correct though yet.
2024-07-28 19:36:07 +01:00
marauder2k7
888332a85c
rest of the implementation
...
apparently templated classes need all functions to be inline, otherwise unresolved symbols
macro for switching between matrixf and templated
few functions that were missed
2024-07-28 14:35:34 +01:00
marauder2k7
8f8cc32636
normalize and affineInverse
...
added functions for normalize and affineInverse
2024-07-28 11:54:44 +01:00
AzaezelX
265ce8429b
fix guiwindowCTRL callback
...
also set asset browser to use rows or columns depending on which dimension is longer
2024-07-28 05:51:03 -05:00
marauder2k7
2cee5f7e10
mul and operators
...
add mul functions and operators
code conformity changes
2024-07-28 09:02:49 +01:00
marauder2k7
02b5e85f61
implement struct example
2024-07-28 07:04:23 +01:00
marauder2k7
c0bcb8bd00
Update mMatrix.cpp
...
fix comment, torque is already column major, even though doc says its row major
2024-07-28 06:38:11 +01:00