AzaezelX
01ba199dc7
fix vectorlight visualizer varnames
2022-06-12 14:43:26 -05:00
JeffR
7cdace8da3
Fixes bounds scaling issue making the object box in the editor be double the convex's size
...
Fixes loading of modified surfaceTextures by properly inserting into stringtable
Fixes display of the active and default material previews in the ConvexShape editor
Adds buttons to hollow and recenter selected convex to tool window
2022-06-12 04:27:32 -05:00
Brian Roberts
607f62bf03
Merge pull request #812 from Ragora/str_cpp_memory_experiment
...
BugFix: Remove the GCC Workaround
2022-06-09 22:49:59 -05:00
Robert MacGregor
4ef3f89280
* BugFix: Correct a minor post-merge typo.
2022-06-09 23:10:13 -04:00
Robert MacGregor
1e9aa8b86f
Merge branch 'Preview4_0' into str_cpp_memory_experiment
2022-06-09 22:49:43 -04:00
Robert MacGregor
704113577b
* Cleanup: Remove leftover comments from str.cpp.
2022-06-09 19:30:25 -04:00
Robert MacGregor
6d0e81763b
* BugFix: Correct not setting the string to interned when allocating a StringData with a DataChunker in str.cpp.
2022-06-09 19:26:39 -04:00
JeffR
67d8448915
Fixes cleanup handling on guiBitmapButtonCtrl and guiGameSettingsCtrl to release the bound textures like other GUI controls when they sleep, avoiding a texture object leak.
...
Fixes a call for UINavigation to getPageCount that was erroneously referencing the pageStack
Fixes fetch and binding of the image for display when using the uvEditor
2022-06-09 16:29:32 -05:00
Robert MacGregor
2cdfe70e50
* Experiment: Change the way StringData is allocated in the code, experimentally.
2022-06-08 11:27:16 -04:00
AzaezelX
66820fee90
let me underscore this is painfully incorrect and we'll want to revisit it when we have more time, but... this seems to fix mangled decal and decalroad rendering
2022-06-07 22:06:48 -05:00
AzaezelX
de6ee93159
slim ambient down to vec3, default to premul for translucency
2022-06-07 22:05:47 -05:00
AzaezelX
0e0088cab9
forward lit ambient application. fix GL side IBL overwriting forward lit color.a
2022-06-07 11:18:53 -05:00
JeffR
1acf4b2dae
Adjusts engine cleanup ordering on shaderFeatureMgr to avoid periodic crashes on Mac ARM machines
...
Adds missing disconnect/timeout handling callbacks to the clientServer core module
Adds page refresh function to UINavigation to be able to selectively nudge the current page to refresh its contents if needbe
2022-06-05 01:21:38 -05:00
JeffR
834116c513
Uncomments networking lines that ensure client has the particle's textures
2022-06-04 21:53:12 -05:00
JeffR
7efab038d1
Adjusts handling for special-case networking of sound assets where we may need to account for stuff like SFXPlaylists. DB names aren't transported, so we need to do Id lookups
2022-06-04 00:59:06 -05:00
JeffR
448a453e51
Fixes logic check for sound asset macros so if the defined field value is an object, we consider it valid, as it's almost certainly an SFXPlaylist or track. This removes some unneeded error spam
2022-06-03 03:23:27 -05:00
JeffR
943cf8351b
Adds safety check to SoundAsset's playSound so if we don't have a source, it doesn't crash
...
Adds logic to SoundAsset's load sound to 'nudge' the SFX system to load the required data for first use
Shifts SimSoundAssetEvent constructor to utilize assetId instead of raw asset so we can safely fail if for whatever reason we end up default constructor'ing blanks
Standardizes the shapeImage playList lookup a bit into a common function and ensures that on packet receive we force an update of the state's sound
2022-06-03 02:04:39 -05:00
Robert MacGregor
b1d36c0cca
* Feature: Add TORQUE_DYNAMIC_LIBRARY as an experimental flag to allow building the core engine as a shared library.
2022-06-01 16:59:06 -04:00
Robert MacGregor
c90d3ddc2a
* BugFix: Correct a variable overwrite issue causing headers to not show up on OSX.
2022-06-01 13:26:44 -04:00
Robert MacGregor
3d963d44e3
* BugFix: Allow header files to appear in the filters through use of a helper function torqueAddSourceDirectories.
2022-06-01 13:18:34 -04:00
Robert MacGregor
05cce33be3
* BugFix: Corrections to filter generation to properly separate modules and engine code.
2022-06-01 12:18:59 -04:00
Robert MacGregor
51bf96a290
* BugFix: Initial work on generating filters.
...
* BugFix: For now, comment out a line in libpng's CMake scripts causing issues on XCode.
2022-06-01 11:56:31 -04:00
AzaezelX
bba3b1a8d6
proper player head rot clamp
2022-06-01 10:30:45 -05:00
Robert MacGregor
a71ebf6ea8
* Feature: Add TORQUE_ADDITIONAL_LIBRARY_BINARIES for modules to specify eg. dll files to be installed next to the executable. On OSX this installs the file into the frameworks directory.
2022-06-01 11:02:32 -04:00
Robert MacGregor
eaa18b42df
* Feature: Add game/data to the default module search paths.
2022-06-01 10:48:56 -04:00
Brian Roberts
35e946e627
Merge pull request #800 from Azaezel/alpha40/constraintConsternation
...
constrain player mRot.z reguardless of translation
2022-06-01 09:24:34 -05:00
AzaezelX
c3eb5e028b
constrain player mRot.z reguardless of translation
2022-05-31 22:00:15 -05:00
Robert MacGregor
d0f4084fcb
* BugFix: When searching for OpenAL on Linux, search for both libopenal.so.1 and libopenal.so.
2022-05-31 21:26:56 -04:00
Brian Roberts
d9361a0128
Merge pull request #799 from Areloch/MiscFixes20220530
...
Misc Fixes for 2022/05/30
2022-05-31 14:33:59 -05:00
Robert MacGregor
0038a9d3f3
* BugFix: Clear the absolute rpath generated on OSX by default.
2022-05-31 10:00:01 -04:00
Robert MacGregor
c1d1999a9c
* BugFix: Correct MacOS bundles not referencing shared libraries properly.
2022-05-31 09:49:10 -04:00
Robert MacGregor
792a3cb461
* BugFix: Correct MacOS libraries being outputted to the wrong directory.
2022-05-31 09:15:54 -04:00
Robert MacGregor
4a36a998ab
* Cleanup: Reorganize the engine main CMakeLists.txt for readability.
2022-05-31 08:30:11 -04:00
Robert MacGregor
342449625b
* BugFix: Correct icon file handling on OSX.
2022-05-31 07:30:32 -04:00
Robert MacGregor
688f201011
* BugFix: Correct applications built on Windows or OSX not having icons.
2022-05-31 07:27:54 -04:00
Robert MacGregor
f395c7d9ee
* BugFix: Correct a few typos in the CMakeLists.txt.
...
* Feature: Mirror support for TORQUE_SFX_DirectX which appears to be
broken anyway.
2022-05-31 07:08:18 -04:00
JeffR
27b20c14d7
Cleans up the ExampleModule to have up-to-date examples of module init'ing, game modes, levels and basic input logic
...
Cleans up prototyping module to trim unneeded extra scripts and files
Adds PlayerBot model to Prototyping module
Adds metalGray material to Prototyping module
Fixes issue where logic wasn't changed for forcing AB preview images to regenerate
Removes unneeded legacy lines from editor template level
Removes unneeded extra asset import config
Disables terrain material name field from editing in terrain material editor for now to prevent bad behavior
Adds mapTo line to newly created material asset definitions to ensure shapes doing mapTo lookups can properly utilize the materials
2022-05-31 00:26:20 -05:00
Robert MacGregor
b1cba705b4
* BugFix: Fix missing link libraries for Linux.
...
* BugFix: Fix calling a CMake function that was not available in the minimum Cmake version.
2022-05-30 22:23:36 -04:00
Robert MacGregor
128a50f635
* BugFix: Correct a typo.
2022-05-30 20:52:40 -04:00
Robert MacGregor
0dab9e2044
* BugFix: Add Xft to the Linux link libraries.
2022-05-30 20:51:39 -04:00
Robert MacGregor
9b8350dd2b
* BugFix: Tweak the way dynamic libraries are loaded to the game directory and make FreeType a required package on Linux.
2022-05-30 20:43:08 -04:00
Robert MacGregor
3e74acaf8e
* BugFix: Utilize Cmake's built in FindFreetype when building on Linux.
2022-05-30 20:39:17 -04:00
Robert MacGregor
790cb17435
Merge branch 'cmake_adjustments' of github.com:Ragora/Torque3D into cmake_adjustments
2022-05-30 19:06:24 -04:00
Robert MacGregor
13d632a503
* BugFix: Set DirectX linkages correctly.
2022-05-30 19:05:30 -04:00
Robert MacGregor
ffd6b09b1a
* BugFix: Set the CXX standard to C++17.
2022-05-30 18:08:20 -04:00
dottools
0f81ececae
Engine SDL: Use screen space coordinates for both mouse pointer set and get position
...
Changed mouse pointer coordinates from client to screen space. Done in order to be consistent with existing engine comments, API help doc string, and how it used to work in Win32 window management code.
2022-05-30 16:14:18 -05:00
dottools
01a3163d40
Engine GUI: Don't translate mouse coordinates in GuiCanvas::setCursorPos()
...
Removed translating passed mouse pointer coordinates from client to screen space. Source comments and exposed canvas script API help doc line for the same function states that passed mouse pointer coordinates are supposed to already be in screen space.
2022-05-30 16:09:48 -05:00
Robert MacGregor
24707b38cf
* BugFix: Correct the platformPOSIX sources not being compiled for Mac.
2022-05-30 16:45:35 -04:00
Robert MacGregor
7380161054
* BugFix: Correct convexDecomp compilation by setting the LINUX flag when necessary.
...
* BugFix: Update OpenAL to correct a compilation error on Linux.
2022-05-30 16:32:45 -04:00
Robert MacGregor
e071f1d901
* Feature: Implement template configuration at the CMake configure stage.
...
* BugFix: Correct some source references in the Engine CMakeLists.txt
2022-05-30 15:22:52 -04:00