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
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
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
Paul Chote
de4898badf
Add RGBASpriteWidget.
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
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
Paul Chote
a31cdec87a
Move control group logic into its own logic class.
2014-03-22 22:32:41 +13:00
Paul Chote
6b199d3376
Add bindings to ProgressBarWidget.
2014-03-21 23:33:15 +13:00
Paul Chote
c30b18a9d6
Introduce MapCache and MapPreview for improved UI map previews.
2014-03-16 21:45:59 +13:00
Paul Chote
63068d5a7c
Fix Map.GetSpawnPoints to return CPos.
2014-03-16 21:45:59 +13:00
Matthias Mailänder
212cf93ca4
separate World and Ui LastTickTime
2014-03-14 10:07:54 +01:00
Paul Chote
a7d6f717c4
Overhaul ingame timer displays. Fixes #3062 .
2014-03-12 17:19:06 +13:00
Pizzaoverhead
7be3078115
Adds selecting of all units matching the current type across the screen or map using Ctrl + T.
2014-02-20 21:59:23 +00:00
Paul Chote
bdc593c8ea
Merge pull request #4235 from Mailaender/map-preview-crash
...
Don't crash map preview when loading a map with bogus tileset
2014-01-03 13:43:54 -08:00
Matthias Mailänder
147fb64185
don't crash map preview when the tileset can not be found
...
fixes #3033
2014-01-03 16:07:01 +01:00
Chris Forbes
d20a47d37a
Merge pull request #4396 from Mailaender/reject-move-fix
...
Fixed RejectsOrders for "Move"
2013-12-30 22:00:39 -08:00
Matthias Mailänder
7d19e25627
don't crash on empty orders
2013-12-30 08:44:14 +01:00
Matthias Mailänder
f35400ad3e
blinking ready checkbox when all slots are taken
2013-12-27 23:36:58 +01:00
Paul Chote
b8e492eda6
Attempt to pick a more sensible starting map. Fixes #4273 .
2013-12-10 09:15:56 +13:00
Paul Chote
af17cb2c0c
Merge pull request #4234 from Mailaender/minimap-utility
...
Added a minimap renderer to OpenRA.Utility.exe
2013-12-06 11:52:19 -08:00
Matthias Mailänder
08166c0a64
added a new hotkey to select all units on screen
...
closes #4182
2013-12-06 11:26:52 +01:00
Matthias Mailänder
8d9282811b
fixed System.IO.InvalidDataException`: Non-power-of-two array
2013-12-05 19:31:24 +01:00
Paul Chote
701e9e2684
Remove TextField focus when becoming disabled. Fixes #4153 .
2013-12-04 08:53:29 +13:00
Paul Chote
6881dcc710
Fix UI rendering of offset sprites.
2013-12-01 09:49:27 +13:00
reaperrr
1f789b4296
var instead of SpriteFont on TimerWidget.
2013-11-22 13:49:18 +01:00
reaperrr
09606e8ffd
Moved duplicate float2 before if as suggested.
2013-11-22 13:36:22 +01:00
reaperrr
4c92280b7e
Moved duplicated int2 in ButtonWidget before if as suggested.
2013-11-22 13:34:46 +01:00
reaperrr
f9c2e90c6b
Moves TextFieldWidget defaults to metrics.yaml.
2013-11-19 01:42:16 +01:00
reaperrr
e73b3705c6
Moves defaults for HotkeyEntryWidget to global settings in metrics.yaml.
2013-11-19 01:41:32 +01:00
reaperrr
394a2b5166
Makes ButtonWidget and Widgets based on it more customizable, sets defaults in metrics.yaml.
2013-11-19 01:39:57 +01:00
reaperrr
915bf2cff0
Makes TimerWidget LabelWidget-based for better customizability. Sets defaults for LabelWidget in metrics.yaml.
2013-11-19 01:37:01 +01:00
Paul Chote
6d6d1e230b
Remove runtime mod merging. Closes #3421 .
2013-11-15 09:54:42 +13:00
ScottNZ
1394c1dcee
Remove some misc redundancies
2013-11-12 19:39:39 +13:00
ScottNZ
00ec1ca87a
Remove unused usings
2013-11-12 19:39:33 +13:00
ScottNZ
86a3e14f2d
Remove constructor base() redundancies
2013-11-12 17:31:55 +13:00
ScottNZ
fb4e1b4805
Fix FlashTarget crash
2013-11-11 23:49:00 +13:00
Paul Chote
a1f876b13c
Use selection priority in double-click selection logic. Fixes #4053 .
2013-11-09 16:39:30 +13:00
Paul Chote
78fe3fb702
Convert Keycode to match SDL2. Fixes #4055 .
2013-11-05 18:01:35 +13:00
Matthias Mailänder
6f8e78761c
StyleCop cleanup
2013-11-02 23:18:23 +01:00