Commit Graph

844 Commits

Author SHA1 Message Date
Paul Chote
d1ed1bf0fb Set actor race (and icons) based on active producer. 2015-03-03 18:45:44 +00:00
Paul Chote
00a2146299 Adjust GetImage plumbing in preparation for race-specific sequences. 2015-03-02 20:46:24 +00:00
Paul Chote
f606a1bfd7 Use a consistent set of arguments for Render* ctors. 2015-03-02 20:46:23 +00:00
Bynnar18
0abe8f9b2b Fixes issues with support powers and adds property to all IOrderGenerator classes to determine priority over selection in the left-click order scheme. 2015-03-01 14:58:19 -06:00
penev92
9664e32005 Merge pull request #7424 from RoosterDragon/minor-alloc
Avoid some memory allocations
2015-02-16 20:20:40 +02:00
penev92
64887cb8c8 Move MainMenuLogic to Mods.Common 2015-02-06 13:37:43 +02:00
RoosterDragon
7e28acadd8 DrawPanelPartial now specifies each sprite as an individual parameter.
This allows some array allocations to be avoided, and makes the code more obvious since each sprite is referred to by name rather than an array index.
2015-02-02 21:16:14 +00:00
Matthias Mailänder
4899b555a9 Merge pull request #7191 from Mailaender/ts-superweapons
Added the Nod missile silo and the Ion Cannon to the Tiberian Sun mod
2015-01-29 21:48:14 +01:00
Matthias Mailänder
24deec2a7b fix CodeLineMustNotEndWithWhitespace 2015-01-25 18:41:29 +01:00
penev92
502ed6a0e7 Add SpriteHarvesterDockSequence and VoxelHarvesterDockSequence
Pass drag-related info from Refinery to HarvesterDockSequence
2015-01-25 17:17:34 +02:00
penev92
c18da7abb0 Fix harvester dock sequence names 2015-01-25 16:58:04 +02:00
penev92
202e280551 Fix OreRefinery and TiberiumRefinery names 2015-01-25 16:58:03 +02:00
Matthias Mailänder
fc16990c05 unhardcode and self-document 2015-01-24 17:35:21 +01:00
reaperrr
be9d37f30e Moves SupportPowers and related Widgets to Mods.Common 2015-01-15 13:18:11 +01:00
Oliver Brakmann
56446f5335 Merge pull request #7313 from Unit158/DropProductFix
Fixed airdrop production crash
2015-01-11 11:58:20 +01:00
reaperrr
0e1773ac5d Move Production to Mods.Common 2015-01-11 03:04:39 +01:00
Chicken man
279b7b0279 Fixed airdrop production crash 2015-01-10 20:40:39 -05:00
Taryn Hill
0dc65e5cf3 Merge pull request #7301 from abcdefg30/yearnumbers
Updated year numbers in all files.
2015-01-10 17:57:42 -07:00
Matthias Mailänder
3ef57d0180 Merge pull request #7273 from Mailaender/with-cargo-fix
Fixed WithCargo
2015-01-10 14:32:47 +01:00
abcdefg30
8ca61aa917 Updated all year numbers 2015-01-09 21:18:05 +01:00
RoosterDragon
a6cda967c2 Formatted all files.
Automatically formatted all files via VS. This generally corrects indentation, removes trailing whitespace and corrects misplaced tabs or spaces. Manually tweaked a few files where required.
2015-01-06 21:28:50 +00:00
Matthias Mailänder
c250457a34 make this fool proof by choosing a sane default 2015-01-06 20:04:45 +01:00
Matthias Mailänder
4770876fff these only store value set in the constructor 2015-01-04 20:19:22 +01:00
Matthias Mailänder
1b0e3a7a7f StyleCop clean OpenRA.Mods.RA 2015-01-04 17:02:46 +01:00
Matthias Mailänder
bc3acfeee7 StyleCop clean OpenRA.Game 2015-01-04 15:38:54 +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
ce41c60a40 Merge pull request #7244 from Hellhake/bom
Remove BOM
2015-01-02 12:11:27 +01:00
Matthias Mailänder
4c8f05e8aa Merge pull request #7178 from Mailaender/d2k-carryall-delivery
Polished the Dune 2000 shellmap to highlight both Carryalls and Sandworms
2015-01-02 11:29:15 +01:00
Hellhake
fa72e04042 Remove BOM 2015-01-01 22:51:12 +01:00
Paul Chote
df425b29b3 Merge pull request #7194 from reaperrr/move-ra-common25
More Mods.RA reorganisation, more files moved to Mods.Common
2015-01-01 16:39:26 +13:00
Matthias Mailänder
714233d72e Merge pull request #7220 from obrakmann/d2k-worm-option-and-maps
Add worms to d2k maps and add lobby option to disable them
2014-12-31 13:03:37 +01:00
Oliver Brakmann
de0a62eb42 Add a lobby option to control spawning creeps (viceroids/worms)
The lobby option is only exposed in d2k currently, not in TD or TS.
2014-12-28 19:26:39 +01:00
Paul Chote
d9752c3bdf Make production type hotkeys configurable. 2014-12-28 17:24:12 +13:00
reaperrr
9dfd369446 Move some Building traits and related elements to Mods.Common 2014-12-26 21:38:49 +01:00
reaperrr
2f67a88b93 Move Armament, Attack* and various other traits to Traits namespace 2014-12-26 21:38:48 +01:00
reaperrr
2054e41552 Dissolve Render namespace 2014-12-26 21:38:47 +01:00
reaperrr
51fe951cd6 Move SupportPowers to Traits namespace 2014-12-26 21:38:47 +01:00
reaperrr
d58807cdb8 Dissolve RA.Buildings namespace.
Move a handfull related, loose traits to RA.Traits as well.
2014-12-26 21:38:46 +01:00
Matthias Mailänder
c1d9665b3d drop in Atreides harvester replacements with carryalls
replace Harkonnen base with Emperors outpost
2014-12-25 14:25:29 +01:00
Paul Chote
91807cb53c Remove redundant StyleCop definitions. 2014-12-25 10:10:57 +01:00
Paul Chote
3086cc6154 Disable SA1024 and SA1035.
These rules generate many false positives, and do not help with code readability within OpenRA.
2014-12-25 10:10:57 +01:00
Oliver Brakmann
39d13dc654 Merge pull request #7121 from pchote/switchmods
Add Launch.Connect command and on-connect mod switching.
2014-12-24 16:06:00 +01:00
penev92
681042caec Further RA project cleanup 2014-12-23 15:18:07 +02:00
Paul Chote
ec7a32184e Move the mod-level initialisation code back into the load screen. 2014-12-23 09:20:19 +13:00
Matthias Mailänder
711a1ca5fc Merge pull request #6830 from RoosterDragon/dispose-renderer-resources
Closes #5116
2014-12-22 19:59:41 +01:00
RoosterDragon
9cbac2d5e1 Clean up style of files affected by the last commit. 2014-12-22 17:34:02 +00:00
RoosterDragon
f0f02dff5c Dispose of graphics resources deterministically.
Textures, FrameBuffers and VertexBuffers allocated by the Sdl2 Renderer were only being released via finalizers. This could lead to OpenGL out of memory errors since resources may not be cleaned up in a timely manner. To avoid this, IDisposable has been implemented and transitively applied to classes that use these resources.

As a side-effect some static state is no longer static, particularly in Renderer, in order to facilitate this change and just for nicer design in general.

Also dispose some bitmaps.
2014-12-22 17:34:01 +00:00
reaperrr
370c3c65b6 Moved AttackLeap to Mods.RA.Traits, moved AttackPopupTurreted to
Mods.Cnc.Traits
2014-12-22 18:13:30 +01:00
reaperrr
ee8e1f46c1 Move 'Activity' into its own namespace in OpenRA.Game. 2014-12-14 17:12:46 +01:00
reaperrr
b217730caa Move Activities CallFunc, RemoveSelf and SimpleTeleport to Common 2014-12-14 17:11:52 +01:00