Project Alice
Loading...
Searching...
No Matches
system_state.cpp File Reference
#include <algorithm>
#include <functional>
#include <thread>
#include "system_state.hpp"
#include "dcon_generated.hpp"
#include "map_modes.hpp"
#include "opengl_wrapper.hpp"
#include "window.hpp"
#include "gui_element_base.hpp"
#include "parsers_declarations.hpp"
#include "gui_console.hpp"
#include "gui_minimap.hpp"
#include "gui_unit_panel.hpp"
#include "gui_topbar.hpp"
#include "gui_province_window.hpp"
#include "gui_outliner_window.hpp"
#include "gui_event.hpp"
#include "gui_map_icons.hpp"
#include "gui_diplomacy_request_window.hpp"
#include "gui_message_window.hpp"
#include "gui_naval_combat.hpp"
#include "gui_land_combat.hpp"
#include "gui_chat_window.hpp"
#include "gui_state_select.hpp"
#include "gui_error_window.hpp"
#include "gui_diplomacy_request_topbar.hpp"
#include "map_tooltip.hpp"
#include "unit_tooltip.hpp"
#include "demographics.hpp"
#include "rebels.hpp"
#include "ai.hpp"
#include "effects.hpp"
#include "gui_leader_select.hpp"
#include "gui_nation_picker.hpp"
#include "gui_end_window.hpp"
#include "gui_map_legend.hpp"
#include "gui_unit_grid_box.hpp"
#include "blake2.h"
#include "fif_common.hpp"
Include dependency graph for system_state.cpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  sys::build_queue_data
 

Namespaces

namespace  ui
 
namespace  sys
 

Macros

#define US_SAVE(x)
 
#define US_LOAD(x)
 

Functions

void ui::create_in_game_windows (sys::state &state)
 
void sys::list_pop_types (sys::state &state, parsers::scenario_building_context &context)
 

Variables

constexpr int32_t sys::tooltip_width = 400
 

Macro Definition Documentation

◆ US_LOAD

#define US_LOAD (   x)
Value:
if(ptr > content.data + content.file_size - sizeof(user_settings.x)) break; \
std::memcpy(&user_settings.x, ptr, sizeof(user_settings.x)); \
ptr += sizeof(user_settings.x);

◆ US_SAVE

#define US_SAVE (   x)
Value:
std::memcpy(ptr, &user_settings.x, sizeof(user_settings.x)); \
ptr += sizeof(user_settings.x);