Symphony Of Empires
game_state.cpp File Reference
#include <cstdint>
#include <cstdio>
#include <string>
#include <cstdlib>
#include <cstring>
#include <sys/types.h>
#include <filesystem>
#include "eng3d/ui/ui.hpp"
#include "eng3d/ui/input.hpp"
#include "eng3d/ui/image.hpp"
#include "eng3d/ui/label.hpp"
#include "eng3d/ui/text.hpp"
#include "eng3d/ui/progress_bar.hpp"
#include "eng3d/audio.hpp"
#include "eng3d/string.hpp"
#include "eng3d/event.hpp"
#include "eng3d/serializer.hpp"
#include "eng3d/material.hpp"
#include "eng3d/model.hpp"
#include "eng3d/texture.hpp"
#include "eng3d/log.hpp"
#include "eng3d/camera.hpp"
#include "eng3d/interface.hpp"
#include "client/game_state.hpp"
#include "product.hpp"
#include "world.hpp"
#include "action.hpp"
#include "client/client_network.hpp"
#include "client/interface/decision.hpp"
#include "client/interface/selected_units_menu.hpp"
#include "client/interface/lobby.hpp"
#include "client/interface/top_window.hpp"
#include "client/interface/army.hpp"
#include "client/interface/minimap.hpp"
#include "client/map.hpp"
#include "client/map_render.hpp"
#include "server/server_network.hpp"
#include "client/interface/main_menu.hpp"
Include dependency graph for game_state.cpp:

Go to the source code of this file.

Functions

void handle_popups (std::vector< TreatyId > &displayed_treaties, GameState &gs)
 
std::vector< std::string > parse_arguments (int argc, char **argv)
 
void create_startup_ui (GameState &gs)
 
void startup (GameState &gs)
 
void update_production_queue (GameState &gs)
 
void client_update (GameState &gs, std::vector< TreatyId > &displayed_treaties)
 
void client_render (GameState &gs)
 
int main (int argc, char **argv)
 

Function Documentation

◆ client_render()

void client_render ( GameState gs)

Definition at line 434 of file game_state.cpp.

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

◆ client_update()

void client_update ( GameState gs,
std::vector< TreatyId > &  displayed_treaties 
)

Definition at line 409 of file game_state.cpp.

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

◆ create_startup_ui()

void create_startup_ui ( GameState gs)

Definition at line 320 of file game_state.cpp.

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

◆ handle_popups()

void handle_popups ( std::vector< TreatyId > &  displayed_treaties,
GameState gs 
)

Definition at line 90 of file game_state.cpp.

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

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 444 of file game_state.cpp.

Here is the call graph for this function:

◆ parse_arguments()

std::vector<std::string> parse_arguments ( int  argc,
char **  argv 
)

Definition at line 304 of file game_state.cpp.

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

◆ startup()

void startup ( GameState gs)

Definition at line 343 of file game_state.cpp.

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

◆ update_production_queue()

void update_production_queue ( GameState gs)
Todo:
Make a better queue AI

Definition at line 383 of file game_state.cpp.

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