Scott_NZ
ac430bd3bc
Add force-move
2013-05-18 17:52:36 +12:00
Paul Chote
e545865599
Add Selectable field to Selectable.
...
There are a bunch of bogus assumptions about
targetable actors being selectable. These aren't
easily fixed, so this add a Selectable field that
can be diabled for things we want to target, but
not select.
2013-04-15 08:06:52 +12:00
Matthias Mailänder
c5313375f0
pull mouse button preference from global property
2013-01-18 10:57:41 +13:00
Matthias Mailänder
d52394bb47
add classic left-click orders
2013-01-18 10:57:40 +13:00
Chris Forbes
220473bf74
remove duplication in UOG
2012-06-26 11:31:13 +12:00
James Dunne
9c49143534
New types for cell and pixel coordinate position/vectors.
2012-06-21 15:36:59 -05:00
Chris Forbes
cebf908bb2
Fixed #2041 -- Force attack always targeted ground
...
Revert "Force attacks always go through, regardless of what is beneath them."
This reverts commit b2c72d6990 .
2012-04-25 00:22:07 +12:00
Kenny Hoxworth
b2c72d6990
Force attacks always go through, regardless of what is beneath them.
2012-03-23 10:06:59 +13:00
Chris Forbes
f2dd5eb0a3
simplify UOG
2011-12-24 12:19:59 +13:00
Chris Forbes
f83c9fd4d7
add IEnum<T>.JoinWith, use it to clean up a bunch of things
2011-11-01 21:57:58 +13:00
Chris Forbes
bc6af1841b
fix indents everywhere
2011-10-18 15:10:17 +13:00
Chris Forbes
55036cd58c
fix trailing whitespace everywhere
2011-09-26 08:40:39 +13:00
Chris Forbes
257bd6f431
fixed #849 -- forceMove plumbing removed, noone uses it.
2011-08-17 07:52:35 +12:00
Paul Chote
7e3cfd7ee9
Don't show a selection cursor over targetable but unselectable actors
2011-07-27 13:36:47 +12:00
Paul Chote
b425d770c5
Correct parameter order in IOrderTargeter.CanTargetLocation interface definition
2011-05-30 22:15:15 +12:00
Paul Chote
d4baf2d757
Refactor UnitInfluence trait -> world.ActorMap
2011-05-22 19:32:53 +12:00
Chris Forbes
c99be90548
remove an unused OT
2011-04-09 12:02:21 +12:00
Paul Chote
c775b5ba68
Remove some dead code from UOG.
2011-04-09 10:32:36 +12:00
Chris Forbes
a3994df925
queries dies
2011-03-17 22:09:10 +13:00
Chris Forbes
149324ea92
remove most of the crap from queries
2011-03-17 22:09:08 +13:00
Paul Chote
094907c1a9
Update copyright header. Normalize line endings to LF.
2011-02-13 10:38:57 +13:00
Chris Forbes
59fdbe8725
CanTargetUnit -> CanTargetUnit
2010-12-27 18:43:32 +13:00
Paul Chote
c6fad7fe98
Render IPreRenderSelection independently of OG.
2010-12-07 21:45:03 +13:00
Paul Chote
5f43923b80
Polish: Show the "move-blocked" cursor for locations outside the map. Clamp move orders to the map bounds for these orders.
2010-11-27 11:20:03 +13:00
Paul Chote
8565b7be0c
Always render actor selection boxes.
2010-11-27 11:20:02 +13:00
Chris Forbes
730ed8c597
finished removing ctors from Order
2010-11-23 15:33:15 +13:00
Chris Forbes
23e6eada26
another ctor removed
2010-11-23 15:20:11 +13:00
geckosoft
622f9bfe71
Added: forceQueue to IOrderTarget' CanTargetUnit / CanTargetLocation
...
Added: forceQueue to all related methods
Added: Only shows the select cursor IF hovering over a unit AND the orders return the 'default' icon
2010-11-13 17:46:36 +13:00
geckosoft
9e93edf336
Changed: Made GenericSelectTarget & GenericSelectTargetWithBuilding more generic (now it accepts an optional 'expected' mouse button) default => left (as it was hardcoded)
2010-11-13 17:03:24 +13:00
Bob
10ed3db71d
made all orders queuable
2010-11-13 15:53:08 +13:00
Bob
39b09780f6
refactor Targetable into Targetable{Unit,Building} and ITargetable
2010-11-05 19:50:15 +13:00
Chris Forbes
bc7cf09287
(gecko) Add support for custom order generators
2010-11-05 19:48:30 +13:00
max621
c150fd9475
Added attack move
2010-10-13 08:13:20 +13:00
Bob
ab1e930ba3
pass worldRenderer around as necessary
2010-10-12 17:24:07 +13:00
Bob
aebef4f1c8
rename IIssueOrder2 -> IIssueOrder
2010-10-07 22:07:13 +13:00
Bob
711d05da98
use IIssueOrder2 in AttackBase
2010-10-07 22:07:12 +13:00
Bob
3d805ff40d
added IIssueOrder2. most orders are broken, but Minelayer is fixed
2010-10-07 22:07:12 +13:00
Bob
0cd140849b
fix some support powers
2010-10-07 22:07:12 +13:00
Bob
d6110b9ef0
add Sync.AssertUnsynced. use it in OrderGenerator.set
2010-10-07 22:07:12 +13:00
Bob
aff6889995
moved traits from engine into mod
2010-09-20 20:58:42 +12:00
Paul Chote
5a173a2bd3
Fix #137 (selection cursor on non-selectable actors)
2010-09-13 17:48:05 +12:00
Paul Chote
8286dba919
Improve semantics of selection cursor, plus free perf.
2010-09-12 19:25:05 +12:00
Paul Chote
267d89a459
Remove BS from ProductionQueue. Move ProductionQueue onto a structure for queue-per-building.
2010-08-26 23:11:53 +12:00
Chris Forbes
ce0e671ac5
fix obvious failures.
2010-08-26 19:53:21 +12:00
Chris Forbes
53df4c4bfb
remove batch fail
2010-08-19 18:10:38 +12:00
Bob
ae703d50b2
Actor.traits is implementation detail
2010-08-14 17:39:49 +12:00
Bob
b4c84a11f2
changes to allow widgets to be in mods/; moved BuildPaletteWidget into mods/
2010-07-30 20:15:14 +12:00
Paul Chote
305fa03355
Kill Controller
2010-07-26 20:14:35 +12:00
Chris Forbes
9bb5e49058
draw building grid under actors too
2010-07-26 18:32:29 +12:00
Chris Forbes
69d30ac71b
RenderBeforeWorld/RenderAfterWorld split. still need to sort out which behavior belongs where.
2010-07-26 18:19:39 +12:00