Paul Chote
483120ea20
Extract DrawTargetMarker to WorldRenderer.
2013-10-15 10:45:51 +13:00
Paul Chote
ad44610e5a
Replace dynamic Actor.Bounds with the (unchanging) relative rect.
2013-09-27 15:39:57 +12:00
Paul Chote
bc5c11e44f
Check ITargetable when deciding target validity. Fixes #3659 .
2013-08-22 19:29:05 +12:00
Paul Chote
01de84e9fc
Ensure valid targets in Selectable.
2013-07-08 23:40:21 +12:00
Paul Chote
7f25573cfa
Convert Selectable to world coords.
2013-07-08 21:52:26 +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
James Dunne
9c49143534
New types for cell and pixel coordinate position/vectors.
2012-06-21 15:36:59 -05:00
Chris Forbes
ce8267992a
remove self parameter from IPostRenderSelection.RenderAfterWorld
2011-10-23 12:23:15 +13:00
Chris Forbes
b9ac25e044
split sprite-based and line-based things in Selectable into two traits
2011-10-23 12:13:11 +13:00
Chris Forbes
4168e54715
tidy in Selectable
2011-10-23 11:50:53 +13:00
Chris Forbes
55036cd58c
fix trailing whitespace everywhere
2011-09-26 08:40:39 +13:00
Paul Chote
6c129eed3c
Split pip artwork into their own files and kill the hardcoded size/offset junk. Add a blue pip to support C&C blue tib. Fixes #836 .
2011-07-25 22:23:20 +12:00
Paul Chote
926b396605
Fix bogus naming of Shaders/Renderers. Split LineRenderer into world and chrome variants.
2011-07-25 22:23:16 +12:00
Chris Forbes
5aaca5bb32
drop ISelectionColorModifier; unused
2011-07-19 21:14:12 +12:00
Chris Forbes
2259a0e7a5
remove duplication of DrawSelectionBox
2011-07-14 20:29:11 +12:00
Chris Forbes
ccc245ded4
reintroduce Cached<T>; use for Actor.Bounds, Actor.ExtendedBounds, which replace Actor.GetBounds(bool)
2011-05-22 20:38:48 +12:00
alzeih
0a67c68c45
GetTargetQueue -> GetTargets + Exts
2011-04-16 12:57:55 +12:00
alzeih
255bac6aff
QueuedActivity's Insert is broken
2011-04-16 12:50:13 +12:00
Paul Chote
61db3b3965
Kill HPFraction
2011-04-12 08:42:13 +12:00
Paul Chote
b0425aff3b
Renormalize line endings and fix copyright headers again.
2011-04-07 21:15:42 +12:00
Chris Forbes
606873a09e
fix warnings in Selectable.cs
2011-03-12 22:33:29 +13:00
Chris Forbes
298baac061
add rollovers for health/production
2011-03-05 13:19:13 +13:00
Chris Forbes
89a96a9fe7
make ProductionBar actually work for all RA stuff
2011-03-02 22:35:44 +13:00
Chris Forbes
036800531c
add support for aux. bars in selection
2011-03-02 22:16:47 +13:00
Chris Forbes
0da7009eea
shiny healthbars
2011-03-02 22:03:10 +13:00
Paul Chote
094907c1a9
Update copyright header. Normalize line endings to LF.
2011-02-13 10:38:57 +13:00
Paul Chote
2daeb45bfe
Fix a subtle bug with flying units in spatialbins. Fixes #489 .
2011-02-01 22:06:09 +13:00
geckosoft
5b71bee4c8
Added: ISelectionColorModifier
2010-11-13 17:08:00 +13:00
Bob
9a2cdcde11
move Selectable.Radius into Health
2010-11-06 14:35:26 +13:00
geckosoft
030bd4b28d
Core: Added basic support for Spectators
...
TODO: Someone modify the files for cnc (chrome / rules)
2010-10-31 04:03:31 +01:00
Bob
ab1e930ba3
pass worldRenderer around as necessary
2010-10-12 17:24:07 +13:00
Paul Chote
fd34f2ba99
Fix #225 and some other uses of a.IsInWorld / a.IsDead()
2010-10-08 10:56:50 +13:00
Bob
f41aa474aa
remove more uses of Game.world
2010-10-07 22:07:11 +13:00
Bob
14e517cab5
Autoflush renderer. Sprite.DrawAt convenience function.
2010-09-24 18:11:03 +12:00
Bob
66493031c8
fix crash with idle units and pathdebug
2010-09-23 21:06:44 +12:00
Bob
c16a515224
make more activities cancelable. remove many uses of CurrentActivity is T
2010-09-22 11:53:58 +12:00
Chris Forbes
be46f44bc9
polish multiple rows of pips (RA proc)
2010-09-07 19:09:18 +12:00
Bob
ae703d50b2
Actor.traits is implementation detail
2010-08-14 17:39:49 +12:00
Paul Chote
207ee49da3
Move Facing and Altitude onto IMove impls, with associated pile of cleanups
2010-08-01 01:01:31 +12:00
Paul Chote
4cf0610fd9
Change DamageState names
2010-07-30 22:24:43 +12:00
Paul Chote
1459ec483c
Rename ExtendedDamageState -> DamageState
2010-07-30 22:24:43 +12:00
Paul Chote
0580dc4adf
Fix damaged-building artwork and don't show healthbar for dead units (cnc critical-building state)
2010-07-30 10:11:33 +12:00
Paul Chote
87d2071007
Fix health bar colors. Todo: Merge DamageState & ExtendedDamageState
2010-07-30 00:46:00 +12:00
Paul Chote
6fba888d45
Shift Actor.Health onto a trait.
...
Known regressions:
- cnc only
- health bar colors
- can't repair buildings
2010-07-30 00:33:44 +12:00
alzeih
ce513ed61a
oops
2010-07-26 22:23:25 +12:00
Paul Chote
305fa03355
Kill Controller
2010-07-26 20:14:35 +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
alzeih
130b4d29b4
Move SelectedUnit drawing stuff out of WorldRenderer into Selectable with IRenderSelection
2010-07-26 02:25:52 +12:00
Chris Forbes
d5f12dd8ee
trim down license spam in all files
2010-07-18 16:48:21 +12:00
Chris Forbes
68b63dc89e
ralint: verify voices, support (and still verify) @-form prerequisites.
2010-07-04 14:50:26 +12:00