Taryn Hill
43317e0f5d
Update copyright notice year to 2017
2016-12-31 23:46:13 -06:00
Paul Chote
83027c28d7
Fix a desync in GpsDot.IsTargetableBy.
...
World.ShroudExplores depends on RenderPlayer,
which makes it completely bogus for this purpose.
2016-10-18 22:12:13 +01:00
Paul Chote
4a90ff834e
Merge pull request #11867 from abcdefg30/gpsDot
...
Fix GPSDots being visible when the unit is not InWorld or dead
2016-09-03 11:35:14 +01:00
abcdefg30
cda23e808f
Fix GpsDots being displayed when their CenterPosition is shrouded
2016-08-27 19:02:27 +02:00
Paul Chote
83137fc789
Draw GPS dots above the fog.
2016-08-26 19:27:54 +01:00
abcdefg30
5d2a9d5f16
Fix GPSDots being visible when the unit is not InWorld or dead
2016-08-24 23:29:10 +02:00
Paul Chote
e71225496b
Clarify GPL version.
2016-02-21 16:30:48 +00:00
Paul Chote
b396965fd9
Update licence header year.
2016-02-21 16:27:31 +00:00
Matthias Mailänder
f709ef891a
document and expose GpsDot strings to lint testing
2016-01-24 19:25:33 +01:00
RoosterDragon
8e89a6a696
Simplify names, remove unused usings, remove redundant casts.
2016-01-17 21:35:36 +00:00
RoosterDragon
3a2139de26
Add PlayerDictionary.
...
This custom collection allows other classes to implement a Player to value mapping, but also stores the values in an array for faster lookup by the player index in the world. For some code, this improved lookup time is important for performance.
2015-12-23 23:54:04 +00:00
RoosterDragon
f96d02a794
Fix GPS dot relying on frozen actor render state.
...
The GPS dot was not displayed if a frozen actor for it was already visible. However, this was mistakenly affecting visibility checks in the world. Now, we only avoid rendering it when the frozen actor is present, but the indicator is still regarded as visible for visilbity checks in the world.
2015-12-12 19:57:07 +00:00
RoosterDragon
87d35a75da
Merge dictionaries in GpsDot.
...
This speeds up GpsDot.Tick as it requires only one dictionary lookup per player rather than two.
2015-12-12 19:54:23 +00:00
Pavel Penev
8d4d37ca46
Make GPS respect shroud
2015-11-21 01:11:40 +02:00
Pavel Penev
bfa23c18c0
Track GpsDot state per player
...
Should let us fix the issue mentioned in https://github.com/OpenRA/OpenRA/pull/10007#issuecomment-157409237
2015-11-21 01:11:36 +02:00
Paul Chote
585a43fd8f
Rename Actor.Destroy/Destroyed to Dispose/Disposed.
2015-05-29 19:08:38 +01:00
deniz1a
106286da23
Prevents satellite icons from being drawn over frozen actors.
2015-05-25 06:31:04 +03:00
Taryn Hill
4ed53c5952
Simplify return statements.
...
Remove redundant ‘this’.
Remove unused using directives.
Simplify LINQ chains.
Add some trait property descriptions.
Add readonly where viable.
Add fullstops to some yaml descriptions.
2015-04-01 12:33:17 -05:00
abcdefg30
8ca61aa917
Updated all year numbers
2015-01-09 21:18:05 +01:00
Matthias Mailänder
bc3acfeee7
StyleCop clean OpenRA.Game
2015-01-04 15:38:54 +01:00
Hellhake
fa72e04042
Remove BOM
2015-01-01 22:51:12 +01:00
reaperrr
7470391c5d
Move RA World traits, FrozenUnderFog Modifier and various other traits into Traits
2014-12-03 12:52:17 +01:00
huwpascoe
a660bb95b5
Actor properties consistency improved
2014-11-21 02:44:05 +00:00
reaperrr
f3f051fd46
Move Common Modifiers and PaletteEffects into Traits space
2014-11-18 18:10:59 +01:00
reaperrr
cd00fdeacc
Moves the remaining two ServerTraits and 3 out of 4 Modifiers to Mods.Common
2014-11-07 00:05:25 +01:00
Pavlos Touboulidis
b560268495
Change animations to use the proper SequenceProvider
...
Remove references to the global "Game" and use the SequenceProvider
of the current world/map.
2014-05-17 14:33:16 +03:00
Paul Chote
4935266945
Merge FileFormats dll into Game and reorganise namespaces.
2014-04-17 01:20:47 +12:00
Paul Chote
1b2a90c00c
Migrate to System.Lazy.
2014-04-09 20:20:41 +12:00
Curtis Shmyr
f8f60e52bc
Replace Spy* with Disguise* for certain classes
2014-03-15 14:20:57 -06:00
Matthias Mailänder
da235d7aee
.IsDead() includes the .Destroyed check
2013-11-17 23:32:32 +01:00
Matthias Mailänder
b5fcb297af
Merge pull request #3726 from pchote/cloak-fix
...
Cloak fixes
2013-08-23 09:27:56 -07:00
Paul Chote
1e53434e45
Simplify cloak crate behavior.
...
This removes the runtime trait addition which
prevented Cloak from being cached.
The CloakCrateAction in D2K was never used, so
has also been removed.
2013-08-22 19:29:05 +12:00
Matthias Mailänder
cadf689406
fix possible null reference exceptions
2013-08-20 20:31:41 +02:00
Matthias Mailänder
d8ae966d64
don't display gps dots for dead actors
...
fixes #3709
2013-08-19 20:45:16 +02:00
Paul Chote
2a7318b69f
Add GPSDot for RA structures. Fixes #3631 .
2013-08-17 20:11:09 +12:00
Paul Chote
15688eed13
Allow Animation to generate its own Renderables.
2013-07-15 20:54:02 +12:00
Matthias Mailänder
770477f7a5
removed hard-coded GPS dot upscaling
...
please create a bigger sprite instead
2013-05-25 19:12:22 +02:00
Paul Chote
57142fbb8d
Convert indicator overlays to world coordinates.
2013-05-17 18:12:28 +12:00
Paul Chote
ca5f2c3785
Split Renderable into an IRenderable interface and SpriteRenderable implementation.
2013-05-17 18:12:28 +12:00
Paul Chote
d878c96343
Change Renderable to take centered positions.
2013-05-17 18:12:26 +12:00
Matthias Mailänder
2c250ed700
fixes #3181 GPS dots not visble in spectator mode
2013-05-13 23:42:49 +02:00
Paul Chote
c428cad70c
Refactor per-player shrouds & fix shellmap shroud.
2013-04-10 19:36:03 +12:00
Paul Chote
e33c783fc1
Ditto for GpsDot.
2013-02-26 09:24:42 +13:00
Paul Chote
3380817865
Pass WorldRenderer to Render().
2013-02-25 21:11:33 +13:00
Paul Chote
885eec7444
Move effects to WorldRenderer palette lookup.
2013-02-24 15:43:20 +13:00
Kenny
f41fb32d60
Introducing per-player shrouds.
...
- Each player has their own shroud and their visibility does not extend outside of the shroud.
- Units and buildings can no longer target other units outside of their visibility. Buildings can still be targetted if they have been explored.
- GPS will provide visibility in the fog-of-war.
- Spies that infiltrate radar domes will gain their victim's exploration and reset it on all clients (if the victim does not have GPS)
2012-12-13 15:16:56 -08:00
Curtis Shmyr
7f5141c338
#2447 - Disguised spies are now hidden under GPS
2012-11-04 17:47:03 +13:00
James Dunne
9c49143534
New types for cell and pixel coordinate position/vectors.
2012-06-21 15:36:59 -05:00
Chris Forbes
e02a6e7ec4
tidy more
2011-10-06 22:58:25 +13:00
Chris Forbes
55036cd58c
fix trailing whitespace everywhere
2011-09-26 08:40:39 +13:00