#include <vgafile.h>
Inheritance diagram for Vga_file:
Public Member Functions | |
Vga_file (const char *nm, int u7drag=-1, const char *nm2=0) | |
Vga_file () | |
int | get_u7drag_type () const |
void | load (const char *nm, const char *nm2=0) |
void | reset () |
virtual | ~Vga_file () |
int | get_num_shapes () const |
int | is_good () const |
bool | is_flex () const |
Shape_frame * | get_shape (int shapenum, int framenum=0) |
Shape * | extract_shape (int shapenum) |
int | get_num_frames (int shapenum) |
Shape * | new_shape (int shapenum) |
Protected Attributes | |
int | num_shapes |
int | num_shapes1 |
int | num_shapes2 |
Shape * | shapes |
Private Attributes | |
std::ifstream | file |
DataSource * | shape_source |
std::ifstream | file2 |
DataSource * | shape_source2 |
int | u7drag_type |
bool | flex |
Definition at line 219 of file vgafile.h.
Vga_file::Vga_file | ( | const char * | nm, | |
int | u7drag = -1 , |
|||
const char * | nm2 = 0 | |||
) |
Definition at line 1210 of file vgafile.cc.
Vga_file::Vga_file | ( | ) |
Definition at line 1222 of file vgafile.cc.
Vga_file::~Vga_file | ( | ) | [virtual] |
Definition at line 1301 of file vgafile.cc.
References reset().
Here is the call graph for this function:
int Vga_file::get_u7drag_type | ( | ) | const [inline] |
Definition at line 239 of file vgafile.h.
References u7drag_type.
Referenced by Shape_chooser::drag_data_get().
void Vga_file::load | ( | const char * | nm, | |
const char * | nm2 = 0 | |||
) |
Definition at line 1236 of file vgafile.cc.
References file, get_system_path(), Flex::is_flex(), DataSource::read4(), DataSource::seek(), U7exists(), and U7open().
Referenced by ExultMenu::ExultMenu(), Game::Game(), and Shapes_vga_file::init().
Here is the call graph for this function:
void Vga_file::reset | ( | ) |
Definition at line 1280 of file vgafile.cc.
References file, file2, num_shapes, num_shapes1, num_shapes2, shape_source, shape_source2, and shapes.
Referenced by ~Vga_file().
int Vga_file::get_num_shapes | ( | ) | const [inline] |
Definition at line 244 of file vgafile.h.
References num_shapes, and num_shapes2.
Referenced by ShapeBrowser::browse_shapes(), Extract(), Game_map::find_unused_shapes(), CheatScreen::FlagActivate(), Shape_chooser::new_shape(), and CheatScreen::NPCActivate().
int Vga_file::is_good | ( | ) | const [inline] |
Definition at line 246 of file vgafile.h.
References shapes.
Referenced by Shape_file_set::create(), and ShapeID::get_num_frames().
bool Vga_file::is_flex | ( | ) | const [inline] |
Definition at line 248 of file vgafile.h.
References flex.
Referenced by Shape_chooser::del_frame().
Shape_frame* Vga_file::get_shape | ( | int | shapenum, | |
int | framenum = 0 | |||
) | [inline] |
Definition at line 251 of file vgafile.h.
References Shape::get(), num_shapes1, num_shapes2, shape_source, shape_source2, and shapes.
Referenced by ShapeBrowser::browse_shapes(), ShapeID::cache_shape(), Shape_chooser::drag_begin(), Combo_chooser::drag_begin(), Shape_chooser::export_png(), extract_shape(), get_num_frames(), SI_Game::new_game(), BG_Game::new_game(), Shape_chooser::next_row(), ExultStudio::open_shape_window(), Shape_chooser::render(), ExultMenu::run(), ExultStudio::save_shape_window(), BG_Game::scene_butterfly(), BG_Game::scene_desk(), BG_Game::scene_guardian(), BG_Game::scene_lord_british(), BG_Game::scene_moongate(), ExultMenu::setup(), SI_Game::show_journey_failed(), BG_Game::show_journey_failed(), Game::show_menu(), SI_Game::top_menu(), and BG_Game::top_menu().
Here is the call graph for this function:
Shape* Vga_file::extract_shape | ( | int | shapenum | ) | [inline] |
Definition at line 273 of file vgafile.h.
References get_num_frames(), get_shape(), and shapes.
Referenced by Shape_chooser::del_frame(), Extract(), Import_png(), Import_png_tiles(), Shape_chooser::new_frame(), Shape_chooser::render_frames(), ExultMenu::run(), Shape_chooser::scroll_to_frame(), SI_Game::show_credits(), BG_Game::show_credits(), SI_Game::show_quotes(), and BG_Game::show_quotes().
Here is the call graph for this function:
int Vga_file::get_num_frames | ( | int | shapenum | ) | [inline] |
Definition at line 283 of file vgafile.h.
References get_shape(), Shape::num_frames, and shapes.
Referenced by ShapeBrowser::browse_shapes(), Shape_chooser::create_new_shape(), extract_shape(), Shape_chooser::frame_changed(), ShapeID::get_num_frames(), Shape_chooser::new_shape(), Shape_chooser::on_shapes_popup_edtiles_activate(), ExultStudio::open_shape_window(), and Shape_chooser::select().
Here is the call graph for this function:
Shape * Vga_file::new_shape | ( | int | shapenum | ) |
std::ifstream Vga_file::file [private] |
DataSource* Vga_file::shape_source [private] |
std::ifstream Vga_file::file2 [private] |
DataSource* Vga_file::shape_source2 [private] |
int Vga_file::u7drag_type [private] |
bool Vga_file::flex [private] |
int Vga_file::num_shapes [protected] |
Definition at line 232 of file vgafile.h.
Referenced by get_num_shapes(), Shapes_vga_file::init(), Shapes_vga_file::read_info(), reset(), and Shapes_vga_file::Shapes_vga_file().
int Vga_file::num_shapes1 [protected] |
int Vga_file::num_shapes2 [protected] |
Shape* Vga_file::shapes [protected] |
Definition at line 235 of file vgafile.h.
Referenced by extract_shape(), Shape::get(), get_num_frames(), get_shape(), is_good(), and reset().