Commit graph

618 commits

Author SHA1 Message Date
SilentMike
e507086961 Merge pull request #432 from eightyeight/recast-pull-plc_navigation
Recast part 2: PLC_Navigation
2013-07-22 11:33:22 -07:00
SilentMike
67a003bcad Merge pull request #429 from eightyeight/air-control-limit
Air control speed limit
2013-07-16 09:44:22 -07:00
Daniel Buckmaster
d9c731b73f Added PLC_Navigation hint for gathering navmesh polygon data. 2013-07-04 17:23:23 +10:00
Daniel Buckmaster
284d96e510 Fixed air acceleration going wild. 2013-07-03 19:07:35 +10:00
Daniel Buckmaster
1bce176705 Removed Ranges and cleaned up updateLookAnimation function. 2013-07-03 17:50:25 +10:00
Thomas Fischer
53abbe066d added checks for valid pointers after locking 2013-06-30 17:51:38 +02:00
Thomas Fischer
c6462a25b4 fixed camera code not checking for invalid/missing datablock: crashed before 2013-06-30 17:25:09 +02:00
Daniel Buckmaster
8bc72ad9f9 Fixed GroundCover placement on rotated TerrainBlocks. 2013-06-13 10:15:48 +10:00
Brian Roberts
2c6a98cb89 Resolution for ap-hang with high-frequency weaponstate changes (IE: AI non-tick descision forks). see also: http://www.garagegames.com/community/forums/viewthread/134036 2013-06-09 20:27:57 -05:00
Lorne McIntosh
f535147038 Clean up SFXSources in Player class
mMoveBubbleSound and mWaterBreathSound were not being deleted properly
2013-05-26 22:53:48 -06:00
Lukas Joergensen
eacbb47681 Removed indentation fixes. 2013-05-15 21:24:57 +02:00
Lukas Joergensen
9bdeabf22c Now projectiles wont explode before they have been armed. Results in projectiles being able to collide with several objects before exploding. 2013-05-15 21:13:52 +02:00
Daniel Buckmaster
36da869187 No longer require ClientMissionCleanup to be present to add particle emitters. 2013-05-14 21:01:52 +10:00
David Wyand
2dcc7f0247 Merge pull request #310 from thecelloman/goodbyeDIF
Remove Interior Object format (DIF)
2013-04-20 13:44:11 -07:00
SilentMike
134042e268 Merge pull request #334 from kyrahabattoir/guiViewObject
GuiObjectView TorqueScript setRotation method
2013-04-17 19:53:36 -07:00
SilentMike
57d92d522e Merge pull request #332 from tdev/beamng
some small patches
2013-04-17 16:48:10 -07:00
SilentMike
6300fa611f Merge pull request #144 from eightyeight/ground-cover-lod
GroundCover fading when zoomed in
2013-04-17 15:03:49 -07:00
Kyrah Abattoir
7f717e08ce guiObjectView.setCameraRotation()
Exposed setCameraRotation to TorqueScript.
2013-04-15 20:43:05 +03:00
Kyrah Abattoir
9205561c96 guiObjectView.setCameraRotation()
Added a new method to set the guiObjectView camera on it's orbit in relation to the object.
2013-04-15 20:39:30 +03:00
Thomas Fischer
aece85f02a added missing initialization and set pointer to NULL after deletion 2013-04-15 18:54:34 +02:00
DavidWyand-GG
660250cccf Game cam and eye banking, control schemes
- ShapeBaseData has two new properties.  cameraCanBank indicates that
the game object may bank its eye/camera, if supported by the object.
mountedImagesBank indicates that mounted images should bank with the
eye/camera in first person view.  Both default to false.
- Player supports 1st person eye and 3rd person camera banking when
making use of the new ExtendedMove class.
- Camera class supports banking when making use of the new ExtendedMove
class.
- GameConnection now has an idea of a control scheme.  This determines
how game objects should respond to input events.  A control scheme may
be set by either the server or client.  Current control schemes are:
-- Absolute rotation (likely though the ExtendedMove class)
-- Add relative yaw (from mouse or gamepad) to absolute rotation.
-- Add relative pitch (from mouse or gamepad) to absolute rotation.
- Player class supports the new control schemes when using the
ExtendedMove class.
- Camera class supports the new control scheme when using the
ExtendedMove class.
2013-04-09 16:14:19 -04:00
DavidWyand-GG
b32e7688c2 Side by side rendering
- Side by side rendering implemented throughout the graphics pipeline.
- New GuiTSCtrl renderStyle property is set to "stereo side by side" to
activate.
- You set an IDisplayDevice on the GameConnection to define any vertical
FOV, projection offset, and stereo eye offset properties required for
the stereo rendering (no display device included with this commit).
- Full and Empty templates updated with correct scripts and shaders.
2013-04-09 15:19:18 -04:00
DavidWyand-GG
f1099cba68 ExtendedMove changes
- Support for three positions and rotations.
- Increased the number of bits used to network rotations.
- New Euler based rotation support, in addition to the existing
quaternion support.
2013-04-09 13:30:25 -04:00
thecelloman
b4ea1123dc Remove Interior Object format (DIF) 2013-04-05 12:39:26 -04:00
thecelloman
7e5ddf4ca2 Resolve issue #163
Fixed and assert on changing material, and we now map the material to the MATMGR by name instead of type.
2013-03-27 21:36:17 -04:00
DavidWyand-GG
47787900a4 Change ShapeBase to only test if available meshes
The ShapeBase class tests if all of its meshes are hidden and if so,
then it doesn't render during that frame.  However, if there are no
meshes in the ShapeBase and only nodes then rendering is also skipped.
Unfortunately, this also skips the rendering of any mounted images.
This change allows for a mesh-less skeleton to render any mounted
images.
2013-02-22 15:24:29 -05:00
David Wyand
965336d54d Merge pull request #211 from just-bank/particledata-bitstream-fixes
Fix for issue #210 and #154 for ParticleData sends out-of-range data via BitStream
2013-02-05 11:06:48 -08:00
bank
82de08b57a Fix memory leak (ParticleData and ParticleEmitterData) on using TypeValidator class.
This fixes issue #154
2013-02-01 21:22:03 +04:00
Dmitry
a31e6a755c Fixed crash in Con::warnf function. Issue #82 2013-01-30 15:21:22 -05:00
DavidWyand-GG
35374f939e ExtendedMove class and support
The ExtendedMove class can optionally replace the standard Move class to
allow the passing of absolute position and rotation information from the
client's input device to the server.  It is enabled by changing
$TORQUE_EXTENDED_MOVE to true in buildFiles/config/project.conf and
re-running the project generator.
2013-01-23 01:52:46 -05:00
DavidWyand-GG
0e87a8b6b7 New RigidShape method to force client
New forceClientTransform() console method to force a RigidShape's
transform on the client.  This is used when you transform a RigidShape
on the server and want the client to immediately transform rather than
interpolate to the transform.
2013-01-22 18:44:42 -05:00
bank
9b2caeed6a Fix for issue #210 for ParticleData sends out-of-range data via BitStream
1. When addProtectedField used with custom setters, we need to return false, or it will set the value via regular routine after the method exists (change ParticleData::protectedSetTimes() to return false instead of true).

