Cyprian Klimaszewski and GitHub
549f357a19
Codechange: Make Foundation a scoped enum. ( #15676 )
2026-06-06 18:51:53 +01:00
Peter Nelson and Peter Nelson
0e951f3528
Codechange: make TransparencyOption a scoped enum
2026-05-31 18:59:51 +01:00
Peter Nelson and Peter Nelson
f010c21f1a
Codechange: make DiagDirection a scoped enum
2026-05-31 13:11:53 +01:00
Rubidium and rubidium42
2ff631caa2
Codechange: make GameMode a scoped enum
2026-05-30 23:20:20 +02:00
Peter Nelson and Peter Nelson
c74431e734
Codechange: make Axis a scoped enum
2026-05-27 07:49:39 +01:00
Rubidium and rubidium42
bcda4a72ee
Codechange: make WindowClass a scoped enum
2026-05-20 21:39:04 +02:00
Tyler Trahan and GitHub
49c36f1b39
Codechange: Use enum class for GenWorldProgress ( #15560 )
2026-05-19 13:26:02 +00:00
Peter Nelson and Peter Nelson
2868060660
Codechange: make LiveryScheme a scoped enum
2026-05-18 20:05:19 +01:00
Peter Nelson and GitHub
792f6d99a3
Codechange: make ExpensesType a scoped enum ( #15572 )
2026-05-04 08:20:52 +01:00
Tyler Trahan and GitHub
826e9a3c8c
Change: Generate lighthouses along coasts and near towns ( #14828 )
2026-04-30 14:52:21 -04:00
Peter Nelson and Peter Nelson
c45aa3c9b6
Codechange: use EnumBitSet for CargoTypes
2026-04-21 17:13:31 +01:00
Peter Nelson and GitHub
2bf84ea78c
Codechange: make GrfSpecFeature a scoped enum ( #15487 )
2026-04-19 19:04:27 +01:00
Rubidium and rubidium42
8bbad0dfaf
Codechange: Object's colour is actually a recolour offset
2026-04-18 21:28:08 +02:00
Rito12 and rubidium42
f7e20ecb4e
Cleanup: STR_ERROR_TOO_CLOSE_TO_EDGE_OF_MAP_SUB is not needed.
2026-02-23 17:14:56 +01:00
Rubidium and rubidium42
6be4e353bc
Codechange: use designated initialisers for _tile_type_object_procs
2026-02-18 17:03:33 +01:00
Rubidium and rubidium42
4adf494ebc
Codechange: enum-class-ify Commands
2026-01-28 23:32:51 +01:00
Rubidium and rubidium42
98f27ed83c
Fix #15166 : foundations missing adjacent to NewGRF objects without foundation
2026-01-27 20:23:26 +01:00
Cyprian Klimaszewski and rubidium42
97f3e5b70f
Codechange: Make TileType enum an enum class.
2026-01-24 08:34:05 +01:00
Cyprian Klimaszewski and rubidium42
322ce224b4
Codechange: Make Price an enum class.
2026-01-14 22:07:02 +01:00
Tyler Trahan and GitHub
b41e23270d
Codefix: Clean up object area placement ( #15062 )
2026-01-08 20:51:03 +00:00
Rubidium and rubidium42
2fcd4e189a
Codechange: replace 'new PoolItem(...' with 'PoolItem::Create(...'
2026-01-03 16:04:32 +01:00
Peter Nelson and GitHub
d80ed069b5
Fix 2d7d085e8e: "(Invalid parameter)" in error message when trying to remove another player's object. ( #14981 )
...
Formatted error string was thrown away.
2025-12-25 17:21:43 +00:00
Cyprian Klimaszewski and GitHub
99f04f27de
Doc: Update information for receiving a copy of GPL. ( #14869 )
2025-12-07 11:25:08 +00:00
Peter Nelson and GitHub
98275ee5d3
Codechange: Use enum class for water-related enums. ( #14804 )
2025-11-19 20:35:11 +00:00
Tyler Trahan and GitHub
e8d49ebfe6
Fix: Two lighthouse spawn issues ( #14785 )
...
* Fix: Lighthouses need sea to generate, not rivers
* Fix: Don't spawn lighthouses close together
2025-11-17 12:55:23 +00:00
Rito12 and GitHub
f759b691d7
Codechange: Use helper function for company recolour offset ( #14740 )
2025-11-03 12:25:32 +00:00
Jonathan G Rennison and GitHub
9307e1929e
Fix #14604 : Clearing tiles to build objects did not update town ratings ( #14616 )
2025-09-27 18:11:42 +01:00
Tyler Trahan and GitHub
0b99a0b66a
Feature: Draw infinite water when all borders are water ( #13289 )
2025-09-26 14:37:27 +00:00
Peter Nelson and Peter Nelson
f30f808b50
Codechange: Implement tile proc handler to test for building bridge over tile.
2025-08-20 21:40:41 +01:00
Peter Nelson and Peter Nelson
0a1c0b8b48
Change: Hide bridge pillars if obstructed by tile below.
...
Tiles can now control if pillars are drawn on a bridge above it. There is no visible change with default bridges.
2025-08-15 23:20:18 +01:00
Peter Nelson and GitHub
921d83c324
Codechange: Unify structures with sprite sub-tile bounds and simplify bounding boxes. ( #14424 )
...
Lots of different structs contain variations on sub-tile bounds with different naming. Unify into a single struct that can be inherited and passed directly to AddSortableSpriteToDraw.
At the same time, offsets now work more logically: sub-tile bounds now specify the bounding box, and an offset can be applied to the sprite.
2025-07-22 00:02:00 +01:00
Rubidium and rubidium42
96873dee63
Codechange: use std::array.fill over memset
2025-05-09 17:20:41 +02:00
frosch and frosch
a277cb2b4c
Change: [NewGRF] Increase the textstack for all callbacks to 16 registers.
2025-05-09 12:39:11 +02:00
Peter Nelson and Peter Nelson
a7019b859c
Codechange: Use DiagDirections when checking for flat buildable tiles.
2025-05-07 17:31:29 +01:00
frosch and frosch
eb9bbb2456
Codechange: Remove direct access to temporary storage from TextRefStack.
2025-05-06 22:24:41 +02:00
frosch and frosch
6faa667644
Codechange: Remove global GetRegister(), instead return 100+ registers directly from GetXxxCallback().
2025-05-06 22:24:41 +02:00
frosch and GitHub
d7ddea4032
Codechange: Turn AnimationTrigger enums into enum classes. ( #14067 )
2025-04-21 20:53:31 +02:00
Peter Nelson and GitHub
e1fdc10227
Fix e114ed357d: Incorrect test of object flags allowed HQ to be removed. ( #14062 )
2025-04-21 15:45:29 +01:00
frosch and frosch
b956af631e
Codechange: Replace CircularTileSearch with SpiralTileSequence.
2025-04-20 12:50:45 +02:00
frosch and frosch
cde350dc01
Codechange: Replace macros GENERAL_SPRITE_COLOUR and COMPANY_SPRITE_COLOUR with functions GetColourPalette and GetCompanyPalette.
2025-04-18 23:41:37 +02:00
frosch and frosch
68016031cf
Codechange: Turn macros GetCompanyHQSize and IncreaseCompanyHQSize into functions.
2025-04-18 23:41:37 +02:00
Peter Nelson and GitHub
2c59838acb
Codechange: (re)set multiple bitset flags in one call. ( #14017 )
2025-04-18 14:07:57 +01:00
Peter Nelson and GitHub
89948b941b
Codechange: Use emplace_back instead of push_back. ( #13855 )
2025-03-20 17:39:10 +00:00
Peter Nelson and GitHub
17f7d0950e
Fix #13838 : Formatted error message of sub-errors may be lost. ( #13840 )
2025-03-18 08:39:40 +00:00
Rubidium and rubidium42
5ea5855677
Codechange: use std::move over copying where applicable
2025-03-16 17:33:06 +01:00
Peter Nelson and Peter Nelson
96f260e718
Codechange: Pass TileDesc by reference.
2025-02-23 23:00:51 +00:00
Rubidium and rubidium42
24a7cde9cc
Codechange: explicitly initialise Company member variables
2025-02-22 16:33:05 +01:00
Rubidium and rubidium42
8682f39966
Codechange: explicitly initialise Object member variables
2025-02-18 18:51:44 +01:00
Rubidium and rubidium42
44506ebc86
Codechange: use span size over terminator object
2025-02-16 11:19:12 +01:00
Rubidium and rubidium42
069ff846e4
Codechange: use std::vector/std::span for DrawTileSprites over malloc-ed table
2025-02-14 16:01:45 +01:00