Commit graph

3712 commits

Author SHA1 Message Date
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
SilentMike a8543a3998 Merge pull request #394 from lornemcintosh/development
Clean up SFXSources in Player class
2013-06-02 12:12:05 -07: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
Lukas Joergensen c0e4f4574e Changed mASin to mSin in mEaseOutElastic 2013-05-15 20:54:40 +02:00
Daniel Buckmaster 36da869187 No longer require ClientMissionCleanup to be present to add particle emitters. 2013-05-14 21:01:52 +10:00
DavidWyand-GG e4df92a7bc Theora texture for cloned material fix
When a TSShapeInstance makes a copy of its own materials through
cloneMaterialList() (such as done with client side ShapeBase objects),
the reference to a named diffuse render target was being lost.  This
affected using a TheoraTextureObject on a ShapeBase derived object
(StaticShape, etc.).
2013-05-13 16:49:12 -04:00
DavidWyand-GG c5c08e72d2 Changes to have Linux dedicated compiling again 2013-05-08 06:55:51 +00:00
DavidWyand-GG e6abbee773 Update squish library to compile under Linux
There is a fix in the libsquish repository to make v1.11 compile under
Linux.  http://code.google.com/p/libsquish/  This involves adding an
#include <limits.h> to a couple of files.
2013-05-07 23:54:02 -04:00
David Wyand add658d345 Merge pull request #366 from DavidWyand-GG/ProjectManagerChanges
style.css changes for Project Manager modules
2013-05-01 14:10:12 -07:00
DavidWyand-GG 83aa6f0b93 style.css changes for Project Manager modules
The style.css defines how some of the Project Manager GUI elements look.
With the buttons for changing a project's modules some changes to this
file are required.
2013-05-01 17:08:43 -04:00
Skylar Kelty c62b05fc95 Allow T3D to compile against the latest version of FMod. LowMem Software Reverb has been removed as of FMOD Ex 44409 2013-04-30 18:52:18 +01:00
SilentMike ca2c143feb Merge pull request #363 from thecelloman/productstring
Fill in missing case for getEngineProductString switch block.
2013-04-30 09:57:09 -07:00
thecelloman da0db2a382 Fill in missing case for getEngineProductString switch block. 2013-04-29 20:59:34 -04:00
David Wyand c7b22784da Merge pull request #355 from DavidWyand-GG/TheoraTextureObject
TheoraTextureObject
2013-04-23 08:26:01 -07:00
DavidWyand-GG 30144a9f98 TheoraTextureObject
Places a theora video onto a named texture surface that may be used by
any material.  Allows for the video to play, pause, stop, loop, and for
the source video to be changed at any time.

Based on this resource:
http://www.garagegames.com/community/resources/view/21019
2013-04-23 11:24:05 -04:00
thecelloman f9d52147ac Version number change.
Also adds console functions to get the user's application version.
2013-04-23 23:09:21 -04:00
DavidWyand-GG 78242191ec ScatterSky source line endings fix 2013-04-23 10:39:03 -04:00
Ron Kapaun 808f1a5beb Scatter Sky Community Fixes
Fixes and Extends Features in the Scatter Sky Object and Shaders
2013-04-23 10:26:17 -04: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 c62679b797 Merge pull request #348 from Nick-IronTower/development
Compiling with VS2012
2013-04-18 09:41:05 -07:00
Nick-IronTower 2c7b22cf8a Compiling with VS2012
- updated nasm license;
2013-04-18 19:22:38 +03:00
SilentMike 20b8294282 Merge pull request #287 from xoltan/terrainmacro
Terrain Macro Texture
2013-04-18 08:50:06 -07:00
Nick-IronTower 4543e85d76 Compiling with VS2012
- updated nasm binaries;
- updated template files to reflect new paths to nasm binaries;