2. The ParticleData::sizes[] needs a custom setter, so the value is clamped in a range of 0.f and MaxParticleSize.

3. The spinRadnomMin and spinRandomMax ParticleData fields need a FRangeValidator, so it auto-clamped in a range of -1000 to 1000, as we are writing data trying to fit the values in 11 bits (as UInt upto 2048 max).
   * The description for those fields needs to be updated to use 1000 instead of 10000.
   * ParticleData::onAdd() should check for values to be in a correct range too.
2013-01-18 15:07:27 +04:00
SilentMike
b2e2c7b50f Merge pull request #49 from eightyeight/vehicle-steering
Vehicle steering return-to-centre merged into development branch.
2013-01-11 08:39:35 -08:00
SilentMike
03211bc4fd Merge pull request #140 from eightyeight/missionarea-server-object
Updated logic in MissionArea::getServerObject merged into development branch.
2013-01-09 13:03:35 -08:00
DavidWyand-GG
59aaaf1892 Merge branch 'consolefuncrefactor' of https://github.com/jamesu/Torque3D into consolefuncrefactor 2013-01-07 12:09:22 -05:00
DavidWyand-GG
539fa70a3d Fix for Issue 174 for Turret Targeting Wrong Direction 2012-12-13 19:30:51 -05:00
DavidWyand-GG
a2466bfd3a Fix for Issue #152 for Unmatch Bitstream
This corrects for changes made in Pull Request #112.
2012-11-23 13:00:12 -05:00
Daniel Buckmaster
a1740e8a9c Made Trigger friendlier towards inheritance.
Specifically:
 * Made update bits constants protected so that derived classes can
   use them - especially NextFreeMask! IIRC, most classes make these
   constants public, though there's no real reason to.
 * Made potentialEnterObject virtual so that derived classes can
   substitute their own logic.
2012-11-18 21:32:51 +11:00
DavidWyand-GG
fa1a0124a9 Merge branch 'healthtexthud' of https://github.com/T3DCE/CE-OSLab into T3DCE-healthtexthud 2012-11-15 11:04:09 -05:00
Daniel Buckmaster
093252ada3 Updated logic in MissionArea::getServerObject.
Before this function would iterate through every server-side object to
find a MissionArea. Now, it stores the server object in a static member
smServerObject. This member is updated in onAdd and onRemove, and returned
by getServerObject.
2012-11-14 09:25:38 +11:00
Daniel Buckmaster
027d5608bd Added comment. 2012-11-13 10:21:03 +11:00
Daniel Buckmaster
74bd05030d Consider zoom when culling billboards.
screenScale represents the current zoom factor, but may need some
revision because I'm not sure if what it's doing is technically correct.
It is used to multiply the culling distance for cells, as well as the
fading distance.
2012-11-13 09:13:49 +11:00
DavidWyand-GG
a803398eb0 Fix for Issue #130 for Decals and Smoothing Groups 2012-11-08 16:56:22 -05:00
DavidWyand-GG
88bb577c82 Fix for Issue #128 for Player First Person Shadow
IMPROVEMENT: By default we stop rendering all Player shadows when in
first person and 'renderFirstPerson' is disabled.  Added flag
'firstPersonShadows' to disable this behavior.
2012-11-08 16:37:11 -05:00
DavidWyand-GG
e7beec99db Fix for Issue #110 for Particle Emitter Ejection 2012-11-05 18:03:01 -05:00
DavidWyand-GG
1a3501440f Fix for Issue #111 for BitStream Issues 2012-11-05 16:50:54 -05:00
David Wyand
70415d0787 Merge pull request #109 from DavidWyand-GG/issue108-TurretHeadingNode
Fix for Issue #108 Turret Heading Node
2012-11-05 12:38:10 -08:00
DavidWyand-GG
956f304e4d Fix for Issue #108 Turret Heading Node 2012-11-05 15:36:58 -05:00
DavidWyand-GG
c6b6ffc10b For for Issue #106 Convex Shape Bandwidth 2012-11-05 14:27:30 -05:00
DavidWyand-GG
89ad23a925 Fix for Issue #96 for DAE updating crash 2012-10-17 14:45:13 -04:00