Project Alice
Loading...
Searching...
No Matches
map_state.cpp File Reference
#include "map_state.hpp"
#include <glm/gtx/intersect.hpp>
#include <glm/gtx/polar_coordinates.hpp>
#include <glm/gtc/constants.hpp>
#include <glm/gtx/transform.hpp>
#include "system_state.hpp"
#include "military.hpp"
#include "parsers_declarations.hpp"
#include "gui_graphics.hpp"
#include "gui_element_base.hpp"
#include <set>
Include dependency graph for map_state.cpp:

Go to the source code of this file.

Namespaces

namespace  map
 

Functions

glm::vec2 map::get_port_location (sys::state &state, dcon::province_id p)
 
bool map::is_sea_province (sys::state &state, dcon::province_id prov_id)
 
glm::vec2 map::get_navy_location (sys::state &state, dcon::province_id prov_id)
 
glm::vec2 map::get_army_location (sys::state &state, dcon::province_id prov_id)
 
void map::update_unit_arrows (sys::state &state, display_data &map_data)
 
void map::update_bbox (std::array< glm::vec2, 5 > &bbox, glm::vec2 p)
 
bool map::is_inside_bbox (std::array< glm::vec2, 5 > &bbox, glm::vec2 p)
 
void map::update_bbox_negative (std::array< glm::vec2, 5 > &bbox, glm::vec2 p)
 
dcon::nation_id map::get_top_overlord (sys::state &state, dcon::nation_id n)
 
void map::update_text_lines (sys::state &state, display_data &map_data)