SI_Game Class Reference

#include <sigame.h>

Inheritance diagram for SI_Game:

Inheritance graph
[legend]
Collaboration diagram for SI_Game:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SI_Game ()
 ~SI_Game ()
virtual void play_intro ()
virtual void end_game (bool success)
virtual void top_menu ()
virtual void show_quotes ()
virtual void show_credits ()
virtual bool new_game (Vga_file &shapes)
virtual int get_start_tile_x ()
virtual int get_start_tile_y ()
virtual void show_journey_failed ()

Static Public Member Functions

static bool is_installed ()

Detailed Description

Definition at line 25 of file sigame.h.


Constructor & Destructor Documentation

SI_Game::SI_Game (  ) 

Definition at line 50 of file sigame.cc.

References Map_patch_collection::add(), FontManager::add_font(), Game::add_resource(), Game::add_shape(), fontManager, Game_window::get_map_patches(), Game::gwin, MAINSHP_FLX, and PALETTES_FLX.

Here is the call graph for this function:

SI_Game::~SI_Game (  ) 

Definition at line 162 of file sigame.cc.


Member Function Documentation

void SI_Game::play_intro (  )  [virtual]

Implements Game.

Definition at line 176 of file sigame.cc.

References Audio::cancel_streams(), Font::center_text(), Game::centerx, Game::centery, Game_window::clear_screen(), Font::draw_text(), fontManager, FORGET_ARRAY, FontManager::get_font(), Shape::get_frame(), get_frame(), Audio::get_midi(), Shape::get_num_frames(), Audio::get_ptr(), Font::get_text_width(), Game::gwin, Game::ibuf, playfli::info(), MyMidiPlayer::is_fm_synth(), Audio::is_speech_enabled(), Game::jive, Shape_manager::paint_shape(), Audio::play(), playfli::play(), U7object::retrieve(), Game::shapes, Image_window::show(), size, Game_singletons::sman, Ucscript::speech, Audio::start_music(), Audio::stop_music(), Game::topx, wait_delay(), and Game::win.

Here is the call graph for this function:

void SI_Game::end_game ( bool  success  )  [virtual]

Implements Game.

Definition at line 989 of file sigame.cc.

References ExCineEvent::can_play(), Audio::cancel_streams(), Game_window::clear_screen(), COUT, ExCineFlic::fade_out(), fontManager, ExCineFlic::free_flic(), FontManager::get_font(), Audio::get_midi(), Audio::get_ptr(), Game::gwin, MyMidiPlayer::is_fm_synth(), Audio::is_speech_enabled(), ExCineFlic::play_it(), ExCineVoc::play_it(), Image_window::show(), Ucscript::speech, Audio::start_music(), Audio::stop_music(), ExCineEvent::time, wait_delay(), and Game::win.

Here is the call graph for this function:

void SI_Game::top_menu (  )  [virtual]

Implements Game.

Definition at line 829 of file sigame.cc.

References Palette::fade_in(), Vga_file::get_shape(), Palette::load(), MAINSHP_FLX, Game::menushapes, Shape_manager::paint_shape(), Game_singletons::pal, Game::play_midi(), Game_singletons::sman, Game::topx, and Game::topy.

Here is the call graph for this function:

void SI_Game::show_quotes (  )  [virtual]

Implements Game.

Definition at line 1231 of file sigame.cc.

References Vga_file::extract_shape(), fontManager, FontManager::get_font(), Game::gwin, MAINSHP_FLX, Game::menushapes, and Game::play_midi().

Here is the call graph for this function:

void SI_Game::show_credits (  )  [virtual]

Implements Game.

Definition at line 1241 of file sigame.cc.

References Vga_file::extract_shape(), fontManager, FontManager::get_font(), Game::gwin, MAINSHP_FLX, Game::menushapes, Game::play_midi(), and U7open().

Here is the call graph for this function:

bool SI_Game::new_game ( Vga_file shapes  )  [virtual]

Implements Game.

Definition at line 1255 of file sigame.cc.

References Palette::apply(), c_fade_out_time, Game::centerx, Game_window::clear_screen(), Font::draw_text(), FACES_VGA, Palette::fade_out(), fontManager, FontManager::get_font(), Vga_file::get_shape(), Game::gwin, Game::ibuf, Game_window::init_gamedat(), len, Game::menushapes, Shape_manager::paint_shape(), Game_singletons::pal, Game::set_avname(), Game::set_avsex(), Game::set_avskin(), Game::shapes, Game_singletons::sman, snprintf, Game::topx, and Game::topy.

Here is the call graph for this function:

virtual int SI_Game::get_start_tile_x (  )  [inline, virtual]

Implements Game.

Definition at line 36 of file sigame.h.

References c_tiles_per_chunk.

virtual int SI_Game::get_start_tile_y (  )  [inline, virtual]

Implements Game.

Definition at line 38 of file sigame.h.

References c_tiles_per_chunk.

void SI_Game::show_journey_failed (  )  [virtual]

Implements Game.

Definition at line 837 of file sigame.cc.

References Palette::fade_out(), Vga_file::get_shape(), Game::journey_failed_text(), Game::menushapes, Shape_manager::paint_shape(), Game_singletons::pal, Game_singletons::sman, Game::topx, and Game::topy.

Here is the call graph for this function:

bool SI_Game::is_installed (  )  [static]

Definition at line 1415 of file sigame.cc.

References get_system_path(), and U7exists().

Referenced by BG_Game::new_game(), and ExultMenu::run().

Here is the call graph for this function:


The documentation for this class was generated from the following files:
Generated on Mon Jul 9 15:02:59 2007 for ExultEngine by  doxygen 1.5.1