Azaezel
5615b642df
suggested revision
2015-07-29 08:41:36 -05:00
Azaezel
3c1c88d96b
TORQUE_VALIDATE_STACK define for console stack debugging
2015-07-29 04:46:36 -05:00
Azaezel
555610f69f
Addresses roughly half of the C4189 errors though the following methodologies:
...
1) truly unused vars removed
2) vars leading to remmed out code for debugging remmed in turn.
left out:
vars in macros.
2015-07-29 03:03:27 -05:00
Daniel Buckmaster
4721181d44
Merge pull request #1361 from Azaezel/BulletBreak1
...
adds minimum displacement check prior to convexSweepTest to avoid NaNs
2015-07-27 12:20:33 +10:00
Daniel Buckmaster
0ed74bc8f5
Merge pull request #1362 from Azaezel/BulletBreak2
...
Removes fatal assertion on duplicated object collisions (meshroads, primarily)
2015-07-26 09:41:10 +10:00
Daniel Buckmaster
807aad826f
Merge pull request #1357 from Azaezel/ChaseCache
...
followobject position caching
2015-07-25 15:22:14 +10:00
Daniel Buckmaster
e65afa95a9
Merge pull request #1354 from Areloch/PVS_Cleanup_mEase
...
Cleanup of ease functions operations.
2015-07-25 13:48:46 +10:00
Daniel Buckmaster
d91ec87d3e
Merge pull request #1371 from eightyeight/vs2015-warnings-1
...
Random VS warnings
2015-07-25 10:55:45 +10:00
Areloch
adc9c9e8a4
Merge pull request #1370 from eightyeight/fix-precipitation-hiding
...
Stop precipitation from processing ticks when it's hidden
2015-07-23 09:48:02 -05:00
Daniel Buckmaster
d268199f4f
Merge pull request #1339 from Areloch/Remove_Demo_Mode_Checks
...
Remove demo and trial checks
2015-07-23 20:33:31 +10:00
Daniel Buckmaster
e10b421641
C4458 declaration hides class member.
...
There are plenty more of these, but they should be fixed by revising the
names of members to start with m, instead of fixing the local violations.
There was a previous PR for that but it went badly. Will retry again one
day.
2015-07-23 20:13:04 +10:00
Daniel Buckmaster
5e2de608d5
C4091 typedef ignored.
2015-07-23 20:03:30 +10:00
Daniel Buckmaster
9217dfa4bd
Stop precipitation from processing ticks when it's hidden.
2015-07-23 19:34:46 +10:00
Daniel Buckmaster
33037a2f45
Merge pull request #1173 from JeffProgrammer/gestalt_fix_gg
...
remove gestalt() as it has been deprecated and stopped working on Mac OS...
2015-07-23 16:20:36 +10:00
Daniel Buckmaster
b940c9eada
Merge pull request #1365 from Areloch/PVS_Cleanup_668
...
Removing pointless null-pointer tests for objects created with new
2015-07-23 12:03:18 +10:00
Areloch
6a418d4d7f
Merge pull request #1037 from Lopuska/patch-9
...
Black screen fix
2015-07-22 11:54:35 -05:00
Areloch
527c3790d6
Issue found with PVS-Studio:
...
Many instances where we would create a object via a new call, and then check that it was non-null.
This is redundant, as if we ever were in a situation where new failed, we'd be crashing left and right already, so the additional check is wasted processing.
2015-07-21 23:22:21 -05:00
Daniel Buckmaster
db532c0e1a
Merge pull request #1358 from Azaezel/tinyTurretTransmission
...
reduces rotation transmission size
2015-07-20 23:04:51 +10:00
Daniel Buckmaster
4f2f1ca4e1
Merge pull request #1356 from Areloch/PVS_Cleanup_813
...
Convert un-modified function arguments to const references.
2015-07-20 22:55:22 +10:00
Areloch
73c6db715d
Corrected spacing on the brackets to line them back up
2015-07-19 02:02:07 -05:00
Azaezel
070d7db9a9
allowplayerstep lets folks run up sharper angles than normal. that should be off by default.
2015-07-17 14:33:02 -05:00
Azaezel
edce2cc566
adds minimum displacement check prior to convexSweepTest to avoid NaNs
2015-07-17 14:28:30 -05:00
Azaezel
e9a1d2158b
BulletCrashfix2
...
Removes fatal assertion on duplicated object collisions (meshroads, primarily)
2015-07-17 14:25:01 -05:00
Azaezel
656efbfeb7
lastpos init. world-center.
2015-07-17 14:04:02 -05:00
Azaezel
f97dced4a7
followobject position caching
...
re-use the position of an object we're following (within reason) so we're not constantly regenning a path.
2015-07-17 03:34:22 -05:00
Daniel Buckmaster
c2e5dc3345
Merge remote-tracking branch 'bpay/clang-cl-build-fixes' into development
...
Conflicts:
Engine/source/T3D/shapeBase.h
2015-07-17 16:55:12 +10:00
Azaezel
55c0f1ec29
reduces rotation transmission size from 64 bits per turret to 14 similar to player
2015-07-17 00:12:10 -05:00
Areloch
11398bb04e
Issue found with PVS-Studio:
...
A lot of instances where some function args are not actually modified in any way, meaning that it is better for performance to convert them into const references. This prevents an additional copy, which can help performance.
2015-07-16 22:02:18 -05:00
Daniel Buckmaster
86e0e67496
Merge pull request #1352 from Areloch/PVS_Cleanup_807
...
Unnecessarily repeated expressions
2015-07-16 15:45:32 +10:00
Areloch
2f94ab0637
Issue found with PVS-Studio:
...
Many instances of a variable being modified inside of a complex operation. This could lead to unintended results depending on the whims of the compiler.
Resolved by restructuring the functions to modify the variable first, then do the rest of the operation.
2015-07-13 23:45:55 -05:00
Areloch
5c688260d5
Issue found with PVS-Studio:
...
Many places utilize post-incrementation with iterators, but it's better performance to use pre-incrementation.
Resolved by changing the iter++ instances to ++iter;
2015-07-13 23:08:17 -05:00
Areloch
2002d74b78
Issue found with PVS-Studio:
...
Many instances of a function or expression being used repeatedly, which can lower performance.
Fixed it in these cases by creating on local var, reference or pointer that's used instead.
2015-07-13 22:51:17 -05:00
Daniel Buckmaster
ec63398042
Merge pull request #1350 from Azaezel/timingIsEverything
...
fills in profiler timer fallback
2015-07-13 11:03:26 +10:00
Daniel Buckmaster
50183c6a2a
Merge pull request #901 from Winterleaf/winMath_ASM.cpp
...
FFP 64bit
2015-07-12 16:18:22 +10:00
Daniel Buckmaster
bac84eec3c
Merge pull request #992 from Winterleaf/Fix-engineFunctions.h
...
Pragma pack for x32/x64
2015-07-12 16:17:45 +10:00
Daniel Buckmaster
a49c9abf41
Merge pull request #1258 from bpay/fix-bad-assert
...
Remove badly behaved assert
2015-07-12 16:11:48 +10:00
Daniel Buckmaster
6cbb4d5b16
Merge pull request #1344 from eightyeight/fix-wreorder
...
Fix -Wreorder warnings from ShapeBase
2015-07-12 15:59:31 +10:00
Azaezel
bf1449e3a7
fills in profiler timer fallback as per remmed out lines in other samples. see https://github.com/GarageGames/Torque3D/issues/1349 for report, and https://gist.github.com/Azaezel/2aafb88cf0d642418051 for result
2015-07-10 19:33:42 -05:00
Daniel Buckmaster
5caf62b19f
Merge pull request #1342 from Azaezel/Offsetof
...
offsetof is actually a standard thing nowadays it would seem
2015-07-05 11:26:53 +10:00
Raul Ferriz
5ef130d581
Fixed some random Worder warnings
2015-07-03 15:52:38 +02:00
Azaezel
5d89ab126d
offsetof is actually a standard thing nowadays it would seem
2015-07-03 02:52:08 -05:00
Raul Ferriz
7e172869a9
Fixed warning.
...
Sort struct initialization to match fields declaration avoids a warnings on GCC.
2015-07-02 22:06:24 +02:00
Daniel Buckmaster
6b9e5dd15e
Merge pull request #1330 from jamesu/stereo_render_fix
...
Basic fix for stereo rendering without a display device
2015-07-02 23:45:10 +10:00
Areloch
0d6768d57b
Removing stuff pertaining to demo modes and trials, as they're redundant now.
2015-07-01 23:36:56 -05:00
Raul Ferriz
a5d34271f2
Fixed some minor compiler warnings on Linux
2015-06-28 22:29:23 +02:00
Daniel Buckmaster
d89c3b7c6f
Merge pull request #1333 from Azaezel/PluggingLeaks
...
Plugging Memory Leaks
2015-06-28 14:41:13 +10:00
Daniel Buckmaster
39f0e269d6
Merge pull request #1328 from GarageGames/release-3.7
...
Release 3.7
2015-06-24 19:00:57 +10:00
James Urquhart
a691278113
Add missing code to indicate stereo targets are available when a display device is used
2015-06-21 21:14:34 +01:00
James Urquhart
efc47ed757
Basic fix for stereo rendering without a display device
2015-06-21 20:59:41 +01:00
rextimmy
b5f8e9aa70
gfxGLDevice setShader fix.
2015-06-15 21:10:49 +10:00