Commit graph

6709 commits

Author SHA1 Message Date
Brian Roberts
f940360b96
Merge pull request #1199 from Azaezel/alpha41/sfxSafties
sfx safeties
2024-02-04 00:09:56 -06:00
Brian Roberts
a253c8b48b
Merge pull request #1202 from Areloch/PlayerAnimationCallbackTweaks
Tweaks to Player's animation callbacks
2024-02-04 00:09:45 -06:00
Brian Roberts
1d906503b6
Merge pull request #1203 from Azaezel/alpha41/stringSpecification
resolve ambiguity
2024-02-04 00:09:11 -06:00
AzaezelX
67af2e0e0c resolve ambiguity
clang + ninja via clion disliked a string assignment from a case that could feed a string either another string or a char *, soi used the latter acroiss the board
2024-02-04 00:08:54 -06:00
Areloch
af7b5cdb34 * Improved logic to better handle the callback kickoff for actionAnimations happening
* Also adds animation name to callback so you can work off which animation triggered it
2024-02-04 00:03:35 -06:00
Brian Roberts
b31a5eafe2
Merge pull request #1200 from Areloch/MiscEngineFixes_20240203
Misc Engine fixes and additions
2024-02-03 23:45:09 -06:00
Areloch
da06fc1d96 * Fixes description for a few Scene methods
* Adds method to Scene to delete dynamic objects in the scene
* Add getNodeTransform to ShapeBase
* Add sanity check to AFX ea_update function to avoid divide by zero
* Adds ability to set color mul on GuiBitmapBorderCtrl like bitmapCtrl
* MatrixF utilty functions/operators
* Add ability to ignore an object in the containerBoxEmpty method call
* Adds some better initialization/sanity handling for resetWorldBox and resetRenderWorldBox for SceneObject
2024-02-03 23:42:26 -06:00
AzaezelX
c4b30b74fd clarify variable types. you want to pass assetIDs, not actual profiles 2024-02-03 22:39:21 -06:00
AzaezelX
846cec8dff hybridize suggested approaches with older code style, passing along either a matrix or a null.
for network transmission purposes, send which along as a bool
2024-02-03 22:35:41 -06:00
AzaezelX
b12cd00b74 SFX and soundasset safeties and fixe
adress several insatnaces of things like ServerPlay2D et al either not emitting sound at all, or doing so only at scene origin
2024-02-03 20:16:45 -06:00
Brian Roberts
e630ab859a
Merge pull request #1196 from Azaezel/alpha41/makeitmakesense
reformat the assertfatals for ghostids
2024-02-03 17:41:09 -06:00
AzaezelX
66766006d3 reformat the assertfatals for ghostids
both for legibility when source reading and popup utility
2024-02-03 17:38:49 -06:00
Brian Roberts
a673501330
Merge pull request #1195 from Areloch/oldECCodeCleanup
Removes some old entity/component code from the level load process that isn't used anymore
2024-02-03 17:31:11 -06:00
Areloch
aa3d51c3cc Removes some old entity/component code from the level load process that isn't used anymore 2024-02-03 17:16:41 -06:00
Brian Roberts
c92a88a852
Merge pull request #1193 from Areloch/EditorObjectSavingCallback
Adds a callback invoke for objects in the scene to inform them if the level is being saved
2024-02-03 16:27:35 -06:00
Areloch
9c643a69cf Adds a callback invoke for objects in the scene to inform them if the level is being saved. Allows for certain special actions, like having objects reset to an original position before the save occurs. 2024-02-03 16:24:12 -06:00
Brian Roberts
efffabae06
Merge pull request #1191 from Azaezel/development
dial back overly aggressive setRest
2024-02-01 17:47:55 -06:00
AzaezelX
7552554ded dial back overly agressive setRest 2024-02-01 17:47:30 -06:00
Brian Roberts
fb867a4a6c
Merge pull request #1190 from JeffProgrammer/ts-bug-1-30-2024
TScript Bugfix
2024-01-30 17:53:13 -06:00
Jeff Hutchinson
0d743c8bb9 TScript Bugfix
If the statement is a terminating statement on slot assignment (such as %var[%i]++;), the stack has to be popped everytime slot arrays are used regardless of the expression type.
2024-01-30 18:24:48 -05:00
Brian Roberts
3d4b7b469c
Merge pull request #1189 from Azaezel/alpha41/copyPastePunt
when pasting, ensure you add a unique name
2024-01-29 17:49:52 -06:00
AzaezelX
7c5490e841 when pasting, ensure you add a unique name
object names are namespaces, so they cannot match or it confuses the lookup tables
2024-01-29 13:06:02 -06:00
Brian Roberts
f158fc78e8
Merge pull request #1188 from Azaezel/alpha41/StopShapeSpam
don't trigger shape load during shape loading
2024-01-26 18:27:07 -06:00
AzaezelX
4ae2cf7413 don't trigger shape load during shape loading 2024-01-26 18:26:40 -06:00
Brian Roberts
ed47f174bc
Merge pull request #1184 from marauder2k9-torque/STBImageLoading-PR
STB Image Loading PR take 2
2024-01-24 01:33:03 -06:00
marauder2k7
e6554e9abc Merge remote-tracking branch 'upstream/development' into STBImageLoading-PR 2024-01-23 08:48:12 +00:00
marauder2k7
d87199f5da Final Cleanup
-Removed LPNG
-Removed LJPEG
-Re-Added DefferredPNGWriter from rextimmy stb work

