abcdefg30
6a31b1f9f3
Update the copyright header year
2022-05-28 00:35:10 -05:00
Eduardo Cáceres
79f321cb44
.Any(), .Count() -> .Count or .Length
2022-05-18 11:42:36 -05:00
Gustas
61df7974b0
Make the delete button not call MapCache every frame
2022-04-14 16:16:38 +02:00
penev92
bf332b6619
Fixed fields missing the readonly modifier
2022-01-22 18:47:06 +00:00
Ivaylo Draganov
7a1169744e
Add tooltips to map name and author in map chooser
2021-08-05 18:36:50 +02:00
Abdurrahmaan Iqbal
6967c1fff3
Pass KeyInput to OnKey functions
2021-07-03 14:49:03 +01:00
Andre Mohren
6810469634
Updated copyright years.
2021-06-29 18:33:21 -05:00
teinarss
82115c6bf7
Move Text handling to its own class
2021-06-04 21:47:39 +02:00
teinarss
10676be377
Replace F extension with string interpolation
2021-05-08 22:20:59 +02:00
nvrnight
b3f39bffce
Issue #18936 : The game no longer crashes when TextFieldWidget sends Enter key press and onSelect action is null.
2021-01-03 12:26:52 +01:00
teinarss
9c4fd0e3d3
Use Null-Propagation Operator
2020-08-19 18:11:07 +01:00
teinarss
27f1a7ab27
Use out var syntax
2020-08-19 18:11:07 +01:00
teinarss
19b02875c7
Use Tuple syntax
2020-08-15 10:37:10 +01:00
abcdefg30
23b3c237b7
Update the year numbers in all license headers to 2020
2020-01-05 17:00:34 +00:00
abcdefg30
cadbd0d9ab
Change the year number in all cs headers from 2018 to 2019
2019-01-26 23:15:21 +01:00
Andre Mohren
b1a44086a0
Removed unused using directives.
2018-11-17 17:23:22 +00:00
Arular101
8a60918841
Update copyright notice year to 2018
2018-01-17 00:47:34 +01:00
Taryn Hill
43317e0f5d
Update copyright notice year to 2017
2016-12-31 23:46:13 -06:00
Paul Chote
3ac42e1643
Generalise and combine cancel/confirm prompts.
2016-06-16 18:28:02 +01:00
Paul Chote
b5c2703eba
Pass random to ChooseInitialMap.
2016-03-29 23:46:12 +01:00
Paul Chote
2150a5e865
Move ChooseInitialMap to MapCache.
2016-03-29 23:46:11 +01:00
Paul Chote
96eda08677
Replace map type with a category list.
2016-03-27 12:16:55 +01:00
Paul Chote
be52c1cb72
Properly use the virtual filesystem for map loading and saving.
2016-02-28 19:27:33 +00:00
Paul Chote
84b470017f
Remove static Game.ModData references from widget logic.
2016-02-23 23:34:34 +00:00
Oliver Brakmann
4f1fa3acec
Merge pull request #10786 from pchote/mappreview-packages
...
Remove internal use of map paths.
2016-02-23 22:52:54 +01:00
Paul Chote
e71225496b
Clarify GPL version.
2016-02-21 16:30:48 +00:00
Paul Chote
b396965fd9
Update licence header year.
2016-02-21 16:27:31 +00:00
Paul Chote
d492c23a6d
Store map packages in MapPreview.
2016-02-21 16:11:36 +00:00
Oliver Brakmann
6fa4b2bbda
Fix missing 'Cancel' buttons on some confirmation prompts
2016-02-12 16:48:59 +01:00
Paul Chote
d5e3fbf452
Store map path in MapPreview.
2016-02-06 22:30:49 +00:00
Paul Chote
7a5678ec39
Move MapVisibility to MapPreview.
2016-02-06 22:28:35 +00:00
Whinis
9059e3e2c8
Changes to the RestartGame function to make it more streamlined
...
Removal of PromptAbortAction and inclusion into PromptConfirmAction
Changes to prevent a restart button being required for all mods
ConfirmAction
Addtion of named parameters to PromptConfirmAction
Moved StartGame from MissionBrowserLogic.cs to Game.cs
2016-01-15 15:34:00 -05:00
Paul Chote
bb66957bad
Truncate long map name / author in map chooser.
2015-11-08 14:59:58 +00:00
Paul Chote
b6f463729b
Add a ChromeLogic base class for chrome logic.
2015-10-21 19:35:35 +01:00
abcdefg30
e989ce2ef2
Fix possible crashes in the MapChooserLogic
2015-09-24 16:57:03 +02:00
Visa Varjus
b9f7fb4ebc
adds map filtering by PlayerCount
2015-09-20 22:06:46 +03:00
Oliver Brakmann
331ad217c2
Fix inability to delete unpacked maps
2015-05-24 14:32:46 +02:00
Oliver Brakmann
dc08b7a90a
Add buttons for map file management to map chooser
2015-05-24 01:49:30 +02: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
RoosterDragon
1515ac54f6
Enforce a line length limit.
2015-03-19 17:20:34 +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