Commit graph

165 commits

Author SHA1 Message Date
Daniel Buckmaster a87a891cfc Prevent crash when loading Player with no shape. 2014-10-31 10:04:32 +11:00
Daniel Buckmaster e209cc4389 Use existing methods instead of incorrect maths. 2014-10-31 09:11:07 +11:00
Daniel Buckmaster 74e328d09b Merge pull request #870 from eightyeight/fix-ear-transform
Andrew's fix for ear transform with detached camera
2014-10-28 14:39:09 +11:00
Daniel Buckmaster 355ce5d854 Andrew's fix for ear transform with detached camera. 2014-10-28 09:26:46 +11:00
Daniel Buckmaster fd93397e5d Merge pull request #846 from Azaezel/guiobjectview
guiobjectview corrections
2014-10-27 17:28:58 +11:00
Daniel Buckmaster 4fb820c3ef New Physics doc group. 2014-10-24 09:17:48 +11:00
Azaezel 0dde7022c2 engine: corrects offsets for the guiobjectview gui element which displays materialized meshes, and exposes it's specialized renderering system to the postfx subsystem.
immediate purpose: corrected display
long term purpose: deferred display.
2014-10-23 05:03:28 -05:00
bank 62006e8b3c Remove unneeded double-initialization of the vars. 2014-10-19 14:30:46 +11:00
bank d9c5670e93 Fix possible array overrun.
We should clamp the index value to the size of the weaponMountNode[], which is ShapeBase::MaxMountedImages (4) and SceneObject::NumMountPoints = 31.
2014-10-19 14:30:43 +11:00
Daniel Buckmaster 1554ea6faf Merge pull request #833 from just-bank/fix-derefptr
Fix: Null'ed pointer usage, possible access violation.
2014-10-16 10:38:52 +11:00
LuisAntonRebollo 4a6384486c Merge pull request #689 from rextimmy/forest_physx2_fix
Physx 2.8 actor release fix
2014-10-02 01:05:11 +02:00
Areloch f56c35019f Merge pull request #781 from eightyeight/remove-player-warnings
Removed annoying warning
2014-09-30 00:03:58 -05:00
Daniel Buckmaster d08e594316 Merge pull request #682 from Azaezel/extended_onendSequence
Extended onend sequence
2014-09-16 10:25:25 +10:00
Azaezel db089ab45f consistency 2014-09-15 19:10:23 -05:00
Daniel Buckmaster 439dc9c56d Fixed ShapeBase animation networking.
We essentially just need to remember to Update ShapeBase::Thread::position
every time we advance the thread in the shape. With a little bit of
supporting code these changes will be passed to the client's shape.
2014-09-15 10:01:13 +10:00
Daniel Buckmaster fd3d44c755 Removed annoying warning. 2014-09-15 07:30:51 +10:00
Daniel Buckmaster f702063d0b Merge pull request #773 from eightyeight/remove-thread-sound
Removed ShapeBase::Thread::sound
2014-09-13 10:57:01 +10:00
Daniel Buckmaster 69179cf809 Removed ShapeBase::Thread::sound.
Weird feature that's not script-accessible or actually implemented.
2014-09-05 14:09:35 +10:00
Daniel Buckmaster 1b06b0d92e Merge pull request #649 from Azaezel/aiPlayer_utility
AIPlayer utility methods
2014-09-05 11:14:09 +10:00
Azaezel e332609003 requested alterations.
bool AIPlayer::checkLosClear(Point3F _pos) removed as not fit for purpose at the present time. Something to revisit when I'm spread less thin, or give someone else a crack at it.
2014-07-13 12:24:17 -05:00
LuisAntonRebollo a3bdaf128f Fix memory corruption on Precipitation::destroySplash. 2014-07-12 02:03:20 +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 439192f88d Merge pull request #645 from Azaezel/ridgidshape_updateForces
Ridgidshape update forces
2014-07-08 14:15:19 +02:00
Daniel Buckmaster 3f687d8f43 Make use of PlayerData::swimForce 2014-07-01 18:14:08 +02: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 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
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 8f550d5f8c Changed method of releasing a physics body with physx 2.8 2014-06-10 21:27:17 +10: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 18ba0646c0 Increased stability Torqu3D: unit-tests running without a crash. See the console.log after ran unitTest_runTests( "", true ). @signmotion 2014-05-25 16:50:19 +02:00
Thomas Fischer cd978039ac Merge pull request #635 from just-bank/engine-fixes
Various engine fixes
2014-05-23 14:09:00 +02:00
LuisAntonRebollo c950ca2c77 Merge pull request #647 from Azaezel/debris_collision
Debris collision
2014-05-16 01:02:59 +02:00
LuisAntonRebollo 6f673e624d Merge pull request #641 from Azaezel/projectile_decal
Projectile decal
2014-05-16 00:27:42 +02:00
Azaezel 8aebb67aa1 conforms losmask to standard nomenclature 2014-05-13 22:45:25 -05:00
Azaezel 9342115b1e helper functions for AI: testing if an object is in line of sight (and optionally if it's enabled), if a point is clear, and if an object is within a given angular field of view (optionally specified beyond a stock 45 degrees, as well as optionally checking if the target is enabled) 2014-05-13 19:53:00 -05:00
Azaezel 4e203f21b3 debris collision mask expanded so that it also hits buildings and the like. 2014-05-13 17:40:25 -05:00
Azaezel a73a4a84f1 followup to https://github.com/GarageGames/Torque3D/issues/393 2014-05-13 17:24:28 -05:00
Azaezel a33e500b8d alters projectile decal application so that it picks a random rotAroundNormal when adding it to a scene. (keeps em from always pointing north or up) 2014-05-12 16:37:25 -05:00
Daniel Buckmaster 47dbce1499 Merge pull request #632 from eightyeight/better-explosion-example
Added a better example of using Explosion in a client/server fashion
2014-05-11 13:22:28 +10:00
Daniel Buckmaster 1702573b78 Merge pull request #612 from GarageGames/platform-type-consistency
Platform type consistency
2014-05-10 11:40:40 +10:00
Andrew Mac 704dc47bdb Merge pull request #602 from Azaezel/Simpler_ShapeBase1
removes non-functional shield and invincibility functionality.
2014-05-08 23:39:33 -03:00
bank a7756b5591 Renamed local variable so it doesn't interfere with the provided argument.
String errorStr should be filled in only when ::preload returns false.
2014-05-06 15:35:52 +04:00
bank e7fb6a54de Fix: Added missing virtual destructors for classes with virtual functions. 2014-05-06 12:40:46 +04:00
bank 68b12981ae Fix: dSprintf should receive size of the buffer, not the size of the pointer.
It was safe, as we are using static console return buffer,
which is large enough to hold enough data (default is 2048).
2014-05-06 12:40:45 +04:00
bank 9f2d44966e Fix: Some compilers do not auto-cast String and Path classes to (char *). 2014-05-06 12:40:43 +04:00
bank b2e6895554 Fix: preload() method on datablocks should always set errorStr when returning false.
Otherwise it will dump the previous error message (content of the errorStr).
2014-05-06 12:40:40 +04:00
Daniel Buckmaster 46c9122432 Added a better example of using Explosion in a client/server fashion. 2014-04-25 13:04:12 +10:00
Daniel Buckmaster 43895090fa Merge branch 'RenderMeshExampleMatFix' into development for PR #631 2014-04-25 12:57:00 +10:00
Kyrah Abattoir d56952eaea FIX RenderMeshExample not having a material on mission start even if one was assigned to it in the mission file. 2014-04-25 00:39:20 +02:00