Commit graph

6934 commits

Author SHA1 Message Date
Brian Roberts
328ff16165
Merge pull request #1250 from Azaezel/alpha41/roundRobin
Alpha41/round robin
2024-04-10 16:03:55 -05:00
AzaezelX
39e72cf2b6 ditch _snapfloat entirely in favor of just using the shared mRoundF 2024-04-10 15:56:44 -05:00
AzaezelX
f52c1165b6 fix editor grid snap 2024-04-10 15:17:47 -05:00
AzaezelX
65fe0be037 use consistent clipping 2024-04-10 15:17:24 -05:00
AzaezelX
f7ed077d82 round utility functions
add mRoundF to return nearest floating value to stepsize
2024-04-10 14:17:19 -05:00
Brian Roberts
f0e7a27c16
Merge pull request #1249 from Azaezel/alpha41/refreshrevamp
hot editing tsstatics crashfix
2024-04-07 14:26:15 -05:00
AzaezelX
00bdc913b0 onAssetRefresh(); already chains. no need to call that again 2024-04-06 17:14:56 -05:00
AzaezelX
40d38cc1ec uneeeded 2024-04-06 16:48:02 -05:00
AzaezelX
5ff83138cf need to set state to ok post-load and pre-changesignal callback 2024-04-06 16:39:31 -05:00
AzaezelX
3ace31c68c crashfix work for hot-editing shape assets tied to tsstatics 2024-04-06 14:48:22 -05:00
Brian Roberts
42a852a64d
Merge pull request #1248 from marauder2k9-torque/fix-angle-display
Update guiInspectorTypes.cpp
2024-04-01 20:29:05 -05:00
marauder2k7
447cec6cdd Update guiInspectorTypes.cpp
fix rotation display
2024-04-02 01:48:37 +01:00
Brian Roberts
cc6bf16d95
Merge pull request #1247 from Azaezel/alpha41/copyPasteCrunch
fix mangled copypaste
2024-03-30 18:51:16 -05:00
AzaezelX
01ff82cb72 fix mangled copypaste 2024-03-30 17:41:22 -05:00
Brian Roberts
548796af01
Merge pull request #1246 from marauder2k9-torque/stb-console-spam
Update bitmapSTB.cpp
2024-03-27 02:38:02 -05:00
marauder2k7
33094397c2 Update bitmapSTB.cpp
stb loader was spamming NO SOI with the function of stbi_info_from_memory because it checks for a jpeg first. This will always return an error if you are sending any other format. Remove this check and just load the memory stream. if it fails to return pixeldata then we have an error.
2024-03-27 07:32:59 +00:00
Brian Roberts
2846fe6e9b
Merge pull request #1245 from Azaezel/alpha41/flutterFix
fix position editor value flutter
2024-03-26 14:30:30 -05:00
AzaezelX
2b73f93f38 fix position editor value flutter
a) it didn't like mixing the script input %g and %.7f
b) we should set the increment to POINT_EPSILON as that's our cutoff value for several calcs.
2024-03-26 14:29:20 -05:00
Brian Roberts
3bc50f71a4
Merge pull request #1241 from marauder2k9-torque/change-to-use-libsndfile
Change to use libsndfile
2024-03-26 14:23:09 -05:00
marauder2k7
ee9ac81281 Merge remote-tracking branch 'upstream/development' into change-to-use-libsndfile 2024-03-25 08:41:12 +00:00
Brian Roberts
d4a4e7f741
Merge pull request #1243 from WageCrusader/development
removes a use after freed in consoleInternal
2024-03-24 22:53:44 -05:00
Brian Roberts
2aeebbe4c4
Merge pull request #1244 from Azaezel/alpha41/serverGroupFix
fix serverGroup not being created
2024-03-24 22:07:55 -05:00
AzaezelX
563912c181 fix serverGroup not being created 2024-03-24 19:44:44 -05:00
marauder2k7
52ecb99308 Update CMakeLists.txt
typo
2024-03-25 00:21:48 +00:00
marauder2k7
8fc56dfd9c remove speex cpack
cpack was causing issues with compiling remove any references to it.

change all options being set for the new libs to use the advanced_option macro

remove speex, opus is better.
2024-03-25 00:17:54 +00:00
Triston
a2cdbebfa1 removes a use after freed in consoleInternal 2024-03-24 18:36:42 -05:00
marauder2k7
7953064782 Merge remote-tracking branch 'upstream/development' into change-to-use-libsndfile 2024-03-24 21:07:41 +00:00
Brian Roberts
4ee2a4a2b3
Merge pull request #1242 from marauder2k9-torque/SFXResource-fix
SFXResource was unnecessarily creating SFXFileStreams
2024-03-24 16:06:25 -05:00
marauder2k7
d08583bef1 Merge branch 'SFXResource-fix' into change-to-use-libsndfile 2024-03-24 15:56:01 +00:00
marauder2k7
352afa3f0f SFXResource multi read
SFXResource was always creating a new file for each sound resource. Sometimes this would happen 3 times since the asset was creating a resource, then the profile, then the object that was using it.

