Commit graph

15 commits

Author SHA1 Message Date
suncaller
31d0eb16f8 Clean up MSVC warning [C4312] conversion from type to type * of greater size 2019-02-02 23:09:55 -05:00
Azaezel
f068664742 gamebase mmebervar cleanups. mPacked in particular is likely to geta followup for other cleaning. 2018-03-28 23:41:47 -05:00
Azaezel
77e9f3c6d4 CollisionState membervar clarification 2018-03-15 17:31:28 -05:00
Francisco Montañés García
2707eaf322 Apply Camera FX on vehicle driver position. 2017-05-02 17:17:33 +02:00
Azaezel
1ee127b753 more unused variable cleanups 2016-10-16 14:41:34 -05:00
OTHGMars
937b8830e1 Vehicle Mounting 2016-06-17 10:36:37 -05:00
Areloch
37e030f8f4 Makes vehicles work with the physics plugins.
Makes vehicles create a basic physics body when using one of the physics plugins so that they can collide with other physics-enabled objects.

Based on @rextimmy 's work.
2016-06-04 16:47:03 -05:00
LuisAntonRebollo
4e9034854d Linux implementation. Include changes for gcc x64. 2015-01-24 22:08:26 +01:00
Thomas Fischer
cd978039ac Merge pull request #635 from just-bank/engine-fixes
Various engine fixes
2014-05-23 14:09:00 +02: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
cpusci
4c35fd37af Simple pass over the codebase to standardize the platform types. 2013-08-04 16:26:01 -05: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
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
DavidWyand-GG
7dbfe6994d Engine directory for ticket #1 2012-09-19 11:15:01 -04:00