Now .asm files compile with /safeseh option.
2013-04-18 13:31:18 +03: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 38a1eca0be Merge pull request #241 from just-bank/engine-api-fixes
Engine API fixes
2013-04-17 15:19:57 -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 ffc1ee829b moved filesystem init further up, to be able to log errors earlier 2013-04-15 18:58:29 +02:00
Thomas Fischer aece85f02a added missing initialization and set pointer to NULL after deletion 2013-04-15 18:54:34 +02:00
SilentMike a9643a448d Merge pull request #327 from thecelloman/smoothslope
Add a new Terrain brush action:  Smooth Slope.
2013-04-10 14:47:09 -07:00
thecelloman 8eb0e98f86 Add a new Terrain brush action: Smooth Slope.
This smoothes the terrain using a linear regression algorithm.  Exists alongside the oldstyle height averaging action -- options are good!
2013-04-10 08:44:22 -04:00
DavidWyand-GG de7a72d82a Oculus VR (Rift) support
Input device and shaders for supporting the Oculus Rift.
2013-04-10 01:05:26 -04: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
DavidWyand-GG 4f4c496fba Fix platforms that don't support PVI_NumAdapters
Not all platforms currently support the PVI_NumAdapters query from
PlatformVideoInfo.  This fix puts in the assumption that there is always
1 adapter if the PVI_NumAdapaters query returns false.  This was the
behaviour prior to PVI_NumAdapters being put in place.
2013-04-09 13:20:19 -04:00
DavidWyand-GG 0d77cdc270 GFX now handles non-default adapters
The GFX (DirectX) pipeline did not respect the choice of adapter and
always went for the default one.  Normally this isn't an issue unless
you wish to target a particular adapter and display device combination.
This has been corrected.

The GFX initialize functions now attempt to find the best adapter that
matches a given display device (i.e. monitor) if one has been passed in.
To aid with choosing a display device some new monitor enumeration
methods have been added to the platform window manager.  These methods
have been exposed to the Canvas.
2013-04-09 12:50:17 -04:00
DavidWyand-GG a40db9fa9b zero() method added to all point classes
Only some of the mPointX classes had the zero() method implemented.
This commit adds the method to all point classes.
2013-04-09 11:38:48 -04:00
DavidWyand-GG bfec2dfd79 Fix texture and object console paths
- Be sure to delete all prefs.cs files following this change.
- Changes the console types of the missing, unavailable and warning
texture paths.  The old type was causing string corruption when saving
preferences.
- Changes the console type of the TSShapeConstructor collision shapes.
The old type was causing string corruption when saving preferences.
- Changed missing texture reference in ProcessedMaterial from String to
const char*.
2013-04-09 10:05:57 -04:00
thecelloman b4ea1123dc Remove Interior Object format (DIF) 2013-04-05 12:39:26 -04:00
thecelloman 19c685dc23 Resolve issue #193 - Gui Editor treeview now refreshes correctly when changed through a drag/drop operation. 2013-03-27 23:21:25 -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
xoltan add2f8cb47 Terrain Macro Texture
Adds another layer of detail-like texture to the terrain and the
interface updates in the Terrain Painter.
2013-03-27 18:58:37 -06:00
SilentMike 769268784f Merge pull request #268 from eightyeight/terrain-import-flipped
Importing terrain heightmaps flips Y-axis
2013-03-25 14:03:11 -07:00
Daniel Buckmaster b868906ba5 Added a checkbox to the terrain import GUI and fixed a space. 2013-03-23 09:24:02 +11:00
thecelloman 1468a049af Filling out the variable names in the function prototype for autoMaterialLayers() for clarity.
Minor whitespace formatting changes (spacing) for consistency.
2013-03-22 15:02:45 -04:00
thecelloman 25efdb4a06 Adding a basic rule-based terrain painting implementation.
http://www.garagegames.com/community/resources/view/17145
2013-03-21 17:45:23 -04:00
Daniel Buckmaster 6ff1db6c0c Made the flipped y-axis on terrain import optional.
Pass a final boolean argument to TerrainBlock::import to control
y-axis flipping. It is enabled by default, since this was the previous
default behavior.

