#include <gamewin.h>
Collaboration diagram for Game_window:
Definition at line 80 of file gamewin.h.
Game_window::Game_window | ( | int | width = 0 , |
|
int | height = 0 , |
|||
int | scale = 1 , |
|||
int | scaler = 0 | |||
) |
Definition at line 305 of file gamewin.cc.
References config, Combat::difficulty, Game_singletons::init(), Combat::keypause, Combat::mode, Combat::original, Configuration::set(), Set_renderer(), Image_window::set_title(), Combat::show_hits, and Configuration::value().
Here is the call graph for this function:
Game_window::~Game_window | ( | ) |
void Game_window::set_scrolls | ( | Tile_coord | cent | ) | [private] |
Definition at line 898 of file gamewin.cc.
References c_tilesize, DECR_TILE(), Tile_coord::tx, and Tile_coord::ty.
Here is the call graph for this function:
void Game_window::clear_world | ( | ) | [private] |
Definition at line 754 of file gamewin.cc.
References Usecode_script::clear(), Monster_actor::delete_all(), and Combat::resume().
Here is the call graph for this function:
void Game_window::read_save_names | ( | ) | [private] |
Definition at line 384 of file gamedat.cc.
References BLACK_GATE, Game::get_game_type(), newstrdup(), SAVENAME, snprintf, and U7open().
Referenced by init_gamedat().
Here is the call graph for this function:
long Game_window::check_time_stopped | ( | ) | [private] |
Definition at line 622 of file gamewin.cc.
References Game::get_ticks().
Referenced by is_time_stopped().
Here is the call graph for this function:
static Game_window* Game_window::get_instance | ( | ) | [inline, static] |
Definition at line 163 of file gamewin.h.
References game_window.
Referenced by ActionAbout(), ActionCenter(), ActionCloseGumps(), ActionCloseOrMenu(), ActionCombat(), ActionCombatStats(), ActionCreateShape(), ActionEndgame(), ActionFileGump(), ActionFullscreen(), ActionInventory(), ActionMenuGump(), ActionOldFileGump(), ActionQuickrestore(), ActionQuicksave(), ActionQuit(), ActionRepaint(), ActionScrollDown(), ActionScrollLeft(), ActionScrollRight(), ActionScrollUp(), ActionSIIntro(), ActionStats(), ActionStopWalking(), ActionTarget(), ActionTryKeys(), ActionUseFood(), ActionUseItem(), ActionWalkEast(), ActionWalkNorth(), ActionWalkNorthEast(), ActionWalkNorthWest(), ActionWalkSouth(), ActionWalkSouthEast(), ActionWalkSouthWest(), ActionWalkWest(), Add2keyring(), Text_effect::add_dirty(), Combat_schedule::approach_foe(), ShapeBrowser::browse_shapes(), CheatScreen::BusinessActivate(), Check_freezing(), Game_clock::check_hunger(), Check_spot(), Cloud::Cloud(), Death_vortex::Death_vortex(), Game_map::delete_terrain(), KeyBinder::DoAction(), BG_Game::end_game(), Combat_schedule::ending(), Palette::fade_in(), Palette::fade_out(), Game_clock::fake_next_period(), Figure_queue_size(), Figure_text_pos(), Map_patch::find(), Find_member_blocking(), Combat_schedule::find_opponents(), Combat_schedule::find_protected_attacker(), Game_map::find_unused_shapes(), Cheat::finish_init(), Palette::flash_red(), Game::Game(), Get_combine_info(), Game_map::get_ifix_chunk_objects(), Monster_pathfinder_client::get_max_cost(), Actor_pathfinder_client::get_max_cost(), Npc_timer::get_minute(), Get_party_member(), Fast_pathfinder_client::get_step_cost(), Actor_pathfinder_client::get_step_cost(), CheatScreen::GlobalFlagLoop(), Earthquake::handle_event(), Clouds_effect::handle_event(), Sparkle_effect::handle_event(), Storm_effect::handle_event(), Lightning_effect::handle_event(), Rain_effect::handle_event(), Text_effect::handle_event(), Death_vortex::handle_event(), Projectile_effect::handle_event(), Explosion_effect::handle_event(), Sprites_effect::handle_event(), Face_pos_actor_action::handle_event(), Pickup_actor_action::handle_event(), Frames_actor_action::handle_event(), Usecode_actor_action::handle_event(), Move_actor_action::handle_event(), Path_walking_actor_action::handle_event(), Game_clock::increment(), Text_effect::init(), Projectile_effect::init(), Game_map::insert_terrain(), Fast_pathfinder_client::is_grabable(), Palette::load(), Game_map::locate_terrain(), Combat_schedule::now_what(), CheatScreen::NPCActivate(), Object_animate_actor_action::Object_animate_actor_action(), Offscreen_pathfinder_client::Offscreen_pathfinder_client(), Path_walking_actor_action::open_door(), Cloud::paint(), Game_render::paint_blackness(), Game_render::paint_chunk_flat_rles(), Game_render::paint_chunk_flats(), Game_render::paint_chunk_objects(), Game_render::paint_map(), Game_render::paint_terrain_only(), playfli::play(), Usecode_script::purge(), Game_map::read_ireg_objects(), Game_map::read_map_data(), Ready_duel_weapon(), Combat_schedule::run_away(), Usecode_script::save(), Mouse::set_speed_cursor(), Game_clock::set_time_palette(), CheatScreen::show_screen(), KeyBinder::ShowCheatHelp(), KeyBinder::ShowHelp(), Sprites_effect::Sprites_effect(), Usecode_script::start(), Combat_schedule::start_strike(), Storm_effect::Storm_effect(), Game_map::swap_terrains(), SoundTester::test_sound(), Path_walking_actor_action::walk_to_tile(), Weather_effect::Weather_effect(), Lightning_effect::~Lightning_effect(), Npc_timer::~Npc_timer(), and Storm_effect::~Storm_effect().
void Game_window::abort | ( | const char * | msg, | |
... | ||||
) |
void Game_window::clear_screen | ( | bool | update = false |
) |
Definition at line 396 of file gamewin.cc.
References Image_window8::fill8(), get_height(), get_width(), show(), and win.
Referenced by ActionEndgame(), ActionSIIntro(), CheatScreen::AdvancedFlagLoop(), ShapeBrowser::browse_shapes(), CheatScreen::BusinessLoop(), SI_Game::end_game(), BG_Game::end_game(), CheatScreen::FlagLoop(), CheatScreen::GlobalFlagLoop(), SI_Game::new_game(), BG_Game::new_game(), CheatScreen::NormalLoop(), CheatScreen::NPCLoop(), SI_Game::play_intro(), BG_Game::play_intro(), TextScroller::run(), ExultMenu::run(), BG_Game::scene_desk(), BG_Game::scene_lord_british(), BG_Game::scene_moongate(), ExultMenu::setup(), Game::show_menu(), CheatScreen::StatLoop(), CheatScreen::TimeSetLoop(), and Usecode_internal::UI_display_area().
Here is the call graph for this function:
int Game_window::get_width | ( | ) | const [inline] |
Definition at line 170 of file gamewin.h.
References Image_window::get_width(), and win.
Referenced by ActionWalkEast(), ActionWalkNorth(), ActionWalkNorthEast(), ActionWalkNorthWest(), ActionWalkSouth(), ActionWalkSouthEast(), ActionWalkSouthWest(), ActionWalkWest(), Gump_manager::add_gump(), ShapeBrowser::browse_shapes(), ExultMenu::calc_win(), Effects_manager::center_text(), clear_screen(), Cloud::Cloud(), Face_stats::create_buttons(), create_mini_screenshot(), BG_Game::end_game(), Figure_queue_size(), Game::Game(), Monster_pathfinder_client::get_max_cost(), Actor_pathfinder_client::get_max_cost(), get_win_tile_rect(), Gump::Gump(), Clouds_effect::handle_event(), Face_stats::has_changed(), VideoOptions_gump::load_settings(), Mouse::move(), BG_Game::new_game(), Newfile_gump::Newfile_gump(), Cheat_map::paint(), Paint_centered::Paint_centered(), Paint_grid(), Game_map::read_map_data(), TextScroller::run(), BG_Game::scene_guardian(), Send_location(), set_all_dirty(), Gump::set_pos(), setup_load_palette(), Shift_wizards_eye(), Conversation::show_face(), CheatScreen::show_screen(), SoundTester::test_sound(), Usecode_internal::UI_display_area(), Usecode_internal::UI_move_object(), and Wizard_eye().
Here is the call graph for this function:
int Game_window::get_height | ( | ) | const [inline] |
Definition at line 172 of file gamewin.h.
References Image_window::get_height(), and win.
Referenced by ActionWalkEast(), ActionWalkNorth(), ActionWalkNorthEast(), ActionWalkNorthWest(), ActionWalkSouth(), ActionWalkSouthEast(), ActionWalkSouthWest(), ActionWalkWest(), Gump_manager::add_gump(), ShapeBrowser::browse_shapes(), ExultMenu::calc_win(), Effects_manager::center_text(), clear_screen(), Cloud::Cloud(), Face_stats::create_buttons(), create_mini_screenshot(), BG_Game::end_game(), Figure_queue_size(), Game::Game(), get_win_tile_rect(), Gump::Gump(), Clouds_effect::handle_event(), Face_stats::has_changed(), VideoOptions_gump::load_settings(), Mouse::move(), Newfile_gump::Newfile_gump(), Cheat_map::paint(), Paint_centered::Paint_centered(), Paint_grid(), Game_map::read_map_data(), TextScroller::run(), BG_Game::scene_guardian(), Send_location(), set_all_dirty(), Gump::set_pos(), setup_load_palette(), Shift_wizards_eye(), Conversation::show_face(), CheatScreen::show_screen(), SoundTester::test_sound(), Usecode_internal::UI_display_area(), and Wizard_eye().
Here is the call graph for this function:
int Game_window::get_scrolltx | ( | ) | const [inline] |
Definition at line 174 of file gamewin.h.
References scrolltx.
Referenced by Text_effect::add_dirty(), Death_vortex::add_dirty(), Projectile_effect::add_dirty(), Sprites_effect::add_dirty(), Effects_manager::add_text(), Cheat::cursor_teleport(), Figure_text_pos(), get_shape_rect(), get_win_tile_rect(), Sparkle_effect::handle_event(), Rain_effect::handle_event(), Cloud::next(), Cloud::paint(), Rain_effect::paint(), Text_effect::paint(), Death_vortex::paint(), Projectile_effect::paint(), Sprites_effect::paint(), Game_map::read_map_data(), Chunk_terrain::render_all(), Send_location(), Usecode_internal::UI_click_on_item(), and Usecode_internal::UI_is_water().
int Game_window::get_scrollty | ( | ) | const [inline] |
Definition at line 176 of file gamewin.h.
References scrollty.
Referenced by Text_effect::add_dirty(), Death_vortex::add_dirty(), Projectile_effect::add_dirty(), Sprites_effect::add_dirty(), Effects_manager::add_text(), Cheat::cursor_teleport(), Figure_text_pos(), get_shape_rect(), get_win_tile_rect(), Sparkle_effect::handle_event(), Rain_effect::handle_event(), Cloud::next(), Cloud::paint(), Rain_effect::paint(), Text_effect::paint(), Death_vortex::paint(), Projectile_effect::paint(), Sprites_effect::paint(), Game_map::read_map_data(), Chunk_terrain::render_all(), Send_location(), Usecode_internal::UI_click_on_item(), and Usecode_internal::UI_is_water().
Rectangle Game_window::get_win_rect | ( | ) | const [inline] |
Definition at line 178 of file gamewin.h.
References Image_window::get_height(), Image_window::get_width(), and win.
Referenced by clip_to_win(), Combat_schedule::now_what(), Mouse::set_speed_cursor(), and Conversation::show_avatar_choices().
Here is the call graph for this function:
Rectangle Game_window::get_win_tile_rect | ( | ) | [inline] |
Definition at line 180 of file gamewin.h.
References c_tilesize, get_height(), get_scrolltx(), get_scrollty(), and get_width().
Referenced by Actor::approach_another(), Actor::follow(), Missile_launcher::handle_event(), Npc_proximity_handler::handle_event(), Walk_to_schedule::now_what(), Follow_avatar_schedule::now_what(), Off_screen(), Offscreen_pathfinder_client::Offscreen_pathfinder_client(), Schedule::try_street_maintenance(), and Usecode_internal::UI_armageddon().
Here is the call graph for this function:
Definition at line 185 of file gamewin.h.
References get_win_rect(), and Rectangle::intersect().
Referenced by Barge_object::add_dirty(), add_dirty(), Text_effect::add_dirty(), Death_vortex::add_dirty(), Projectile_effect::add_dirty(), Sprites_effect::add_dirty(), Actor::add_dirty(), Sfx_animator::handle_event(), Dragging_info::moved(), Cloud::next(), paint_dirty(), Conversation::show_face(), and Dragging_info::start().
Here is the call graph for this function:
void Game_window::resized | ( | unsigned int | neww, | |
unsigned int | newh, | |||
unsigned int | newsc, | |||
unsigned int | newsclr | |||
) |
Definition at line 727 of file gamewin.cc.
References Palette::apply(), Image_window::resized(), Set_renderer(), and snprintf.
Referenced by Handle_event(), VideoOptions_gump::save_settings(), set_resolution(), and ExultMenu::setup().
Here is the call graph for this function:
void Game_window::get_focus | ( | ) |
Definition at line 2519 of file gamewin.cc.
References Audio::get_ptr(), Game::get_ticks(), and Audio::resume_audio().
Referenced by Get_click(), and Handle_event().
Here is the call graph for this function:
void Game_window::lose_focus | ( | ) |
Definition at line 2528 of file gamewin.cc.
References config, Audio::get_ptr(), Game::get_ticks(), Audio::pause_audio(), and Configuration::value().
Referenced by Get_click(), and Handle_event().
Here is the call graph for this function:
bool Game_window::have_focus | ( | ) | const [inline] |
Definition at line 195 of file gamewin.h.
References focus.
Referenced by Handle_events(), Wait_for_arrival(), and Wizard_eye().
bool Game_window::get_mouse3rd | ( | ) | const [inline] |
Definition at line 200 of file gamewin.h.
References mouse3rd.
Referenced by Get_click(), Handle_event(), Gump_manager::handle_modal_gump_event(), and GameplayOptions_gump::load_settings().
void Game_window::set_mouse3rd | ( | bool | m | ) | [inline] |
Definition at line 202 of file gamewin.h.
References mouse3rd.
Referenced by GameplayOptions_gump::save_settings().
bool Game_window::get_fastmouse | ( | ) | const [inline] |
Definition at line 204 of file gamewin.h.
References fastmouse, get_win(), and Image_window::is_fullscreen().
Referenced by Cheat::cursor_teleport(), Cheat::delete_object(), Get_click(), Handle_event(), MenuList::handle_events(), Handle_events(), Gump_manager::handle_modal_gump_event(), GameplayOptions_gump::load_settings(), Mouse::Mouse(), Wait_for_arrival(), and Wizard_eye().
Here is the call graph for this function:
void Game_window::set_fastmouse | ( | bool | f | ) | [inline] |
Definition at line 206 of file gamewin.h.
References fastmouse.
Referenced by GameplayOptions_gump::save_settings().
bool Game_window::get_double_click_closes_gumps | ( | ) | const [inline] |
Definition at line 208 of file gamewin.h.
References double_click_closes_gumps.
Referenced by Gump_manager::double_clicked(), and GameplayOptions_gump::load_settings().
void Game_window::set_double_click_closes_gumps | ( | bool | d | ) | [inline] |
Definition at line 210 of file gamewin.h.
References double_click_closes_gumps.
Referenced by GameplayOptions_gump::save_settings().
int Game_window::get_text_bg | ( | ) | const [inline] |
Definition at line 212 of file gamewin.h.
References text_bg.
Referenced by GameplayOptions_gump::load_settings(), Conversation::paint_faces(), Conversation::show_avatar_choices(), and Conversation::show_npc_message().
void Game_window::set_text_bg | ( | int | t | ) | [inline] |
Definition at line 214 of file gamewin.h.
References text_bg.
Referenced by GameplayOptions_gump::save_settings().
Game_map* Game_window::get_map | ( | ) | const [inline] |
Definition at line 219 of file gamewin.h.
References map.
Referenced by BuildGameMap(), Check_spot(), Cheat::create_last_shape(), Create_object(), Cheat::cut(), emulate_cache(), Map_chunk::find_in_area(), Fast_pathfinder_client::get_step_cost(), Actor_pathfinder_client::get_step_cost(), Game_singletons::init(), Map_chunk::is_blocked(), Actor::read(), Ready_duel_weapon(), Map_chunk::remove(), Map_chunk::setup_dungeon_levels(), and Map_chunk::try_all_eggs().
Usecode_machine* Game_window::get_usecode | ( | ) | const [inline] |
Definition at line 221 of file gamewin.h.
References usecode.
Referenced by ActionTryKeys(), Add2keyring(), Combat_schedule::ending(), CheatScreen::GlobalFlagLoop(), Usecode_actor_action::handle_event(), Game_singletons::init(), Usecode_script::purge(), and Usecode_script::start().
Image_window8* Game_window::get_win | ( | ) | const [inline] |
Definition at line 223 of file gamewin.h.
References win.
Referenced by ActionFullscreen(), ShapeBrowser::browse_shapes(), BuildGameMap(), Cheat::cursor_teleport(), cycle_load_palette(), Cheat::delete_object(), Dragging_info::Dragging_info(), ExultMenu::ExultMenu(), Game::Game(), Get_click(), get_fastmouse(), Handle_event(), Earthquake::handle_event(), Sparkle_effect::handle_event(), Rain_effect::handle_event(), MenuList::handle_events(), Handle_events(), Gump_manager::handle_modal_gump_event(), VideoOptions_gump::load_settings(), Newfile_gump::LoadSaveGameDetails(), make_screenshot(), Dragging_info::moved(), Newfile_gump::Newfile_gump(), Paint_map::paint(), MenuChoice::paint(), MenuEntry::paint(), Text_button::paint(), Gump_text::paint(), Stat_bar::paint(), Rain_effect::paint(), Dragging_info::paint(), Cheat_map::paint(), Paint_chunk_outline(), Paint_grid(), Shape_manager::paint_text(), Shape_manager::paint_text_box(), Newfile_gump::PaintSaveName(), plasma(), Chunk_terrain::render_all(), ExultMenu::run(), VideoOptions_gump::save_settings(), Send_location(), set_resolution(), ExultMenu::setup(), Conversation::show_face(), TextScroller::show_line(), CheatScreen::show_screen(), Dragging_info::start(), SoundTester::test_sound(), Cheat::toggle_map_editor(), Wait_for_arrival(), and Wizard_eye().
Time_queue* Game_window::get_tqueue | ( | ) | const [inline] |
Definition at line 225 of file gamewin.h.
References tqueue.
Referenced by Egg_object::activate(), Npc_proximity_handler::add(), Gump_manager::add_gump(), Background_noise::Background_noise(), Gump_manager::close_all_gumps(), Death_vortex::Death_vortex(), Actor::die(), Gump_manager::do_modal_gump(), Fire_field_effect::Fire_field_effect(), Npc_proximity_handler::get_all(), Get_click(), Missile_launcher::handle_event(), Barge_object::handle_event(), Wiggle_animator::handle_event(), Field_frame_animator::handle_event(), Sfx_animator::handle_event(), Frame_animator::handle_event(), Npc_flag_timer::handle_event(), Npc_protection_timer::handle_event(), Npc_invisibility_timer::handle_event(), Npc_sleep_timer::handle_event(), Npc_poison_timer::handle_event(), Npc_hunger_timer::handle_event(), Background_noise::handle_event(), Handle_event(), Fire_field_effect::handle_event(), Earthquake::handle_event(), Clouds_effect::handle_event(), Sparkle_effect::handle_event(), Storm_effect::handle_event(), Lightning_effect::handle_event(), Rain_effect::handle_event(), Text_effect::handle_event(), Death_vortex::handle_event(), Projectile_effect::handle_event(), Sprites_effect::handle_event(), Npc_actor::handle_event(), Main_actor::handle_event(), Handle_events(), Text_effect::init(), Projectile_effect::init(), Newfile_gump::Newfile_gump(), Combat_schedule::now_what(), Npc_timer::Npc_timer(), Egg_object::paint(), Npc_actor::paint(), Actor::reduce_health(), Npc_proximity_handler::remove(), Effects_manager::remove_effect(), Gump_manager::remove_gump(), Effects_manager::remove_text_effect(), Egg_object::remove_this(), Npc_actor::remove_this(), Combat::resume(), Usecode_script::save(), Gump_manager::set_gumps_dont_pause_game(), CheatScreen::show_screen(), Sprites_effect::Sprites_effect(), Usecode_script::start(), Actor::start(), Animator::start_animation(), Quaking_actor::step(), SoundTester::test_sound(), Combat::toggle_pause(), Barge_object::travel_to_tile(), Usecode_internal::UI_earthquake(), Wait_for_arrival(), Weather_effect::Weather_effect(), Wizard_eye(), Animator::~Animator(), Background_noise::~Background_noise(), Egg_object::~Egg_object(), Newfile_gump::~Newfile_gump(), and Npc_timer::~Npc_timer().
Palette* Game_window::get_pal | ( | ) | [inline] |
Definition at line 227 of file gamewin.h.
References pal.
Referenced by ActionEndgame(), ActionSIIntro(), BuildGameMap(), change_gamma(), Usecode_internal::click_to_continue(), Lightning_effect::handle_event(), Game_singletons::init(), Init(), Shape_manager::load(), BG_Game::new_game(), Actor::reduce_health(), TextScroller::run(), ExultMenu::run(), VideoOptions_gump::save_settings(), Game_clock::set_time_palette(), ExultMenu::setup(), Cheat::shape_browser(), BG_Game::show_credits(), Conversation::show_face(), BG_Game::show_quotes(), Cheat::toggle_infravision(), Cheat::toggle_pickpocket(), Usecode_internal::UI_fade_palette(), and Usecode_internal::UI_infravision().
Effects_manager* Game_window::get_effects | ( | ) | [inline] |
Definition at line 229 of file gamewin.h.
References effects.
Referenced by ActionCreateShape(), ActionQuickrestore(), ActionQuicksave(), change_gamma(), Game_map::find_unused_shapes(), Cheat::finish_init(), Game_singletons::init(), Usecode_internal::item_say(), make_screenshot(), Combat_schedule::now_what(), Usecode_internal::show_npc_face(), Usecode_internal::UI_clear_item_say(), Usecode_internal::UI_explode(), Usecode_internal::UI_fire_cannon(), Usecode_internal::UI_get_weather(), Usecode_internal::UI_lightning(), Usecode_internal::UI_obj_sprite_effect(), Usecode_internal::UI_play_music(), Usecode_internal::UI_projectile_effect(), and Usecode_internal::UI_sprite_effect().
Gump_manager* Game_window::get_gump_man | ( | ) | [inline] |
Definition at line 231 of file gamewin.h.
References gump_man.
Referenced by ActionCloseGumps(), ActionCloseOrMenu(), ActionCombatStats(), ActionFileGump(), ActionInventory(), ActionMenuGump(), ActionOldFileGump(), ActionQuit(), ActionStats(), ActionTryKeys(), Cheat::delete_object(), Figure_text_pos(), Handle_event(), Game_singletons::init(), Cheat::paste(), and Mouse::set_speed_cursor().
Party_manager* Game_window::get_party_man | ( | ) | [inline] |
Definition at line 232 of file gamewin.h.
References party_man.
Referenced by ActionCombatStats(), ActionInventory(), ActionStats(), Find_member_blocking(), CheatScreen::FlagActivate(), Get_party_member(), Path_walking_actor_action::handle_event(), Cheat::heal_party(), and Game_singletons::init().
Npc_proximity_handler* Game_window::get_npc_prox | ( | ) | [inline] |
Definition at line 233 of file gamewin.h.
References npc_prox.
Referenced by Gump_manager::close_all_gumps().
Game_clock* Game_window::get_clock | ( | ) | [inline] |
Definition at line 234 of file gamewin.h.
References clock.
Referenced by Cheat::fake_time_period(), Background_noise::handle_event(), Storm_effect::handle_event(), Game_singletons::init(), CheatScreen::show_screen(), Lightning_effect::~Lightning_effect(), and Storm_effect::~Storm_effect().
Map_patch_collection * Game_window::get_map_patches | ( | ) |
Definition at line 535 of file gamewin.cc.
References Game_map::get_map_patches(), and map.
Referenced by SI_Game::SI_Game().
Here is the call graph for this function:
bool Game_window::locate_shape | ( | int | shapenum, | |
bool | upwards | |||
) |
Definition at line 784 of file gamewin.cc.
References Cheat::append_selected(), cheat, Cheat::clear_selected(), Cheat::get_selected(), Exult_server::obj, and snprintf.
Here is the call graph for this function:
void Game_window::send_location | ( | ) |
Definition at line 845 of file gamewin.cc.
References Send_location().
Here is the call graph for this function:
Barge_object* Game_window::get_moving_barge | ( | ) | const [inline] |
Definition at line 245 of file gamewin.h.
References moving_barge.
Referenced by Usecode_internal::call_usecode(), Dragging_info::drop(), Barge_object::get_ireg_size(), Barge_object::handle_event(), Sit_schedule::now_what(), Game_map::read_ireg_objects(), Mouse::set_speed_cursor(), Usecode_internal::UI_clear_item_flag(), Usecode_internal::UI_get_item_flag(), and Barge_object::write_ireg().
void Game_window::set_moving_barge | ( | Barge_object * | b | ) |
Definition at line 545 of file gamewin.cc.
References Barge_object::gather().
Referenced by Game_map::read_ireg_objects(), Usecode_internal::UI_clear_item_flag(), and Usecode_internal::UI_set_item_flag().
Here is the call graph for this function:
bool Game_window::is_moving | ( | ) |
Main_actor* Game_window::get_main_actor | ( | ) | const [inline] |
Definition at line 249 of file gamewin.h.
References main_actor.
Referenced by ActionCombatStats(), ActionCreateShape(), Field_object::activate(), Combat_mode_button::activate(), Actor::activate(), Usecode_internal::add_party_items(), Sign_gump::add_text(), Combat_schedule::approach_foe(), Actor::attacked(), Cheat::change_gender(), Cheat::change_skin(), Check_freezing(), Face_stats::create_buttons(), Cheat::create_coins(), Cheat::create_last_shape(), Usecode_internal::do_speech(), Spellscroll_gump::do_spell(), Spellbook_gump::do_spell(), Dragging_info::drop_on_map(), Combat_schedule::ending(), Actor::figure_hit_points(), Combat_schedule::find_opponents(), Get_click(), Party_manager::get_followers(), Usecode_internal::get_item(), Usecode_internal::get_party(), Background_noise::handle_event(), Handle_event(), Explosion_effect::handle_event(), Move_actor_action::handle_event(), Handle_events(), Cheat::heal_party(), Egg_object::is_active(), Party_manager::link_party(), Newfile_gump::LoadSaveGameDetails(), CheatScreen::NormalDisplay(), Shy_schedule::now_what(), Sit_schedule::now_what(), Hound_schedule::now_what(), Talk_schedule::now_what(), Follow_avatar_schedule::now_what(), Combat_schedule::now_what(), Paint_map::paint(), Stats_gump::paint(), Cheat_map::paint(), Actor::reduce_health(), Effects_manager::remove_weather_effects(), Spellbook_gump::set_avail(), Object_sfx::set_obj(), Actor::set_polymorph(), Mouse::set_speed_cursor(), Game_clock::set_time_palette(), Conversation::show_avatar_choices(), Conversation::show_face(), Sign_gump::Sign_gump(), Dragging_info::start(), Combat_schedule::start_battle(), Combat_schedule::start_strike(), Barge_object::step(), Cheat::toggle_naked(), Cheat::toggle_Petra(), Usecode_internal::UI_approach_avatar(), Usecode_internal::UI_armageddon(), Usecode_internal::UI_book_mode(), Usecode_internal::UI_click_on_item(), Usecode_internal::UI_find_nearby_avatar(), Usecode_internal::UI_get_avatar_ref(), Usecode_internal::UI_get_dead_party(), Usecode_internal::UI_get_item_flag(), Usecode_internal::UI_get_npc_number(), Usecode_internal::UI_get_skin_colour(), Usecode_internal::UI_is_pc_female(), Usecode_internal::UI_move_object(), Usecode_internal::UI_nap_time(), Usecode_internal::UI_npc_nearby(), Usecode_internal::UI_npc_nearby2(), Usecode_internal::UI_on_barge(), Usecode_internal::UI_path_run_usecode(), Usecode_internal::UI_play_sound_effect2(), Usecode_internal::UI_recall_virtue_stone(), Usecode_internal::UI_set_item_flag(), Usecode_internal::UI_set_oppressor(), Usecode_internal::UI_set_schedule_type(), Usecode_internal::UI_summon(), Usecode_internal::UI_teleport_to_saved_pos(), Usecode_internal::UI_wearing_fellowship(), and Wizard_eye().
bool Game_window::is_main_actor_inside | ( | ) | [inline] |
Definition at line 251 of file gamewin.h.
References skip_above_actor.
Referenced by Npc_proximity_handler::handle_event(), Background_noise::handle_event(), Sparkle_effect::handle_event(), Rain_effect::handle_event(), Follow_avatar_schedule::now_what(), Clouds_effect::paint(), Rain_effect::paint(), Usecode_internal::UI_display_map(), Usecode_internal::UI_is_pc_inside(), and Usecode_internal::UI_summon().
bool Game_window::set_above_main_actor | ( | int | lift | ) | [inline] |
Definition at line 254 of file gamewin.h.
References skip_above_actor.
Referenced by Main_actor::move(), and Main_actor::step().
int Game_window::get_render_skip_lift | ( | ) | const [inline] |
Definition at line 260 of file gamewin.h.
References skip_above_actor, and skip_lift.
Referenced by Dragging_info::drop_on_map(), Game_render::paint_chunk_objects(), and Game_render::paint_map().
bool Game_window::main_actor_dont_move | ( | ) |
Definition at line 572 of file gamewin.cc.
References Obj_flags::dont_move, Ireg_game_object::get_flag(), and main_actor.
Referenced by KeyBinder::DoAction(), Handle_event(), Follow_avatar_schedule::now_what(), paint_dirty(), and Mouse::set_speed_cursor().
Here is the call graph for this function:
bool Game_window::set_in_dungeon | ( | unsigned int | lift | ) | [inline] |
Definition at line 264 of file gamewin.h.
References in_dungeon.
Referenced by Main_actor::move(), Main_actor::step(), and Usecode_internal::UI_display_area().
void Game_window::set_ice_dungeon | ( | bool | ice | ) | [inline] |
Definition at line 271 of file gamewin.h.
References ice_dungeon.
Referenced by Main_actor::move(), and Main_actor::step().
unsigned int Game_window::is_in_dungeon | ( | ) | [inline] |
Definition at line 272 of file gamewin.h.
References in_dungeon.
Referenced by Dragging_info::drop(), Background_noise::handle_event(), Lightning_effect::handle_event(), Game_render::paint_chunk_objects(), Game_clock::set_time_palette(), Usecode_internal::UI_display_area(), and Usecode_internal::UI_get_item_flag().
bool Game_window::is_special_light | ( | ) | [inline] |
Definition at line 274 of file gamewin.h.
References special_light.
Referenced by Game_clock::set_time_palette().
void Game_window::add_special_light | ( | int | minutes | ) |
void Game_window::set_time_stopped | ( | long | ticks | ) |
Definition at line 599 of file gamewin.cc.
References Game::get_ticks().
Referenced by Cheat::toggle_map_editor(), and Usecode_internal::UI_stop_time().
Here is the call graph for this function:
long Game_window::is_time_stopped | ( | ) | [inline] |
Definition at line 280 of file gamewin.h.
References check_time_stopped(), and time_stopped.
Referenced by Actor::activate(), Game_clock::handle_event(), and Npc_actor::handle_event().
Here is the call graph for this function:
int Game_window::get_std_delay | ( | ) | const [inline] |
Definition at line 282 of file gamewin.h.
References std_delay.
Referenced by Egg_object::activate(), Actor::approach_another(), Combat_schedule::approach_foe(), Usecode_script::exec(), Waiter_schedule::get_customer(), Fire_field_effect::handle_event(), Text_effect::handle_event(), Projectile_effect::handle_event(), Sprites_effect::handle_event(), GameplayOptions_gump::load_settings(), Walk_to_schedule::now_what(), Waiter_schedule::now_what(), Lab_schedule::now_what(), Wander_schedule::now_what(), Hound_schedule::now_what(), Dance_schedule::now_what(), Loiter_schedule::now_what(), Patrol_schedule::now_what(), Preach_schedule::now_what(), Pace_schedule::now_what(), Follow_avatar_schedule::now_what(), Duel_schedule::now_what(), Combat_schedule::now_what(), Usecode_internal::path_run_usecode(), Combat_schedule::run_away(), Mouse::set_speed_cursor(), Combat_schedule::start_strike(), Usecode_internal::UI_delayed_execute_usecode_array(), and Usecode_internal::UI_wizard_eye().
void Game_window::set_std_delay | ( | int | msecs | ) | [inline] |
Definition at line 284 of file gamewin.h.
References std_delay.
Referenced by GameplayOptions_gump::save_settings().
Actor* Game_window::get_npc | ( | long | npc_num | ) | const [inline] |
Definition at line 286 of file gamewin.h.
References npcs.
Referenced by Face_stats::create_buttons(), Usecode_script::exec(), Find_member_blocking(), Party_manager::get_followers(), Main_actor::get_followers(), Usecode_internal::get_item(), Game_object::get_name(), Usecode_internal::get_party(), Get_party_member(), Cheat::heal_party(), Party_manager::link_party(), Newfile_gump::LoadSaveGameDetails(), CheatScreen::NPCLoop(), Party_manager::remove_from_party(), Usecode_internal::UI_armageddon(), Usecode_internal::UI_resurrect(), and write_saveinfo().
void Game_window::set_body | ( | int | npc_num, | |
Dead_body * | body | |||
) | [inline] |
Definition at line 289 of file gamewin.h.
References bodies, and Exult_vector< T >::put().
Referenced by Actor::die(), Game_map::read_ireg_objects(), and Actor::resurrect().
Here is the call graph for this function:
Dead_body* Game_window::get_body | ( | int | npc_num | ) | [inline] |
Definition at line 291 of file gamewin.h.
References bodies.
Referenced by Cheat::heal_party(), Actor::resurrect(), and Usecode_internal::UI_get_dead_party().
int Game_window::get_num_npcs | ( | ) | [inline] |
Definition at line 293 of file gamewin.h.
References npcs.
Referenced by Usecode_internal::UI_armageddon().
int Game_window::get_unused_npc | ( | ) |
Definition at line 708 of file gamewin.cc.
void Game_window::add_npc | ( | Actor * | npc, | |
int | num | |||
) |
Definition at line 686 of file gamewin.cc.
References Exult_server::npc.
Referenced by Actor::update_from_studio().
int Game_window::in_combat | ( | ) | [inline] |
Definition at line 297 of file gamewin.h.
References combat.
Referenced by Combat_button::activate(), Actor::activate(), Combat_button::Combat_button(), Main_actor::die(), Actor::figure_weapon_pos(), Handle_event(), Combat_schedule::now_what(), Combat_button::paint(), Mouse::set_speed_cursor(), Usecode_internal::UI_in_combat(), Usecode_internal::UI_set_item_flag(), and Usecode_internal::UI_set_schedule_type().
void Game_window::toggle_combat | ( | ) |
Definition at line 639 of file gamewin.cc.
References Schedule::combat, Actor::flee, Schedule::follow_avatar, Game_object::get_flag(), Actor::get_schedule_type(), Obj_flags::in_party, Schedule::loiter, Actor::nearest, Combat::resume(), Actor::set_attack_mode(), Actor::set_schedule_type(), and Schedule::wait.
Referenced by ActionCombat(), Combat_button::activate(), Main_actor::die(), Usecode_internal::UI_set_item_flag(), and Usecode_internal::UI_set_schedule_type().
Here is the call graph for this function:
bool Game_window::get_frame_skipping | ( | ) | [inline] |
int Game_window::get_party | ( | Actor ** | list, | |
int | avatar_too = 0 | |||
) |
Definition at line 1787 of file gamewin.cc.
Referenced by ActionTryKeys(), Halo_button::activate(), Check_freezing(), Game_clock::check_hunger(), CombatStats_gump::CombatStats_gump(), Combat_schedule::find_opponents(), Combat_schedule::find_protected_attacker(), Missile_launcher::handle_event(), Cheat::heal_party(), Cheat::levelup_party(), Sit_schedule::now_what(), Cheat::toggle_god(), and Usecode_internal::UI_on_barge().
void Game_window::add_nearby_npc | ( | Npc_actor * | npc | ) |
Definition at line 2255 of file gamewin.cc.
References Game::get_ticks(), and Exult_server::npc.
Referenced by Create_monster(), Npc_actor::paint(), Usecode_internal::UI_create_new_object(), and Usecode_internal::UI_move_object().
Here is the call graph for this function:
void Game_window::remove_nearby_npc | ( | Npc_actor * | npc | ) |
Definition at line 2271 of file gamewin.cc.
References Exult_server::npc.
Referenced by Npc_actor::remove_this().
void Game_window::get_nearby_npcs | ( | Actor_queue & | list | ) |
Definition at line 2284 of file gamewin.cc.
Referenced by Field_object::activate(), Combat_schedule::find_opponents(), Combat_schedule::monster_died(), and Mouse::set_speed_cursor().
void Game_window::schedule_npcs | ( | int | hour3, | |
int | backwards = 0 , |
|||
bool | repaint = true | |||
) |
Definition at line 2296 of file gamewin.cc.
References Exult_server::npc, and Schedule::wait.
Referenced by Game_clock::fake_next_period(), Game_clock::handle_event(), and Game_clock::increment().
void Game_window::mend_npcs | ( | ) |
Definition at line 2321 of file gamewin.cc.
References Exult_server::npc.
Referenced by Game_clock::fake_next_period(), and Game_clock::handle_event().
Definition at line 2364 of file gamewin.cc.
References c_any_shapenum, Game_object::find_nearby_actors(), Fast_pathfinder_client::is_grabable(), Exult_server::npc, and Actor::sleep_frame.
Here is the call graph for this function:
void Game_window::theft | ( | ) |
Definition at line 2410 of file gamewin.cc.
References Actor::change_frame(), first_theft, Game_object::get_dir_framenum(), Game_object::get_direction(), heard_something, item_names, last_theft, Game_object::say(), and Actor::standing.
Referenced by Dragging_info::drop().
Here is the call graph for this function:
void Game_window::call_guards | ( | Actor * | witness = 0 |
) |
Definition at line 2448 of file gamewin.cc.
References Monster_actor::create(), Usecode_machine::double_click, Map_chunk::find_spot(), first_call_guards, Get_direction(), Get_guard_shape(), last_call_guards, Game_object::say(), Schedule::set_action_sequence(), Actor::standing, Tile_coord::tx, and Tile_coord::ty.
Referenced by Usecode_internal::UI_call_guards().
Here is the call graph for this function:
void Game_window::attack_avatar | ( | int | num_guards = 0 |
) |
Definition at line 2486 of file gamewin.cc.
References Actor::approach_another(), c_any_shapenum, Monster_actor::create(), Get_guard_shape(), Exult_server::npc, and Actor::set_target().
Referenced by Actor::reduce_health(), and Usecode_internal::UI_attack_avatar().
Here is the call graph for this function:
void Game_window::set_painted | ( | ) | [inline] |
Definition at line 320 of file gamewin.h.
References painted.
Referenced by Combat_mode_button::activate(), Gump_ToggleTextButton::activate(), Gump_ToggleButton::activate(), Enabled_button::activate(), Newfile_gump::delete_file(), Dragging_info::Dragging_info(), Usecode_script::exec(), Palette::flash_red(), Mouse::flash_shape(), Handle_event(), Earthquake::handle_event(), Sparkle_effect::handle_event(), Rain_effect::handle_event(), Sprites_effect::handle_event(), Handle_events(), Newfile_gump::mouse_down(), Slider_gump::mouse_up(), File_gump::mouse_up(), Slider_gump::move_diamond(), Dragging_info::moved(), Yesno_gump::paint(), VideoOptions_gump::paint(), Spellscroll_gump::paint(), Spellbook_gump::paint(), Slider_gump::paint(), Sign_gump::paint(), Newfile_gump::paint(), GameplayOptions_gump::paint(), Gamemenu_gump::paint(), Gump_text::paint(), CombatOptions_gump::paint(), AudioOptions_gump::paint(), Rain_effect::paint(), Text_gump::paint_page(), Gump_button::push(), Newfile_gump::save(), VideoOptions_gump::save_settings(), Newfile_gump::scroll_line(), Usecode_internal::set_item_frame(), Conversation::show_avatar_choices(), Conversation::show_npc_message(), Newfile_gump::text_input(), File_gump::text_input(), and Gump_button::unpush().
bool Game_window::was_painted | ( | ) | [inline] |
Definition at line 322 of file gamewin.h.
References painted.
Referenced by Handle_events(), Wait_for_arrival(), and Wizard_eye().
bool Game_window::show | ( | bool | force = false |
) | [inline] |
Definition at line 324 of file gamewin.h.
References painted, Image_window::show(), and win.
Referenced by Spellbook_gump::change_page(), clear_screen(), cycle_load_palette(), Gump_manager::do_modal_gump(), Spellscroll_gump::do_spell(), Spellbook_gump::do_spell(), Game_map::find_unused_shapes(), Mouse::flash_shape(), Get_click(), Earthquake::handle_event(), MenuList::handle_events(), Handle_events(), TextScroller::run(), SoundTester::test_sound(), Newfile_gump::text_input(), File_gump::text_input(), Usecode_internal::UI_create_new_object(), Usecode_internal::UI_display_area(), Usecode_internal::UI_set_lift(), Gamemenu_gump::video_options(), Wait_for_arrival(), and Wizard_eye().
Here is the call graph for this function:
void Game_window::clear_dirty | ( | ) | [inline] |
Definition at line 334 of file gamewin.h.
References dirty, and Rectangle::w.
Referenced by paint_dirty().
void Game_window::paint_map_at_tile | ( | int | x, | |
int | y, | |||
int | w, | |||
int | h, | |||
int | toptx, | |||
int | topty, | |||
int | skip_above = 31 | |||
) |
Definition at line 54 of file gamerend.cc.
Referenced by BuildGameMap(), and Usecode_internal::UI_display_area().
void Game_window::paint | ( | int | x, | |
int | y, | |||
int | w, | |||
int | h | |||
) |
Definition at line 290 of file gamerend.cc.
References dragging, and Obj_flags::in_dungeon.
Referenced by ActionAbout(), ActionCenter(), ActionCombat(), ActionEndgame(), ActionFullscreen(), ActionQuickrestore(), ActionRepaint(), ActionSIIntro(), Gump_manager::add_gump(), Cheat::cheat_screen(), Usecode_internal::click_to_continue(), Gump_manager::close_all_gumps(), Cheat::dec_skip_lift(), Cheat::delete_object(), Gump_manager::do_modal_gump(), Spellscroll_gump::do_spell(), Spellbook_gump::do_spell(), Gump_manager::double_clicked(), Dragging_info::drop(), Game_map::find_unused_shapes(), Mouse::flash_shape(), Actor::follow(), Get_click(), Usecode_internal::get_user_choice_num(), Handle_events(), Cheat::heal_party(), Cheat::map_teleport(), Talk_schedule::now_what(), Conversation::pop_answers(), Effects_manager::remove_all_effects(), Effects_manager::remove_text_effect(), VideoOptions_gump::save_settings(), Usecode_internal::set_item_shape(), Cheat::set_skip_lift(), Cheat::shape_browser(), Conversation::show_npc_message(), Usecode_internal::show_pending_text(), KeyBinder::ShowCheatHelp(), KeyBinder::ShowHelp(), Cheat::sound_tester(), Dragging_info::start(), SoundTester::test_sound(), Cheat::toggle_eggs(), Cheat::toggle_map_editor(), Usecode_internal::UI_display_area(), Usecode_internal::UI_display_map(), Usecode_internal::UI_display_runes(), Usecode_internal::UI_set_lift(), Usecode_internal::UI_si_display_map(), and Gamemenu_gump::video_options().
void Game_window::paint | ( | Rectangle & | r | ) | [inline] |
Definition at line 341 of file gamewin.h.
References Rectangle::h, paint(), Rectangle::w, Rectangle::x, and Rectangle::y.
Here is the call graph for this function:
void Game_window::paint | ( | ) |
Definition at line 337 of file gamerend.cc.
References map, paint_dirty(), Game_map::read_map_data(), and set_all_dirty().
Referenced by create_mini_screenshot(), Raindrop::next(), Raindrop::next_random(), paint(), Clouds_effect::paint(), Rain_effect::paint(), and paint_dirty().
Here is the call graph for this function:
void Game_window::paint_dirty | ( | ) |
Definition at line 447 of file gamerend.cc.
References clear_dirty(), clip_to_win(), dirty, gump_man, Rectangle::h, main_actor_dont_move(), paint(), Gump_manager::update_gumps(), and Rectangle::w.
Referenced by Spellbook_gump::change_page(), Get_click(), Handle_events(), paint(), Gump::remove(), Usecode_internal::show_npc_face(), Wait_for_arrival(), and Wizard_eye().
Here is the call graph for this function:
void Game_window::set_all_dirty | ( | ) | [inline] |
Definition at line 346 of file gamewin.h.
References dirty, get_height(), and get_width().
Referenced by Usecode_internal::call_usecode(), Cheat::change_gender(), Cheat::change_skin(), Cheat::cheat_screen(), Cheat::clear_selected(), VideoOptions_gump::close(), create_mini_screenshot(), Cheat::cut(), Cheat::delete_selected(), Game_map::delete_terrain(), Sleep_schedule::ending(), Clouds_effect::handle_event(), Sparkle_effect::handle_event(), Rain_effect::handle_event(), Death_vortex::handle_event(), Sprites_effect::handle_event(), Usecode_actor_action::handle_event(), Game_map::insert_terrain(), Cheat::move_selected(), paint(), Cheat::paste(), Gump::remove(), Effects_manager::remove_text_effects(), Effects_manager::remove_weather_effects(), Cheat::set_edit_lift(), Actor::set_flag(), Usecode_internal::set_item_frame(), Actor::set_property(), Usecode_internal::show_npc_face(), Main_actor::step(), Game_map::swap_terrains(), Cheat::toggle_naked(), Cheat::toggle_Petra(), Cheat::toggle_selected(), Cheat::toggle_tile_grid(), Usecode_internal::UI_clear_item_flag(), Usecode_internal::UI_end_conversation(), Usecode_internal::UI_set_item_flag(), Wizard_eye(), and Face_stats::~Face_stats().
Here is the call graph for this function:
void Game_window::add_dirty | ( | Rectangle | r | ) | [inline] |
Definition at line 348 of file gamewin.h.
References Rectangle::add(), dirty, and Rectangle::w.
Referenced by Egg_object::activate(), Usecode_internal::add_dirty(), Barge_object::add_dirty(), add_dirty(), Text_effect::add_dirty(), Death_vortex::add_dirty(), Projectile_effect::add_dirty(), Sprites_effect::add_dirty(), Actor::add_dirty(), Combat_schedule::approach_foe(), Game_object::change_frame(), Spellbook_gump::change_page(), Conversation::clear_avatar_choices(), Cheat::clear_selected(), Create_monster(), Face_stats::delete_buttons(), Cheat::delete_selected(), Actor::die(), Sew_schedule::ending(), Frame_animator::get_framenum(), Wiggle_animator::handle_event(), Field_frame_animator::handle_event(), Frame_animator::handle_event(), Npc_protection_timer::handle_event(), Npc_invisibility_timer::handle_event(), Handle_event(), Fire_field_effect::handle_event(), Text_effect::handle_event(), Death_vortex::handle_event(), Projectile_effect::handle_event(), Explosion_effect::handle_event(), Sprites_effect::handle_event(), Pickup_actor_action::handle_event(), Text_effect::init(), Game_object::move(), Egg_object::move(), Cheat::move_selected(), Dragging_info::moved(), Cloud::next(), Bake_schedule::now_what(), Sew_schedule::now_what(), Lab_schedule::now_what(), Eat_at_inn_schedule::now_what(), Portrait_button::Portrait_button(), Conversation::remove_slot_face(), Egg_object::remove_this(), Actor::resurrect(), Combat_schedule::run_away(), Usecode_internal::set_item_shape(), Actor::set_schedule_type(), Stat_bar::Stat_bar(), Monster_actor::step(), Npc_actor::step(), Cheat::toggle_selected(), Usecode_internal::UI_create_new_object(), Usecode_internal::UI_remove_from_area(), Usecode_internal::UI_remove_npc(), Usecode_internal::UI_set_item_flag(), Game_object::update_from_studio(), Egg_object::update_from_studio(), Portrait_button::update_widget(), Stat_bar::update_widget(), and Face_button::update_widget().
Here is the call graph for this function:
bool Game_window::add_dirty | ( | Game_object * | obj | ) | [inline] |
Definition at line 352 of file gamewin.h.
References add_dirty(), clip_to_win(), Rectangle::enlarge(), get_shape_rect(), Rectangle::h, Exult_server::obj, and Rectangle::w.
Here is the call graph for this function:
void Game_window::set_scrolls | ( | int | newscrolltx, | |
int | newscrollty | |||
) |
Definition at line 856 of file gamewin.cc.
References c_tilesize, Map_chunk::has_dungeon(), Map_chunk::is_dungeon(), Map_chunk::is_ice_dungeon(), Map_chunk::is_roof(), and Map_chunk::setup_cache().
Here is the call graph for this function:
void Game_window::center_view | ( | Tile_coord | t | ) |
Definition at line 914 of file gamewin.cc.
Referenced by ActionCenter(), Move_actor_action::handle_event(), Game_map::locate_terrain(), Usecode_internal::UI_center_view(), Usecode_internal::UI_move_object(), and Wizard_eye().
void Game_window::set_camera_actor | ( | Actor * | a | ) |
Definition at line 927 of file gamewin.cc.
References Game_object::get_tile().
Referenced by Usecode_internal::UI_set_camera().
Here is the call graph for this function:
Actor* Game_window::get_camera_actor | ( | ) | [inline] |
Definition at line 369 of file gamewin.h.
References camera_actor.
Referenced by ActionCenter(), Combat_schedule::find_opponents(), Combat_schedule::now_what(), Combat_schedule::start_battle(), Monster_actor::step(), Npc_actor::step(), and Schedule::try_street_maintenance().
bool Game_window::scroll_if_needed | ( | Tile_coord | t | ) |
Definition at line 952 of file gamewin.cc.
References c_num_tiles, DECR_TILE(), Tile_coord::gte(), Tile_coord::tx, Tile_coord::ty, and Tile_coord::tz.
Referenced by Barge_object::finish_move(), scroll_if_needed(), Monster_actor::step(), Npc_actor::step(), and Main_actor::step().
Here is the call graph for this function:
bool Game_window::scroll_if_needed | ( | Actor * | a, | |
Tile_coord | t | |||
) | [inline] |
Definition at line 373 of file gamewin.h.
References camera_actor, and scroll_if_needed().
Here is the call graph for this function:
void Game_window::show_game_location | ( | int | x, | |
int | y | |||
) |
Rectangle Game_window::get_shape_rect | ( | const Shape_frame * | s, | |
int | x, | |||
int | y | |||
) | const [inline] |
Definition at line 381 of file gamewin.h.
References s.
Referenced by add_dirty(), Death_vortex::add_dirty(), Projectile_effect::add_dirty(), Sprites_effect::add_dirty(), Actor::add_dirty(), Paperdoll_gump::check_shape(), Game_object::compare(), Dragging_info::Dragging_info(), Figure_text_pos(), get_shape_rect(), Sfx_animator::handle_event(), Cloud::next(), Combat_schedule::now_what(), Jawbone_gump::on_tooth(), Actor::paint_weapon(), and Dragging_info::start().
Rectangle Game_window::get_shape_rect | ( | Game_object * | obj | ) |
Definition at line 1003 of file gamewin.cc.
References c_num_tiles, c_tilesize, get_scrolltx(), get_scrollty(), get_shape_rect(), Exult_server::obj, s, Tile_coord::tx, Tile_coord::ty, and Tile_coord::tz.
Here is the call graph for this function:
void Game_window::get_shape_location | ( | Game_object * | obj, | |
int & | x, | |||
int & | y | |||
) |
Definition at line 1056 of file gamewin.cc.
References Get_shape_location(), and Exult_server::obj.
Referenced by Barge_object::add_dirty(), Actor::add_dirty(), Dragging_info::Dragging_info(), Game_object::paint(), Ireg_game_object::paint(), Actor::paint(), Game_object::paint_outline(), Actor::paint_weapon(), Chunk_terrain::render_all(), and Mouse::set_speed_cursor().
Here is the call graph for this function:
void Game_window::get_shape_location | ( | Tile_coord | t, | |
int & | x, | |||
int & | y | |||
) |
Definition at line 1060 of file gamewin.cc.
References Get_shape_location().
Here is the call graph for this function:
void Game_window::plasma | ( | int | w, | |
int | h, | |||
int | x, | |||
int | y, | |||
int | startc, | |||
int | endc | |||
) |
Definition at line 2624 of file gamewin.cc.
References Image_buffer8::fill8(), Image_window8::get_ib8(), get_win(), and painted.
Referenced by BG_Game::scene_guardian(), and setup_load_palette().
Here is the call graph for this function:
void Game_window::write | ( | ) |
Definition at line 1177 of file gamewin.cc.
References Image_window::fill_translucent8(), and Ucscript::usecode.
Referenced by ActionQuicksave(), Newfile_gump::save(), and File_gump::save().
Here is the call graph for this function:
void Game_window::read | ( | ) |
Definition at line 1208 of file gamewin.cc.
References Audio::cancel_streams(), and Audio::get_ptr().
Referenced by ActionQuickrestore(), Newfile_gump::load(), File_gump::load(), and Play().
Here is the call graph for this function:
void Game_window::write_gwin | ( | ) |
Definition at line 1231 of file gamewin.cc.
References MyMidiPlayer::get_current_track(), Audio::get_midi(), Audio::get_ptr(), GWINDAT, MyMidiPlayer::is_repeating(), U7open(), StreamDataSource::write1(), StreamDataSource::write2(), and StreamDataSource::write4().
Here is the call graph for this function:
void Game_window::read_gwin | ( | ) |
Definition at line 1266 of file gamewin.cc.
References Audio::get_ptr(), Game::get_ticks(), GWINDAT, StreamDataSource::read1(), StreamDataSource::read2(), StreamDataSource::read4(), Ucscript::repeat, Audio::start_music(), Audio::stop_music(), and U7open().
Referenced by Init().
Here is the call graph for this function:
void Game_window::write_map | ( | ) |
void Game_window::read_map | ( | ) |
void Game_window::reload_usecode | ( | ) |
Definition at line 1351 of file gamewin.cc.
References file, is_system_path_defined(), PATCH_USECODE, U7exists(), U7open(), and Ucscript::usecode.
Here is the call graph for this function:
void Game_window::init_actors | ( | ) |
Definition at line 1070 of file gamewin.cc.
References Game::clear_avname(), Game::clear_avsex(), Game::clear_avskin(), Game::get_avname(), Game::get_avsex(), and Game::get_avskin().
Referenced by Handle_event().
Here is the call graph for this function:
void Game_window::init_files | ( | bool | cycle = true |
) |
Definition at line 473 of file gamewin.cc.
References Time_queue::add(), clock, config, Usecode_machine::create(), CYCLE_RED_PLASMA, EXULTMSG, game, Game::get_gametitle(), Game::get_start_tile_x(), Game::get_start_tile_y(), Game_singletons::init(), is_system_path_defined(), keybinder, Shape_manager::load(), KeyBinder::LoadDefaults(), KeyBinder::LoadFromFile(), PATCH_TEXT, scrolltx, scrollty, Configuration::set(), Setup_item_names(), setup_load_palette(), shape_man, std_delay, TEXT_FLX, tqueue, U7exists(), U7open(), usecode, and Configuration::value().
Referenced by BuildGameMap(), and Init().
Here is the call graph for this function:
void Game_window::get_saveinfo | ( | Shape_file *& | map, | |
SaveGame_Details *& | details, | |||
SaveGame_Party *& | party | |||
) |
Definition at line 661 of file gamedat.cc.
References GSAVEINFO, GSCRNSHOT, map, read_saveinfo(), and U7open().
Referenced by Newfile_gump::LoadSaveGameDetails().
Here is the call graph for this function:
bool Game_window::get_saveinfo | ( | int | num, | |
char *& | name, | |||
Shape_file *& | map, | |||
SaveGame_Details *& | details, | |||
SaveGame_Party *& | party | |||
) |
Definition at line 585 of file gamedat.cc.
References BLACK_GATE, GAMEDAT, Game::get_game_type(), GSAVEINFO, GSCRNSHOT, Flex::is_flex(), len, map, StreamDataSource::read(), read_saveinfo(), SAVENAME, snprintf, and U7open().
Here is the call graph for this function:
void Game_window::read_saveinfo | ( | DataSource * | in, | |
SaveGame_Details *& | details, | |||
SaveGame_Party *& | party | |||
) |
Definition at line 527 of file gamedat.cc.
References SaveGame_Party::combat, SaveGame_Party::dext, SaveGame_Party::exp, SaveGame_Party::flags, SaveGame_Party::flags2, SaveGame_Party::food, SaveGame_Details::game_day, SaveGame_Details::game_hour, SaveGame_Details::game_minute, SaveGame_Party::health, SaveGame_Party::intel, SaveGame_Party::magic, SaveGame_Party::mana, SaveGame_Party::name, SaveGame_Details::party_size, DataSource::read(), DataSource::read1(), DataSource::read2(), DataSource::read4(), SaveGame_Details::real_day, SaveGame_Details::real_hour, SaveGame_Details::real_minute, SaveGame_Details::real_month, SaveGame_Details::real_second, SaveGame_Details::real_year, SaveGame_Details::save_count, SaveGame_Party::shape, SaveGame_Party::shape_file, DataSource::skip(), SaveGame_Party::str, SaveGame_Party::training, and SaveGame_Details::unused.
Referenced by get_saveinfo().
Here is the call graph for this function:
void Game_window::write_saveinfo | ( | ) |
Definition at line 413 of file gamedat.cc.
References clock, Actor::combat, create_mini_screenshot(), Actor::dexterity, Actor::exp, Actor::food_level, Party_manager::get_count(), Game_clock::get_day(), Game_clock::get_hour(), Party_manager::get_member(), Game_clock::get_minute(), get_npc(), getVersionInfo(), GEXULTVER, GNEWGAMEVER, GSAVEINFO, GSCRNSHOT, Actor::health, Actor::intelligence, Actor::magic, main_actor, Actor::mana, map, Exult_server::npc, party_man, StreamDataSource::read2(), StreamDataSource::skip(), Actor::strength, Actor::training, U7exists(), U7open(), StreamDataSource::write(), StreamDataSource::write1(), StreamDataSource::write2(), and StreamDataSource::write4().
Here is the call graph for this function:
char* Game_window::get_save_name | ( | int | i | ) | const [inline] |
Definition at line 426 of file gamewin.h.
References save_names.
Referenced by File_gump::File_gump(), File_gump::mouse_up(), and File_gump::save().
void Game_window::setup_game | ( | ) |
Definition at line 2550 of file gamewin.cc.
References Map_chunk::activate_eggs(), BLACK_GATE, c_fade_out_time, config, CYCLE_RED_PLASMA, Usecode_machine::did_first_scene, Obj_flags::dont_move, Palette::fade(), Palette::fade_out(), Game_object::get_chunk(), Game::get_game_type(), Face_stats::load_config(), Game::set_ticks(), Map_chunk::setup_cache(), Tile_coord::tx, Tile_coord::ty, Tile_coord::tz, Ucscript::usecode, and Configuration::value().
Referenced by Init().
Here is the call graph for this function:
void Game_window::read_npcs | ( | ) |
Definition at line 54 of file readnpcs.cc.
References c_num_tiles, Monster_actor::create(), CYCLE_RED_PLASMA, Game::get_avname(), ShapeID::get_num_frames(), Monster_actor::give_up(), Game::is_editing(), MONSNPCS, NPC_DAT, Actor::read(), StreamDataSource::read1(), StreamDataSource::read2(), Actor::restore_schedule(), StreamDataSource::skip(), U7open(), and Schedule::wait.
Here is the call graph for this function:
void Game_window::write_npcs | ( | ) |
Definition at line 149 of file readnpcs.cc.
References Monster_actor::get_first_in_world(), Monster_actor::get_next_in_world(), MONSNPCS, NPC_DAT, StreamDataSource::seek(), U7open(), and StreamDataSource::write2().
Here is the call graph for this function:
void Game_window::read_schedules | ( | ) |
Definition at line 193 of file readnpcs.cc.
References CYCLE_RED_PLASMA, GSCHEDULE, Game::is_editing(), Exult_server::npc, offsets, StreamDataSource::read(), StreamDataSource::read2(), StreamDataSource::read4(), SCHEDULE_DAT, Schedule_change::set(), and U7open().
Here is the call graph for this function:
void Game_window::write_schedules | ( | ) |
Definition at line 258 of file readnpcs.cc.
References Schedule_change::get(), GSCHEDULE, npcs, offset, U7open(), StreamDataSource::write(), StreamDataSource::write2(), and StreamDataSource::write4().
Here is the call graph for this function:
void Game_window::revert_schedules | ( | Actor * | ) |
Definition at line 296 of file readnpcs.cc.
References Exult_server::npc, offsets, StreamDataSource::read(), StreamDataSource::read2(), StreamDataSource::read4(), SCHEDULE_DAT, Schedule_change::set(), StreamDataSource::skip(), and U7open().
Referenced by CheatScreen::BusinessActivate(), and Usecode_internal::UI_revert_schedule().
Here is the call graph for this function:
void Game_window::restore_gamedat | ( | const char * | fname | ) |
Definition at line 92 of file gamedat.cc.
References Yesno_gump::ask(), CYCLE_RED_PLASMA, FLAGINIT, GAMEDAT, GEXULTVER, GNEWGAMEVER, GSAVEINFO, GSCHEDULE, GSCRNSHOT, GWINDAT, IDENTITY, INITGAME, Game::is_editing(), KEYRINGDAT, len, MONSNPCS, NPC_DAT, StreamDataSource::read(), StreamDataSource::read4(), StreamDataSource::seek(), U7mkdir(), U7NBUF_DAT, U7open(), U7remove(), USEDAT, and USEVARS.
Referenced by init_gamedat(), Newfile_gump::load(), and File_gump::load().
Here is the call graph for this function:
void Game_window::restore_gamedat | ( | int | num | ) |
Definition at line 209 of file gamedat.cc.
References BLACK_GATE, Game::get_game_type(), SAVENAME, and snprintf.
Here is the call graph for this function:
void Game_window::save_gamedat | ( | const char * | fname, | |
const char * | savename | |||
) |
Definition at line 313 of file gamedat.cc.
References BLACK_GATE, Flex_writer::close(), Game::get_game_type(), Flex_writer::mark_section_done(), save_compression, Savefile(), U7IREG, and U7open().
Referenced by Newfile_gump::save(), and File_gump::save().
Here is the call graph for this function:
void Game_window::save_gamedat | ( | int | num, | |
const char * | savename | |||
) |
Definition at line 364 of file gamedat.cc.
References BLACK_GATE, Game::get_game_type(), newstrdup(), SAVENAME, and snprintf.
Here is the call graph for this function:
char * Game_window::get_game_identity | ( | const char * | savename | ) | [static] |
Definition at line 700 of file gamedat.cc.
References Game::get_gametitle(), Game::is_editing(), len, newstrdup(), StreamDataSource::read(), StreamDataSource::read4(), StreamDataSource::seek(), and U7open().
Referenced by Game::create_game(), and init_gamedat().
Here is the call graph for this function:
bool Game_window::init_gamedat | ( | bool | create | ) |
Definition at line 1109 of file gamewin.cc.
References get_game_identity(), Game::get_gametitle(), getVersionInfo(), GNEWGAMEVER, IDENTITY, INITGAME, Game::is_editing(), is_system_path_defined(), NPC_DAT, PATCH_INITGAME, read_save_names(), restore_gamedat(), Game::set_new_game(), U7exists(), U7NBUF_DAT, and U7open().
Referenced by SI_Game::new_game(), BG_Game::new_game(), and Game::show_menu().
Here is the call graph for this function:
void Game_window::view_right | ( | ) |
Definition at line 1369 of file gamewin.cc.
References c_num_chunks, c_tiles_per_chunk, c_tilesize, Image_window::copy(), GL_manager::get_instance(), INCR_TILE, and Send_location().
Referenced by ActionScrollRight(), and Shift_wizards_eye().
Here is the call graph for this function:
void Game_window::view_left | ( | ) |
Definition at line 1404 of file gamewin.cc.
References c_num_chunks, c_tiles_per_chunk, c_tilesize, Image_window::copy(), DECR_TILE(), GL_manager::get_instance(), and Send_location().
Referenced by ActionScrollLeft(), and Shift_wizards_eye().
Here is the call graph for this function:
void Game_window::view_down | ( | ) |
Definition at line 1436 of file gamewin.cc.
References c_num_chunks, c_tiles_per_chunk, c_tilesize, Image_window::copy(), GL_manager::get_instance(), INCR_TILE, and Send_location().
Referenced by ActionScrollDown(), and Shift_wizards_eye().
Here is the call graph for this function:
void Game_window::view_up | ( | ) |
Definition at line 1469 of file gamewin.cc.
References c_num_chunks, c_tiles_per_chunk, c_tilesize, Image_window::copy(), DECR_TILE(), GL_manager::get_instance(), and Send_location().
Referenced by ActionScrollUp(), and Shift_wizards_eye().
Here is the call graph for this function:
void Game_window::start_actor_alt | ( | int | winx, | |
int | winy, | |||
int | speed | |||
) |
Definition at line 1516 of file gamewin.cc.
References c_num_tiles, c_tiles_per_chunk, c_tilesize, east, Game_object::find_blocking(), Get_direction(), Tile_coord::get_neighbor(), Map_chunk::is_blocked(), Game_object::move_aside(), MOVE_WALK, north, northeast, northwest, Map_chunk::setup_cache(), south, southeast, southwest, Tile_coord::tx, Tile_coord::tz, and west.
Here is the call graph for this function:
void Game_window::start_actor | ( | int | winx, | |
int | winy, | |||
int | speed = 125 | |||
) |
Definition at line 1640 of file gamewin.cc.
References Obj_flags::asleep, c_num_tiles, c_tilesize, Schedule::combat, Schedule::follow_avatar, Obj_flags::paralyzed, Schedule::sleep, Tile_coord::tx, and Tile_coord::ty.
Referenced by ActionWalkEast(), ActionWalkNorth(), ActionWalkNorthEast(), ActionWalkNorthWest(), ActionWalkSouth(), ActionWalkSouthEast(), ActionWalkSouthWest(), ActionWalkWest(), Handle_event(), and Handle_events().
void Game_window::start_actor_along_path | ( | int | winx, | |
int | winy, | |||
int | speed = 125 | |||
) |
Definition at line 1691 of file gamewin.cc.
References Obj_flags::asleep, c_tilesize, Obj_flags::paralyzed, and Schedule::sleep.
Referenced by Handle_event().
void Game_window::stop_actor | ( | ) |
void Game_window::set_step_tile_delta | ( | int | size | ) | [inline] |
int Game_window::get_step_tile_delta | ( | ) | [inline] |
Definition at line 464 of file gamewin.h.
References step_tile_delta.
Referenced by Handle_events().
void Game_window::set_allow_double_right_move | ( | bool | a | ) | [inline] |
Definition at line 465 of file gamewin.h.
References allow_double_right_move.
Referenced by GameplayOptions_gump::save_settings().
bool Game_window::get_allow_double_right_move | ( | ) | [inline] |
Definition at line 466 of file gamewin.h.
References allow_double_right_move.
Referenced by Handle_event(), and GameplayOptions_gump::load_settings().
void Game_window::teleport_party | ( | Tile_coord | t, | |
bool | skip_eggs = false | |||
) |
Definition at line 1740 of file gamewin.cc.
References Map_chunk::find_spot(), ShapeID::get_framenum(), Actor::get_schedule_type(), ShapeID::get_shapenum(), Actor::is_dead(), Ireg_game_object::move(), Actor::set_action(), Map_chunk::try_all_eggs(), Tile_coord::tx, Tile_coord::ty, Tile_coord::tz, and Schedule::wait.
Referenced by Egg_object::activate_teleport(), Cheat::cursor_teleport(), Cheat::map_teleport(), CheatScreen::NPCActivate(), Usecode_internal::UI_move_object(), Usecode_internal::UI_recall_virtue_stone(), and Usecode_internal::UI_teleport_to_saved_pos().
Here is the call graph for this function:
bool Game_window::activate_item | ( | int | shnum, | |
int | frnum = c_any_framenum , |
|||
int | qual = c_any_qual | |||
) |
Definition at line 1814 of file gamewin.cc.
References Exult_server::obj.
Referenced by ActionUseFood(), and ActionUseItem().
Game_object * Game_window::find_object | ( | int | x, | |
int | y | |||
) |
Definition at line 1842 of file gamewin.cc.
References c_num_chunks, c_tiles_per_chunk, c_tilesize, INCR_CHUNK, Game_object::lt(), Exult_server::obj, and s.
Referenced by ActionTryKeys(), Cheat::delete_object(), Dragging_info::Dragging_info(), Dragging_info::drop_on_map(), Usecode_internal::UI_click_on_item(), and Usecode_internal::UI_is_water().
Here is the call graph for this function:
void Game_window::show_items | ( | int | x, | |
int | y, | |||
bool | ctrl = false | |||
) |
Definition at line 1904 of file gamewin.cc.
References Cheat::append_selected(), Obj_flags::asleep, c_tiles_per_chunk, cheat, Cheat::clear_selected(), Gump::find_object(), Gump::get_cont_or_actor(), Cheat::get_edit_mode(), ShapeID::get_info(), Map_chunk::get_objects(), Actor::get_property(), Cheat::grabbing_actor(), Actor::health, Cheat::in_map_editor(), Exult_server::info, Combat::mode, Cheat::move, Exult_server::npc, Cheat::number_npcs(), Exult_server::obj, Obj_flags::okay_to_take, Combat::original, Cheat::set_grabbed_actor(), snprintf, Cheat::toggle_selected(), Tile_coord::tx, Tile_coord::ty, and Tile_coord::tz.
Referenced by Handle_event().
Here is the call graph for this function:
void Game_window::paused_combat_select | ( | int | x, | |
int | y | |||
) |
Definition at line 2051 of file gamewin.cc.
References Obj_flags::asleep, Mouse::blocked, c_tilesize, Mouse::flash_shape(), Get_click(), Mouse::greenselect, HIT_PIXEL, Is_body(), Actor::is_in_party(), Mouse::mouse, Exult_server::npc, Exult_server::obj, Obj_flags::paralyzed, PROTECT_PIXEL, and Mouse::redx.
Referenced by Handle_event().
Here is the call graph for this function:
ShapeID Game_window::get_flat | ( | int | x, | |
int | y | |||
) |
Definition at line 2108 of file gamewin.cc.
References c_num_tiles, c_tiles_per_chunk, c_tilesize, and Map_chunk::get_flat().
Referenced by Usecode_internal::UI_is_water().
Here is the call graph for this function:
void Game_window::delete_object | ( | Game_object * | obj | ) |
Definition at line 2127 of file gamewin.cc.
References Exult_server::obj.
Referenced by Cheat::cut(), Game_object::remove_this(), Ireg_game_object::remove_this(), and Egg_object::remove_this().
void Game_window::double_clicked | ( | int | x, | |
int | y | |||
) |
Definition at line 2162 of file gamewin.cc.
References Palette::apply(), Mouse::blocked, c_num_tiles, c_tilesize, cheat, Exult_server::combo_pick, Cheat::combo_pick, Mouse::flash_shape(), Usecode_script::get_count(), Cheat::get_edit_mode(), Cheat::in_hack_mover(), Cheat::in_map_editor(), Is_body(), Fast_pathfinder_client::is_grabable(), Combat::is_paused(), Is_sign(), item_names, Palette::load(), Mouse::mouse, Exult_server::npc, Exult_server::obj, Object_out(), PALETTES_FLX, Tile_coord::tx, Tile_coord::ty, Tile_coord::tz, Ucscript::usecode, and XFORMTBL.
Referenced by ActionTarget(), and Handle_event().
Here is the call graph for this function:
bool Game_window::start_dragging | ( | int | x, | |
int | y | |||
) |
Definition at line 530 of file drag.cc.
References dragging.
Referenced by Get_click(), and Handle_event().
bool Game_window::drag | ( | int | x, | |
int | y | |||
) |
Definition at line 548 of file drag.cc.
References dragging.
Referenced by Get_click(), and Handle_event().
bool Game_window::drop_dragged | ( | int | x, | |
int | y, | |||
bool | moved | |||
) |
Definition at line 564 of file drag.cc.
References dragging.
Referenced by Get_click(), and Handle_event().
bool Game_window::is_dragging | ( | ) | const [inline] |
Definition at line 484 of file gamewin.h.
References dragging.
Referenced by Combat_schedule::set_weapon(), and Usecode_internal::UI_close_gumps().
bool Game_window::drop_at_lift | ( | Game_object * | to_drop, | |
int | x, | |||
int | y, | |||
int | at_lift | |||
) |
Definition at line 585 of file drag.cc.
References Map_chunk::activate_eggs(), c_num_tiles, c_tiles_per_chunk, c_tilesize, cheat, Cheat::get_edit_lift(), ShapeID::get_info(), Game_object::get_tile(), Cheat::in_hack_mover(), Exult_server::info, Map_chunk::is_blocked(), Fast_pathfinder_client::is_grabable(), Game_object::move(), MOVE_MAPEDIT, MOVE_WALK, and Game_object::set_invalid().
Referenced by Dragging_info::drop_on_map(), Cheat::paste(), Egg_object::update_from_studio(), and Actor::update_from_studio().
Here is the call graph for this function:
Gump * Game_window::get_dragging_gump | ( | ) |
Definition at line 1505 of file gamewin.cc.
References dragging.
Referenced by Gump_manager::add_gump(), and Mouse::set_speed_cursor().
Shape_file * Game_window::create_mini_screenshot | ( | ) |
Definition at line 2759 of file gamewin.cc.
References Shape_frame::create_rle(), get_height(), get_width(), Image_window8::mini_screenshot(), paint(), Game_render::paint_map(), render, Shape_frame::rle, set_all_dirty(), win, Shape_frame::xleft, Shape_frame::xright, Shape_frame::yabove, and Shape_frame::ybelow.
Referenced by Newfile_gump::LoadSaveGameDetails(), and write_saveinfo().
Here is the call graph for this function:
void Game_window::emulate_cache | ( | int | oldx, | |
int | oldy, | |||
int | newx, | |||
int | newy | |||
) |
Definition at line 2649 of file gamewin.cc.
References c_num_chunks, c_tiles_per_chunk, Game_map::cache_out(), effects, Deleted_objects::flush(), Game_map::get_chunk_safely(), Ireg_game_object::get_flag(), get_map(), Map_chunk::get_objects(), Obj_flags::is_temporary, map, Usecode_script::purge(), Effects_manager::remove_weather_effects(), removed, Tile_coord::tx, Tile_coord::ty, and Tile_coord::tz.
Referenced by Main_actor::switched_chunks().
Here is the call graph for this function:
bool Game_window::emulate_is_move_allowed | ( | int | tx, | |
int | ty | |||
) |
Definition at line 2737 of file gamewin.cc.
References c_chunks_per_schunk, c_num_schunks, c_tiles_per_schunk, camera_actor, Game_object::get_cx(), and Game_object::get_cy().
Referenced by Monster_actor::step().
Here is the call graph for this function:
void Game_window::emulate_swapout | ( | int | scx, | |
int | scy | |||
) |
void Game_window::setup_load_palette | ( | ) |
Definition at line 2796 of file gamewin.cc.
References Palette::apply(), BG_PLASMA_CYCLE_RANGE, BG_PLASMA_START_COLOR, BLACK_GATE, Game::get_game_type(), get_height(), get_width(), Palette::load(), load_palette_timer, MAINSHP_FLX, pal, plasma(), plasma_cycle_range, plasma_start_color, SERPENT_ISLE, SI_PLASMA_CYCLE_RANGE, and SI_PLASMA_START_COLOR.
Referenced by init_files().
Here is the call graph for this function:
void Game_window::cycle_load_palette | ( | ) |
Definition at line 2825 of file gamewin.cc.
References get_win(), load_palette_timer, plasma_cycle_range, plasma_start_color, and show().
Here is the call graph for this function:
friend class Game_render [friend] |
Game_window * Game_window::game_window [static, private] |
Dragging_info* Game_window::dragging [private] |
Effects_manager* Game_window::effects [private] |
Definition at line 85 of file gamewin.h.
Referenced by Effects_manager::add_effect(), emulate_cache(), get_effects(), Effects_manager::get_weather(), Effects_manager::paint(), Effects_manager::remove_all_effects(), Effects_manager::remove_effect(), and Effects_manager::remove_weather_effects().
Game_clock* Game_window::clock [private] |
Definition at line 86 of file gamewin.h.
Referenced by get_clock(), init_files(), and write_saveinfo().
Game_map* Game_window::map [private] |
Definition at line 87 of file gamewin.h.
Referenced by emulate_cache(), get_map(), get_map_patches(), get_saveinfo(), paint(), Game_render::paint_blackness(), Game_render::paint_chunk_flat_rles(), Game_render::paint_chunk_flats(), Game_render::paint_chunk_objects(), Game_render::paint_map(), Game_render::paint_terrain_only(), and write_saveinfo().
Game_render* Game_window::render [private] |
Gump_manager* Game_window::gump_man [private] |
Party_manager* Game_window::party_man [private] |
Image_window8* Game_window::win [private] |
Definition at line 91 of file gamewin.h.
Referenced by clear_screen(), create_mini_screenshot(), get_height(), get_width(), get_win(), get_win_rect(), Earthquake::handle_event(), Sparkle_effect::handle_event(), Rain_effect::handle_event(), Rain_effect::paint(), Game_render::paint_blackness(), Game_render::paint_chunk_flats(), and show().
Npc_proximity_handler* Game_window::npc_prox [private] |
Palette* Game_window::pal [private] |
Shape_manager* Game_window::shape_man [private] |
Time_queue* Game_window::tqueue [private] |
Time_sensitive* Game_window::background_noise [private] |
Usecode_machine* Game_window::usecode [private] |
bool Game_window::combat [private] |
bool Game_window::focus [private] |
bool Game_window::ice_dungeon [private] |
Definition at line 101 of file gamewin.h.
Referenced by Game_render::paint_map(), and set_ice_dungeon().
bool Game_window::painted [private] |
Definition at line 102 of file gamewin.h.
Referenced by Game_render::paint_map(), plasma(), set_painted(), show(), and was_painted().
int Game_window::skip_above_actor [private] |
Definition at line 104 of file gamewin.h.
Referenced by get_render_skip_lift(), is_main_actor_inside(), Game_render::paint_map(), and set_above_main_actor().
unsigned int Game_window::in_dungeon [private] |
Definition at line 105 of file gamewin.h.
Referenced by is_in_dungeon(), Game_render::paint_blackness(), Game_render::paint_map(), and set_in_dungeon().
int Game_window::num_npcs1 [private] |
int Game_window::std_delay [private] |
Definition at line 107 of file gamewin.h.
Referenced by get_std_delay(), init_files(), and set_std_delay().
long Game_window::time_stopped [private] |
unsigned long Game_window::special_light [private] |
int Game_window::theft_warnings [private] |
short Game_window::theft_cx [private] |
short Game_window::theft_cy [private] |
Barge_object* Game_window::moving_barge [private] |
Main_actor* Game_window::main_actor [private] |
Definition at line 114 of file gamewin.h.
Referenced by get_main_actor(), main_actor_dont_move(), Effects_manager::remove_weather_effects(), and write_saveinfo().
Actor* Game_window::camera_actor [private] |
Definition at line 115 of file gamewin.h.
Referenced by emulate_is_move_allowed(), get_camera_actor(), and scroll_if_needed().
Actor_vector Game_window::npcs [private] |
Definition at line 116 of file gamewin.h.
Referenced by get_npc(), get_num_npcs(), Death_vortex::handle_event(), and write_schedules().
Exult_vector<Dead_body*> Game_window::bodies [private] |
Deleted_objects* Game_window::removed [private] |
int Game_window::scrolltx [private] |
Definition at line 120 of file gamewin.h.
Referenced by get_scrolltx(), init_files(), Game_render::paint_blackness(), Game_render::paint_map(), and Game_render::paint_terrain_only().
int Game_window::scrollty [private] |
Definition at line 120 of file gamewin.h.
Referenced by get_scrollty(), init_files(), Game_render::paint_blackness(), Game_render::paint_map(), and Game_render::paint_terrain_only().
Rectangle Game_window::scroll_bounds [private] |
Rectangle Game_window::dirty [private] |
Definition at line 122 of file gamewin.h.
Referenced by add_dirty(), clear_dirty(), paint_dirty(), and set_all_dirty().
char* Game_window::save_names[10] [private] |
bool Game_window::mouse3rd [private] |
bool Game_window::fastmouse [private] |
bool Game_window::double_click_closes_gumps [private] |
Definition at line 128 of file gamewin.h.
Referenced by get_double_click_closes_gumps(), and set_double_click_closes_gumps().
int Game_window::text_bg [private] |
int Game_window::step_tile_delta [private] |
Definition at line 130 of file gamewin.h.
Referenced by get_step_tile_delta(), and set_step_tile_delta().
bool Game_window::allow_double_right_move [private] |
Definition at line 131 of file gamewin.h.
Referenced by get_allow_double_right_move(), and set_allow_double_right_move().
uint32 Game_window::load_palette_timer [private] |
Definition at line 141 of file gamewin.h.
Referenced by cycle_load_palette(), and setup_load_palette().
int Game_window::plasma_start_color [private] |
Definition at line 142 of file gamewin.h.
Referenced by cycle_load_palette(), and setup_load_palette().
int Game_window::plasma_cycle_range [private] |
Definition at line 142 of file gamewin.h.
Referenced by cycle_load_palette(), and setup_load_palette().
Definition at line 150 of file gamewin.h.
Referenced by Cheat::dec_skip_lift(), get_render_skip_lift(), Game_render::paint_map(), and Cheat::set_skip_lift().
Definition at line 152 of file gamewin.h.
Referenced by Egglike_game_object::is_findable(), CheatScreen::NormalMenu(), Egglike_game_object::paint(), Barge_object::paint(), Cheat::toggle_eggs(), and Cheat::toggle_map_editor().
Definition at line 153 of file gamewin.h.
Referenced by Egg_object::activate(), and Usecode_internal::UI_armageddon().