Commit graph

7232 commits

Author SHA1 Message Date
Brian Roberts
26adb11e49
Merge pull request #1008 from Azaezel/alpha41/timeTrouble
fileModifiedTime cleanups
2023-04-11 18:29:28 -05:00
Brian Roberts
e234b50a24
Merge pull request #1010 from lukaspj/fix-test-reporting
Make all test result paths conform to the Linux runner setup
2023-04-11 18:11:36 -05:00
Lukas Aldershaab
66d706024d Make all test result paths conform to the Linux runner setup 2023-04-12 00:34:42 +02:00
AzaezelX
1b1497d439 adds a reloadModuleFiles(%moduleGroup); command
method checks last module.filename execution via getTimeStamp() the last time it was run, and compares fileModifiedTime to see if the next time that file had been altered.
called in moduleExec
2023-04-08 21:27:43 -05:00
AzaezelX
4c86d4d699 fileModifiedTime cleanups
leverage more windows-specific commands for  _CopyStatAttributes to among other things account for timezones when comparing vs the getTimeStamp() command
2023-04-08 21:05:24 -05:00
Brian Roberts
43b38bb8fb
Merge pull request #1007 from Azaezel/alpha41/miscFixes08-04-2023
misc warn fixes
2023-04-08 14:19:35 -05:00
AzaezelX
a956264bbc misc warn fixes
parser had a few spots where it was throwing int compares to ints instead of bools for logical and/ors. not bitwise ones.
_dumpDirectories had a stray itterator dupe
2023-04-08 12:39:09 -05:00
Brian Roberts
9d0cb3cc41
Merge pull request #1006 from lukaspj/fix-test-reporting
WIP: Fix test reporting to work with multiple OS
2023-04-08 09:00:13 -05:00
Lukas Aldershaab
cabe07e0d6 Download reports from different OS into the different folders 2023-04-08 09:35:06 +02:00
Lukas Aldershaab
414b717088 Fix test reporting to work with multiple OS 2023-04-08 09:33:23 +02:00
Brian Roberts
f9bdb128c2
Merge pull request #1005 from lukaspj/fix/unit-testing-suite
Fix Unit Testing Suite
2023-04-07 22:48:57 -05:00
Lukas Aldershaab
0550eb3109 Cleanup 2023-04-08 01:02:23 +02:00
Lukas Aldershaab
77c5328369 Fix GitHub Workflow 2023-04-08 00:58:08 +02:00
Lukas Aldershaab
9572a3b5e4 Fix GitHub Workflow 2023-04-08 00:57:03 +02:00
Lukas Aldershaab
be4f3e7f1b Prevent tests from never ending due to threading bug 2023-04-08 00:50:57 +02:00
Lukas Aldershaab
9269a4e13b Target the Install build 2023-04-06 22:07:25 +02:00
Lukas Aldershaab
de4d5fa5d7 Fix pipelin 2023-04-06 16:41:13 +02:00
Lukas Aldershaab
1ce2dd07b0 Set TORQUE_TESTING on in pipeline 2023-04-06 15:59:44 +02:00
Lukas Aldershaab
1d28ddf734 Cleanup and improve 2023-04-06 15:28:09 +02:00
Brian Roberts
7c67c2c326
Merge pull request #1003 from Azaezel/alpha41/safeLandings
address #96
2023-04-01 10:55:49 -05:00
AzaezelX
1fb4f57f6e adress #96 2023-03-30 14:19:50 -05:00
Brian Roberts
5c8be2bea5
Merge pull request #1001 from Azaezel/alpha41/springString
shift setWheelSpring script command to use a char*, not a  wheeledvehicleSpring*
2023-03-28 16:46:18 -05:00
Brian Roberts
fdd8530b4a
Merge pull request #1002 from Azaezel/alpha41/pathshapeSlimdown
confine pathshape callbacks to server
2023-03-28 16:46:09 -05:00
AzaezelX
5d94728f58 confine pathshape callbacks to server 2023-03-26 22:08:55 -05:00
AzaezelX
0174cb215a report setWheelTire misfires like we do setWheelSpring 2023-03-26 11:54:46 -05:00
AzaezelX
416a35b2b9 shift setWheelSpring script command to use a char*, not a wheeledvehicle*
need to be able to tell what the attempted assignment is for reporting
2023-03-26 09:47:31 -05:00
Brian Roberts
c6a1a42cf0
Merge pull request #1000 from Areloch/InspectorFieldSpecialEditMethods
Add necessary bits to ensure special-type fields work properly with InspectorFields
2023-03-25 14:01:21 -05:00
Areloch
b4f62a8005 Adds console methods to GuiInspectorField to ensure we can set the special edit variable name, type and callbacks for proper editor integration of script-managed types.
Adds default value for mVariableType to prevent bad data causing a crash.
2023-03-25 13:56:30 -05:00
Brian Roberts
fc1d097246
Merge pull request #999 from Areloch/onInspectDocsFix
Fixes the handling for special edit fields in the inspector to properly hook into the field's docs display
2023-03-21 20:42:13 -05:00
Areloch
a62024a677 Fixes the handling for special edit fields in the inspector to properly hook into the field's docs display 2023-03-21 19:48:25 -05:00
Brian Roberts
81bf7fc538
Merge pull request #996 from Azaezel/alpha41/furtherFontFixes
cut control chars for font population
2023-03-18 15:03:37 -05:00
Brian Roberts
3529a31d0f
Merge pull request #997 from Areloch/ExpandedEditorToolstuffs
Adds expanded ability to create and insert specialized script-based inspector fields
2023-03-18 15:03:20 -05:00
Brian Roberts
9045eb5d4e
Merge pull request #998 from Areloch/AddPrototypeItemData
Adds a Prototyping datablock for a pick-up able item
2023-03-18 15:02:45 -05:00
Areloch
bd07ce4f2a Adds a Prototyping datablock for a pick-up able item 2023-03-18 14:56:47 -05:00
Areloch
f9f022a1b9 Added proper default setting for alwaysPromptModuleTarget editor setting
Swapped the scan checking for editor scripts with dso being preferred first
2023-03-18 14:53:42 -05:00
Areloch
2f40b843d4 Adds expanded ability to create and insert specialized script-based inspector fields
Adds logic during the editor script initialization to let game modules have embedded tools
Changed setting to force prompt for target modules when creating things like datablocks to minimize confusion about where they save to
2023-03-18 02:22:47 -05:00
AzaezelX
fd02044d20 cut control chars for font population
zip referenceablilty for font files
2023-03-17 23:02:27 -05:00
Brian Roberts
bb44fa4bb7
Merge pull request #995 from Azaezel/alpha41/profileAugs
guiprofiles augs
2023-03-17 22:39:47 -05:00
AzaezelX
73e3b44e12 guiprofiles augs
guiprofiles now have additional options: borderSEL and borderERR in keeping with the fillcolor variants. fontColors now also takes an optional ERR entry on the backend, though that remains unleveraged at time of writing.
guiiconbuttonctrl now uses the expanded list in conjunction with renderFilledBorder
asset browser profiles now contain a AssetBrowserProtoProfile that type-profiles derive from for consistency in border selection, highlight, (and down the line error)  colors and border thickness while maintaining type-sepcific border color entries for general display
2023-03-16 17:21:07 -05:00
Brian Roberts
4489ebbf95
Merge pull request #992 from Azaezel/alpha41/methodSig
better callback filtering for getMethodSigs
2023-03-16 00:39:56 -05:00
Brian Roberts
d887c27d95
Merge pull request #994 from Azaezel/alpha41/fontcachegen
revise populateallfonts()
2023-03-15 18:22:44 -05:00
AzaezelX
07b3cba378 fix font cache attempting to start with char 0x0, time delay generation by one second per to mitigate ap choke 2023-03-15 18:22:14 -05:00
AzaezelX
f22464b056 revise populateallfonts
rewritten to be a full itteration of all unique combos of font+size used by any currently loaded guicontrolprofile
2023-03-15 06:24:25 -05:00
Brian Roberts
5e9c99df67
Merge pull request #993 from AtomicWalrus/DoubleOnAddScriptFix_PR
Prevent double onAdd script call for GameBase objs
2023-03-15 01:07:17 -05:00
AtomicWalrus
4b678a3e3b Prevent double onAdd script call for GameBase objs
Adds a check to skip this the first time onNewDataBlock is called (when the object is created) to prevent double-calling onAdd
2023-03-15 00:05:01 -06:00
AzaezelX
25e96b613b better callback filtering for getMethodSigs
add a bool filter to getMethodSigs so it can also return script commands

