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
Brian Roberts
956bd51d6d
Merge pull request #802 from Azaezel/alpha40/playerClampProper
...
proper player head rot clamp
2022-06-01 10:31:07 -05:00
AzaezelX
bba3b1a8d6
proper player head rot clamp
2022-06-01 10:30:45 -05: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
Brian Roberts
d9361a0128
Merge pull request #799 from Areloch/MiscFixes20220530
...
Misc Fixes for 2022/05/30
2022-05-31 14:33:59 -05:00
JeffR
d56a05c314
Trim unneeded input commands
2022-05-31 01:12:02 -05: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
Brian Roberts
9486587014
Merge pull request #795 from Azaezel/alpha40/forrestfunteims
...
lower min brushsize for forest to sub-meter levels
2022-05-30 16:35:35 -05:00
Brian Roberts
8e15369db9
Merge pull request #796 from Azaezel/alpha40/particlePlop
...
fix particle emitter asset browser spawning
2022-05-30 16:35:28 -05:00
Brian Roberts
5b9c080aef
Merge pull request #798 from dottools/fix/mouseCoordSpace
...
Use screen space coordinates for mouse pointer position
2022-05-30 16:35:19 -05:00
Brian Roberts
e0550c6aac
Merge pull request #797 from dottools/fix/optsAssertOnCancel
...
BaseGame Template: Fix script assert on canceling game options changes
2022-05-30 16:35:01 -05: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
dottools
8267c13696
BaseGame Template: Fix script assert on canceling game options changes
2022-05-30 15:54:32 -05:00
AzaezelX
da820e268e
fix particle emitter asset browser spawning
2022-05-30 11:30:16 -05:00
AzaezelX
3423c9eb13
lower min brushsize for forest to sub-meter levels
2022-05-30 10:56:43 -05:00
Brian Roberts
925f6ebe41
Merge pull request #794 from Azaezel/alpha40/convexShapeShaderStandardization
...
set convexshape to use a standard vertex type
2022-05-29 22:53:13 -05:00
AzaezelX
dd920bb537
set convexshape to use a standard vertex type
...
we were seeing vert type vs shadergen mismatches. this is a route to conform the former to the latter, which avoids generating a unique shader/processedmaterial combo
2022-05-29 13:18:01 -05:00
Brian Roberts
7a2b93dab4
Merge pull request #793 from Azaezel/alpha40/explosionSoundfix
...
fix on-RPC-command explosion sounds not playing the first time
2022-05-28 06:45:39 -05:00
AzaezelX
c47cb54702
fix on-RPC-command explosion sounds not playing the first time
2022-05-26 18:04:37 -05:00
Brian Roberts
67771cad5b
Merge pull request #792 from Ragora/bugfix-macos-hotkeys
...
BugFix: Correct MacOS not responding to various hotkeys
2022-05-25 21:24:48 -05:00
Robert MacGregor
e686a9850e
* BugFix: Correct the MacOS hotkey workaround causing eg. the Windows key to potentially be processed as part of a hotkey combo.
2022-05-25 21:50:14 -04:00
Robert MacGregor
3f944874f3
* BugFix: Correct MacOS not responding to Command+C, Command+X, Command+A and Command+V by removing a hack in guiTextEditCtrl and shifting the logic to sdlWindow.
2022-05-25 21:46:12 -04:00
Brian Roberts
e896e663d4
Merge pull request #791 from Ragora/bugfix-sdl-fallthrough
...
BugFix: Correct invalid fall-through behavior in sdlInputManager.cpp.
2022-05-25 18:29:09 -05:00
Robert MacGregor
d5d846f311
* BugFix: Correct invalid fall-through behavior in sdlInputManager.cpp.
2022-05-25 19:25:33 -04:00
Brian Roberts
13a296aae8
Merge pull request #783 from Azaezel/alpha40/ambeintOrderOps
...
fix sDefaultAmbience intialization.
2022-05-25 00:26:27 -05:00
Brian Roberts
dd801ec1a1
Merge pull request #790 from Areloch/MiscFixes20220524
...
Misc Fixes for 2022/05/24
2022-05-25 00:25:37 -05:00
JeffR
70a9666cc3
Removes erroneous assignment of loaded state onto fallback assets when we fail to find an assetId by filename for image and shape assets
...
Fixed handling of TSStatics' materialSlot fields, where if the field has been changed, it properly loads the modified field and ensures the reskin action happens correctly.
Changed text on some context popup menu to better indicate the action Views loose files, not imports them
Makes the Loose File Viewer skip cached.dts files.
2022-05-25 00:12:12 -05:00
Brian Roberts
53cd3ea36a
Merge pull request #789 from JeffProgrammer/cpuinfo
...
Overhaul on CPU detection for Windows, Mac (x64/arm64) & Linux
2022-05-24 22:58:08 -05:00
Jeff Hutchinson
04a94669eb
Merge pull request #7 from Ragora/feature-linux-cpu-info-fixed
...
Feature: Detect POSIX CPU Information
2022-05-24 22:41:59 -04:00
Robert MacGregor
0df555f9eb
* Adjustment: Add static keyword to getCPUInformation in POSIXCPUInfo.
2022-05-24 21:38:03 -04:00
Robert MacGregor
3be4f5983e
* Cleanup: Remove mInstallLibrary_Vec from platformMac.
2022-05-24 21:27:13 -04:00
Robert MacGregor
4a92ecf9e5
* BugFix: Remove the last remnant of 3DNow! Extensions.
2022-05-24 21:11:08 -04:00
Robert MacGregor
2368f1d97c
* Feature: Reimplement POSIX CPU information.
...
* BugFix: Correct a typo in setProcessoInformation -> setProcessorInformation.
2022-05-24 20:58:28 -04:00
Robert MacGregor
c687c0d23a
* BugFix: Remove unused 3DNow! extensions and broken SSE extensions.
2022-05-24 20:39:34 -04:00
Jeff Hutchinson
27fd15de83
Merge remote-tracking branch 't3d/Preview4_0' into cpuinfo
2022-05-24 17:16:57 -04:00
Brian Roberts
237f5230d7
Merge pull request #788 from Areloch/NewForestItemListFix
...
Fixes issue where creating a new ForestItem wouldn't have it show in the ForestItemData dropdown on brushes until you restart.
2022-05-24 04:49:10 -05:00
JeffR
52368a0428
Fixes issue where creating a new ForestItem wouldn't have it show in the ForestItemData dropdown on brushes until you restart.
2022-05-24 02:10:06 -05:00
Brian Roberts
30251f5be1
Merge pull request #787 from JeffProgrammer/ts_strempty_is_now_0
...
Fix edgecase where empty string was not being explicitly set to 0 in …
2022-05-23 20:09:59 -05:00
Jeff Hutchinson
8f2beb3219
Fix edgecase where empty string was not being explicitly set to 0 in torquescript when used as integers/floats/bools.
...
We found this in the setInventory standard module. in setInventory, %max was being set to empty string, but being compared to 0 during TorqueScript comparison ops. I knew to look in ConsoleValue's type conversion functions, as the interpreter internally uses ConsoleValues when working with torquescript variables under the hood. ConsoleValue is responsible for handling all type conversions on the fly as needed inside of the core interpreter logic.
2022-05-23 20:25:32 -04:00
Brian Roberts
7984777336
Merge pull request #786 from JeffProgrammer/ts_conversion_buffer_allocator
...
Better allocator for TorqueScript temp conversions during interpretation
2022-05-21 21:31:53 -05:00
Brian Roberts
bb5023fa7d
Merge pull request #785 from Ragora/adjustment-update-sdl
...
Adjustment: Update libsdl to address a bug in compilation on MacOS
2022-05-21 20:59:35 -05:00
Jeff Hutchinson
3988e7baee
Better allocator for TorqueScript temp conversions used during interpretation
...
instead of using a Vector<> that never frees and grows for torquescript temporaries created when doing type conversions)
2022-05-21 21:55:44 -04:00
Robert MacGregor
eab544c8f3
* Adjustment: Update libsdl to address a bug in compilation on MacOS devices.
2022-05-21 20:25:30 -04:00
AzaezelX
ff0e418132
fix sDefaultAmbience intialization.
...
we don't want to spool that up before the SFX subsystem has kicked in
2022-05-16 19:22:25 -05:00
Brian Roberts
516163fd5d
Merge pull request #781 from Areloch/MiscFixes20220510
...
Misc Fixes for 2022/05/10
2022-05-11 01:15:07 -05:00
Brian Roberts
81b4cc92b6
Merge pull request #780 from Areloch/UINavigation
...
Implements a more standardized way to format usual UI pages by having the ability to utilize the UINavigation namespace for page stack navigation
2022-05-11 01:14:57 -05:00