17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-03 08:30:23 +01:00

Fix the base map orientation, drop the city overlay, keep td.scn out of the editor

The Geoportal images arrive with their first row at the north edge, which is
the opposite of what the default texture coordinates assume - the vertical
ones are now swapped, for the picker's base map and the orthophoto alike.

With the real map carrying its own detail as the view zooms in, the drawn
city markers had nothing to add and are gone, along with the coordinate
table behind them. Only the country's extent remains, to open the picker on.

-editor no longer inherits the scenery named in eu07.ini. That is whatever
was last driven, which has nothing to do with editing; without an explicit
-s the editor opens on empty ground.
This commit is contained in:
maj00r
2026-07-31 19:47:11 +02:00
committed by maj00r
parent 8d007291e2
commit 32a4df6111
4 changed files with 27 additions and 92 deletions

View File

@@ -9,25 +9,13 @@ http://mozilla.org/MPL/2.0/.
#pragma once
#include <string>
#include <vector>
#include <glm/glm.hpp>
namespace editor
{
// a named point to start a scenery from, in EPSG:2180 metres
struct map_place
{
std::string name;
glm::dvec2 position;
};
// larger cities, to put the view somewhere recognisable before picking the exact spot
std::vector<map_place> const &poland_places();
// the whole country's extent in EPSG:2180 metres, as the starting view of a location picker
// the whole country's extent in EPSG:2180 metres, as the opening view of a location picker. from
// there the base map itself carries the detail, so nothing else has to be drawn on top of it
void poland_extent(glm::dvec2 &Min, glm::dvec2 &Max);
} // namespace editor