Commit Graph

355 Commits

Author SHA1 Message Date
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
James
5000369463 Fixed TFD Not Creating Install Directory 2015-10-12 19:52:49 +01:00
Oliver Brakmann
d741c86ed8 Merge pull request #9549 from pchote/lobby-music
Add a music player to the game lobby.
2015-10-08 21:40:04 +02:00
Matthias Mailänder
d199ba5048 Merge pull request #9520 from obrakmann/make-scroll-keys-remappable
Add hotkey configuration for scroll keys
2015-10-08 20:15:55 +02:00
Paul Chote
73adfe0bfc Add music player to lobby. 2015-10-05 22:43:19 +01:00
abcdefg30
36b7524d37 Merge pull request #9491 from cjshmyr/gameinprogress
Fix incorrect "In progress" time shown in server browser
2015-10-05 16:34:13 +02:00
Curtis Shmyr
2b3432e68e Fix incorrect gametime in progress shown in server browser 2015-10-04 17:08:10 -06:00
gitTerebi
86c57a270b Add hotkey configuration for scroll keys 2015-10-04 22:04:44 +02:00
Matthias Mailänder
01fc961bd3 Merge pull request #9539 from pchote/lobby-prep
Prepare for lobby layout overhaul.
2015-10-04 20:58:30 +02:00
Matthias Mailänder
1a8ec3745b Merge pull request #9540 from obrakmann/fix9530
Fix H and Home keys not working when the shroud debug option is enabled
2015-10-04 20:49:53 +02:00
Oliver Brakmann
f98a55c72f Fix H and Home keys not working when the shroud debug option is enabled 2015-10-04 18:46:05 +02:00
Paul Chote
c6740b1bcb Inherit lobby bin size from the root. 2015-10-04 17:26:38 +01:00
Paul Chote
b73f775ef2 Move the player bin header to lobby-players.yaml. 2015-10-04 17:26:32 +01:00
Joppy Furr
07273fa666 Add support for Tiberian Sun style right-click-and-drag scrolling
This patch introduces support for the right-click-and-drag scrolling that
is available in Tiberian Sun and Red Alert 2. It can be enabled by
selecting "Joystick" scrolling in the Input settings.

The speed of the scroll is proportional to the product of the distance of
the drag, and the Scroll Speed selected in the Input settings menu.

A side-effect of this is that events previously tied to right clicks on
the world are now based on the release of the click rather than the press.

The "Middle-Mouse Scrolling:" option is renamed
to "Mouse Scrolling Method:"
2015-10-04 16:22:55 +13:00
Oliver Brakmann
8c6872fff0 Merge pull request #9387 from pchote/mission-gamespeed
Add game speed dropdown to the mission browser.
2015-09-28 21:05:30 +02:00
Oliver Brakmann
8f0ce91f63 Merge pull request #9090 from Mailaender/cloak-reveal
Fixed cloaked units getting revealed by tooltips
2015-09-27 21:26:09 +02:00
Matthias Mailänder
f4bb55113c fix cloak getting revealed by frozen actor tooltips 2015-09-27 15:05:07 +02:00
Paul Chote
3322f34e7b Add game speed option for missions. 2015-09-27 10:28:34 +01:00
Pavel Penev
642468ce0c Add MapGrid class
MapGrid is a mod Manifest field which includes (and thus makes redundant) TileSize, TileShape, SubCells info and MaximumTerrainHeight.
2015-09-27 04:14:43 +03:00
Paul Chote
9aa5828155 Merge pull request #9307 from obrakmann/fix6174_beacon-key-in-replays
Make some navigation keys available to spectators
2015-09-26 11:30:50 +01:00
Paul Chote
7ceb283034 Merge pull request #9263 from penev92/assetInstallation
Move asset installation to the ModChooser
2015-09-26 10:40:04 +01:00
abcdefg30
e989ce2ef2 Fix possible crashes in the MapChooserLogic 2015-09-24 16:57:03 +02:00
Pavel Penev
c41446e022 Merge pull request #9139 from Mailaender/editor-cash-counter
Added a total resource cash counter to the map editor
2015-09-24 15:07:15 +03:00
Pavel Penev
2c27452a44 Merge pull request #9386 from atlimit8/FinishWrappingActorInfoTraits
Finish wrapping ActorInfo.Traits
2015-09-24 14:40:07 +03:00
atlimit8
1f247a0a51 Merge pull request #9220 from GraionDilach/observer-clocks
Add customizable properties to observer clocks.
2015-09-23 21:07:01 -05:00
atlimit8
8e0f5bb943 Merge pull request #9361 from visav/player-count-map-filter
Extends MapChooserLogic.mapFilter to match against PlayerCount
2015-09-23 18:46:45 -05:00
Pavel Penev
50ea12723c Streamline mod changing after installation
- Don't return to the ModChooser after a successful installation.
 - Don't reload the ModChooser after a cancelled installation.
2015-09-23 15:33:06 +03:00
Pavel Penev
4401e1aa0c Pipe mod music installation through the ModChooser 2015-09-23 15:33:03 +03:00
Pavel Penev
0e7122acad Enable mod asset installation from CD from the modchooser 2015-09-23 15:33:00 +03:00
Pavel Penev
bdcb0fee58 Enable mod asset package downloading from the modchooser 2015-09-23 15:32:57 +03:00
Pavel Penev
d472805fc6 Add mod asset checks to ModBrowserLogic 2015-09-23 15:32:37 +03:00
Pavel Penev
82bf66a9be Generalise progress bars 2015-09-23 15:32:33 +03:00
Pavel Penev
19388fd773 Add ButtonBaseLine metric 2015-09-23 15:32:29 +03:00
Zimmermann Gyula
1358024b38 Add customizable properties to observer clocks. 2015-09-22 23:30:48 +02:00
atlimit8
9acf121eb1 Replace ActorInfo.Traits.WithInterface with ActorInfo.TraitInfos<T>() 2015-09-21 15:50:57 -05:00
atlimit8
6e39a5e264 Replace .WithInterface<T>().Any() => .HasTraitInfo<T>() 2015-09-21 15:50:57 -05:00
Oliver Brakmann
28c78f6085 Make a number of navigation keys available to spectators
This will make the following keys available to spectators and in replays:

* Center screen on last event/beacon [Space]
* Center screen on current selection [Home]
* Cycle construction yards [H]
* Cycle production buildings [Tab]

The latter two need a player view to work, the former two work in all
views.
2015-09-20 22:39:06 +02:00
Visa Varjus
b9f7fb4ebc adds map filtering by PlayerCount 2015-09-20 22:06:46 +03:00
Paul Chote
ef55d646f7 Unstatic the Sound class. 2015-09-20 14:11:06 +01:00