Commit graph

3944 commits

Author SHA1 Message Date
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
rextimmy
f2dc291cf5 PhysX 3.4 implementation 2018-01-19 22:34:26 +10:00
Areloch
9ad2e18766 Initial setup for shader connectors 2018-01-16 14:24:21 -06: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
Richard Marrevee
592e443c77 Update gfxD3D11Device.cpp 2017-12-22 17:11:31 +01: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
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
Jeff Hutchinson
c7e12d3be7 roll back changes to simFieldDictionary as it doesn't want to play nice and causing corruption 2017-11-12 13:39:14 -05:00
Areloch
2ca6af8e48 Refactors the Popup menus and GuiMenuBars to remove unneeded duplication and platform-specific/deprecated code. 2017-11-11 01:21:48 -06:00
Areloch
d666322a1b Merging 2017-11-05 22:33:32 -06:00
Areloch
ce9c28dc5d Corrects an include's case sensitivity being wrong, causing issues on linux. 2017-10-30 13:53:12 -05:00
Areloch
fafc2929e0 Merge pull request #2106 from block8437/development
Fixed a typo where the value of outBytesWritten was being clamped incorrectly.
2017-10-28 00:38:19 -05:00
Areloch
a36192ffd8 Makes it properly force an update of the filter via a dirty flag. 2017-10-26 20:11:35 -05:00
Areloch
39f86d8c30 asdasd 2017-10-26 17:06:27 -05:00
Areloch
7f134ed76e Merge pull request #2096 from Areloch/GetCursorPosLocal
Adds a function to get the cursor position in local coords
2017-10-26 02:42:03 -05:00
Areloch
95053c6038 Merge pull request #2095 from Areloch/SetForwardVector
Enables setting the forward vector of a Scene Object
2017-10-26 02:41:52 -05:00
Areloch
fb63babdcd Merge pull request #2097 from Areloch/Entity_Component_Improvements
Fixes up various parts of the entity and component classes.
2017-10-26 02:41:42 -05:00
Areloch
a81c2e00da Merge pull request #2099 from Areloch/RemoveECExperimentalFlag
Removes Entity/Component stuff from being behind an experimental flag.
2017-10-26 02:41:31 -05:00
Areloch
db683b0276 Merge pull request #2101 from Areloch/Autoloaded_Assets
Adds the ability to define types of assets to be auto-loaded
2017-10-26 02:41:20 -05:00
Areloch
b028349990 Merge pull request #2102 from Areloch/updateLibPNG
Update libPNG to latest build.
2017-10-26 02:41:05 -05:00
Azaezel
9e435a3f34 allows arbitrary material name string replacement, rather than forcing folks to start with base. ie: an entry of skin = "blue; area=fire"; would replace base_area_grid with blue_fire_grid as the used material 2017-10-24 19:15:54 -05:00
Brian Smith
b8959e2bbb Fixed a typo where the value of outBytesWritten was being clamped incorrectly. 2017-10-23 17:00:16 -04:00
Areloch
9a5700addc Handler binding on a scene level working 2017-10-19 15:34:57 -05:00
OTHGMars
4310ab3b27 Sets scale for collision primitives created in the shape editor. 2017-10-18 03:25:05 -04:00
Areloch
526d4ea31a Remove unneeded isParent handling for entities in the GuiTreeViewCtrl 2017-10-18 00:35:37 -05:00
Areloch
9359b72b93 Removes EXTENDED_MOVE block because that's mostly for VR and we'll be implementing a separate VR controller. 2017-10-18 00:26:57 -05:00
Areloch
0fde97f254 Corrects the documentation. 2017-10-17 21:50:53 -05:00
Areloch
d6ccaa7fe8 Corrected documentation. 2017-10-17 21:00:42 -05:00
Areloch
e6755c4b61 Update libPNG to latest build. 2017-10-17 14:55:57 -05:00
Areloch
7219899287 Working on shader const binding 2017-10-17 08:48:31 -05:00