ShapeBrowser Class Reference

#include <browser.h>

Collaboration diagram for ShapeBrowser:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ShapeBrowser ()
 ~ShapeBrowser ()
void browse_shapes ()
bool get_shape (int &shape, int &frame)

Private Attributes

Vga_fileshapes
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

Detailed Description

Definition at line 25 of file browser.h.


Constructor & Destructor Documentation

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 (  ) 

Definition at line 56 of file browser.cc.

References shapes.


Member Function Documentation

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().


Member Data Documentation

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]

Definition at line 31 of file browser.h.

Referenced by browse_shapes(), and ShapeBrowser().

int ShapeBrowser::current_xform [private]

Definition at line 32 of file browser.h.

Referenced by browse_shapes(), and ShapeBrowser().

int ShapeBrowser::num_shapes [private]

Definition at line 33 of file browser.h.

Referenced by browse_shapes(), and ShapeBrowser().

int ShapeBrowser::num_frames [private]

Definition at line 34 of file browser.h.

Referenced by browse_shapes(), and ShapeBrowser().

int ShapeBrowser::num_files [private]

Definition at line 35 of file browser.h.

Referenced by browse_shapes(), and ShapeBrowser().

int ShapeBrowser::num_palettes [private]

Definition at line 36 of file browser.h.

Referenced by browse_shapes(), and ShapeBrowser().

int ShapeBrowser::num_xforms [private]

Definition at line 37 of file browser.h.

Referenced by browse_shapes(), and ShapeBrowser().


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