Areloch
11398bb04e
Issue found with PVS-Studio:
...
A lot of instances where some function args are not actually modified in any way, meaning that it is better for performance to convert them into const references. This prevents an additional copy, which can help performance.
2015-07-16 22:02:18 -05:00
Daniel Buckmaster
02c88201c6
Merge remote-tracking branch 'GuyAllard/aiPlayerTweaks' into development
...
Conflicts:
Engine/source/T3D/aiPlayer.cpp
Engine/source/T3D/aiPlayer.h
2015-02-22 21:51:56 +11:00
LuisAntonRebollo
57698599e0
Add missing <cfloat> and <limits>
2015-02-07 20:30:07 +01:00
Daniel Buckmaster
bd437cda1c
Merge branch 'development' into walkabout
...
Conflicts:
Engine/source/T3D/aiPlayer.cpp
2015-01-29 21:38:20 +11:00
Daniel Buckmaster
014b566014
Merge remote-tracking branch 'gg/development-3.6' into development
...
Conflicts:
Engine/source/T3D/gameFunctions.cpp
2015-01-29 21:17:38 +11:00
Daniel Buckmaster
7ab6731f51
Merge branch 'development' into walkabout
...
Conflicts:
Templates/Empty/game/tools/worldEditor/scripts/editors/creator.ed.cs
Templates/Full/game/tools/worldEditor/scripts/editors/creator.ed.cs
2015-01-02 14:45:20 +11:00
Daniel Buckmaster
9fca02b2f8
Merge pull request #1017 from eightyeight/aiplayer-triggers-fix
...
AIPlayer trigger fix
2014-12-12 21:45:57 +11:00
Daniel Buckmaster
04df62ebe5
AIPlayer trigger fix as in #1007 .
2014-12-07 17:14:37 +11:00
Azaezel
8ac10e42b0
checkInFoV correction
...
requested:
https://github.com/GarageGames/Torque3D/issues/1009
crosscheck vs 69838bdc8c/Engine/source/T3D/fps/guiShapeNameHud.cpp (L177-L240) upon which that was based.
2014-12-05 05:00:09 -06:00
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
Daniel Buckmaster
d315b1fa5a
Improved style of AIPlayer modifications.
2014-11-29 12:31:05 +11:00
Daniel Buckmaster
f4c940f4fe
Added basic Walkabout with #define renamed and no editor.
2014-11-28 19:42:10 +11:00
Vincent Gee
acb192e2a5
Replaced a ton of ConsoleMethods with the DefineConsoleMethod Macro.
2014-11-03 22:42:51 -05:00
Azaezel
e332609003
requested alterations.
...
bool AIPlayer::checkLosClear(Point3F _pos) removed as not fit for purpose at the present time. Something to revisit when I'm spread less thin, or give someone else a crack at it.
2014-07-13 12:24:17 -05:00
Azaezel
9bed39b7d0
logical inversion to stock functionality as requested. Now assumes if it has a target and does not hit anything Static by the time the ray terminates, then it must be the right target.
2014-07-11 07:47:31 -05:00
Azaezel
ae55ad2b50
revised checkInLos and CheckFoV. boith now take all parameters as optional as suggested, with a target value of NULL resulting in checking the present one.
...
cleaned up internal usage of checkInLos, tightened the typemask used, and provided further documentation.
2014-07-11 06:58:19 -05:00
Azaezel
8aebb67aa1
conforms losmask to standard nomenclature
2014-05-13 22:45:25 -05:00
Azaezel
9342115b1e
helper functions for AI: testing if an object is in line of sight (and optionally if it's enabled), if a point is clear, and if an object is within a given angular field of view (optionally specified beyond a stock 45 degrees, as well as optionally checking if the target is enabled)
2014-05-13 19:53:00 -05:00
cpusci
4c35fd37af
Simple pass over the codebase to standardize the platform types.
2013-08-04 16:26:01 -05:00
thecelloman
b4ea1123dc
Remove Interior Object format (DIF)
2013-04-05 12:39:26 -04:00
Daniel Buckmaster
f69b4bb1f1
Added a console method to get an AIPlayer's move speed.
2012-09-26 23:30:20 +10:00
DavidWyand-GG
7dbfe6994d
Engine directory for ticket #1
2012-09-19 11:15:01 -04:00