#include <browser.h>
Collaboration diagram for ShapeBrowser:
Public Member Functions | |
ShapeBrowser () | |
~ShapeBrowser () | |
void | browse_shapes () |
bool | get_shape (int &shape, int &frame) |
Private Attributes | |
Vga_file * | shapes |
int | current_shape |
int | current_frame |
int | current_file |
int | current_palette |
int | current_xform |
int | num_shapes |
int | num_frames |
int | num_files |
int | num_palettes |
int | num_xforms |
Definition at line 25 of file browser.h.
ShapeBrowser::ShapeBrowser | ( | ) |
Definition at line 41 of file browser.cc.
References current_file, current_frame, current_palette, current_shape, current_xform, game, Game::get_resource(), str_int_pair::num, num_files, num_frames, num_palettes, num_shapes, num_xforms, and shapes.
Here is the call graph for this function:
ShapeBrowser::~ShapeBrowser | ( | ) |
void ShapeBrowser::browse_shapes | ( | ) |
Definition at line 77 of file browser.cc.
References Palette::apply(), Game_window::clear_screen(), current_file, current_frame, current_palette, current_shape, current_xform, Font::draw_text(), Image_window8::fill8(), fontManager, Ucscript::frame, game, FontManager::get_font(), Game_window::get_height(), Image_window8::get_ib8(), ShapeID::get_info(), Shape_manager::get_instance(), Game_window::get_instance(), Vga_file::get_num_frames(), Vga_file::get_num_shapes(), Game::get_resource(), Vga_file::get_shape(), Game_window::get_width(), Game_window::get_win(), gwin, handle_key(), Exult_server::info, item_names, Palette::load(), make_screenshot(), str_int_pair::num, num_files, num_frames, num_palettes, num_shapes, num_xforms, Shape_manager::paint_shape(), Font::paint_text_fixedwidth(), shapes, snprintf, and str_int_pair::str.
Referenced by Cheat::shape_browser().
Here is the call graph for this function:
bool ShapeBrowser::get_shape | ( | int & | shape, | |
int & | frame | |||
) |
Definition at line 253 of file browser.cc.
References current_file, current_frame, current_shape, and shapes.
Referenced by Cheat::create_last_shape(), and Cheat::get_browser_shape().
Vga_file* ShapeBrowser::shapes [private] |
Definition at line 27 of file browser.h.
Referenced by browse_shapes(), get_shape(), ShapeBrowser(), and ~ShapeBrowser().
int ShapeBrowser::current_shape [private] |
Definition at line 28 of file browser.h.
Referenced by browse_shapes(), get_shape(), and ShapeBrowser().
int ShapeBrowser::current_frame [private] |
Definition at line 29 of file browser.h.
Referenced by browse_shapes(), get_shape(), and ShapeBrowser().
int ShapeBrowser::current_file [private] |
Definition at line 30 of file browser.h.
Referenced by browse_shapes(), get_shape(), and ShapeBrowser().
int ShapeBrowser::current_palette [private] |
int ShapeBrowser::current_xform [private] |
int ShapeBrowser::num_shapes [private] |
int ShapeBrowser::num_frames [private] |
int ShapeBrowser::num_files [private] |
int ShapeBrowser::num_palettes [private] |
int ShapeBrowser::num_xforms [private] |