ScummVM API documentation
Ultima::Nuvie::U6Lib_n Class Reference

Public Member Functions

bool open (const Common::Path &filename, uint8 size, uint8 type=NUVIE_GAME_U6)
 
bool open (NuvieIO *new_data, uint8 size, uint8 type=NUVIE_GAME_U6)
 
void close ()
 
bool create (const Common::Path &filename, uint8 size, uint8 type=NUVIE_GAME_U6)
 
uint8 get_game_type ()
 
unsigned char * get_item (uint32 item_number, unsigned char *buf=nullptr)
 
void set_item_data (uint32 item_number, unsigned char *src, uint32 src_len)
 
uint32 get_num_items ()
 
uint32 get_item_size (uint32 item_number)
 
uint32 get_item_offset (uint32 item_number)
 
const char * get_item_name (uint32 item_number)
 
bool is_compressed (uint32 item_number)
 
void add_item (uint32 offset32, const char *name=nullptr)
 
void write_item (uint32 item_number)
 
void write_items ()
 
void load_index (Common::ReadStream *index_f)
 
void write_index ()
 
void write_header ()
 
void calc_item_offsets ()
 

Protected Member Functions

void parse_lib ()
 
void calculate_item_sizes ()
 
uint32 calculate_item_uncomp_size (U6LibItem *item)
 
uint32 calculate_num_offsets (bool skip4)
 

The documentation for this class was generated from the following file: