Paul Chote
b29b685058
Rename Fluent-related code to be more precise.
2024-10-04 15:11:27 +03:00
RoosterDragon
0649f3dc32
RCS0056 - roslynator_max_line_length = 160
2024-07-29 21:56:36 +02:00
Gustas
d427072cc9
Extract StoresResources from Harvester
2023-09-23 19:06:07 +02:00
dnqbob
19c8c36030
Replace Cash + Resources with GetCashAndResources()
2023-09-07 16:40:57 +03:00
dnqbob
931118e1d8
Add GetCashAndResources() to PlayerResources, to get overall credits.
2023-09-07 16:40:57 +03:00
Matthias Mailänder
c609c4af14
Extract text feedback messages.
2023-08-19 20:46:04 +03:00
Matthias Mailänder
1899eed839
Add localisation support to transient lines.
2023-08-19 20:46:04 +03:00
RoosterDragon
d83e579dfe
Fix CA1305
2023-08-07 21:38:09 +02:00
Gustas
a065e6a47c
Fix map level lobby options not being translated
2023-04-22 19:23:41 +02:00
RoosterDragon
8a285f9b19
Fix IDE0090
2023-04-08 16:51:51 +03:00
abcdefg30
5bf7fe852c
Remove the copyright year numbers
2023-01-11 11:58:54 +02:00
Ivaylo Draganov
8513de0b47
Fix error in PlayerResources trait documentation
...
This was missed in #19295
2022-12-16 12:14:54 +02:00
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
Ivaylo Draganov
24b9482cc1
Add support for transient text notifications matching speech notifications
2022-04-30 12:39:29 +01:00
RoosterDragon
727084c5fc
Run spell check over solution
2021-12-05 19:23:43 +01:00
Ivaylo Draganov
091d756c14
Change lobby options description to make sense in both disabled and enabled state
2021-10-09 08:43:28 -05:00
Andre Mohren
6810469634
Updated copyright years.
2021-06-29 18:33:21 -05:00
reaperrr
f1a9a5180d
Use real (milli)seconds for notifications
...
Allows for more fine-grained control, while
adding independence from gamespeed and getting
rid of magic * 25 multiplications.
2021-04-21 19:34:16 +02:00
Paul Chote
abee274f88
Remove direct access to MapPreview.Rules.
2021-04-21 18:57:44 +02:00
Matthias Mailänder
5a0bcc01a6
Add a lint check for trait placement on hardcoded actor names.
2021-04-11 20:20:00 +02:00
teinarss
e12ff2c59d
Remove our own ReadOnlyDictionary and update usages
2021-04-03 11:33:31 +02:00
Paul Chote
0bdd46451e
Overhaul resource layer logic:
...
* ResourceType trait has been removed.
* Simulation-related data is now defined on the
ResourceLayer (which mods can subclass/replace).
* Support non-money resources by moving the resource
values to the PlayerResources trait.
* Allow mods to disable the neighbour density override
and instead always use the map-defined densities.
* Allow mods to define their own resource placement
logic (e.g. allow resources on slopes) by subclassing
(Editor)ResourceLayer.
* Improve ability to subclass/override ResourceRenderer
by exposing more virtual methods.
2021-03-20 16:45:41 +01:00
Paul Chote
6e7ad9df25
Remove vestigial translation plumbing.
...
This was never completed to the level required to
be properly used ingame.
2020-12-25 16:18:28 +01:00
Paul Chote
86f61298e6
Replace ITraitInfo interface with TraitInfo class.
2020-05-21 13:01:04 +02:00
abcdefg30
23b3c237b7
Update the year numbers in all license headers to 2020
2020-01-05 17:00:34 +00:00
teinarss
ce29dcad87
Update PlayerResources capacity from INotify* methods
2019-08-28 00:32:01 +02:00
Paul Chote
78a70be0d4
Fix and enable SA1133, SA1134 style rules.
2019-05-24 10:47:57 +02:00
abcdefg30
cadbd0d9ab
Change the year number in all cs headers from 2018 to 2019
2019-01-26 23:15:21 +01:00
Paul Chote
09d8aafddf
Add a lint test for audio notifications.
...
Only traits are linted - the UI still hardcodes
too many audio references for this to be worthwhile.
2018-09-26 13:57:05 +02:00
Andre Mohren
e353ff326e
Extracted CashTickUp and CashTickDown to PlayerResources.
2018-09-24 22:43:14 +02:00
Paul Chote
8c0f4fde81
Fix newlines in C# files.
2018-07-01 11:08:32 +02:00
GSonderling
bf4dbd9b80
Added checks to make sure cash can't be < 0.
2018-05-07 19:47:41 +02:00
Paul Chote
da29250711
Move PlayerResources to Mods.Common.
2018-04-28 20:42:10 +02:00