Commit graph

860 commits

Author SHA1 Message Date
GuyAllard
bc230be8a2 Added scriptable move triggers for AIPlayers. Fixes an issue where AIPlayers were setting move trigger states from invalid memory. Enables the use of player poses and actions. 2014-12-04 16:21:57 +01:00
Anis
830ab77628 Fixed a crash and memory leak on the ribbon code
OpenGL needs to unlock buffers on inverse order to work.
2014-12-02 13:39:57 +01:00
rextimmy
880642060e Fixed issue where physx3 cpu dispatcher was created multiple times 2014-12-01 12:39:46 +10:00
LuisAntonRebollo
1c95ce21d6 Merge pull request #608 from BeamNG/use_gfxdevice_setupgenericshaders
Use GFXDevice::setupGenericShaders for support non Fixed Fuction Pipelines.
2014-11-30 02:20:00 +01:00
Azaezel
9e935c417b rotAroundNormal mangling outcome -reverted 2014-11-29 15:48:49 -06:00
Daniel Buckmaster
a0e1fca057 Merge pull request #685 from rextimmy/physx3_basic
Physx3 Physics Plugin
2014-11-29 20:05:08 +11:00
Daniel Buckmaster
e47b95ee5d Merge pull request #971 from Azaezel/revert-794-euler_to_quat_revert
turret tracking correction, again
2014-11-29 14:00:04 +11:00
Daniel Buckmaster
d315b1fa5a Improved style of AIPlayer modifications. 2014-11-29 12:31:05 +11:00
LukasPJ
30a8401d14 Add support for rendering particles to the glow buffer 2014-11-28 23:34:26 +01:00
Daniel Buckmaster
f42e12940c Navmesh load/save now uses builtin file abstraction. 2014-11-28 20:24:11 +11:00
Daniel Buckmaster
f4c940f4fe Added basic Walkabout with #define renamed and no editor. 2014-11-28 19:42:10 +11:00
Daniel Buckmaster
0213fc4a34 Fix #258
No harm in it, and we can close the issue now.
2014-11-26 14:48:29 +11:00
Daniel Buckmaster
11c70262c4 Fix #741
Local variable was used incorrectly. Did not result in any bugs, just a small amount of unnecessary network traffic.
2014-11-26 14:20:11 +11:00
Vincent Gee
c5f81a85f5 Renamed LOD to Fade. 2014-11-20 08:00:26 -05:00
Areloch
b5ce3fa8ad Merge pull request #903 from Winterleaf/MissionMarker
Looks good, don't see any problems. Merged.
2014-11-13 21:48:58 -06:00
Azaezel
034de4f84b turret tracking correction 2014-11-08 00:08:09 -06:00
rextimmy
664595ef9e - Fixed memory leak when creating terrain with physx 3
- Fixed terrain tessellation with physx 3
2014-11-08 14:08:59 +10:00
Vincent Gee
7b05314901 fixed tabs 2014-11-06 10:44:55 -05:00
Vincent Gee
c4e3a68f7c Added Alpha LOD to tsStatic objects.
This allows designers to set the start and end distance for Alpha LOD on objects.
2014-11-06 08:54:49 -05:00
Vincent Gee
578c4e8f4f Removed Tabs, added check on connection 2014-11-06 08:38:05 -05:00
Vincent Gee
2f48f31a6f Fixed String comparisons. 2014-11-05 23:29:08 -05:00
Vincent Gee
55bdfe5dc3 This adds limiting the ghost data to a specific area around the client.
By default it is not included in the build, you must #define GHOSTSCOPING in the torqueConfig.h to enable it.
The distance can be set via the mission file by adding

visibleGhostDistance = "1000";

Or if it is not set in the mission file it will default to what is defined in torqueConfig.h #defined as GHOSTSCOPING_DEFAULT_DISTANCE_IF_NOT_IN_MISSION

The mission default distance can be overridden on a per connection basis by using gameconnection:setVisibleGhostDistance and gameconnection:getVisibleGhostDistance

