Paul Chote
fdd4437c52
Re-enable shellmaps.
2014-05-02 22:08:41 +12:00
Paul Chote
097d6ad47c
Merge pull request #5163 from Mailaender/prettify-trait-documentation
...
Beautified the trait documentation
2014-05-02 21:32:24 +12:00
Taryn
e828541dc9
Allow multiple enum values to be parsed from yaml with the same syntax as a string[].
2014-04-30 07:15:09 -05:00
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
abf5c5a0eb
remove brackets from float2.ToString conversion
2014-04-28 09:41:24 +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
af48626020
Fix scroll offsets
...
This is not a full fix, it merely restores the functionality
already present. The ScrollPanelWidget does not work right if
Align is set to Bottom but ScrollToBottom() isn't called after
adding items and there's not enough content to scroll.
2014-04-26 17:21:42 +03:00
Pavlos Touboulidis
c099e6d09b
Fix overlay chat lines expiration
...
It wasn't working right when the widget was hidden because it
wasn't receiving any Ticks. Instead of counting, we're now using
Game.LocalTick as the tick source.
2014-04-26 03:18:46 +03:00
Pavlos Touboulidis
ddabe080cd
Style fixes
2014-04-26 03:18:12 +03:00
Pavlos Touboulidis
e6dddf3704
Style fixes
2014-04-26 02:05:06 +03:00
Matija H
a0f6038ea6
Facilitated spawn choice at game setup screen.
2014-04-25 23:27:16 +01:00
Pavlos Touboulidis
e5e97c9a11
Fix issue #5149 : Make chat window not autoscroll
...
It will autoscroll unless the chat window is open and the scroll
position is not at the bottom.
2014-04-25 16:16:54 +03:00
Pavlos Touboulidis
ef066560ad
Fix text-wrapping special case
...
If a line of text contained a whole word that was longer than the
allotted space, it would fail to wrap that line completely, even
if it was possible to wrap at other locations.
Fixing this uncovered a second issue, where it would drop the last
line if the input had more than one lines and one of the first ones
was wider than the specified width.
2014-04-25 13:54:14 +03:00
Pavlos Touboulidis
4f12882706
Minor clean up
2014-04-25 10:50:28 +03:00
Pavlos Touboulidis
fa5c8d083e
Fix chat line expiration
...
The chat display overlay would remove one chat line every X ticks.
It will now keep track of the time each chat line has to be removed
and act accordingly.
For example, if 3 chat lines are added with 1 second difference
from each other, they will be removed one after the other, with the
same 1 second difference.
2014-04-25 10:34:23 +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