This should be added as an option in the terrain import dialog - see
game/tools/worldEditor/gui/guiTerrainImportGui.gui
2013-03-21 09:22:07 +11:00
thecelloman 512f0f10e7 Update TinyXML to v2.6.2 2013-03-13 04:00:12 -04:00
SilentMike 17c750b19a Merge pull request #243 from thecelloman/updatesquish
Update squish
2013-03-10 11:36:02 -07:00
thecelloman 4fdfb47f41 Updating libpng to v1.5.14 and zlib to v1.2.7
Since libpng has a dependency upon zlib, both updates were combined for one commit/pull-request.
2013-03-09 16:19:11 -05:00
David Wyand 845931296e Merge pull request #248 from DavidWyand-GG/HardCodedPaths2
Removed hard coded directory paths
2013-03-07 15:58:43 -08:00
DavidWyand-GG 4b1334db9f Removed hard coded directory paths
- Removed references to core directory.
- Switch some references to tools directory
- Added preferences variables where appropriate
2013-03-07 18:56:53 -05:00
thecelloman 8de0b7cbb1 Update squish library to 1.11 2013-03-04 14:37:50 -05:00
Tim Newell 31036c4031 Bug fixes for alternative zip layout and define to toggle it on 2013-02-28 16:46:46 -05:00
bank 9f2b0bcaf4 Fix engine API copy/paste errors (typo). 2013-02-28 23:50:57 +04:00
thecelloman 9fb0929a41 Patches the libvorbis update with missed files. 2013-02-25 03:45:08 -05:00
thecelloman 9a7664b0fa Updates libogg to v1.3.0 2013-02-24 19:32:54 -05:00
thecelloman 44beb6210b Updates livVorbis to v1.3.3 2013-02-24 19:07:14 -05:00
David Wyand 853b70255b Merge pull request #234 from DavidWyand-GG/RazerHydraWork
Razer Hydra integration
2013-02-22 12:39:06 -08: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
DavidWyand-GG 0b4c3f1e42 Razer Hydra integration 2013-02-21 17:20:09 -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 2824bcf649 Remove hard coded paths pass 1
- displaySplashWindow() now takes an optional path to a bitmap file.
- Missing, unavailable and warning texture paths now come from
GFXTextureManager static methods.
2013-01-30 14:09:23 -05:00
DavidWyand-GG 6105849df2 Leap Motion input device support 2013-01-23 14:38:13 -05:00
DavidWyand-GG 32a3bab2f7 Moved platform input event files under new input directory 2013-01-23 02:37:37 -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
DavidWyand-GG 539efcb1e1 Input event changes
- New InputEventManager class.  It will be used by 3rd party input
devices to generate Torque 3D input events.
- Expanded the input event signal to include three new floats and a new
integer.
- Expanded the number of joystick buttons to 48.
- The input virtual map is now extendable rather than hard coded.
- The input devices types are now extendable rather than hard coded.
- New SI_POS, SI_ROT, SI_INT, and SI_FLOAT input event types.
- New SI_VALUE input action type.
- ActionMap has been updated to work with these changes.
- Removed unnecessary references to platform/event.h
2013-01-22 18:17:41 -05:00
DavidWyand-GG af7787b4bb New console type for Point3I 2013-01-22 17:37:57 -05:00
DavidWyand-GG b56f8674cd New ScriptTickObject
ScriptTickObject is a ScriptObject that adds callbacks for tick and
frame events.  Use setProcessTicks() to enable or disable the
onInterpolateTick() and onProcessTick() callbacks.  The
callOnAdvanceTime property determines if the onAdvanceTime() callback is
called.
2013-01-22 17:09:14 -05:00
DavidWyand-GG e4ad890b78 Expanded signals and journaled signals to support up to 13 parameters 2013-01-22 15:54:03 -05:00
DavidWyand-GG 35082e92eb Fix for Issue #214
Changed two SI_DPOV references to read as SI_DPOV2
2013-01-22 15:23:52 -05:00
Scott Przybylski 48c64db840 Fix for Issue_190
Fix for Issue_190:
Without having DI8DEVTYPE_DRIVING here, many steering wheel's will show
up as "unknown" and cannot be mapped to actions. Driving and gamepad
both map to joystick for consistency, since they all can have buttons,
axes, sliders, and pov hat's.
2013-01-22 14:44:22 -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
SilentMike 0b3e9d73f2 Merge pull request #179 from timmgt/dsocompilebugfix
Bug fix for loading compiled dsos merged into development branch.
2013-01-09 12:58:46 -08:00
DavidWyand-GG 1d4b723891 Removed MGT comments from Pull Request 2013-01-07 12:41:31 -05:00
DavidWyand-GG 59aaaf1892 Merge branch 'consolefuncrefactor' of https://github.com/jamesu/Torque3D into consolefuncrefactor 2013-01-07 12:09:22 -05:00
Tim Newell 0d3a0f88e6 Bug fix for loading compiled dsos 2012-12-15 15:48:24 -05:00
Tim Newell 440103e7ae Removal of SDL dependency for linux dedicated server 2012-12-15 13:07:05 -05:00
DavidWyand-GG 539fa70a3d Fix for Issue 174 for Turret Targeting Wrong Direction 2012-12-13 19:30:51 -05:00
DavidWyand-GG 0598b6ae62 Fix for Issue #166 for Client Not Loading
The issue was with sending the ack mask to the client when the ack byte
count was 4.
2012-12-10 16:28:54 -05:00
DavidWyand-GG 4a11d54609 Partial revert of changes from Pull #125
Pull Request #125 was to fix Issue #124.  However, as reported by a
user, this fix broke the water.  This is a partial reversion of those
changes to get the water working again.  The fix from Pull #125 will
need to be examined.
2012-11-26 11:37:55 -05:00
DavidWyand-GG 595119590d Fix for Issue #155 for Billboard Creation 2012-11-26 11:03:42 -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 46f140710a Prevented looking up incorrect object handles.
Previously, dAtoi would be called on arbitrary strings delimited
only by the / character. Now, Sim::findObject actually checks that
object handles (strings starting with a digit) actually only contain
digits or slashes.
2012-11-20 08:18:14 +11: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
jamesu 98b92360f9 Signed values now set/get from the float value. Also add a bool helper. 2012-11-09 23:00:46 +00:00
DavidWyand-GG 88cc4129af Reformatted code for Pull Request #71
Tabs were used instead of spaces.  Also added comments.
2012-11-09 15:17:49 -05:00
DavidWyand-GG df01dd88fe Merge branch 'BitVector_copy_constructor' of https://github.com/Luis-Anton/Torque3D into Luis-Anton-BitVector_copy_constructor 2012-11-09 13:29:33 -05:00
DavidWyand-GG 9ebc6ecf0d Merge branch 'development' of https://github.com/BoomBox/Torque3D into BoomBox-development 2012-11-09 10:56:38 -05:00
DavidWyand-GG 2a6a177fa1 Fix for Issue #138 for guiArrayCtrl Fix 2012-11-08 18:34:24 -05:00
DavidWyand-GG cfb90f37e4 Fix for Issue #136 for Zoning Bug 2012-11-08 18:19:33 -05:00
DavidWyand-GG 6637948067 Fix for Issue #132 for RenderOcclusionMgr Rendering 2012-11-08 17:47:32 -05: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 e9b1ec5876 Fix for Issue #126 for TCPObject Bad Connect 2012-11-08 16:18:06 -05:00
DavidWyand-GG 0047842b33 Fix for Issue #124 for CustomMaterial Refraction 2012-11-08 16:00:52 -05:00
DavidWyand-GG deba1b3728 Fix for Issue #120 for Inverted ArrayObject Sort 2012-11-07 19:45:40 -05:00
DavidWyand-GG 05b3a32e2c Fix for Issue #118 for Collada Importer Materials 2012-11-07 19:09:51 -05:00
DavidWyand-GG b085a76e50 Fix for Issue #116 for Crash with unicode 2012-11-05 19:16:25 -05:00
DavidWyand-GG d6b85a21bb Fix for Issue #114 for Footstep Sounds 2012-11-05 19:04:49 -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
jamesu 8a15133a61 Add new instructions to the instruction dumper 2012-10-19 23:44:59 +01:00
David Wyand 974e33734c Merge pull request #97 from DavidWyand-GG/issue96-PhysXCrashOnObjectUpdate
Fix for Issue #96 for DAE updating crash
2012-10-17 11:47:13 -07:00
DavidWyand-GG 89ad23a925 Fix for Issue #96 for DAE updating crash 2012-10-17 14:45:13 -04:00
David Wyand d677782466 Merge pull request #95 from DavidWyand-GG/issue94-CubemapRenderBug
Fix for Issue #94 for Cubemap render bug
2012-10-17 08:47:46 -07:00
DavidWyand-GG eb2fd2bf5f Fix for Issue #94 for Cubemap render bug 2012-10-17 11:46:17 -04:00
DavidWyand-GG 497f3c96dc Fix for Issue #90 for Camera orbit object bug 2012-10-16 18:43:11 -04:00
DavidWyand-GG 9ba4a35bca Fix for Issue #88 for River Editor Snapping 2012-10-16 12:30:54 -04:00
jamesu 08d4f6ebc0 Improvements to console refactor code
- Prevent stack corruption in a few places
- Use correct type in printfs
- Reduce type conversions in EngineApi & dAto*
- Fix compilation on GCC
- Tidy up code
2012-10-12 19:12:06 +01:00
James Urquhart e99eadd61f Optimize variable-to-variable assignment 2012-10-12 18:57:28 +01:00
James Urquhart 38c8e52c1d Beginnings of the "pass everything using a native type wrapper" console code.
- ConsoleValue class is now the base value class.
- ConsoleValueRef is now used to supply function parameters. Values are disposable.
- Script functions return values instead of just strings where possible.
- Variables can be disposable strings
- Bytecode changed

