Project Alice
Loading...
Searching...
No Matches
map.hpp File Reference
#include "glew.h"
#include "map_modes.hpp"
#include "opengl_wrapper.hpp"
#include <glm/vec2.hpp>
#include <glm/mat4x4.hpp>
Include dependency graph for map.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  map::map_vertex
 
struct  map::screen_vertex
 
struct  map::curved_line_vertex
 
struct  map::textured_line_vertex
 
struct  map::textured_line_with_width_vertex
 
struct  map::textured_line_vertex_b
 
struct  map::text_line_vertex
 
struct  map::text_line_generator_data
 
struct  map::border
 
class  map::display_data
 

Namespaces

namespace  sys
 
namespace  parsers
 
namespace  map
 

Macros

#define GLEW_STATIC
 

Functions

void map::load_river_crossings (parsers::scenario_building_context &context, std::vector< uint8_t > const &river_data, glm::ivec2 map_size)
 
void map::make_navy_path (sys::state &state, std::vector< map::curved_line_vertex > &buffer, dcon::navy_id selected_navy, float size_x, float size_y)
 
void map::make_army_path (sys::state &state, std::vector< map::curved_line_vertex > &buffer, dcon::army_id selected_army, float size_x, float size_y)
 
glm::vec2 map::put_in_local (glm::vec2 new_point, glm::vec2 base_point, float size_x)
 
void map::add_bezier_to_buffer (std::vector< map::curved_line_vertex > &buffer, glm::vec2 start, glm::vec2 end, glm::vec2 start_per, glm::vec2 end_per, float progress, bool last_curve, float size_x, float size_y, uint32_t num_b_segments)
 
void map::add_tl_bezier_to_buffer (std::vector< map::textured_line_vertex > &buffer, glm::vec2 start, glm::vec2 end, glm::vec2 start_per, glm::vec2 end_per, float progress, bool last_curve, float size_x, float size_y, uint32_t num_b_segments, float &distance)
 
void map::add_tl_bezier_to_buffer (std::vector< map::textured_line_with_width_vertex > &buffer, glm::vec2 start, glm::vec2 end, glm::vec2 start_tangent, glm::vec2 end_tangent, float progress, bool last_curve, float size_x, float size_y, uint32_t num_b_segments, float &distance, float width_start, float width_end)
 

Macro Definition Documentation

◆ GLEW_STATIC

#define GLEW_STATIC

Definition at line 4 of file map.hpp.