Project Alice
Loading...
Searching...
No Matches
game_scene.cpp File Reference
Include dependency graph for game_scene.cpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  game_scene
 

Functions

void game_scene::switch_scene (sys::state &state, scene_id ui_scene)
 
void game_scene::do_nothing_province_target (sys::state &state, dcon::nation_id nation, dcon::province_id target, sys::key_modifiers mod)
 
void game_scene::do_nothing (sys::state &state)
 
void game_scene::do_nothing_screen (sys::state &state, int32_t x, int32_t y, sys::key_modifiers mod)
 
bool game_scene::belongs_on_map (sys::state &state, ui::element_base *checked_element)
 
map::map_view game_scene::get_view (sys::state &state)
 
float game_scene::get_effects_volume (sys::state &state)
 
void game_scene::selected_units_control (sys::state &state, dcon::nation_id nation, dcon::province_id target, sys::key_modifiers mod)
 
void game_scene::open_diplomacy (sys::state &state, dcon::nation_id nation, dcon::province_id target, sys::key_modifiers mod)
 
void game_scene::select_player_nation_from_selected_province (sys::state &state)
 
void game_scene::select_wargoal_state_from_selected_province (sys::state &state)
 
void game_scene::send_selected_province_to_province_window (sys::state &state)
 
void game_scene::start_dragging (sys::state &state, int32_t x, int32_t y, sys::key_modifiers mod)
 
void game_scene::stop_dragging (sys::state &state, int32_t x, int32_t y, sys::key_modifiers mod)
 
void game_scene::render_map_generic (sys::state &state)
 
void game_scene::ui_rbutton (sys::state &state, sys::key_modifiers mod)
 
void game_scene::ui_lbutton (sys::state &state, sys::key_modifiers mod)
 
void game_scene::on_rbutton_down_map (sys::state &state, int32_t x, int32_t y, sys::key_modifiers mod)
 
void game_scene::on_lbutton_down_map (sys::state &state, int32_t x, int32_t y, sys::key_modifiers mod)
 
void game_scene::on_lbutton_up_map (sys::state &state, int32_t x, int32_t y, sys::key_modifiers mod)
 
void game_scene::handle_rbutton_down_map_interaction (sys::state &state, int32_t x, int32_t y, sys::key_modifiers mod)
 
void game_scene::handle_lbutton_down_map_interaction (sys::state &state, int32_t x, int32_t y, sys::key_modifiers mod)
 
void game_scene::on_rbutton_down (sys::state &state, int32_t x, int32_t y, sys::key_modifiers mod)
 
void game_scene::on_lbutton_down (sys::state &state, int32_t x, int32_t y, sys::key_modifiers mod)
 
void game_scene::on_lbutton_up_ui_click_hold_and_release (sys::state &state, int32_t x, int32_t y, sys::key_modifiers mod)
 
void game_scene::deselect_units (sys::state &state)
 
bool game_scene::province_mid_point_is_in_selection (sys::state &state, int32_t x, int32_t y, dcon::province_id province)
 
bool game_scene::province_port_is_in_selection (sys::state &state, int32_t x, int32_t y, dcon::province_id province)
 
bool game_scene::army_is_in_selection (sys::state &state, int32_t x, int32_t y, dcon::army_id a)
 
bool game_scene::navy_is_in_selection (sys::state &state, int32_t x, int32_t y, dcon::navy_id n)
 
void game_scene::select_units (sys::state &state, int32_t x, int32_t y, sys::key_modifiers mod)
 
void game_scene::handle_drag_stop (sys::state &state, int32_t x, int32_t y, sys::key_modifiers mod)
 
void game_scene::on_lbutton_up (sys::state &state, int32_t x, int32_t y, sys::key_modifiers mod)
 
sys::virtual_key game_scene::replace_keycodes_map_movement (sys::state &state, sys::virtual_key keycode, sys::key_modifiers mod)
 
sys::virtual_key game_scene::replace_keycodes_identity (sys::state &state, sys::virtual_key keycode, sys::key_modifiers mod)
 
sys::virtual_key game_scene::replace_keycodes (sys::state &state, sys::virtual_key keycode, sys::key_modifiers mod)
 
void game_scene::nation_picker_hotkeys (sys::state &state, sys::virtual_key keycode, sys::key_modifiers mod)
 
void game_scene::state_selector_hotkeys (sys::state &state, sys::virtual_key keycode, sys::key_modifiers mod)
 
