Commit graph

2500 commits

Author SHA1 Message Date
LuisAntonRebollo
4510e29463 Merge pull request #698 from eightyeight/fix-vs-link-time
Append ' DLL' to DLL name to fix linker times
2014-07-11 22:58:30 +02:00
Azaezel
9bed39b7d0 logical inversion to stock functionality as requested. Now assumes if it has a target and does not hit anything Static by the time the ray terminates, then it must be the right target. 2014-07-11 07:47:31 -05:00
Azaezel
ae55ad2b50 revised checkInLos and CheckFoV. boith now take all parameters as optional as suggested, with a target value of NULL resulting in checking the present one.
cleaned up internal usage of checkInLos, tightened the typemask used, and provided further documentation.
2014-07-11 06:58:19 -05:00
Daniel Buckmaster
0ca672721b Merge pull request #718 from eightyeight/fix-quat-from-euler
Fixed Euler to Quaternion conversion
2014-07-11 11:40:44 +02:00
Daniel Buckmaster
27df22f18e Merge pull request #724 from eightyeight/fix-draw2dsquare-angle
Allow drawing 2D squares with 0 rotation angle
2014-07-11 11:33:38 +02:00
Daniel Buckmaster
b7b13250b8 Merge pull request #697 from eightyeight/t2d-string-funcs
Added string functions from T2D
2014-07-10 12:21:51 +02:00
Daniel Buckmaster
ec78e4d502 Append ' DLL' to DLL filename to improve VS link times. 2014-07-10 11:56:33 +02:00
Daniel Buckmaster
9a05899d8e Allow drawing 2D squares with 0 rotation angle. 2014-07-10 11:30:56 +02:00
Daniel Buckmaster
c0851e9fc2 Fixed plane tests. 2014-07-10 10:35:16 +02:00
Azaezel
c3813ad913 implicit truncation warning cleanup. 2014-07-09 16:25:42 -05:00
Azaezel
901ceb943d deprecated functionality. T3D handles this in the reflector class. 2014-07-09 15:46:15 -05:00
Daniel Buckmaster
2c2284e699 Ported maths tests and added a test for #570. 2014-07-08 23:12:49 +02:00
Daniel Buckmaster
1a5664c580 Removed existing test framework. Now we just fix compiler errors! 2014-07-08 22:06:57 +02:00
Daniel Buckmaster
dbc0dff52b Align test file name with actual file name. 2014-07-08 19:09:26 +02:00
Daniel Buckmaster
8b1ff267f0 Fixed quaternion set from euler. 2014-07-08 18:38:10 +02:00
Daniel Buckmaster
dcd51d9b98 Merge branch 'add-gtest' into gtest-tests 2014-07-08 18:33:12 +02:00
Daniel Buckmaster
ec34d9928c Only check memory if a flag is set. 2014-07-08 17:39:22 +02:00
Daniel Buckmaster
b48050209d Replaced existing Vector tests. 2014-07-08 17:08:43 +02:00
Daniel Buckmaster
2ae879ec70 NavPath::alwaysRender works the same as NavMesh::alwaysRender. 2014-07-08 14:42:59 +02:00
Daniel Buckmaster
439192f88d Merge pull request #645 from Azaezel/ridgidshape_updateForces
Ridgidshape update forces
2014-07-08 14:15:19 +02:00
Daniel Buckmaster
cf5d48e6ef Merge pull request #665 from andr3wmac/multiformat
Support for large lists of shape formats.
2014-07-08 14:14:54 +02:00
Daniel Buckmaster
c7206f38f7 Merge pull request #699 from eightyeight/fix-gamelistmenuctrl-bitmap
Prevent call to dStrlen(NULL)
2014-07-08 14:08:17 +02:00
rextimmy
3c56bf3a56 Fix to allow parallax mapping with dxtnm textures via the red channel. 2014-07-03 17:56:47 +10:00
Daniel Buckmaster
3f687d8f43 Make use of PlayerData::swimForce 2014-07-01 18:14:08 +02:00
Daniel Buckmaster
caa915d0ec Fixed copyight in memory tester. 2014-06-24 09:12:50 +10:00
Daniel Buckmaster
ef1a1326d3 Added macros for convenience. 2014-06-24 08:39:40 +10:00
Daniel Buckmaster
3fbaa60e40 Added memory leak testing for MSVC. 2014-06-24 08:39:22 +10:00
Daniel Buckmaster
551a7b3820 Added Google test library. 2014-06-24 08:38:52 +10:00
Andrew Mac
b661abaf83 Fix for unexpected behavior described in issue #704 2014-06-23 14:58:06 -03:00
Azaezel
ebbd8a2e02 Instancing clones the results of a previously used material to it's next instance. As such, it and Dynamic Cube Mapping are mutually exclusive features. 2014-06-20 14:45:12 -05:00
bank
e442b87c0c Fix: Null'ed pointer usage, possible access violation.
This fixes issue #700
2014-06-18 11:38:29 +04:00
Daniel Buckmaster
b94679aebc Prevent call to dStrlen(NULL). 2014-06-17 16:01:25 +10:00
Daniel Buckmaster
33444e8a36 Added string functions from T2D. 2014-06-16 12:39:51 +10:00
Daniel Buckmaster
feec36731e Merge pull request #594 from LuisAntonRebollo/unit-tests-without-crash
Increased stability Torque3D: unit-tests running without a crash.
2014-06-16 10:57:04 +10:00
LuisAntonRebollo
4fcdc04214 Merge pull request #674 from eightyeight/fix-tsignal-mtriggernext
Fix SignalBase constructor shenanigans
2014-06-15 21:24:38 +02:00
LuisAntonRebollo
4fe6072f03 Merge pull request #681 from BeamNG/fix_cmake_linux_dedicated
Fix CMake linux dedicated on gcc and Clang
2014-06-15 11:32:49 +02:00
LuisAntonRebollo
a90be04041 Merge pull request #687 from eightyeight/procedural-terrain-coverage
Add coverage option to procedural terrain generator
2014-06-15 11:31:40 +02:00
bank
f3fc84738b Use fixed buffer size var when allocating return buffer from console.
Conflicts:
	Engine/source/T3D/missionArea.cpp
	Engine/source/gui/editor/guiDebugger.cpp
