Commit graph

618 commits

Author SHA1 Message Date
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
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
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
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
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
Daniel Buckmaster
f10ea8bbd4 Fixed mAtRest logic when setting static flag. 2012-09-28 07:28:00 +10:00
Daniel Buckmaster
0f22ca64d4 Moved mask updated to protected member set functions. 2012-09-27 08:11:48 +10: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
bank
d2700f881c Source changes needed for Linux build. 2012-09-23 15:31:56 +04:00
DavidWyand-GG
7dbfe6994d Engine directory for ticket #1 2012-09-19 11:15:01 -04:00