Symphony Of Empires
map.cpp File Reference
#include <algorithm>
#include <cstdlib>
#include <cstring>
#include <functional>
#include <iostream>
#include <mutex>
#include <memory>
#include <unordered_set>
#include <glm/gtc/matrix_transform.hpp>
#include "eng3d/state.hpp"
#include "eng3d/ui/tooltip.hpp"
#include "eng3d/font_sdf.hpp"
#include "eng3d/texture.hpp"
#include "eng3d/primitive.hpp"
#include "eng3d/framebuffer.hpp"
#include "eng3d/model.hpp"
#include "eng3d/serializer.hpp"
#include "eng3d/string.hpp"
#include "eng3d/log.hpp"
#include "eng3d/orbit_camera.hpp"
#include "eng3d/flat_camera.hpp"
#include "eng3d/camera.hpp"
#include "eng3d/rivers.hpp"
#include "eng3d/borders.hpp"
#include "client/map.hpp"
#include "client/map_render.hpp"
#include "client/game_state.hpp"
#include "client/interface/province_view.hpp"
#include "client/interface/unit_widget.hpp"
#include "client/interface/battle_widget.hpp"
#include "client/interface/lobby.hpp"
#include "world.hpp"
#include "province.hpp"
#include "client/client_network.hpp"
#include "action.hpp"
Include dependency graph for map.cpp:

Go to the source code of this file.

Classes

struct  std::hash< ProvinceId >
 
struct  std::equal_to< ProvinceId >
 

Functions

std::string political_province_tooltip (const World &world, const ProvinceId id)
 
std::vector< ProvinceColorpolitical_map_mode (const World &world)
 
std::string empty_province_tooltip (const World &, const ProvinceId)
 
void draw_battles (Map &map, GameState &gs, Province &province)
 

Function Documentation

◆ draw_battles()

void draw_battles ( Map map,
GameState gs,
Province province 
)
Todo:
Display two opposing units

Definition at line 367 of file map.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ empty_province_tooltip()

std::string empty_province_tooltip ( const World world,
const  ProvinceId 
)

Definition at line 277 of file map.cpp.

Here is the caller graph for this function:

◆ political_map_mode()

std::vector<ProvinceColor> political_map_mode ( const World world)

Definition at line 270 of file map.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ political_province_tooltip()

std::string political_province_tooltip ( const World world,
const ProvinceId  id 
)

Definition at line 262 of file map.cpp.

Here is the caller graph for this function: