Commit graph

4058 commits

Author SHA1 Message Date
Azaezel
a4c09d1680 leak prevention according to: https://vld.codeplex.com/ apparently we weren't freeing the entirety of the ProfilerData linked list when resetting the Profiler, and that was leading to a pinhole leak per profiled block 2015-06-01 23:45:49 -05:00
Areloch
d92a9841f2 Merge pull request #1299 from RichardRanft/developmentOrigin
Add static String::isEmpty(const char*) method
2015-06-01 00:38:39 -05:00
RichardRanft
6c9cff4c68 Update str.cpp
Fixed copy/paste error - now actually checks the parameter passed in....
2015-05-31 20:42:05 -07:00
LukasPJ
c5dd7230ad Fix for rendering particles to the glow buffer 2015-05-28 20:41:42 +10:00
James Urquhart
d9436e65c5 Add workaround for issue #1292 2015-05-28 20:34:10 +10:00
Areloch
4378cb181d Merge pull request #1297 from jamesu/oculus_dk2
Oculus VR DK2 Support
2015-05-27 09:29:47 -05:00
RichardRanft
38413be513 Update str.cpp
Effectively copied dStrIsEmtpy() into String::isEmpty().
2015-05-24 22:43:27 -07:00
Daniel Buckmaster
d1bcc75d5e Merge pull request #1307 from eightyeight/forestitem-default-bounds
tsForestItemData: default to no bounds instead of crazy bounds
2015-05-17 13:55:23 +10:00
James Urquhart
e5c28b4d7f Simplify buffer check when adding a registered variable 2015-05-16 14:57:40 +01:00
James Urquhart
15169eab9f Fix issue with registered variables becoming corrupted when string value was accessed. 2015-05-16 14:50:20 +01:00
Daniel Buckmaster
49d2ab8bc3 Add more info to fatal assert in SceneContainer. See #1287. 2015-05-16 22:41:20 +10:00
Daniel Buckmaster
42bd368045 Default to no bounds instead of crazy bounds. See #1287. 2015-05-16 22:32:42 +10:00
Azaezel
a879ad4dcf re-enables prior functionality allowing folks to post-editor modify terrain cached textures. 2015-05-16 16:35:47 +10:00
James Urquhart
3a218217f4 Add workaround for issue #1292 2015-05-15 12:32:00 +01:00
Areloch
b30b5d9076 Merge pull request #1229 from Azaezel/guiShapeNameHud_filterFix
stops names showing through statics
2015-05-12 15:20:56 -05:00
Daniel Buckmaster
1cb5f0f160 Fixed constructor order in ShapeBase. 2015-05-09 23:06:30 +10:00
Daniel Buckmaster
d4e5b47195 Merge branch 'linux-sound' into release-3.7 2015-05-09 15:06:30 +10:00
Daniel Buckmaster
ae4ac53592 Remove comments. 2015-05-09 15:02:41 +10:00
Levitator1
f3199b04e4 Fix for no sound output under Linux 2015-05-09 14:53:21 +10:00
Daniel Buckmaster
69f2efab8f Merge remote-tracking branch 'lukaspj/Fuzzy-texture-border-fix' into release-3.7 2015-05-09 14:29:30 +10:00
James Urquhart
2aca5f6ee7 Remove unused stereo target codepath in Oculus code 2015-05-08 11:55:54 +01:00
James Urquhart
12d435c341 Remove value constructors for ConsoleValueRef & fix callbacks which use them. Fixes issue #1289 2015-05-08 09:04:04 +10:00
RichardRanft
3ddd9b8a4c Add static String::isEmpty(const char*) method and use it to verify path for Forest::saveDataFile() is not empty. 2015-05-06 15:39:02 -07:00
James Urquhart
3a457749ec Oculus VR DK2 Support
- Updated to work with 0.5.x SDK
- Uses Oculus Rendering rather than PostFX
- Stereo rendering refactored so more rendering info is grabbed from the DisplayDevice
- Implements an Offscreen Canvas for in-game gui with oculus
- Message dialogs and metrics display can now go to the OffScreen Canvas (if oculus demo is setup correctly)
2015-05-06 23:09:51 +01:00
Areloch
b3170bcddf Merge pull request #1286 from Azaezel/NoMRBit
crash out on net stream leaks.
2015-04-28 00:38:33 -05:00
Areloch
2f69ffd2d4 Fixes issue #1277
Adds the file path to the saveDataFile call (missionpath\missionname.forest as the format)

This correctly utilizes the forest object's datafile field if it's set.
If not, it will create a new forest item with the missionPath\missionName.forest convention.