The logic for setting the scoping distance was moved from shapebase in the original design to SceneObject so that it will affect cameras, players, etc.
2014-11-05 23:14:39 -05:00
Daniel Buckmaster
3082bb3adc Merge pull request #884 from GarageGames/development-3.6
Version 3.6.2
2014-11-05 20:28:01 +11:00
Vincent Gee
fbc9660bc3 WaypointTeam never worked and if you look at the code you can see its not very clean. 2014-11-04 20:14:50 -05:00
Vincent Gee
9907c4592e Fixed bad string compares and simdictionary 2014-11-04 19:51:13 -05:00
Vincent Gee
acb192e2a5 Replaced a ton of ConsoleMethods with the DefineConsoleMethod Macro. 2014-11-03 22:42:51 -05:00
Daniel Buckmaster
a87a891cfc Prevent crash when loading Player with no shape. 2014-10-31 10:04:32 +11:00
Daniel Buckmaster
e209cc4389 Use existing methods instead of incorrect maths. 2014-10-31 09:11:07 +11:00
Daniel Buckmaster
ef9bc91bff Merge pull request #744 from lukaspj/Ribbon-Implementation
Ribbon and RibbonNode
2014-10-28 15:19:17 +11:00
Daniel Buckmaster
74e328d09b Merge pull request #870 from eightyeight/fix-ear-transform
Andrew's fix for ear transform with detached camera
2014-10-28 14:39:09 +11:00
Daniel Buckmaster
355ce5d854 Andrew's fix for ear transform with detached camera. 2014-10-28 09:26:46 +11:00
Daniel Buckmaster
fd93397e5d Merge pull request #846 from Azaezel/guiobjectview
guiobjectview corrections
2014-10-27 17:28:58 +11:00
Azaezel
5d5e878129 dynamic cubemap support for tsStatics
engine: implements the capacity for tsstatic objects to allow themselves to use the reflector system in order to display runtime generated cubemaps.
script: defines a calibrated reflectordesc that reflects all object types within the space of approximately half stock veiwdistance
usage: cubeReflectorDesc = DefaultCubeDesc placed in a given object-insatnces entry that uses a material with a dynamiccubemap = true; flag.
immediate purpose: consistency of application of materials.
long term impact: tags steps required in order to associate a given runtime generated cubemap with an object-instance. in the future, this is likely to give way to an area-derived cubemap based on the accumulation volume tech developed by Andrew Mac, or a screenspace reflection.
2014-10-23 20:48:58 -05:00
Daniel Buckmaster
4fb820c3ef New Physics doc group. 2014-10-24 09:17:48 +11:00
Azaezel
0dde7022c2 engine: corrects offsets for the guiobjectview gui element which displays materialized meshes, and exposes it's specialized renderering system to the postfx subsystem.
immediate purpose: corrected display
long term purpose: deferred display.
2014-10-23 05:03:28 -05:00
bank
62006e8b3c Remove unneeded double-initialization of the vars. 2014-10-19 14:30:46 +11:00
bank
d9c5670e93 Fix possible array overrun.
We should clamp the index value to the size of the weaponMountNode[], which is ShapeBase::MaxMountedImages (4) and SceneObject::NumMountPoints = 31.
2014-10-19 14:30:43 +11:00
Daniel Buckmaster
1554ea6faf Merge pull request #833 from just-bank/fix-derefptr
Fix: Null'ed pointer usage, possible access violation.
2014-10-16 10:38:52 +11:00
Daniel Buckmaster
156aacf8b8 Ensure console function arg arrays are initialised. 2014-10-16 00:29:16 +11:00
Daniel Buckmaster
b507dc9555 Merge branch 'master' into console-func-refactor
Conflicts:
	Engine/source/app/net/net.cpp
	Engine/source/console/astNodes.cpp
	Engine/source/console/compiledEval.cpp
	Engine/source/console/console.h
	Engine/source/console/consoleInternal.h
	Engine/source/console/engineAPI.h
2014-10-14 15:09:11 +11:00
LuisAntonRebollo
4a6384486c Merge pull request #689 from rextimmy/forest_physx2_fix
Physx 2.8 actor release fix
2014-10-02 01:05:11 +02:00
Areloch
f56c35019f Merge pull request #781 from eightyeight/remove-player-warnings
Removed annoying warning
2014-09-30 00:03:58 -05:00
Daniel Buckmaster
f5fb2fdf76 Improved code style in ribbon files. 2014-09-24 08:08:42 +10:00
Lukas Joergensen
a8a141e73c RibbonNode class.
Simple RibbonNode class for an implementation similar to that of
ParticleEmitterNodes. Datablock currently has no static fields.
2014-09-19 00:32:17 +02:00
Lukas Joergensen
cb9cfea1c4 Ribbon class implementation.
This class is based on Tim Newell from MaxGaming Technologies code, it's a
Ribbon class which is easy to use from other classes.
2014-09-19 00:31:56 +02:00
Daniel Buckmaster
d08e594316 Merge pull request #682 from Azaezel/extended_onendSequence
Extended onend sequence
2014-09-16 10:25:25 +10:00
Azaezel
db089ab45f consistency 2014-09-15 19:10:23 -05:00
Daniel Buckmaster
439dc9c56d Fixed ShapeBase animation networking.
We essentially just need to remember to Update ShapeBase::Thread::position
every time we advance the thread in the shape. With a little bit of
supporting code these changes will be passed to the client's shape.
2014-09-15 10:01:13 +10:00
Daniel Buckmaster
fd3d44c755 Removed annoying warning. 2014-09-15 07:30:51 +10:00
Daniel Buckmaster
f702063d0b Merge pull request #773 from eightyeight/remove-thread-sound
Removed ShapeBase::Thread::sound
2014-09-13 10:57:01 +10:00