Commit graph

4498 commits

Author SHA1 Message Date
marauder2k7
54d0da6690 Update stringFunctions.h
changes to dAtob from az
2024-06-18 15:10:24 +01:00
marauder2k7
0d4c335231 test
working test without scanstring changes
2024-06-16 23:05:42 +01:00
marauder2k7
d8411b4a58 Update console.h
case insensitive
2024-06-16 20:02:57 +01:00
marauder2k7
d6a79e4f5b if statement
treat "true" as a bool in getInt check (inside if statements for strings)
no longer convert all "true" and "false" to ints
2024-06-16 20:01:47 +01:00
marauder2k7
e56f4cb6a6 if statements
Changed:
if check on vals now return true if the value has a string value
%val = "test me" if(%val) will now return true since %val is not null

Script side:
string checks for "true" and "false" will now be parsed as integer values of 1 and 0.

TEST VIGOUROUSLY
2024-06-16 15:04:20 +01:00
Brian Roberts
760c153232
Merge pull request #1288 from Azaezel/alpha41/posePoking
pickanimation filter fix, with docs
2024-06-15 14:30:52 -05:00
Brian Roberts
b2fad6e3b9
Merge pull request #1287 from Azaezel/alpha41/destructorDefines
handle missing virtual destructors
2024-06-15 14:30:40 -05:00
AzaezelX
7ac714606f proper formulation 2024-06-11 16:08:07 -05:00
AzaezelX
61978fa4da pickanimation filter fix, with docs
sorts the order of operations flaws clang was complaining about, with explainations on why
2024-06-11 15:21:24 -05:00
AzaezelX
a58f98167f handle missing virtual destructors
clang translation: destructinplace needs to know what to erase.
2024-06-10 13:20:09 -05:00
AzaezelX
5c701fe09e file write clarifications
handle clang complaints about hidden virtuals in the context of file writes that have thier own routes and I/O needs.
2024-06-10 13:15:27 -05:00
marauder2k7
1c43959c07 multiline eval support 2024-06-07 20:44:44 +01:00
marauder2k7
8140ed9b64 clear
clear lines, and dont try to print lines when there is no file.
2024-06-07 20:13:56 +01:00
AzaezelX
56e4484ff6 remove glowbin as it's own render pass 2024-05-30 17:29:42 -05:00
marauder2k7
79dfd14bea Update sfxALBuffer.h
revert to head
2024-05-25 10:20:14 +01:00
marauder2k7
0d1dc234fa Update sfxSndStream.cpp
we always want shorts
2024-05-25 10:04:51 +01:00
marauder2k7
e3d977b8e7 Update sfxALBuffer.h
mac dont like
2024-05-25 09:10:47 +01:00
marauder2k7
16ff27c6e6 Merge remote-tracking branch 'upstream/development' into sound-fix 2024-05-25 09:10:24 +01:00
marauder2k7
0ae0d633e9 Update sfxSndStream.cpp 2024-05-25 08:16:43 +01:00
marauder2k7
aa9cb63789 Update sfxSndStream.cpp 2024-05-24 17:18:35 +01:00
marauder2k7
de454dc793 Update sfxSndStream.cpp
revert vorbis back to 16bit add normalisation option.
2024-05-24 16:25:26 +01:00
marauder2k7
c28cedc2d8 32 bit float test
32 bit floating point sounds
2024-05-24 16:19:10 +01:00
marauder2k7
ebdc408385 Update sfxSndStream.cpp
streaming file fixes, also only wrap back around when we have read the whole file.
2024-05-24 15:11:18 +01:00
marauder2k7
bf34d3daa8 Update sfxSndStream.cpp
fix distortion issue on some sounds, if vorbis requires a scale set for float conversion
2024-05-24 14:12:01 +01:00
marauder2k7
482eb28ded Update sfxSndStream.cpp
add different file type modes and reset stream after reading (torque still reads the full thing)
2024-05-24 14:00:21 +01:00
marauder2k7
b338458a1d possible fix for torsion lineno 2024-05-24 09:48:42 +01:00
marauder2k7
25d6ee5372 backup
backup commit
2024-05-20 12:21:37 +01:00
marauder2k7
2d2d3c7560 PlaneConvex
Working example of a plane convex type, now groundplane does not need to create a box for its collisions.
2024-05-19 01:18:50 +01:00
marauder2k7
2132379b05 backwards compat
Changed: addCollisionDetail now has its fill mode at the end for easier backwards compat
2024-05-16 21:21:34 +01:00
marauder2k7
4b2165668f moar fixes
Fixed: convex and shape nodes are now the same transform as the target nodes
Changed: addNode now has the target at the end of its call for backwards compat
Fixed: renameNode was overwriting addNode calls, should not have been so
2024-05-16 20:36:47 +01:00
marauder2k7
280102d565 Update tsMeshFit.cpp
update addCollisionDetail documentation
2024-05-16 08:18:17 +01:00
marauder2k7
92b10df7eb cleanup nodes
ADDED: functionality to clean nodes out of the script that are related to a specific target
ADDED: functionality to clean multiple addCollisionDetails from the script
ADDED: ColConvex get added as nodes now and dont just get skipped (for future reference ColMeshes are checked for colConvex are not but this will be needed in future)

