Commit graph

3332 commits

Author SHA1 Message Date
Areloch
297c256a61 Fixes server prefs to be force-loaded from defaults first before loading local prefs to avoid bad config files breaking everything.
Also added error message in the even of unexpected failure to connect to local servers that normal errors don't catch(and returns to the main menu in this case)
2018-01-28 15:19:36 -06:00
Areloch
d5b455a84c Added helper functions for managing Game Objects 2018-01-28 15:18:05 -06:00
Areloch
35c0860418 Added Sound Component 2018-01-28 15:17:14 -06:00
Areloch
398b00f0dd Minor fixes for guiPopupMenuCtrl to get the submenu arrow to render, as well as a sanity check. 2018-01-28 15:15:10 -06:00
Areloch
cfe977584d Added function to guiMenuBar to find a menu by name. 2018-01-28 15:14:16 -06:00
Areloch
727592d63a Small fixes to the inspector, and added the ability for the variableInspector to process command and filename field types. 2018-01-28 15:12:02 -06:00
Areloch
5bf3d56a05 Addition to guiTreeViewCtrl - ability to find what item in the tree is under a given position. 2018-01-28 15:07:50 -06:00
Areloch
f731a91c78 Expansion of the guiDragAndDropCtrl - support for dragging to any control visible on the canvas. 2018-01-28 15:03:44 -06:00
Areloch
68efd8e22a Updates to component classes -
Shift from ghosted components to entity-managed for networking
Initial implementation of Systems through the Mesh Component
2018-01-28 14:57:02 -06:00
Areloch
ae5a43de70 Asset Browser initial implementation - Asset updates.
Script execution on certain existing assets, new asset types and some tweaks to the managers.
2018-01-28 14:48:02 -06:00
Johxz
fa460b332e add a check for toolbuild 2018-01-27 20:18:58 -06:00
Areloch
3b0b3c1f56 Merge pull request #2094 from Areloch/ClearScopeAlwaysConsoleFunc
Adds a engine method to clear the scopeAlways flag on netObjects
2018-01-27 18:42:05 -06:00
Areloch
c23c99dbea Merge pull request #2118 from Areloch/MenuAndPopups
Refactors the Popup menus and GuiMenuBars
2018-01-27 18:41:00 -06:00
chaigler
9935502298 Ensure file is closed before returning
Fix for #2012
2018-01-24 19:09:08 -05:00
chaigler
4a72d54782 Fix assert on exit when Basic Lighting is removed
Occurs because ShadowMapManager is destroyed before
AdvancedLightManager.
2018-01-24 16:30:34 -05:00
chaigler
37b0ec68f7 Fixes linker errors when Basic Lighting is removed 2018-01-24 16:27:29 -05:00
chaigler
b52cda0c66 Remove legacy_stdio_definitions.lib
Dependency was added by PR #1566. No longer needed now that DX SDK has
been replaced.
2018-01-24 08:17:40 -05:00
chaigler
878e09acb2 Removes dxerr libs from SDL2
SDL2 wa still linking against dxerr.lib and dxerr8.lib but not actually
using any code that requires them. Both libs are deprecated and no
longer included in the Windows SDKs.
2018-01-24 08:02:23 -05:00
Marc Chapman
cd6947c7e0 Phase 3: Adjust cmake files to add #define to torque config 2018-01-23 22:48:20 +00:00
Marc Chapman
b8f722e2f9 Phase 2: #ifdef for Zodiacs and particles 2018-01-23 22:03:18 +00:00
Marc Chapman
0c65f9ee8e Phase 1: Add a #define test 2018-01-23 20:24:35 +00:00
Azaezel
3bc15057ed exposes getters for typevalidators.
example usage

FRangeValidator gravCoefFValidator(-10.f, 10.f);
   addFieldV( "gravityCoefficient", TYPEID< F32 >(), Offset(gravityCoefficient, ParticleData), &gravCoefFValidator,
      "Strength of gravity on the particles." ); <- clamps gravity within a -10 to 10 range when evaluating scriptt-set changes

mClamp(gravityCoefficient,gravCoefFValidator.getMin(),gravCoefFValidator.getMax()) for any calculations done on the source side would do the same at the point that is called, with a singularl lookup spot for the range.
2018-01-16 14:14:57 -06:00
Azaezel
d57287cf75 adds an mWrap and mWrapF method for cycling values to within a given range.
examples of usage would be say, keeping a rotation within 360 degrees, or hitting a tile boundary and resetting the offset
2018-01-16 13:40:09 -06:00
Areloch
402ce9b251 Adds a new function for defining static console fields on NetObjects - addNetworkedField()
This lets you attach a 32 bit netMask to the field, so that when it is changed, it automatically flags the associated bitmasks on the netobject as dirty.

