Commit Graph

3191 Commits

Author SHA1 Message Date
reaperrr
c8815e1413 Un-hardcodes pip/tag/group palettes.
-Palette for decorations can now be defined under SelectionDecorations trait.
-Adds pip types Ammo and AmmoEmpty.
-LimitedAmmo PipTypes are now customizable.
-Adds art, sequences and rules entries for TS mod decorations that were missing/using a wrong palette.
-Adds PrimaryBuilding trait to TS weapon factories and helipads.
2014-04-28 20:03:00 +02:00
Matthias Mailänder
7517cbb941 Merge pull request #5197 from pavlos256/minor-cleanup
Minor cleanup
2014-04-27 18:33:13 +02:00
Pavlos Touboulidis
45944a053c Replace (and remove) custom Set<T> with HashSet<T> 2014-04-27 00:01:33 +03:00
Pavlos Touboulidis
c28faffa45 Remove custom Stopwatch wrapper
Remove the redirection (that doesn't offer any new functionality)
and replace it with the familiar System.Diagnostics.Stopwatch.
2014-04-26 23:58:18 +03:00
Pavlos Touboulidis
275f6683c6 Remove unused and obsolete Cached.cs
This was similar to Lazy<T>
2014-04-26 23:28:23 +03:00
Oliver Brakmann
63f4a0646f Fix build palette showing too many queued items when BuildLimit is reached
When a BuildLimit on an actor type is set and nearly reached, you could
shift-click the build palette and it would show it had five more items
queued when really less are allowed to be built. This fixes it so that
only the allowed number of items is enqueued, and thus showing the
correct number on the build palette.
2014-04-26 16:27:02 +02:00
Pavlos Touboulidis
e6dddf3704 Style fixes 2014-04-26 02:05:06 +03:00
Pavlos Touboulidis
603dd1d866 Style fixes 2014-04-24 13:46:06 +03:00
Pavlos Touboulidis
c17f706772 Prettier PerfTimer output 2014-04-23 16:52:52 +03:00
Pavlos Touboulidis
36a660385c Fix OpenRA.Lint throwing because "perf" log channel does not exist
Slightly modified the Log class to allow dummy channels that don't
write anywhere, then use it on Lint because map loading writes to
the "perf" channel.
2014-04-23 13:22:14 +03:00
Pavlos Touboulidis
9dc2b3cd76 Optimize ComputeHash by removing Concat() and ToArray() calls 2014-04-23 03:48:49 +03:00
Pavlos Touboulidis
2d8cd8299f Add more perf measurements 2014-04-23 03:43:46 +03:00
Pavlos Touboulidis
c44d73d581 Improve PerfTimer output 2014-04-23 03:42:27 +03:00
Pavlos Touboulidis
60732bd9bd Repurpose unused Timer.cs and add some loading perf metrics 2014-04-23 01:58:30 +03:00
Pavlos Touboulidis
035834978d Make Stopwatch.ElapsedTime() a property and TimeSpan 2014-04-23 00:56:07 +03:00
Matthias Mailänder
f19fbb1794 StyleCop 2014-04-20 15:26:33 +02:00
Matthias Mailänder
a8a3036bc4 moved StartGameNotification into its own trait 2014-04-20 15:25:43 +02:00
Paul Chote
595e56c08b Merge pull request #5143 from Mailaender/skirmish-bots-forbidden-slots
Fixed bots being added when the map disallows it
2014-04-21 01:13:03 +12:00
Paul Chote
048289e6a9 Merge pull request #5138 from Mailaender/disable-idle-overlay
Fixed the Dune 2000 outpost radar dish rotating when powered down
2014-04-21 00:59:38 +12:00
Matthias Mailänder
ab3dc92554 only add bots when the map allows it
fixes #5110
2014-04-20 14:58:57 +02:00
Matthias Mailänder
01a3162725 allow animations to pause on low power
closes #2949
2014-04-20 14:47:53 +02:00
Paul Chote
8e05cc9171 Merge pull request #5124 from Mailaender/crane-overlay
Added crane build animation to construction yards in Dune 2000 and Tiberian Sun
2014-04-21 00:46:23 +12:00
Paul Chote
e125e4ab26 Merge pull request #5142 from Mailaender/pixeldouble-hotkey
Added a new hotkey to trigger pixel doubling
2014-04-21 00:15:25 +12:00
Matthias Mailänder
00ca5516fc add crane animation to Dune 2000 and Tiberian Sun
closes #3754
2014-04-19 13:12:32 +02:00
Paul Chote
48753bdae8 Merge pull request #5133 from ScottNZ/new-menu
Add singleplayer mission menu to ra/td
2014-04-19 19:38:36 +12:00
Matthias Mailänder
9f386e81a5 disallow adding actors from other players to control groups
closes #4949
2014-04-19 08:39:41 +02:00
ScottNZ
22dd2b0a92 Add singleplayer mission menu to ra/td 2014-04-19 15:54:55 +12:00
Matthias Mailänder
9c483a912e added a new hotkey to trigger pixel doubling
closes #5122
2014-04-18 17:49:55 +02:00
Matthias Mailänder
5d6b26b971 fixed Reference is expected Line 89 position 6 2014-04-18 09:36:22 +02:00
Matthias Mailänder
9099e987d3 update to GeoIP2 and parse the database only once
closes #4227
2014-04-18 07:48:13 +02:00
reaperrr
c9b162ec3c Added ExplosionPalette and WaterExplosionPalette traits to Warheads.
This is needed for TS water splashes, for example (they use unit*.pal instead of anim.pal).
Defaults to "effect".
2014-04-18 01:23:09 +02:00
Paul Chote
4935266945 Merge FileFormats dll into Game and reorganise namespaces. 2014-04-17 01:20:47 +12:00
Paul Chote
1b2a90c00c Migrate to System.Lazy. 2014-04-09 20:20:41 +12:00
Matthias Mailänder
67cd0645a4 update to .NET 4.0 2014-04-09 20:20:26 +12:00
Matthias Mailänder
b8646f98ab Merge pull request #5016 from obrakmann/disable-shellmaps
Disable shellmaps temporarily
2014-04-03 17:56:23 +02:00
Oliver Brakmann
4d71e37ab0 Disable shellmaps temporarily 2014-04-03 17:24:01 +02:00
Paul Chote
94b2debaa4 Merge pull request #4941 from Mailaender/kill-husks
Made husks targetable with force fire only
2014-04-04 03:56:33 +13:00
Matthias Mailänder
c76ebbdc46 exclusive force fire on husks and bridges 2014-04-03 15:57:41 +02:00
Paul Chote
c720cb0b41 Extract mod selector into its own mod. 2014-04-03 07:21:56 +13:00
Paul Chote
de4898badf Add RGBASpriteWidget. 2014-04-03 07:15:03 +13:00
Paul Chote
3f63eb4ec6 Allow SheetBuilder to be used from mod code. 2014-04-03 07:15:03 +13:00
Paul Chote
b5c63175e2 Allow button tooltip labels to be set by UI logic. 2014-04-03 07:15:03 +13:00
Paul Chote
8694698a1a Fix tooltips not displaying in the pre-shellmap environment. 2014-04-03 07:15:03 +13:00
Paul Chote
a5223a519c Allow custom button types. 2014-04-03 07:15:02 +13:00
Paul Chote
aa77536e96 Support borderless panel types. 2014-04-03 07:15:02 +13:00
Paul Chote
143d3aa083 Replace ShpImageWidget -> SpriteSequenceWidget. 2014-04-02 19:24:07 +13:00
Paul Chote
1ea48b0167 Add a lighter-weight SpriteWidget to eventually replace ShpWidget. 2014-04-01 22:16:10 +13:00
Matthias Mailänder
272e872357 Merge pull request #4942 from pchote/more-replays
Overhaul observer shroud selector.
2014-03-22 12:20:40 +01:00
Paul Chote
3a8c94d8f8 Hook up observer view keybindings. Fixes #4435.
Uses 0-9 to select view (plus shift to cycle backwards), '-' for                 combined shroud and '=' for world view.
2014-03-22 23:18:52 +13:00
Paul Chote
a31cdec87a Move control group logic into its own logic class. 2014-03-22 22:32:41 +13:00