Commented out lines about file saving and reading in gfont, these are good for debugging font saves.
2024-01-23 08:47:26 +00:00
Brian Roberts
b66445e85f
Merge pull request #1187 from Azaezel/alpah41/callOnChildrenAUG
extended onCreateGame functionality
2024-01-22 18:59:34 -06:00
Brian Roberts
77f6a4909f
Merge pull request #1186 from Azaezel/alpha41/noSoundSpam
remove arbitrary impact sound spam
2024-01-22 18:59:24 -06:00
AzaezelX
cf56265789 extended onCreateGame functionality
now also trips on object instances and datablock namespaces
ensures there's a generic hook for post-load processing for objects created by a scene to reference other objects created during that process
2024-01-21 22:16:15 -06:00
marauder2k7
68a7dadd2b Merge remote-tracking branch 'upstream/development' into STBImageLoading-PR 2024-01-21 20:14:53 +00:00
marauder2k7
8632468a9c Set format in read stream
Forgot to pass the decided format in read from stream
2024-01-21 20:10:29 +00:00
AzaezelX
e5a7c73bbe remove arbitrary impact sound spam
1) don't call them when onimpact threshold isn't crossed.
2) *definitely* don't call them with an arbirtary /3 threshold
2024-01-21 13:05:37 -06:00
Brian Roberts
f77663e2c9
Merge pull request #1185 from Azaezel/alpha41/fixCompositeCreate
fix orm compositing save script
2024-01-20 18:05:24 -06:00
AzaezelX
2dc67d5b43 fix orm compositing save script
also fix emissive checkbox savestate retrieval
2024-01-20 17:50:12 -06:00
marauder2k7
43c2c918c7 Expanded Features
Added ability to set format dynamically on read from stream.
Added other formats to write to a stream.
2024-01-20 22:47:58 +00:00
marauder2k7
106346630d STB Memory functions for fonts
Add the ability to read and write to a stream.
2024-01-20 22:15:17 +00:00
marauder2k7
7216ba8530 Revert "revert #1148 as prematurely incorporated"
This reverts commit f946088214.
2024-01-20 18:01:57 +00:00
Brian Roberts
bd2121b674
Merge pull request #1183 from marauder2k9-torque/ConvexShapeValuesChange
Update convexShape.cpp
2024-01-19 22:35:07 -06:00
marauder2k7
1f99d8f14d Update convexShape.cpp
Convex shape values were changing on save, few quick tests point to this being the fix, need more extensive testing.
2024-01-20 04:15:04 +00:00
Brian Roberts
a919d53eee
Merge pull request #1182 from Azaezel/alpha41/revertSTB
revert #1148 as prematurely incorporated
2024-01-19 13:21:02 -06:00
Brian Roberts
199ef84fcb
Merge pull request #1180 from Azaezel/alpha41/awryArrays
don't allow setting a key or value on -1 index
2024-01-17 19:42:23 -06:00
Brian Roberts
af7ca8f0bb
Merge pull request #1181 from Azaezel/alpha41/fixVehicleSpawn
fix vheicle add dropwdown spawntypes
2024-01-17 13:12:03 -06:00
AzaezelX
86408058a3 fix vheicle add dropwdown spawntypes 2024-01-17 13:11:43 -06:00
AzaezelX
36c1e928ca don't allow setting a key or value on -1 index 2024-01-15 17:04:25 -06:00
Brian Roberts
810c070512
Merge pull request #1178 from Azaezel/alpha41/arrayObjectAugs
arrayobject helper commands
2024-01-15 11:38:53 -06:00
Brian Roberts
6013726db9
Merge pull request #1179 from GasimoCodes/patch-1
Fix docs link in readme
2024-01-15 11:31:29 -06:00
Gasimo
b8c48a2ccc
Fix docs link 2024-01-15 16:39:11 +01:00
AzaezelX
f946088214 revert #1148 as prematurely incorporated
it's getting there, but there have been a few spots noted where it eroneously corrupts text, so we'll have to pull this back out for a bit barring a proper resolution
2024-01-11 13:33:03 -06:00
AzaezelX
30e67694e8 arrayobject helper commands
getValueFromKey and getKeyFromValue.
both look to the left or right hand entry for the other one
example:
%array.add("startPos","0 0 0 ");
echo(">".%array.getValueFromKey("startPos"));
> 0 0 0
2024-01-10 16:20:08 -06:00