~ubuntu-branches/ubuntu/saucy/manaplus/saucy-proposed

« back to all changes in this revision

Viewing changes to src/resources/itemdb.h

  • Committer: Package Import Robot
  • Author(s): Patrick Matthäi, Andrei Karas, Patrick Matthäi
  • Date: 2013-06-10 10:53:26 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20130610105326-c3xqk5ebcgy3jxmb
Tags: 1.3.6.9-1
[ Andrei Karas ]
* Add new files to copyright file.

[ Patrick Matthäi ]
* New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
21
21
 */
22
22
 
23
 
#ifndef ITEM_MANAGER_H
24
 
#define ITEM_MANAGER_H
 
23
#ifndef RESOURCES_ITEMDB_H
 
24
#define RESOURCES_ITEMDB_H
25
25
 
26
26
#include "utils/stringvector.h"
27
27
 
37
37
 */
38
38
namespace ItemDB
39
39
{
40
 
    /**
41
 
     * Loads the item data from <code>items.xml</code>.
42
 
     */
43
40
    void load();
44
41
 
45
 
    /**
46
 
     * Frees item data.
47
 
     */
48
42
    void unload();
49
43
 
 
44
    void loadXmlFile(const std::string &fileName, int &tagNum);
 
45
 
50
46
    const StringVect &getTags();
51
47
 
52
48
    bool exists(const int id) A_WARN_UNUSED;
77
73
    void setStatsList(const std::vector<Stat> &stats);
78
74
}  // namespace ItemDB
79
75
 
80
 
#endif
 
76
#endif  // RESOURCES_ITEMDB_H