Commit Graph

64 Commits

Author SHA1 Message Date
reaperrr
2d7c1a3394 Rename CommonTraitsInterfaces to TraitsInterfaces, move to Traits namespace 2014-12-19 13:18:36 +01:00
reaperrr
ffca040c47 Moves traits from Common and Power namespaces to Common.Traits namespace 2014-12-11 23:21:31 +01:00
reaperrr
5aec72ce6d Adds Mods.Common usings where necessary. 2014-11-05 20:46:53 +01:00
atlimit8
cc9c253419 Moved SellSounds from Building to Sellable & added upgrade to rules. 2014-09-04 15:25:19 -05:00
atlimit8
63c28ee4d7 Refactored in new enum SubCell 2014-08-29 23:00:53 -05:00
atlimit8
43478dd500 enum SubCell => int & Dictionary<SubCell, WVec> => WVec[] 2014-08-04 18:09:26 -05:00
ScottNZ
692e3a9c88 Move Power out of Building and into its own trait
Conflicts:
	mods/ts/rules/structures.yaml
2014-08-03 18:53:51 +12:00
atlimit8
4d23b71f2c Fixed D2K turrets. 2014-07-25 19:53:23 -05:00
atlimit8
72a30e2157 Appears to fix sticky locking of preplaced buildings 2014-07-25 17:07:15 -05:00
Paul Chote
2b91a2363b Fix make animations. 2014-07-08 16:56:09 +12:00
Matthias Mailänder
394d635dae new trait WithMakeAnimation 2014-07-06 08:24:08 +02:00
Paul Chote
d7f1b1c9e2 Remove CVec -> WVec conversion. 2014-06-27 23:30:41 +12:00
Paul Chote
a256e722d5 Remove conversions between legacy and world types. 2014-06-27 23:30:41 +12:00
Paul Chote
7b52fa52b6 Replace CPos.CenterPosition -> Map.CenterOfCell. 2014-06-27 23:30:40 +12:00
RoosterDragon
22abf9b4c4 Remove and sort usings. 2014-06-18 21:43:35 +01:00
Pavlos Touboulidis
77fb188585 Move ClampToWorld from WorldUtils to Map 2014-06-13 13:59:40 +03:00
Pavlos Touboulidis
63ec6d60e7 Refactoring to remove static Rules & SequenceProvider 2014-05-17 14:32:03 +03:00
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
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
e6c041e53f Fix PBOG and Building to support concrete placement. 2014-03-18 15:28:49 +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
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
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
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
Chris Forbes
f984934270 add Building.Locked, and Lock()/Unlock() conveniences 2012-09-13 07:05:58 +12:00
James Dunne
9c49143534 New types for cell and pixel coordinate position/vectors. 2012-06-21 15:36:59 -05: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
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
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
43d8750aad fixed #728: BuildableInfo.BaseNormal -> GivesBuildableArea 2011-06-28 23:11:20 +12:00
Chris Forbes
83c80377d0 formatting in Building 2011-05-22 20:39:01 +12:00
Chris Forbes
b3908606c3 remove some silly cost centers in Building 2011-05-22 20:39:00 +12:00
Chris Forbes
9d7ac73410 pull BuildingInfluence trait lookup out of the inner loop of building placement 2011-05-02 10:47:25 +12:00
Paul Chote
43f81501a8 Split Capturable into its own trait 2011-04-10 10:07:00 +12:00
Paul Chote
86e8c3974f Fix #611 - prereqs handled by traits. Make both cnc power plants valid for prereqs. 2011-03-17 22:26:28 +13:00