#include <exultmenu.h>
Collaboration diagram for ExultMenu:
Public Member Functions | |
ExultMenu (Game_window *gw) | |
~ExultMenu () | |
Exult_Game | run () |
void | setup () |
Private Member Functions | |
void | calc_win () |
Private Attributes | |
Game_window * | gwin |
Image_buffer8 * | ibuf |
Vga_file | exult_flx |
int | topx |
int | topy |
int | centerx |
int | centery |
int | menuy |
Mouse * | menu_mouse |
Definition at line 29 of file exultmenu.h.
ExultMenu::ExultMenu | ( | Game_window * | gw | ) |
Definition at line 46 of file exultmenu.cc.
References FontManager::add_font(), calc_win(), exult_flx, EXULT_FLX_FONT_SHP, fontManager, Image_window8::get_ib8(), Game_window::get_win(), gwin, ibuf, and Vga_file::load().
Here is the call graph for this function:
ExultMenu::~ExultMenu | ( | ) |
Definition at line 55 of file exultmenu.cc.
void ExultMenu::calc_win | ( | ) | [private] |
Definition at line 59 of file exultmenu.cc.
References centerx, centery, Game_window::get_height(), Game_window::get_width(), gwin, menuy, topx, and topy.
Referenced by ExultMenu(), and setup().
Here is the call graph for this function:
Exult_Game ExultMenu::run | ( | ) |
Definition at line 235 of file exultmenu.cc.
References MenuList::add_entry(), Palette::apply(), BLACK_GATE, c_fade_in_time, c_fade_out_time, Audio::can_sfx(), Font::center_text(), centerx, Game_window::clear_screen(), Font::draw_text(), Vga_file::extract_shape(), exult_flx, EXULT_FLX_BLACK_GATE_SHP, EXULT_FLX_CREDITS_TXT, EXULT_FLX_EXIT_SHP, EXULT_FLX_EXTRAS_SHP, EXULT_FLX_EXULT0_PAL, EXULT_FLX_EXULT_CREDITS_SHP, EXULT_FLX_EXULT_LOGO_SHP, EXULT_FLX_EXULT_QUOTES_SHP, EXULT_FLX_MEDITOWN_MID, EXULT_FLX_POINTERS_SHP, EXULT_FLX_QUOTES_TXT, EXULT_FLX_SERPENT_ISLE_SHP, EXULT_FLX_SETUP_SHP, EXULT_FLX_SFX_ICON_SHP, Palette::fade_in(), Palette::fade_out(), fontManager, FontManager::get_font(), Shape_frame::get_height(), Image_window8::get_ib8(), Shape_manager::get_instance(), Game_window::get_pal(), Audio::get_ptr(), Vga_file::get_shape(), Font::get_text_width(), Game_window::get_win(), XMIDI::GetEventList(), gwin, MenuList::handle_events(), SI_Game::is_installed(), BG_Game::is_installed(), Palette::load(), menu_mouse, menuy, MIDI_DRIVER_OGG, NONE, Shape_manager::paint_shape(), SERPENT_ISLE, MenuList::set_selection(), setup(), Audio::start_music(), Audio::stop_music(), topx, topy, VERSION, wait_delay(), and XMIDI_CONVERT_NOCONVERSION.
Here is the call graph for this function:
void ExultMenu::setup | ( | ) |
Definition at line 69 of file exultmenu.cc.
References MenuChoice::add_choice(), MenuList::add_entry(), Palette::apply(), c_fade_out_time, calc_win(), Exult_server::cancel, centerx, cheat, Game_window::clear_screen(), config, exult_flx, EXULT_FLX_CANCEL_SHP, EXULT_FLX_CHEATING_SHP, EXULT_FLX_FULL_SCREEN_SHP, EXULT_FLX_MIDI_CONVERSION_SHP, EXULT_FLX_OK_SHP, EXULT_FLX_PALETTE_FADES_SHP, EXULT_FLX_PLAY_1ST_SCENE_SHP, EXULT_FLX_PLAY_INTRO_SHP, EXULT_FLX_SCALING_METHOD_SHP, EXULT_FLX_SFX_CONVERSION_SHP, Palette::fade_out(), fontManager, MenuChoice::get_choice(), Palette::get_fades_enabled(), FontManager::get_font(), Image_window::get_height(), Audio::get_midi(), Image_window::get_name_for_scaler(), Game_window::get_pal(), get_play_1st_scene(), get_play_intro(), Audio::get_ptr(), Image_window::get_scale(), Image_window::get_scaler(), Vga_file::get_shape(), Image_window::get_width(), Game_window::get_win(), gwin, MenuList::handle_events(), Image_window::is_fullscreen(), menu_mouse, menuy, Image_window::NoScaler, Image_window::NumScalers, Game_window::resized(), Configuration::set(), MenuChoice::set_choice(), MyMidiPlayer::set_effects_conversion(), Cheat::set_enabled(), Palette::set_fades_enabled(), MyMidiPlayer::set_music_conversion(), set_play_1st_scene(), set_play_intro(), MenuList::set_selection(), Image_window::toggle_fullscreen(), XMIDI_CONVERT_GS127_TO_GS, and XMIDI_CONVERT_NOCONVERSION.
Referenced by run().
Here is the call graph for this function:
Game_window* ExultMenu::gwin [private] |
Definition at line 31 of file exultmenu.h.
Referenced by calc_win(), ExultMenu(), run(), and setup().
Image_buffer8* ExultMenu::ibuf [private] |
Vga_file ExultMenu::exult_flx [private] |
int ExultMenu::topx [private] |
int ExultMenu::topy [private] |
int ExultMenu::centerx [private] |
int ExultMenu::centery [private] |
int ExultMenu::menuy [private] |
Mouse* ExultMenu::menu_mouse [private] |