example code reminder note:

//MainMenuGui.getPrototypeList();
//MainMenuGui.getPrototypeDef("onAdd");
function simObject::getPrototypeList(%this)
{
      %methodArray = %this.getMethodSigs();
      %methodCount = %methodArray.count();
      for (%i=0;%i<%methodCount;%i++)
      {
         %methodDef = getRecord(%methodArray.getValue(%i),0);
         %methodName = strreplace(%methodDef,"::"," ");
         %methodName = getWord(strreplace(%methodName,"("," "),2);
         warn(%methodName);
      }
}

function simObject::getPrototypeDef(%this, %funcName)
{
      %methodArray = %this.getMethodSigs();
      %methodCount = %methodArray.count();
      for (%i=0;%i<%methodCount;%i++)
      {
         %methodDef = %methodArray.getValue(%i);
         %methodName = strreplace(%methodDef,"::"," ");
         %methodName = getWord(strreplace(%methodName,"("," "),2);
         if (%funcName $= %methodName)
            warn(%methodDef);
      }
}
2023-03-15 00:14:20 -05:00
AzaezelX
10fd02137a sfxemitter misc cleanups
largely asset vs instance logic and network optimization focued
2023-03-14 23:16:07 -05:00
Brian Roberts
4db9d241bf
Merge pull request #989 from Azaezel/alpha41/nodeNosiness
get node utility methods by request
2023-03-13 11:28:05 -05:00
Brian Roberts
7b676ee6bc
Merge pull request #991 from AtomicWalrus/AssetDropInProjectionLagFix
(Obj spawning) Only project to farplane to avoid hang/crash w/ high fardist
2023-03-13 11:27:53 -05:00
AtomicWalrus
e552b904ab Only project to farplane to avoid hang/crash w/ high fardist
Unproject depth (z coord on input) is normalized, 0=nearclip, 1= fardist
2023-03-13 00:42:22 -06:00