Peter Nelson
a46a3a97f3
Change: New company face definition system and UI. ( #14319 )
...
Bits used by company faces are now defined by a variable system instead of being hardcoded, allowing future expansion.
The four face types covering gender and skin colour are now separate face styles with their own definitions.
2025-06-24 07:59:49 +01:00
Peter Nelson
7c9393e822
Codechange: Remove terminator from airport tile lists. ( #14306 )
2025-05-27 20:23:59 +01:00
Peter Nelson
daef052329
Add: Generic "configure list/view" vertical ellipsis icon.
2025-05-25 09:13:05 +01:00
Rubidium
02d8ae018c
Codechange: simplify getting the value of a NewGRF property
2025-05-11 13:48:23 +02:00
Rubidium
96873dee63
Codechange: use std::array.fill over memset
2025-05-09 17:20:41 +02:00
Peter Nelson
2feba80fd7
Codechange: Codestyle fixes for elrail code.
2025-05-07 20:34:33 +01:00
Peter Nelson
4a8dd494ee
Codechange: Don't abbreviate TileLocationGroup type name.
2025-05-07 20:34:33 +01:00
Peter Nelson
1ac9f24f38
Codechange: Use (Diag)Directions when drawing catenary.
2025-05-07 17:31:29 +01:00
frosch
8571af9833
Codechange: Turn ZoomLevel into enum class.
2025-05-03 23:21:09 +02:00
Rubidium
5ca686261e
Codechange: use std::string_view for the string setting defaults
2025-05-01 23:24:43 +02:00
Rubidium
5c7b04a0c2
Codechange: use std::string_view for 'x-of-many' settings
2025-05-01 23:24:43 +02:00
Peter Nelson
d958d50985
Fix: Small order list arrow was wrong direction for RTL text. ( #14174 )
...
Add sprite for small left arrow and use for small order list when using an RTL language.
2025-05-01 22:08:24 +01:00
Rubidium
855377191e
Codechange: replace some more char*s with std::string_view
2025-04-30 23:49:06 +02:00
Peter Nelson
2c4897c2cd
Codechange: Use EnumBitSet for HouseZones. ( #14137 )
2025-04-28 20:27:43 +01:00
frosch
46494c6d44
Codechange: Rename GRFFileProps to SubstituteGRFFileProps.
2025-04-28 13:44:46 +02:00
frosch
e1859df1c0
Codechange: Use enums as keys for the spritegroups in FixedGRFFileProps.
2025-04-27 19:50:51 +02:00
Rubidium
b4d4d730a5
Codechange: use std::string_view for town name generation
2025-04-26 16:30:30 +02:00
Rubidium
fdb8defa64
Codechange: use std::string_view to parse setting values
2025-04-22 19:52:37 +02:00
frosch
d7ddea4032
Codechange: Turn AnimationTrigger enums into enum classes. ( #14067 )
2025-04-21 20:53:31 +02:00
frosch
f399b8eb29
Codechange: Unify naming of NewGRF animation callbacks.
2025-04-21 19:06:13 +02:00
frosch
368d131fb7
Codechange: Use 'construction stage' consistently, instead of 'construction state'.
2025-04-21 19:06:13 +02:00
frosch
2a62eea005
Codefix: Comment style. ( #14064 )
2025-04-21 17:25:09 +02:00
frosch
cb113cfed0
Codefix: Add missing header includes.
2025-04-20 22:06:18 +02:00
Peter Nelson
378ea52ac6
Codechange: Use EnumBitSet for CzechChooseFlags.
2025-04-16 19:44:28 +01:00
Peter Nelson
ea0817390f
Codechange: Use EnumBitSet for CzechAllowFlags.
2025-04-16 19:44:28 +01:00
frosch
03ed59a004
Codechange: Turn AnimationStatus into an enum class.
2025-04-15 20:42:44 +02:00
frosch
47f0f4dd9e
Fix: [NewGRF] Animation speed properties of houses and stations had wrong default.
2025-04-15 20:42:44 +02:00
frosch
b27fd83ff1
Codechange: Parse translation strings using StringConsumer.
2025-04-14 18:10:14 +02:00
frosch
7f82b181da
Add #12939 : [NewGRF] Add road-/tram-/rail-type variable 0x45 to get mutual road-/tram-/rail-type on same tile. ( #13934 )
2025-04-13 13:23:10 +02:00
frosch
5878db1d02
Codechange: Replace strgen Buffer with StringBuilder.
2025-04-08 23:10:58 +02:00
frosch
e6a0cf75a9
Codechange: Shift suffixes between _name_czech_adj and _name_czech_patmod to simplify code.
2025-04-03 13:58:07 +02:00
frosch
d8333fe3d7
Codechange: Czech town names unconditionally removed the last codepoint in _name_czech_adj; already do this in the source table.
2025-04-03 13:58:07 +02:00
Peter Nelson
47d078c033
Codechange: Use EnumBitSet for RailTypes.
2025-03-25 20:15:48 +00:00
Peter Nelson
732109e444
Codechange: Use EnumBitSet for RoadTypes.
2025-03-25 20:15:48 +00:00
frosch
488cda728d
Codechange: Use std::string and std::string_view instead of C strings.
2025-03-24 23:10:13 +01:00
frosch
d7768f5f51
Codechange: Use more specific integer types than 'int'.
2025-03-24 23:10:13 +01:00
frosch
b10433715d
Codechange: Turn out parameters into return values.
2025-03-24 23:10:13 +01:00
Peter Nelson
3fde611012
Codechange: Use EnumBitSet for AirportMovingDataFlags. ( #13754 )
2025-03-06 19:03:41 +00:00
Peter Nelson
2a05a845df
Feature: Snow-covered rocks are now visible.
2025-03-04 20:39:08 +00:00
Peter Nelson
913eadd6b0
Codechange: Use GetWidgetString for NewGRF debug window. ( #13697 )
2025-03-02 12:46:01 +00:00
Rubidium
b64e8c0aea
Codechange: use std::vector/std::span over MallocT for NewGRF bridge sprites
2025-02-22 15:34:32 +01:00
Peter Nelson
370c702549
Add: Show badges in NewGRF debug window. ( #13597 )
2025-02-17 22:15:45 +00:00
Peter Nelson
8f14894024
Add: NewGRF Badges.
2025-02-16 22:24:25 +00:00
Rubidium
fd4adc55e3
Codechange: replace INVALID_X with XID::Invalid() for PoolIDs
2025-02-16 20:23:00 +01:00
Rubidium
44506ebc86
Codechange: use span size over terminator object
2025-02-16 11:19:12 +01:00
Peter Nelson
ff7eb996e6
Codechange: Use variable storage for GrfProps with cargo-type groups. ( #13557 )
...
Slots are only allocated when used instead of being reserved.
Array-based GrfProps are still used when the number of options is more limited.
2025-02-14 18:30:17 +00:00
Rubidium
069ff846e4
Codechange: use std::vector/std::span for DrawTileSprites over malloc-ed table
2025-02-14 16:01:45 +01:00
Peter Nelson
f309b90a1d
Codechange: Use EnumBitSet for Airport blocks.
2025-02-13 22:02:02 +00:00
Peter Nelson
75387b9e2b
Codechange: Use EnumBitSet for StationFacility.
2025-02-13 18:03:13 +00:00
Jonathan G Rennison
d06b371254
Cleanup: Fix various spelling errors
2025-02-12 22:44:51 +01:00