Shapes_vga_file Class Reference

#include <shapevga.h>

Inheritance diagram for Shapes_vga_file:

Inheritance graph
[legend]
Collaboration diagram for Shapes_vga_file:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Shapes_vga_file ()
 Shapes_vga_file (const char *nm, int u7drag=-1, const char *nm2=0)
void init ()
virtual ~Shapes_vga_file ()
void read_info (bool bg, bool editing=false)
void write_info (bool bg)
Shape_infoget_info (int shapenum)

Private Attributes

autoarray< Shape_infoinfo
Shape_info zinfo
bool info_read

Detailed Description

Definition at line 39 of file shapevga.h.


Constructor & Destructor Documentation

Shapes_vga_file::Shapes_vga_file (  )  [inline]

Definition at line 45 of file shapevga.h.

Shapes_vga_file::Shapes_vga_file ( const char *  nm,
int  u7drag = -1,
const char *  nm2 = 0 
)

Definition at line 256 of file shapevga.cc.

References Exult_server::info, and Vga_file::num_shapes.

Shapes_vga_file::~Shapes_vga_file (  )  [virtual]

Definition at line 265 of file shapevga.cc.


Member Function Documentation

void Shapes_vga_file::init (  ) 

Definition at line 270 of file shapevga.cc.

References info, is_system_path_defined(), Vga_file::load(), Vga_file::num_shapes, PATCH_SHAPES, autoarray< T >::set_size(), SHAPES_VGA, and U7exists().

Here is the call graph for this function:

void Shapes_vga_file::read_info ( bool  bg,
bool  editing = false 
)

Definition at line 77 of file shapevga.cc.

References AMMO, ARMOR, EQUIP, Exult_server::info, info_read, is_system_path_defined(), MONSTERS, Vga_file::num_shapes, OCCLUDE, offsets, PATCH_AMMO, PATCH_ARMOR, PATCH_EQUIP, PATCH_MONSTERS, patch_name, PATCH_OCCLUDE, PATCH_READY, PATCH_SHPDIMS, PATCH_TFA, PATCH_WEAPONS, PATCH_WGTVOL, PATCH_WIHH, Read1(), Read2(), READY, Monster_info::set_equip(), SHPDIMS, TFA, U7open2(), WEAPONS, WGTVOL, and WIHH.

Referenced by ExultStudio::write_shape_info().

Here is the call graph for this function:

void Shapes_vga_file::write_info ( bool  bg  ) 

Definition at line 42 of file shapewrite.cc.

References Equip_record::get(), Monster_info::get_equip(), Monster_info::get_equip_cnt(), Exult_server::info, is_system_path_defined(), PATCH_AMMO, PATCH_ARMOR, PATCH_EQUIP, PATCH_MONSTERS, PATCH_OCCLUDE, PATCH_READY, PATCH_SHPDIMS, PATCH_TFA, PATCH_WEAPONS, PATCH_WGTVOL, PATCH_WIHH, U7open(), and Write2().

Referenced by ExultStudio::write_shape_info().

Here is the call graph for this function:

Shape_info& Shapes_vga_file::get_info ( int  shapenum  )  [inline]

Definition at line 52 of file shapevga.h.

References info.

Referenced by ShapeID::cache_shape(), and ShapeID::get_info().


Member Data Documentation

autoarray<Shape_info> Shapes_vga_file::info [private]

Definition at line 41 of file shapevga.h.

Referenced by get_info(), and init().

Shape_info Shapes_vga_file::zinfo [private]

Definition at line 42 of file shapevga.h.

bool Shapes_vga_file::info_read [private]

Definition at line 43 of file shapevga.h.

Referenced by read_info().


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