News:

Simutrans Tools
Know our tools that can help you to create add-ons, install and customize Simutrans.

relief map code refactor

Started by ceeac, May 30, 2019, 07:04:31 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ceeac

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} .

prissi

Since minimap is used for the overview map, maybe we should rather go there as a name? I.e. minimap_t

ceeac

That makes sense. This would also solve any ambiguity with load_relief_frame_t.

ceeac

Updated the patch: I renamed relief_map_t to minimap_t and updated the comments to reflect that.

prissi

Incorporated in r8835, thank you.