Commit Graph

109 Commits

Author SHA1 Message Date
Matthias Mailänder
01a3162725 allow animations to pause on low power
closes #2949
2014-04-20 14:47:53 +02:00
Paul Chote
4935266945 Merge FileFormats dll into Game and reorganise namespaces. 2014-04-17 01:20:47 +12:00
Taryn
61749e145d Added LineBuildNode trait to filter which structure(s) a LineBuild actor can be attached to. 2014-03-27 20:47:46 -05:00
Kanar
fc2d0510d8 Adds minibibs for bibless buildings in RA and C&C. 2014-03-25 13:23:05 +01:00
Paul Chote
96cc1276c2 Add BuildComplete property to Building and start initially locked. 2014-03-21 10:03:53 +13:00
Paul Chote
c01c5ff72d Actors outside the world can't grant buildable area. 2014-03-18 15:46:07 +13:00
Paul Chote
972f3ae8dc Don't stomp over other building's influence. 2014-03-18 15:46:07 +13:00
Paul Chote
e367ce4457 Fix BuildingInfluence style nits. 2014-03-18 15:46:07 +13:00
Paul Chote
e6c041e53f Fix PBOG and Building to support concrete placement. 2014-03-18 15:28:49 +13:00
Paul Chote
50d89629a2 Add BuildableTerrainLayer and LaysTerrain traits. 2014-03-18 15:28:49 +13:00
Paul Chote
3050cff67c Support concrete bibs in D2K. 2014-03-18 15:28:48 +13:00
Matthias Mailänder
c78a856894 C4 demolishable bridges 2013-12-26 21:22:47 +01:00
Paul Chote
1a31368953 Convert range circle rendering to world coords. 2013-12-26 17:23:12 +13:00
ScottNZ
00ec1ca87a Remove unused usings 2013-11-12 19:39:33 +13:00
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