This is to shortcut having to flag certain masks being marked as dirty through protected fields and just simplify/streamline the code.
2018-01-16 00:47:53 -06:00
Areloch
1ef75b411c Merge pull request #2133 from lukaspj/console-function-errors
Fix minor errors in console function definitions
2018-01-10 13:52:33 -06:00
Areloch
577e8d8608 Merge pull request #2131 from lukaspj/improve-console-dump
Improve console dump with additional information
2018-01-10 13:52:23 -06:00
Areloch
c19ffe8e69 Merge pull request #2134 from lukaspj/console-cleanup
Cleanup of the elements exposed to the console
2018-01-10 13:52:02 -06:00
Areloch
fad103e4b1 Merge pull request #2126 from Areloch/FixComponentEditorDisplay
Fixes the inspector/component editor to display components
2018-01-10 13:12:35 -06:00
Areloch
1068ea1eac Merge pull request #2156 from Areloch/RemoveOldBitmapLoaders
Remove MNG and GIF loaders
2018-01-10 09:50:56 -06:00
Areloch
45879b67ff Loader files didn't properly get deleted with the libmng and lungif library removal. 2018-01-10 09:49:28 -06:00
Areloch
f43bb6b565 Merge pull request #2059 from Bloodknight/SaharaUndo
#define AUTOPAINT_UNDO
2018-01-10 09:47:24 -06:00
Areloch
cb548bc614 Merge pull request #2151 from Areloch/Library_Trimming
Removes the LibMNG and LunGIF libraries
2018-01-09 01:43:33 -06:00
Areloch
6c5611b8e0 Merge pull request #2128 from Areloch/NFD_Open_Folder_Fix
Updates Native File Dialogs lib to enable folder browsing.
2018-01-03 00:26:43 -06:00
Areloch
601d232223 Removes the LibMNG and LunGIF libraries, as they aren't actually utilized and just extend the build times. 2018-01-02 15:48:44 -06:00
Azaezel
01f0d5cfca tAlgorythm fed namespace T3D for better library interoperability. resulted in the need to specify usage in... a few places. 2017-12-27 22:57:47 -06:00
Areloch
10dfe46ede Merge pull request #2138 from Bloodknight/libpng1634
Update libpng to 1.6.34
2017-12-17 16:52:24 -06:00
Marc Chapman
d0b0b43058 Update libpng to 1.6.34 2017-12-12 14:00:27 +00:00
Lukas Joergensen
86a0ba44d3 Cleanup of the elements exposed to the console 2017-12-10 19:02:20 +01:00
Lukas Joergensen
2bd43efcb9 Fix minor errors in console function definitions 2017-12-08 21:08:35 +01:00
Lukas Joergensen
ae6b035f10 Improve console dump with additional information, such as array sizes and variadic function 2017-12-08 20:50:44 +01:00
Areloch
f657f774ce Updates Native File Dialogs lib to enable browsing and selecting of folders, instead of just files. 2017-12-06 14:09:27 -06:00
Areloch
b5277e0f08 Fixes the inspector/component editor to display the components attached to an entity correctly in the inspector. 2017-12-03 01:21:30 -06:00
Areloch
4f78143dc8 Merge pull request #2121 from JeffProgrammer/TSImprovementsDevMerge
TorqueScript Improvements - Faster Interpreter.
2017-11-27 01:35:17 -06:00
Areloch
7fc023df7e Merge pull request #2123 from nev7n/forestEditorFix
Fix forest editor failing to load forest
2017-11-27 01:18:19 -06:00
Areloch
3df64bf6b0 Merge pull request #2125 from Bloodknight/FixGridImages
Correct orientation of Grid images
2017-11-27 00:00:55 -06:00
Marc Chapman
75b85f9ac5 Correct orientation of images 2017-11-22 15:16:49 +00:00
Areloch
9c3687b839 Changes the buttons to be a checkbox button, which is easier to identity as being activated or not compared to the stock togglebutton. 2017-11-15 18:52:41 -06:00
Justin Knight
c772f8044a Fix forest editor failing to load forest because of space after object ID 2017-11-14 11:57:13 +00:00
Azaezel
f9bf4fca4b new method: TSShapeInstance::resetMaterialList(). Sets all object-instance mapto values back to initial state. reskin now does so to avoid having to track origional values independently. (so say, if you've already got skin1 plugged in to one, and nothing in to another, no need to set skin1=skin2 on the first and skin2 or base=skin2 on the second to swap both on over to skin2).
also by request, went ahead and killed case sensitivity for mapto string replacement when reskinning.
2017-11-12 23:58:34 -06:00
Jeff Hutchinson
d7287914c7 fix arg corruption on functioncall compilation. 2017-11-12 14:21:49 -05:00