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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user