void game_scene::military_screen_on_lbutton_up (sys::state &state)
 
void game_scene::military_screen_hotkeys (sys::state &state, sys::virtual_key keycode, sys::key_modifiers mod)
 
void game_scene::handle_escape_basic (sys::state &state, sys::virtual_key keycode, sys::key_modifiers mod)
 
void game_scene::center_on_capital (sys::state &state, dcon::nation_id nation)
 
void game_scene::in_game_hotkeys (sys::state &state, sys::virtual_key keycode, sys::key_modifiers mod)
 
void game_scene::do_nothing_hotkeys (sys::state &state, sys::virtual_key keycode, sys::key_modifiers mod)
 
void game_scene::on_key_down (sys::state &state, sys::virtual_key keycode, sys::key_modifiers mod)
 
void game_scene::console_log_pick_nation (sys::state &state, std::string_view message)
 
void game_scene::console_log_other (sys::state &state, std::string_view message)
 
void game_scene::render_units (sys::state &state)
 
void game_scene::render_units_info_box (sys::state &state)
 
void game_scene::render_ui_military (sys::state &state)
 
void game_scene::render_ui_selection_screen (sys::state &state)
 
void game_scene::render_ui_ingame (sys::state &state)
 
ui::mouse_probe game_scene::recalculate_mouse_probe_identity (sys::state &state, ui::mouse_probe mouse_probe, ui::mouse_probe tooltip_probe)
 
ui::mouse_probe game_scene::recalculate_mouse_probe_units_details (sys::state &state, ui::mouse_probe mouse_probe, ui::mouse_probe tooltip_probe)
 
ui::mouse_probe game_scene::recalculate_mouse_probe_units (sys::state &state, ui::mouse_probe mouse_probe, ui::mouse_probe tooltip_probe)
 
ui::mouse_probe game_scene::recalculate_mouse_probe_units_and_details (sys::state &state, ui::mouse_probe mouse_probe, ui::mouse_probe tooltip_probe)
 
ui::mouse_probe game_scene::recalculate_mouse_probe_basic (sys::state &state, ui::mouse_probe mouse_probe, ui::mouse_probe tooltip_probe)
 
ui::mouse_probe game_scene::recalculate_mouse_probe_military (sys::state &state, ui::mouse_probe mouse_probe, ui::mouse_probe tooltip_probe)
 
ui::mouse_probe game_scene::recalculate_tooltip_probe_units_and_details (sys::state &state, ui::mouse_probe mouse_probe, ui::mouse_probe tooltip_probe)
 
ui::mouse_probe game_scene::recalculate_tooltip_probe_basic (sys::state &state, ui::mouse_probe mouse_probe, ui::mouse_probe tooltip_probe)
 
void game_scene::clean_up_selected_armies_and_navies (sys::state &state)
 
void game_scene::clean_up_basic_game_scene (sys::state &state)
 
void game_scene::update_army_group_selection_ui (sys::state &state)
 
void game_scene::update_unit_selection_ui (sys::state &state)
 
void game_scene::update_ui_unit_details (sys::state &state)
 
void game_scene::update_ui_state_basic (sys::state &state)
 
void game_scene::update_basic_game_scene (sys::state &state)
 
void game_scene::update_military_game_scene (sys::state &state)
 
void game_scene::update_add_units_game_scene (sys::state &state)
 
void game_scene::generic_map_scene_update (sys::state &state)
 
void game_scene::open_chat_during_game (sys::state &state)
 
void game_scene::open_chat_before_game (sys::state &state)
 
void game_scene::highlight_player_nation (sys::state &state, std::vector< uint32_t > &data, dcon::province_id selected_province)
 
void game_scene::highlight_given_province (sys::state &state, std::vector< uint32_t > &data, dcon::province_id selected_province)
 
void game_scene::highlight_defensive_positions (sys::state &state, std::vector< uint32_t > &data, dcon::province_id selected_province)
 
ui::element_basegame_scene::root_end_screen (sys::state &state)
 
ui::element_basegame_scene::root_pick_nation (sys::state &state)
 
ui::element_basegame_scene::root_game_basic (sys::state &state)
 
ui::element_basegame_scene::root_game_battleplanner (sys::state &state)
 
ui::element_basegame_scene::root_game_battleplanner_add_army (sys::state &state)
 
ui::element_basegame_scene::root_game_battleplanner_unit_selection (sys::state &state)
 
ui::element_basegame_scene::root_game_wargoal_state_selection (sys::state &state)