Paul Chote
839419635d
Improve contrasted range circle rendering.
2013-10-15 10:45:51 +13:00
Paul Chote
e03ec690ff
Track actor positions in ActorMap.
2013-09-27 15:36:51 +12:00
Paul Chote
b00cc6108d
Make ActorMap addition explicit.
2013-09-27 15:36:51 +12:00
Paul Chote
dfd51c0caa
Introduce ScreenMap trait for caching screen-coord queries.
2013-09-27 15:36:25 +12:00
Paul Chote
ce41eb2361
Add "Build off Ally ConYards" option. Fixes #2464 .
2013-08-17 14:42:40 +12:00
Paul Chote
4754cbb768
Replace IOrderGenerator.RenderBeforeWorld with world-sorted .Render.
...
Range circles have been moved to RenderAfterWorld for now.
2013-08-11 00:25:54 +12:00
Paul Chote
b02fd0d002
Remove BibLayer and use sequences / RenderSprites instead.
2013-08-11 00:25:53 +12:00
Paul Chote
04e5edc811
Rewrite bib to match new FrozenUnderFog capabilities.
2013-08-04 19:42:16 +12:00
Paul Chote
b54ffdbabd
Add FrozenUnderFog property to BibLayer.
...
Note: This implements the desired behavior
for FrozenUnderFog, so is still inconsistent
with its current (broken) behavior.
2013-07-25 18:11:53 +12:00
Paul Chote
f95c19e5b2
Fix BibLayer style nits.
2013-07-24 21:01:17 +12:00
Paul Chote
c3f04cc32e
Convert non-aircraft positioning to world coords.
...
This removes the incomplete and unused hover code
on Mobile, which would be more trouble that it is
currently worth to carry over.
2013-07-21 17:35:47 +12:00
Paul Chote
19165d259d
Add world coord overloads to IOccupySpace and IPositionable.
2013-07-21 17:35:46 +12:00
Paul Chote
ecc119cb29
Combine IHasLocation -> IOccupySpace, IMove -> ITeleportable.
2013-07-21 17:33:32 +12:00
Paul Chote
ddd1314613
Convert ScreenShaker to world coords.
2013-07-20 15:34:28 +12:00
Paul Chote
0c35e49239
Remove PPos from range circle drawing.
2013-07-20 15:34:28 +12:00
Paul Chote
11cebddaa9
Convert Sound.Play* to WPos.
2013-07-11 17:37:27 +12:00
Paul Chote
89fd889cf4
Convert Target positions to world coords.
2013-07-08 21:52:28 +12:00
Paul Chote
39e699d119
Convert BaseProvider range check to world coords.
2013-07-08 21:52:24 +12:00
Paul Chote
7beef85a64
Use PaletteReferences everywhere.
2013-06-15 19:16:08 +12:00
Paul Chote
e7aa6ce998
Change traits to use RenderSprites directly.
2013-05-28 22:34:58 +12:00
Paul Chote
462478afdf
Convert building rendering to world coordinates.
2013-05-17 18:12:27 +12:00
Paul Chote
c428cad70c
Refactor per-player shrouds & fix shellmap shroud.
2013-04-10 19:36:03 +12:00
Paul Chote
9127d0dcf4
Support a maximum building range ( Fixes #2156 ).
...
This also implements support for a per-provider
cooldown between placing structures, allowing mods
with multiple structure queues to rate-limit
placement around a single provider.
An initial delay parameter is included to
support units that deploy into a base provider and
require an initial setup time (e.g. the Surveyor
unit from C&C TW).
The range and time restrictions are not applied to
walls as a balance choice.
2013-03-30 23:00:26 +13:00
Paul Chote
4dc5c4a871
Fix BuildingInfo formatting.
2013-03-30 22:48:17 +13:00
Matthias Mailänder
0a82bfe552
format TODO: uniformly to auto-generate task list in MonoDevelop
2013-03-27 09:45:17 +01:00
Matthias Mailänder
c731a7960e
embed the previously manually edited outdated documentation
...
from https://github.com/OpenRA/OpenRA/wiki/Trait-Documentation
2013-03-20 21:20:27 +01:00
Matthias Mailänder
17d032b190
destructible trees for both CnC and RA mod
...
- move DeadBuildingState to OpenRA.Mods.RA
- don't loop sequences with length > 1
2013-03-10 10:08:59 +01:00
Matthias Mailänder
f3e0ff8758
fix #2709 CustomBuildTimeValue should not desync
...
remove redundant code by outsourcing raw build time calculation
2013-03-08 09:40:11 +01:00
Paul Chote
43159a0e05
Remove RepairIndicator dependence on target RenderSimple.
...
This also fixes the case where the building palette doesn't
match the indicator, and saves 2 trait lookups per tick.
2013-02-25 21:12:01 +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
Chris Forbes
cd1a29f1ea
repair cost is always at least 1 per tick
2012-09-23 17:37:35 +12:00
Chris Forbes
f984934270
add Building.Locked, and Lock()/Unlock() conveniences
2012-09-13 07:05:58 +12:00
Matthias Mailänder
7a578a0679
notifications (formerly EVAalerts) centralized and race specific
...
outsourced into notifications.yaml
triggered with PlayNotification(...)
(v2: less redundant code for PlayVoice/Notifications)
added harvester under attack and battlecontrol terminated
2012-07-01 14:39:30 +12:00
Matthias Mailänder
ed6a625c69
nonstandard build time value for a cnc classic mod fixes #2164
...
remove the testcase in structures.yaml if unwanted for cnc mod
2012-06-28 13:10:41 +12:00
James Dunne
9c49143534
New types for cell and pixel coordinate position/vectors.
2012-06-21 15:36:59 -05:00
Chris Forbes
c34b254fd8
stop repairing a building if we don't like its owner (fixes interaction with capture)
2011-12-31 10:50:18 +13:00
Chris Forbes
45c41b6696
allow building repair always
2011-11-24 15:23:08 +13:00
Chris Forbes
6cb8ee1f9f
expose appropriate *Inits, and make them work in editor
2011-11-06 18:17:13 +13:00
Chris Forbes
cd155b21c9
tidy up some bizarre namespacing
2011-11-04 20:13:41 +13:00
Chris Forbes
cbee1513f3
fix formatting in CanPowerDown
2011-11-04 20:02:09 +13:00
Chris Forbes
bfddbeeb02
fixed #1232 -- bots repair their own damaged buildings
2011-10-31 09:10:01 +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
Curtis S
be9948426c
1078: Added ally repairing for CNC and RA
2011-09-10 16:41:40 -06:00
Curtis S
1d052bbfa2
Powered down buildings now display a "powered off" animation
2011-09-08 20:31:16 +12:00
Chris Forbes
67b4ef3084
#1108 changed BuildingInfo.WaterBound to a list of terraintypes. makes it possible to have buildings with custom terrain requirements
2011-08-17 07:52:35 +12:00
Chris Forbes
a74fd17d39
remove a Turreted lookup every render for RenderBuildingTurreted
2011-08-15 14:32:10 +12:00
Chris Forbes
1aa80e0377
fix #960 -- HackyAI shouldn't put itself in low power so much.
2011-08-15 14:23:54 +12:00
Paul Chote
19ead53223
Add a WarnCrush method to ICrushable which is called when a crusher begins to enter the cell.
2011-07-15 20:10:21 +12:00
Paul Chote
98ae8c7630
Take ownership into account when determining crushability. Fixes the important half of #951 (tanks crushing your own walls).
2011-07-14 21:00:50 +12:00