The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: ceeac on May 30, 2019, 07:04:31 AM

Title: relief map code refactor
Post by: ceeac on May 30, 2019, 07:04:31 AM
This patch refactors reliefkarte_t and renames it to relief_map_t. Additionally, I renamed gui/karte.{h,cc} to gui/relief_map.{h,cc} .
Title: Re: relief map code refactor
Post by: prissi on June 03, 2019, 01:10:11 AM
Since minimap is used for the overview map, maybe we should rather go there as a name? I.e. minimap_t
Title: Re: relief map code refactor
Post by: ceeac on June 30, 2019, 11:55:15 AM
That makes sense. This would also solve any ambiguity with load_relief_frame_t.
Title: Re: relief map code refactor
Post by: ceeac on July 03, 2019, 07:00:46 AM
Updated the patch: I renamed relief_map_t to minimap_t and updated the comments to reflect that.
Title: Re: relief map code refactor
Post by: prissi on October 03, 2019, 03:02:16 AM
Incorporated in r8835, thank you.