Commit graph

4926 commits

Author SHA1 Message Date
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
David Wyand
5d6751cdd4 Merge pull request #218 from DavidWyand-GG/ConsoleTypePoint3I
New console type for Point3I
2013-01-22 14:39:29 -08:00
DavidWyand-GG
af7787b4bb New console type for Point3I 2013-01-22 17:37:57 -05:00
David Wyand
f43e878a26 Merge pull request #217 from DavidWyand-GG/ScriptTickObject
New ScriptTickObject
2013-01-22 14:11:23 -08: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
David Wyand
1d4ed1da0f Merge pull request #216 from DavidWyand-GG/ExpandedSignals
Expanded signals and journaled signals to support up to 13 parameters
2013-01-22 13:16:23 -08:00
DavidWyand-GG
e4ad890b78 Expanded signals and journaled signals to support up to 13 parameters 2013-01-22 15:54:03 -05:00
David Wyand
c2ae9de472 Merge pull request #215 from DavidWyand-GG/issue214-JoystickPOV2
Fix for Issue #214
2013-01-22 12:27:16 -08: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
Lukas Jørgensen
96c3b89f66 Elastic ease fix
Elastic ease used an arcsinus function where it should have used a sinus
function.
2013-01-10 04:03:03 +01: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
4cebb0c406 Merge branch 'dedsdlchanges' of https://github.com/timmgt/Torque3D into timmgt-dedsdlchanges 2013-01-07 12:33:08 -05:00
DavidWyand-GG
59aaaf1892 Merge branch 'consolefuncrefactor' of https://github.com/jamesu/Torque3D into consolefuncrefactor 2013-01-07 12:09:22 -05:00
David Wyand
455efbed5e Merge pull request #182 from DavidWyand-GG/docs-2.0
New readme for v2.0
2012-12-18 11:33:43 -08:00
DavidWyand-GG
358412f6de New readme for v2.0 2012-12-18 14:30:13 -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
ee0018c204 Merge branch 'master' into development 2012-12-14 16:41:46 -05:00
David Wyand
60a13caca1 Merge pull request #175 from DavidWyand-GG/issue174-TurretTargetWrong
Fix for Issue 174 for Turret Targeting Wrong Direction
2012-12-13 16:32:32 -08:00
DavidWyand-GG
539fa70a3d Fix for Issue 174 for Turret Targeting Wrong Direction 2012-12-13 19:30:51 -05:00
David Wyand
20b1d1f216 Merge pull request #173 from DavidWyand-GG/issue172-DedicatedTurretCrash
Fix for Issue #172 for Turret Crash on Dedicated Server
2012-12-13 13:47:57 -08:00
DavidWyand-GG
63b8c275a5 Fix for Issue #172 for Turret Crash on Dedicated Server
The Cheetah's turret fire sound datablock happened to be named the same
as the player's turret weapon's datablock.  This caused the sound
profile's description to be NULL on the dedicated server.
2012-12-13 16:46:05 -05:00
David Wyand
6f56dcf846 Merge pull request #171 from DavidWyand-GG/issue170-AssetLoadLinux
Fix for Issue #170 Asset loading under Linux
2012-12-12 12:52:13 -08:00
DavidWyand-GG
5dd5814a9b Fix for Issue #170 Asset loading under Linux 2012-12-12 13:53:32 -05:00
David Wyand
37f44a6341 Merge pull request #167 from DavidWyand-GG/issue166-ClientNotLoading
Fix for Issue #166 for Client Not Loading
2012-12-10 13:30:46 -08: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
David Wyand
a98dfb9218 Merge pull request #158 from DavidWyand-GG/issue124-RevertMaterialChanges
Partial revert of changes from Pull #125
2012-11-26 08:39:03 -08: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
David Wyand
70b95d6d49 Merge pull request #156 from DavidWyand-GG/issue155-BillboardCreation
Fix for Issue #155 for Billboard Creation
2012-11-26 08:05:31 -08:00
DavidWyand-GG
595119590d Fix for Issue #155 for Billboard Creation 2012-11-26 11:03:42 -05:00
David Wyand
f9cb217132 Merge pull request #153 from DavidWyand-GG/issue152-UnmatchedBitstream
Fix for Issue #152 for Unmatch Bitstream
2012-11-23 10:14:17 -08: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
David Wyand
7368dc2489 Merge pull request #151 from DavidWyand-GG/gitignore-ProjectManager
New gitignore for Project Manager
2012-11-23 07:50:12 -08:00
DavidWyand-GG
e5b64aa044 New gitignore for Project Manager 2012-11-23 10:48:40 -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
David Wyand
9c343d1364 Merge pull request #142 from DavidWyand-GG/issue141-RemoveToolbox
Work for Issue #141 for Remove Toolbox
2012-11-13 15:41:59 -08:00
DavidWyand-GG
e65d404171 Work for Issue #141 for Remove Toolbox
Removed the old Toolbox and the Qt libraries, as well as all of the
Templates' game binaries.
2012-11-13 18:40:01 -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