diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-04-14 20:09:22 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-04-14 23:35:07 +0300 |
commit | 796f7e2c2ace55462acfa50e5085d4d048047e68 (patch) | |
tree | 878c6f36f001774047cc26fa7fb68f474920bbf0 /src/resources/petdb.h | |
parent | 6b5c7e7a5ed32abfc98d9acdebacc50c68a91a1d (diff) | |
download | manaplus-796f7e2c2ace55462acfa50e5085d4d048047e68.tar.gz manaplus-796f7e2c2ace55462acfa50e5085d4d048047e68.tar.bz2 manaplus-796f7e2c2ace55462acfa50e5085d4d048047e68.tar.xz manaplus-796f7e2c2ace55462acfa50e5085d4d048047e68.zip |
add basic client side only support for pets.
now pets cant move and dont have any ai.
pet can be only spawn at player position if equiped item with assigned pet.
Diffstat (limited to 'src/resources/petdb.h')
-rw-r--r-- | src/resources/petdb.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/src/resources/petdb.h b/src/resources/petdb.h new file mode 100644 index 000000000..755937902 --- /dev/null +++ b/src/resources/petdb.h @@ -0,0 +1,41 @@ +/* + * The ManaPlus Client + * Copyright (C) 2008-2009 The Mana World Development Team + * Copyright (C) 2009-2010 The Mana Developers + * Copyright (C) 2011-2013 The ManaPlus Developers + * + * This file is part of The ManaPlus Client. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#ifndef PET_DB_H +#define PET_DB_H + +#include <stdint.h> + +#include "localconsts.h" + +class BeingInfo; + +namespace PETDB +{ + void load(); + + void unload(); + + BeingInfo *get(const int id) A_WARN_UNUSED; +} + +#endif |