Removed: erroneous deletion of nodes and meshes from shapeEditorActions tscript file.
2024-05-16 07:04:54 +01:00
marauder2k7
25b0c5e2b1 finish fill mode setting
now fill mode actually takes effect and changes the fill mode type used to generate the convex hull
2024-05-16 04:32:14 +01:00
marauder2k7
48848f9706 rename vars
renamed vars to make more sense with the new option params
2024-05-16 03:39:18 +01:00
marauder2k7
f963a78446 TEST progress
Adding multiple collision hulls and shapes through the shape editor now works as intended though with multiple convex hulls it does produce a few lag spikes on first load of the objects.
2024-05-15 07:32:26 +01:00
marauder2k7
78f6206cde repurposed sliders
repurposed and renamed the 2 sliders in the gui to be for settings in vhacd
added the drop down for fillMode types but it is not hooked up to source yet
2024-05-14 17:20:17 +01:00
Brian Roberts
cbe7f77ce0
Merge pull request #1278 from Azaezel/alpha41/oopsOps
fix fighting itterators
2024-05-14 09:47:54 -05:00
AzaezelX
fe5e81a27a fix fighting itterators 2024-05-13 21:31:20 -05:00
marauder2k7
81a913616c revert ThreadPool rename
revert ThreadPool rename, resources ThreadPool class is already nested in namespace VHACD
2024-05-12 21:59:18 +01:00
marauder2k7
8cf2b1d0ef Update tsMeshFit.cpp
fix addSphere
fix addCapsule

now spheres and capsules scale correctly.... hopefully....
2024-05-12 17:51:21 +01:00
marauder2k7
399844f7f1 linux and tests
fix linux build
change thread test to use TorqueThreadPool
2024-05-12 16:31:30 +01:00
marauder2k7
948d2e5cef Update tsMeshFit.cpp
code cleanup, fix warnings etc
2024-05-12 15:21:59 +01:00
marauder2k7
109d8c06e9 final cleanup
final cleanup removal of the old convexDecomp library
ADDDED: library for the floatmath from v-hacd resource, required for fit sphere/capsule/box functions
2024-05-12 15:13:03 +01:00
marauder2k7
eb33fe04af working vhacd
renamed ThreadPool to TorqueThreadPool to avoid conflics
fixed data transmission between stages of convexDecome and trimesh creation
TODO: re-add our own functions for generating sphere/cylinder/box
2024-05-12 14:43:56 +01:00
marauder2k7
679f0ff065 vhacd
added vhacd not working atm
2024-05-12 03:07:59 +01:00
AzaezelX
84c08e6ed9 work around collide not returning false with a nul object
fix a crash caused by having boundingBoxCollision on, while projecting the mouse so that there is nothing between it and a globalbounds object
it would seem we're somehow ending up in a state of WorldEditor::collide returning true it hit somethging, but NULL as far as *what*
until we properly fix this, doublecheck to make sure the hitObject isn't NULL before we start trying to reference membervars/methods
2024-05-07 00:24:49 -05:00
Areloch
da743d9dc4 Removed test enum values 2024-05-04 10:19:12 -05:00
Areloch
b77911bdcd Exposes the SceneObjectTypeMasks as an enum type, allowing it to be utilized in inspectors.
Updated Trigger triggeredBy field to utilize new enum type for editing
Updated MaterialDefinition's animFlags field to utilize appropriate enum type for editing
Fixed image reference in bitmask inspectorField type to use correct image asset name
2024-05-04 09:56:04 -05:00
AzaezelX
3a7f3beb64 play steering thread on server so mounted objects like turrets can be linked to it 2024-05-02 21:01:16 -05:00
Brian Roberts
67b052a192
Merge pull request #1269 from Areloch/MultiObjectEditMadness
Adds handling for complex fields such as Point2, Point3 and Point4's to be able to apply value changes to only one axis across a multi-object set without affecting other axis'
2024-05-01 23:21:15 -05:00