Commit Graph

56 Commits

Author SHA1 Message Date
Matthias Mailänder
d4d55bb6dc modularize the remaining legacy ingame interface widgets
and consolidate chrome root initialization
2015-01-04 17:57:38 +01:00
Matthias Mailänder
bc3acfeee7 StyleCop clean OpenRA.Game 2015-01-04 15:38:54 +01:00
reaperrr
cb3ba37462 StyleCop fixes 2015-01-04 15:02:19 +01:00
reaperrr
654f56c5d5 Moves Attack, Armament, Move, Air traits and activities as well as anything required by them to Mods.Common.
Extracts Exit from Production into its own trait.
2015-01-04 05:24:28 +01:00
Oliver Brakmann
158517c09f Merge pull request #7251 from Mailaender/stylecop-clean-game
StyleCop cleaned OpenRA.Game Part 1
2015-01-04 01:00:56 +01:00
Matthias Mailänder
44cd174a8d StyleCop clean OpenRA.Game 2015-01-03 19:00:48 +01:00
penev92
62601491ad Move Enter and Repair Building activities, EngineerRepair trait and ActorExts to Mods.Common and extract IgnoresDisguise trait to its own file 2015-01-03 07:03:41 +02:00
penev92
b1e2e5bea6 Move PlayerStatistics to Mods.Common 2015-01-03 07:03:40 +02:00
penev92
0e71580af6 Move DetectCloaked to Mods.Common 2015-01-03 07:03:40 +02:00
penev92
5e1af58bbe Move Gives/Gains Experience and Bounty to Mods.Common 2015-01-03 07:03:28 +02:00
Matthias Mailänder
9dd607c846 Merge pull request #7230 from RoosterDragon/occupied-cells-arrays
Make OccupiedCells implementations return arrays.
2015-01-02 17:38:56 +01:00
Hellhake
fa72e04042 Remove BOM 2015-01-01 22:51:12 +01:00
RoosterDragon
fe24304a21 Make OccupiedCells implementations return arrays.
Since there are only one or two items, it's cheaper to return a concrete collection and avoid the overhead of the compiler generated state machine.

This in particular speeds up Shroud.GetVisOrigins when dealing with Mobile.OccupiedCells, as the expensive CanEnterCell call is made only once rather than twice.
2014-12-30 17:25:04 +00:00
reaperrr
311e347ad2 Style fixes 2014-12-26 22:10:52 +01:00
reaperrr
9dfd369446 Move some Building traits and related elements to Mods.Common 2014-12-26 21:38:49 +01:00
reaperrr
2054e41552 Dissolve Render namespace 2014-12-26 21:38:47 +01:00
Paul Chote
9e47634d0f Fix public/static ordering. 2014-12-26 12:13:08 +13:00
Paul Chote
362b4aeaef Fix variable ordering. 2014-12-26 12:13:08 +13:00
Paul Chote
22ab35f681 Fix capitalization. 2014-12-26 12:13:08 +13:00
Paul Chote
805039530d Info -> info. 2014-12-26 12:13:07 +13:00
Paul Chote
673ebba135 Fix invalid spacing style warnings. 2014-12-26 12:13:07 +13:00
penev92
681042caec Further RA project cleanup 2014-12-23 15:18:07 +02:00
RoosterDragon
c37a691c33 Convert some keys users of CellLayer to index via map-coords for efficiency. 2014-12-20 23:39:03 +00:00
reaperrr
51cc87a8dc Move Tooltip to Mods.Common 2014-12-20 15:19:26 +01:00
reaperrr
de224a381d Make WithRotor independent from WithTurret
Move WithRotor to Mods.Common
2014-12-19 13:18:32 +01:00
Oliver Brakmann
280b30961f Add plumbing for short game option 2014-12-18 20:03:26 +01:00
Oliver Brakmann
470ae17271 Move mission objectives and victory conditions to Mods.Common 2014-12-18 20:03:26 +01:00
reaperrr
4bf50c9153 Move more traits from Mods.RA to Mods.Common 2014-12-14 17:11:50 +01:00
penev92
1e9535b63a Move more files
Move VoxelNormalsPalette to TS
2014-12-14 15:39:38 +02:00
Paul Chote
ecd3809bc2 Fix a collection of whitespace-style issues in Mods.Common. 2014-12-14 17:06:43 +13:00
reaperrr
26075b8eaf Moves loadscreens into LoadScreens folder/namespace.
Moves LoadWidgetAtGameStart to Traits/World.
2014-12-11 23:21:34 +01:00
reaperrr
75b91af023 TimedUpgradeBar moved to Traits/Render 2014-12-11 23:21:33 +01:00
reaperrr
aadceb085b Renames RallyPoint effect to RallyPointIndicator 2014-12-11 23:21:32 +01:00
reaperrr
ffca040c47 Moves traits from Common and Power namespaces to Common.Traits namespace 2014-12-11 23:21:31 +01:00
reaperrr
9a1e110481 Move some Render traits to Mods.Common 2014-12-11 23:10:06 +01:00
penev92
ce2c536a1a Move Upgrades and Prerequisites 2014-12-10 00:07:07 +02:00
penev92
09350528fd Moving renders
Remove Traits.Render
2014-12-09 01:29:25 +02:00
atlimit8
92779cc496 Support multiple Power traits 2014-12-04 14:19:50 -06:00
atlimit8
47357addeb Add Upgrade support to Power/CanPowerDown 2014-12-04 04:12:21 -06:00
Matthias Mailänder
5361b920ca document various traits 2014-11-30 19:08:44 +01:00
Matthias Mailänder
43f4e3f5c3 document "Value" 2014-11-30 16:53:32 +01:00
atlimit8
bbd54cb32f Added IDisabledTrait & rewrote upgrade code using a level-based approach.
Upgradeable traits are notified whenever an upgrade of their declared types are granted or revoked.  The traits maintain their own internal level counter, which is then used to enable or disable the trait functionality.  A trait can register for multiple upgrade types which then all affect the internal level counter.

	IDisabledTrait for identifying (and filtering) disabled traits
	UpgradableTrait provides an abstract base for traits to support upgrade levels
	Added IDisabledTrait support to GlobalButtonOrderGenerator

	Includes rework by pchote with alterations.
2014-11-26 05:45:26 -06: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
5213aef105 Move Palette traits into Traits\World 2014-11-14 01:01:47 +01:00
reaperrr
0cbcae93a9 Move Valued, CustomSellValue and CustomBuildTimeValue to Common 2014-11-14 01:01:46 +01:00
reaperrr
5e866b862b Move Burns from RA to Common, move RallyPoint to Traits folder 2014-11-14 01:01:44 +01:00
reaperrr
41f3ee1080 Move ShroudPalette, ShroudRenderer and StartGameNotification to Common
Move World into Traits folder
2014-11-14 00:59:17 +01:00
reaperrr
3372914216 Move some traits from RA.Buildings to Common 2014-11-14 00:33:30 +01:00
reaperrr
2043c31e05 Move most palette-related stuff + nuke effect + Immobile trait to Mods.Common 2014-11-09 04:17:02 +01:00