Now if the sfxResource exists and we call openStream it returns the sfxFileStream linked to that file instead of just creating a new one.
2024-03-24 15:39:58 +00:00
marauder2k7
6bc4ace2e5 Update sfxSndStream.cpp
fix for stereo files (2d sound files) frames report back as bytesPerSample * channels

which for us is bytesPerSample. This needs to be applied to the return from read so sfx resource knows we have read all the info.
2024-03-24 13:51:04 +00:00
marauder2k7
d2ac25195f Update CMakeLists.txt
fix to skip mpeg on mac (would require another lib for mp3)
2024-03-24 12:51:22 +00:00
marauder2k7
705b17ab57 Merge remote-tracking branch 'upstream/development' into change-to-use-libsndfile 2024-03-24 12:07:26 +00:00
marauder2k7
0342eb6f31 replace other classes
now all sfxFileStreams create a libsndfile stream class.

At the moment we only read as short
2024-03-24 12:06:03 +00:00
marauder2k7
147044796b sfxSndStream
Ogg file from libsndfile now working. we can pull more information from the format and specifics of the file from libsndfile should maybe look at updating all the parameters around mFormat so it feeds openal settings better.

Next step is to remove the other stream classes.
2024-03-24 11:33:42 +00:00
Brian Roberts
36fa51da3a
Merge pull request #1240 from marauder2k9-torque/MACOSX-CompileFixes
MacOSX compile fixes and improvements
2024-03-23 21:08:44 -05:00
marauder2k7
3652367b36 sfxSndStream
read an ogg file through libsndfile instead of libvorbis.

There are still issues with this part of the file opens but doesn't read the whole file for some reason
2024-03-23 20:17:18 +00:00
marauder2k7
3889798818 add speex
in order to access the experimental code in libsndfile have to have speex...
2024-03-23 09:55:21 +00:00
marauder2k7
d1fcdcbea3 Merge remote-tracking branch 'upstream/development' into MACOSX-CompileFixes 2024-03-21 18:52:54 +00:00
marauder2k7
a745fc3757 Initial commit
added libraries:
opus
flac
libsndfile

updated:
libvorbis
libogg
openal

- Everything works as expected for now. Bare in mind libsndfile needed the check for whether or not it could find the xiph libraries removed in order for this to work.
2024-03-21 17:33:47 +00:00
Brian Roberts
05a083ca6f
Merge pull request #1234 from marauder2k9-torque/virtuals-override
Virtuals override
2024-03-21 10:43:26 -05:00
Brian Roberts
3fd352926b
Merge pull request #1238 from Azaezel/alpha41/dynamicfieldsCrashfix
crashfix for inpector dynamic field editing
2024-03-21 10:43:17 -05:00
marauder2k7
d44e475800 compile fixes and improvements
mac was failing to generate an archive.

Icons now in an app asset so it can be properly modified in the project instead of being a static .icns file.

Info.plist now gets its bundle name from the product bundle identifier field, this means it can be changed through the gui instead of having to manually modify the bundle identifier. All other settings are left blank.

Info.plist will need further updates to take values set in Xcode to make it easier to distribute apps.

OpenAL and SDL have to skip installation in release mode builds for the archive to be created correctly.
2024-03-21 10:45:31 +00:00
AzaezelX
8549c17a42 crashfix for inpector dynamic field editing 2024-03-20 14:32:09 -05:00
Brian Roberts
057654dda7
Merge pull request #1237 from marauder2k9-torque/fix-inspector-in-worldeditor
Update WorldEditorInspectorWindow.ed.gui
2024-03-20 14:03:23 -05:00
marauder2k7
fc8a281113 Update WorldEditorInspectorWindow.ed.gui
Scroll bar was extending beyond its parents extent making it render incorrectly.
2024-03-20 19:01:08 +00:00
Brian Roberts
8fbfcf1481
Merge pull request #1235 from Azaezel/alpha41/clangTidyCleanups
clang tidy misc fixes
2024-03-19 23:15:04 -05:00
Brian Roberts
58c3b31847
Merge pull request #1236 from Areloch/remapUIModifierSupport
Adds handling for the keyboard remap page of the options menu to be able to present a bind with a modifier key
2024-03-19 23:13:14 -05:00
Areloch
b1f71bab74 Adds handling for the keyboard remap page of the options menu to be able to present a bind with a modifier key 2024-03-19 23:05:03 -05:00
marauder2k7
f00d53f1d4 Revert "Update engineAPI.h"
This reverts commit a3742d26fb.
2024-03-19 22:32:25 +00:00