This also removes the checks for the hardcoded "theForest" forest object name, so that if it is renamed for some reason, it doesn't break.

Lastly, this corrects a minor semi-related bug, where if you are in the forest editor and have a brush selected, and then click to paint, but no forest object currently exists, it prompts to create one. Once the forest object is created, it would trigger the editor to inspect the newly made forest object. If you attempted to paint the currently selected brush, there was a mis-match in the inspector information, and it would trigger a crash.

This has been corrected by re-initializing the forest editor's selected tool mode so it can be utilized immediately after the forest object is created.
2015-04-27 21:45:57 +10:00
Daniel Buckmaster
2fbf6bdb9d Removed a space. 2015-04-27 21:30:09 +10:00
Daniel Buckmaster
98fa3d02df Merge remote-tracking branch 'Azaezel/decal_rot_mangle' into development 2015-04-27 21:28:42 +10:00
Azaezel
6201e48501 crash out on net stream leaks.
causes a fatal assertion when bitstream is passed an int value it cannot transmit given the provided bit length, and reports what the value and count were, respectively
2015-04-26 20:25:40 -05:00
Azaezel
f8d41a2b96 Merge pull request #1283 from Azaezel/randiiiiiii
corrects getrandom to behave as documented.
2015-04-26 11:27:03 +10:00
Areloch
6e681dd82f Merge pull request #1239 from bpay/asan-fixes
Fix errors flagged by address sanitizer
2015-04-16 21:12:21 -05:00
Azaezel
1ce643cbc8 fix for https://github.com/GarageGames/Torque3D/issues/1262 passes along mAppliedForce found 74a05854d5/Engine/source/T3D/shapeBase.cpp (L1600) like the rest of the classes. mGravityMod left as an exercise to someoone actually working on a vehicle game at present. 2015-03-24 22:59:56 -05:00
Ben Payne
fbcc79dcd0 Don't call strlen on data that might not be null-terminated 2015-03-17 11:31:18 -04:00
Luis Anton Rebollo
68efa70d9c Merge pull request #1245 from BeamNG/fix_glsl_include
Fix GLSL include when file is empty.
2015-03-14 13:31:10 +01:00
LuisAntonRebollo
17f08e9f86 Fix bug on DefineConsoleMethod GuiCanvas::setVideoMode. 2015-03-14 13:01:05 +01:00
Azaezel
6fa44a4e92 further insurance that shadow split stay within bounds. 2015-03-10 06:03:40 -05:00
Ben Payne
29934cdc27 Fix comment 2015-03-08 20:12:14 -04:00
LuisAntonRebollo
e6b7cf108b Fix GLSL include when file is empty. 2015-03-08 23:25:23 +01:00
Luis Anton Rebollo
825912e800 Merge pull request #1223 from Azaezel/detailNormalOrderOfOperations
DeferredBumpFeat order of operations corrections
2015-03-08 22:49:27 +01:00
LuisAntonRebollo
ae3128b28b DeferredBumpFeat order of operations corrections. Clean. 2015-03-08 22:30:03 +01:00
Luis Anton Rebollo
7e7025d1ca Merge pull request #1238 from Azaezel/defaultNormal
https://github.com/GarageGames/Torque3D/issues/770 resolution
2015-03-08 22:12:24 +01:00
LuisAntonRebollo
1067da284f Add error msg to Shadergen when GBufferConditioner?LSL::processVert don't have normals defined. 2015-03-08 22:10:22 +01:00
Ben Payne
16af2a126e Add a comment 2015-03-06 15:36:22 -05:00
Ben Payne
27c9e79906 Inline asm is not yet supported by clang 2015-03-05 14:57:58 -05:00
Ben Payne
608a43ba2a Don't define String operator bool when compiling w/ clang on windows
Fixes compile errors building with clang-cl, which doesn't define __GNUC__
in MS compatibility mode.
2015-03-04 19:25:12 -05:00
Ben Payne
7f1f6a5e8b Fix for link error when building with clang-cl 2015-03-04 19:25:11 -05:00
Ben Payne
4386ababbe Character type fixes for building with clang-cl 2015-03-04 19:25:10 -05:00
Ben Payne
01471c9ef3 Fix member function visibility 2015-03-04 19:25:10 -05:00
Ben Payne
da4078c707 Fix passing of non-primitive types to varargs functions 2015-03-04 19:25:09 -05:00
Ben Payne
7d809a0d28 Fix ill-formed sizeof's 2015-03-04 19:25:08 -05:00