From 796f7e2c2ace55462acfa50e5085d4d048047e68 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 14 Apr 2013 20:09:22 +0300 Subject: 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. --- src/resources/petdb.h | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 src/resources/petdb.h (limited to 'src/resources/petdb.h') 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 . + */ + +#ifndef PET_DB_H +#define PET_DB_H + +#include + +#include "localconsts.h" + +class BeingInfo; + +namespace PETDB +{ + void load(); + + void unload(); + + BeingInfo *get(const int id) A_WARN_UNUSED; +} + +#endif -- cgit v1.2.3-60-g2f50