2014-06-11 13:09:55 +04:00
rextimmy
416c50690e Bullet 2.82 update 2014-06-10 22:40:30 +10:00
rextimmy
8f550d5f8c Changed method of releasing a physics body with physx 2.8 2014-06-10 21:27:17 +10:00
Daniel Buckmaster
de6e5e20b7 Fix random number generation. 2014-06-09 22:59:16 +10:00
Daniel Buckmaster
05e6fbf3d6 Merge remote-tracking branch 'JackDavidson/master' into procedural-terrain-coverage 2014-06-09 21:43:57 +10:00
rextimmy
1ca3190994 Removed old px3Cast 2014-06-07 12:23:12 +10:00
rextimmy
87ba9a7084 code cleanup 2014-06-07 12:11:44 +10:00
rextimmy
d58a69e76c Merge remote-tracking branch 'GarageGames/development' into physx3_basic 2014-06-06 22:40:14 +10:00
LuisAntonRebollo
1f085a8cd2 Fix error on Clang compiler: 'ival' is a protected member of 'Dictionary::Entry' 2014-06-02 12:37:06 +02:00
LuisAntonRebollo
82bb19e1b5 Fix for error on Clang compiler: reinterpret_cast from 'const void *' to 'FunctionType *' (aka 'void (*)(EngineObject *, const char *, const char *)') casts away qualifiers
return R( reinterpret_cast< FunctionType const* >( /*const_cast<void*>*/(mFn) )( mThis, a, b ) );
2014-06-02 02:18:59 +02:00
Azaezel
11ac92accc adds the name of the sequence just completed for simple FSMs and the like. example usage:
function shapeBaseData::onEndSequence(%this, %obj, %slot, %name)
{
   %script = "on" @ %name;
   if(%this.isMethod(%script))
      %this.call(%script, %obj);
}

function fooData::onDeploy(%this,%obj)
{
   error("fooData::onDeploy" SPC %this SPC %obj);
}
2014-05-30 22:49:17 -05:00
LuisAntonRebollo
6450294855 Fixes for dedicated build on linux.
Thx @Bloodknigh for Signal fix.
2014-05-30 12:35:39 +02:00
LuisAntonRebollo
ac96ac7568 Fix AssertFatal/TORQUE_UNUSED are not optimized on release build causing performance problems.
http://cnicholson.net/2009/02/stupid-c-tricks-adventures-in-assert/
> "Both gcc and MSVC are smart enough to optimize out the evaluation of x, but only if they can determine if  there are no side effects associated with the evaluation.  Unfortunately, this can only be done if the body of x is known entirely to the compiler.  If x is a function call to another module MSVC can still make it go away with Link-Time Code Generation (via cross-module inlining), but poor gcc is dead in the water and emits the call.  Either way, we’re relying on compiler and linker optimizations to make this code go away."
2014-05-30 00:16:43 +02:00