Commit Graph

498 Commits

Author SHA1 Message Date
Paul Chote
a081321790 Add copy/paste to the map editor. 2015-11-10 22:18:18 +00:00
Paul Chote
1c06297ff7 Make editor brushes disposable. 2015-11-10 22:17:28 +00:00
Oliver Brakmann
4bbf6ea0c7 Merge pull request #9925 from atlimit8/MultiLineMapEditorTooltips
Multi-line map editor tooltips
2015-11-10 21:06:57 +01:00
Paul Chote
491e96466d Truncate player name in replay browser. 2015-11-09 18:55:54 +00:00
Zimmermann Gyula
6b891c50cf Fix observer GUI showing disabled support powers. 2015-11-09 19:55:51 +01:00
Paul Chote
6236b29fde Truncate player name in observer stats and diplomacy panels. 2015-11-09 18:51:15 +00:00
Paul Chote
dcc21aea41 Truncate player name in ingame menu stats. 2015-11-09 18:50:58 +00:00
Paul Chote
fed2029d1f Truncate long player names in lobby. 2015-11-08 14:59:59 +00:00
Paul Chote
cfc92f66a4 Truncate long server names in MP browser. 2015-11-08 14:59:59 +00:00
Paul Chote
19aa07d019 Truncate long map name in replay browser. 2015-11-08 14:59:59 +00:00
Paul Chote
b689364a4d Truncate long map name / mod version in MP panel. 2015-11-08 14:59:59 +00:00
Paul Chote
bb66957bad Truncate long map name / author in map chooser. 2015-11-08 14:59:58 +00:00
Paul Chote
ef3a0e36e0 Truncate long map name / author in lobby. 2015-11-08 14:59:58 +00:00
Paul Chote
6edac4bdf7 Set the default map location to the support dir. 2015-11-08 12:08:20 +00:00
atlimit8
9c0d83d0d9 Make ActorSelector tooltips better match actor tooltips in map editor 2015-11-07 16:10:13 -06:00
atlimit8
cbc8d1c5ec Multiline support for SimpleTooltipLogic 2015-11-07 16:10:00 -06:00
Pavel Penev
5df01b2137 Merge pull request #9916 from pchote/news-from-the-future
Fetch battlefield news once per game launch.
2015-11-07 14:12:03 +02:00
Paul Chote
b235e244a4 Fetch battlefield news once per game launch. 2015-11-07 11:29:34 +00:00
Paul Chote
797f800966 Add unread message count to lobby chat tabs. 2015-11-07 10:59:18 +00:00
RoosterDragon
6f09d1a2f4 Remove event handler when disposed in MainMenuLogic.
Removes a static event handler to Game.OnRemoteDirectConnect which allow the GC to reclaim the MainMenuLogic class after it has been disposed.
2015-11-04 23:09:33 +00:00
RoosterDragon
9f728b287b Remove event handlers to CellEntryChanged when done.
Several classes would attach event handlers to the Map which would live longer then they did. Detaching them when no longer needed allows the GC to reclaim them.
2015-11-04 23:09:32 +00:00
Oliver Brakmann
177d983728 Merge pull request #9759 from atlimit8/ActorsHavingTrait
Add ActorsHavingTrait<TTrait>()
2015-11-04 22:26:10 +01:00
atlimit8
74c63812eb Show only missing required "mod (version)"s 2015-11-01 17:14:46 -06:00
Pavel Penev
2faf15bad7 Add an Install Mod dialog to the ModChooser 2015-11-01 22:35:38 +02:00
Pavel Penev
9748b556dc Add RequiresMods tag to the mod Manifest
List required mods and their versions to enable mod dependencies on another mods.
Also used for identifying the engine version by `modchooser`'s version.
2015-11-01 22:22:03 +02:00
atlimit8
b6f17df260 Add ActorsHavingTrait<TTrait>([Func<TTrait, bool]) 2015-10-28 16:36:45 -05:00
Matthias Mailänder
d2ce79e580 avoid a possible null return value musicTab 2015-10-26 21:45:40 +01:00
Matthias Mailänder
e435864531 don't dereference null return value 2015-10-26 21:21:47 +01:00
reaperrr
f166fd9525 Merge pull request #9526 from penev92/tileShapes
Rename TileShape to fit its role better
2015-10-26 15:41:09 +01:00
Pavel Penev
b16ebd480b Rename MapGridType.Diamond to MapGridType.RectangularIsometric 2015-10-26 00:42:30 +02:00
Pavel Penev
0e417a3cf3 Rename MapGridType.Rectangle to MapGridType.Rectangular 2015-10-26 00:41:26 +02:00
Pavel Penev
bb3aea338a Rename enum TileShape to MapGridType 2015-10-26 00:41:21 +02:00
RoosterDragon
7c889c5ef0 Fix TOCTOU issues when calling Game.RunAfterDelay.
Since the action runs after a delay, the state of the game may no longer be the same and it may no longer be valid to run the action. Anything that references the world now calls IsCurrentWorld to ensure the world hasn't changed or been disposed.
2015-10-25 19:44:21 +00:00
Paul Chote
be37717e6d Account for cross-mod tile shapes in map previews. 2015-10-24 22:02:46 +01:00
Paul Chote
c0f42904f0 Overhaul the server browser. 2015-10-24 21:58:31 +01:00
teees
7f96ee4589 Multi line simple tooltips 2015-10-22 09:42:50 +02:00
Pavel Penev
ccddc37c08 Merge pull request #9701 from pchote/widget-baseclass
Add a common ChromeLogic base class and lint verification.
2015-10-22 00:39:43 +03:00
Paul Chote
fa2b10b269 Integrate global chat with the server lobby. 2015-10-21 19:38:28 +01:00
Paul Chote
3d7d7ff2a5 Allow chrome yaml to define disabled text fields. 2015-10-21 19:38:28 +01:00
Paul Chote
b6f463729b Add a ChromeLogic base class for chrome logic. 2015-10-21 19:35:35 +01:00
Oliver Brakmann
c1dda97836 Merge pull request #9586 from pchote/irc-common
Overhaul IRC in preparation for the global chat UI
2015-10-18 19:31:07 +02:00
Matthias Mailänder
b14f5ca608 Merge pull request #9661 from pchote/editor-preview-fix
Update the UID stored in the map file after saving.
2015-10-18 08:27:22 +02:00
Paul Chote
cf875c3db6 Update the UID stored in the map file after saving. 2015-10-17 23:25:52 +01:00
Paul Chote
83949b250a Add a visualisation mode for depth sprites.
For now this displays the raw sprites.  It will
eventually be repurposed for rendering the proper
depth data.
2015-10-17 22:35:47 +01:00
Paul Chote
e819ff832b Record the SheetType in each Sheet. 2015-10-17 22:28:19 +01:00
Paul Chote
a3fe2b3d35 Overhaul the IRC implementation.
* Simplified UI plumbing.
* Improves handling of errors and kicks.
* Persists chat history between session.
* Fixes leaks of the old widget tree when exiting.
* A few small UI polish improvements.
2015-10-17 22:13:22 +01:00
Paul Chote
4ba78f65b9 Add Dispose support to widget logic objects. 2015-10-17 22:13:22 +01:00
Joppy Furr
6ded247d0c Change mouse cursors while joystick scrolling
This patch adds mouse cursors to the joystick scrolling feature.

On Tiberian Sun, which itself had joystick scrolling, the same cursors are
used as in the original game.

As the older games did not have joystick scrolling, I've had to make a
best-effort guess as to what were suitable cursors.
  -> When scrolling in all directions is available, the default arrow
     cursor is used.
  -> When a direction is blocked, the edge-scrolling blocked direction
     cursor is used.
2015-10-16 11:53:53 +13:00
abcdefg30
cd62873003 Add team chat for spectators 2015-10-15 16:20:17 +02:00
abcdefg30
db37b14392 Minor code (style) cleanup 2015-10-15 15:05:17 +02:00