Pol  Revision:cb584c9
loaddata.h
Go to the documentation of this file.
1 
7 #ifndef LOADDATA_H
8 #define LOADDATA_H
9 
10 #include "poltype.h"
11 
12 namespace Pol
13 {
14 namespace Mobile
15 {
16 class Character;
17 }
18 namespace Items
19 {
20 class Item;
21 }
22 namespace Core
23 {
25 unsigned get_save_index( pol_serial_t serial );
26 
28 void slurp( const char* filename, const char* tags, int sysfind_flags = 0 );
30 void clear_save_index();
31 
32 void defer_item_insertion( Items::Item* item, pol_serial_t container_serial );
34 void equip_loaded_item( Mobile::Character* chr, Items::Item* item );
35 void add_loaded_item( Items::Item* cont_item, Items::Item* item );
36 }
37 }
38 #endif
void add_loaded_item(Items::Item *cont_item, Items::Item *item)
Definition: loaddata.cpp:248
void insert_deferred_items()
Definition: loaddata.cpp:117
void load_incremental_indexes()
Definition: loaddata.cpp:39
void read_incremental_saves()
Definition: loaddata.cpp:79
void clear_save_index()
Definition: loaddata.cpp:106
void equip_loaded_item(Mobile::Character *chr, Items::Item *item)
Definition: loaddata.cpp:199
u32 pol_serial_t
Definition: poltype.h:23
void defer_item_insertion(Items::Item *item, pol_serial_t container_serial)
Definition: loaddata.cpp:112
void slurp(const char *filename, const char *tags, int sysfind_flags=0)
Definition: uimport.cpp:363
unsigned get_save_index(pol_serial_t serial)
Definition: loaddata.cpp:70
Definition: berror.cpp:12
void register_deleted_serials()
Definition: loaddata.cpp:91