Fix the issues with console method parameters and fields which prevented missions from loading.
2012-10-12 18:56:17 +01:00
Luis Anton 5b033f7066 BitVector don't have copy-constructor/operator= 2012-10-06 18:30:03 +02:00
Steven Saric ac9d24deb4 Doc changes for RayInfo distance
Doc changes for the containerRayCast DefineEngineFunction to include the
distance.
2012-10-06 13:15:09 +08:00
Steven Saric 75baf20d5f Send back RayInfo distance with ContainerRayCast
Added an 8th word to ContainerRayCast's return, which is the distance.
2012-10-06 13:03:16 +08:00
David Wyand 394d87cd54 Merge branch 'spawnsphere-transform' of https://github.com/eightyeight/Torque3D into eightyeight-spawnsphere-transform 2012-10-05 16:13:29 -04:00
David Wyand 75d9470029 Fix for Issue #66 for Skinned mesh crash 2012-10-04 19:06:43 -04:00
David Wyand b211edb5e2 Fix for Issue #64 for GuiTabBookCtrl rendering 2012-10-04 17:36:15 -04:00
David Wyand 8f75a228f7 Fix for Issue #62 for Large decal disappears 2012-10-04 16:38:49 -04:00
thecelloman d762ccd248 GuiHealthTextHud. A C++ GuiControl that replaces the scripted numerical health hud. 2012-10-04 16:02:01 -04:00
thecelloman 99e8bcb817 Add getMaxDamage() method. This will be needed for the forthcoming HealthTextHud GuiControl. 2012-10-04 15:55:46 -04:00
David Wyand a3ca8b92ac Merge branch 'aiplayer-fixes' of https://github.com/eightyeight/Torque3D into eightyeight-aiplayer-fixes 2012-10-04 14:00:00 -04:00
David Wyand a6f54b7b44 Merge pull request #57 from DavidWyand-GG/issue56-ShapeEditorSaveCrash
Fix for Issue #56 for ShapeEditor save crash
2012-10-03 15:10:44 -07:00
David Wyand a1a5a2c3d7 Fix for Issue #56 for ShapeEditor save crash 2012-10-03 18:06:15 -04:00
Daniel Buckmaster b097c76eda Fixed stream read/write mismatch bug.
It was causing Vehicles to roll forwards with a constant velocity when
stationary, and ignore move->y.
2012-10-03 07:32:06 +10:00
Daniel Buckmaster e3cb30bb1d Added steering return to Vehicle.
It happens in Vehicle::updateMove so it can apply to all vehicle
subclasses. It is applied to both x and y steering.
2012-10-03 07:23:47 +10:00
David Wyand 2d9fa140ed Merge branch 'linux' of https://github.com/just-bank/Torque3D into just-bank-linux 2012-10-02 13:25:08 -04:00
Daniel Buckmaster eae9fc36e5 Added steering centre members to VehicleData.
steeringReturn is the main control for the amount of return in
the steering. Setting it to 0 (the default) disables steering return
completely.

steeringReturnSpeedScale is a multiplier on the amount of effect that
the vehicle's velocity has on its steering return.

powerSteering can be set to eliminate the effect of steering return on
user input. Without this flag set, the user will have a harder time
steering, because the wheels try to return as they steer. If this flag
is set, steering return will not be applied while the user is actually
steering, only when they release.
2012-10-02 21:02:42 +10:00
David Wyand d38eb17056 Merge branch 'item-networking' of https://github.com/eightyeight/Torque3D into eightyeight-item-networking 2012-10-01 11:25:17 -04:00
bank 0ebafa695c Fix crash on RHEL-based distros.
Looks like GCC (4.4.x) on RHEL is built with some optimization flags, which caused crash inside assembler code (when using inline-cast: uint->uchar->uint from GetNzbSubID down to find_maskwidth).
Tested this change on 7 different distros, so far - everything seems to be working.
2012-09-30 16:28:21 +04:00
bank 12dbf49533 Fixed building on GCC 4.7.x 2012-09-30 02:32:31 +04:00
Daniel Buckmaster f10ea8bbd4 Fixed mAtRest logic when setting static flag. 2012-09-28 07:28:00 +10:00
DavidWyand-GG cdb7e60d67 Merge branch 'vs2012-fixes' of https://github.com/eightyeight/Torque3D into eightyeight-vs2012-fixes 2012-09-27 10:09:41 -04:00
Daniel Buckmaster 0f22ca64d4 Moved mask updated to protected member set functions. 2012-09-27 08:11:48 +10:00
DavidWyand-GG 677377c70b Merge branch 'master' into development 2012-09-26 10:14:06 -04:00
Daniel Buckmaster f69b4bb1f1 Added a console method to get an AIPlayer's move speed. 2012-09-26 23:30:20 +10:00
Daniel Buckmaster a8205240e3 Made Item network members properly in the editor. 2012-09-26 23:28:58 +10:00
Daniel Buckmaster 7db02d1f80 Added a flag that sets the transform of spawned objects. 2012-09-26 23:27:36 +10:00
Daniel Buckmaster 90e022a100 Prevented #define for in VS2012. 2012-09-26 23:26:02 +10:00
DavidWyand-GG 4e26b163a8 Removed config and put back tools/comments directory 2012-09-25 16:19:09 -04:00
DavidWyand-GG ee752d058c New Torque Toolbox version to disable buttons
If there are no projects, all of the project buttons are disabled.
2012-09-25 16:09:36 -04:00
DavidWyand-GG eb71ebe306 Added support for FMOD 4.42.03 Stable
The FMOD include files are now assumed to be located outside of the
Torque 3D directory structure.  See
Tools/projectGenerator/modules/fmod.inc for the various methods to tell
the Project Generator how to find FMOD.  If FMOD is installed in its
default location then nothing special is required.
2012-09-24 15:47:29 -04:00
bank d2700f881c Source changes needed for Linux build. 2012-09-23 15:31:56 +04:00
DavidWyand-GG 08d5ba86f7 Updated gitignore and Engine/bin for ticket #1 2012-09-20 12:46:44 -04:00
DavidWyand-GG 7dbfe6994d Engine directory for ticket #1 2012-09-19 11:15:01 -04:00