Commit Graph

46 Commits

Author SHA1 Message Date
Paul Chote
73adfe0bfc Add music player to lobby. 2015-10-05 22:43:19 +01: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
atlimit8
9acf121eb1 Replace ActorInfo.Traits.WithInterface with ActorInfo.TraitInfos<T>() 2015-09-21 15:50:57 -05:00
Paul Chote
ef55d646f7 Unstatic the Sound class. 2015-09-20 14:11:06 +01:00
abcdefg30
6cbcd66b87 Merge pull request #9215 from LipkeGu/upnp_externalip_fix
Move NAT Logic from ClientTooltipLogic into its own Function at LobbyUtils.
2015-09-19 17:22:02 +02:00
atlimit8
09984683a7 Add ActorInfo.TraitInfo[OrDefault]<T>() requiring ITraitIfo types 2015-09-19 09:56:14 -05:00
Guido L
8a1a6945f1 Fix and move Logic into its own Function in LobbyUtils 2015-09-14 23:19:50 +02:00
Paul Chote
301b698c81 Add game speed dropdown to the lobby. 2015-09-06 17:48:41 +01:00
abcdefg30
67966ad704 Merge pull request #8731 from deniz1a/simplify-lobby-logic
Simplifies Start button logic in lobby
2015-08-24 21:27:05 +02:00
Pavel Penev
dec2696e76 Change "Change faction" lobby command 2015-08-22 23:34:40 +03:00
Pavel Penev
05e081043b Rename last usages of "race" in UI YAML files 2015-08-22 23:34:38 +03:00
abcdefg30
dae70321c2 Merge pull request #8792 from deniz1a/reveal-shroud
Changes shroud lobby setting from disabling shroud to revealing it.
2015-08-12 22:04:15 +02:00
Pavel Penev
faf0da6994 Rename Session.Slot.LockRace 2015-08-05 18:11:10 +03:00
Pavel Penev
2f38239f32 Clean up LobbyUtils from "race" a bit 2015-08-05 18:07:26 +03:00
Pavel Penev
5eaf5b5b51 Rename Session.Client.Race 2015-08-05 17:45:56 +03:00
Pavel Penev
50f4508123 Rid SpawnSelectorTooltipLogic from "Country" 2015-08-05 17:35:07 +03:00
Pavel Penev
957af9ac5e Rename SpawnOccupant.Country 2015-08-05 17:31:00 +03:00
deniz1a
2ca949dbd2 Renames Shroud lobby option to Explored map. 2015-08-04 17:31:07 +03:00
Paul Chote
5952d8c979 Fix crash when opening music player from TD lobby. 2015-08-01 20:52:20 +01:00
deniz1a
ac6e915839 Simplifies Start button logic in lobby. 2015-07-25 23:03:14 +03:00
penev92
dc30e5a46d Rename LobbyCountry to LobbyFaction 2015-07-25 00:20:58 +03:00
deniz1a
f5b4befc75 Resets chat text field in lobby when Esc is pressed. 2015-07-24 23:21:37 +03:00
deniz1a
7337afcfeb Improves player name text field in game lobby.
Esc key resets text field to unmodified value and yields focus.
2015-07-24 23:13:17 +03:00
penev92
b8aa92c4be Rename Player.DisplayCountry to Player.DisplayFaction 2015-07-15 04:10:13 +03:00
penev92
bb648decc3 Rename Player.Country to Player.Faction 2015-07-15 04:06:52 +03:00
penev92
2e04fb5ddd Rename Faction trait members
Rename Faction.Race to Faction.InternalName
2015-07-14 18:50:39 +03:00
penev92
a1af5386e0 Rename the Country trait to Faction 2015-07-14 18:50:31 +03:00
Matthias Mailänder
7efdd6820f make the description label optional 2015-05-31 20:59:11 +02:00
Pavel Penev
3666fabf1e Merge pull request #8137 from Mailaender/sanitize-player-name
Added a client side player name sanitation
2015-05-30 22:21:32 +03:00
Pavel Penev
902cd124ba Merge pull request #8149 from Mailaender/fetch-geoip-db
Automatized GeoIP database download
2015-05-24 16:43:22 +03:00
Oliver Brakmann
1854d994fd Split map chooser in system- and user-installed map lists 2015-05-24 01:28:22 +02:00
Oliver Brakmann
72c0f9b8dc Allow non-hosts to open the map chooser 2015-05-23 23:38:30 +02:00
Matthias Mailänder
8e919d3215 move GeoIP functions into it's own class
extract the geoip database .gz in-game
2015-05-23 16:00:46 +02:00
Matthias Mailänder
736b169319 sanitize player names 2015-05-23 15:07:13 +02:00
RoosterDragon
748b37ede7 Ensure we never return a null string from LookupCountry. 2015-04-29 19:27:49 +01:00
Paul Chote
3cfa96e7a6 Fix random country display. 2015-04-20 03:33:46 +12:00
Oliver Brakmann
28310ce2fc Allow players locked to unplayable factions in the lobby 2015-04-17 20:50:15 +02:00
penev92
2c108a1845 Use proper names and flags for unknown players 2015-04-04 17:24:19 +03:00
penev92
a26be8188c Hide faction for players who randomed in diplomacy and objectives panels 2015-03-28 20:44:05 +02:00
RoosterDragon
1515ac54f6 Enforce a line length limit. 2015-03-19 17:20:34 +00:00
abcdefg30
63fe578ba8 Allow picking of a random subfaction 2015-03-12 21:34:23 +01:00
Matthias Mailänder
ff6dbde8d7 move widget code to commons 2015-02-28 20:32:19 +01:00
Paul Chote
8d51fb0e66 Use ActorPreviewWidget for the color pickers. 2015-02-10 15:22:42 +00:00
RoosterDragon
82bea961ba Checked LINQ queries and collections for inefficiencies.
- Made Array.IndexOf available via extension method.
- Made ToHashSet extension method.
- Change collections queried often via Contains into sets.
- Avoid Count() extension if Count or Length property exist.
- Made Count() > 0 checks and variations calls to Any() instead.
- Don't call ToList/ToArray if there is no benefit to materializing the sequence.
- If the sequence does benefit from materialization, follow this general pattern:
  - Collection queried often via Contains use ToHashSet to speed up lookups.
  - Short lived variables use ToList. This is because ToArray requires an extra copy to output the final size.
  - Collections persisted into fields or for a long time use ToArray to minimize memory overhead.
2015-01-29 19:20:11 +00:00
Matthias Mailänder
5aeb6eda06 move connection UI to commons 2015-01-17 15:17:54 +01:00