mirror of
https://github.com/worldforge/cyphesis
synced 2026-08-13 12:26:04 -04:00
* rulesets/Character.cpp, rulesets/Character.h: Remove all traces of the hard coded statistics property from Character. * rulesets/Py_Property.cpp: Don't use Py_StatisticsProperty as the default wrapper for a statistics property because it will no longer work this way. * rulesets/Python_API.cpp: Remove the setup for the Statistics wrapper. * rulesets/StatisticsProperty.cpp, rulesets/StatisticsProperty.h: Change the footprint of this class so it is no longer hooked into part of the Character class, and instead handles looking up values from the script directly, and owns the script itself. * server/ArithmeticFactory.cpp, server/ArithmeticFactory.h, server/EntityFactory.cpp, server/EntityFactory.h, server/PersistantThingFactory.cpp: Remove setup of hard coded statistics property. * rulesets/Statistics.h, rulesets/Statistics.cpp, rulesets/Py_Statistics.h, rulesets/Py_Statistics.cpp, rulesets/Makefile.am: Remove clases that are no longer used.
36 lines
1.2 KiB
C
36 lines
1.2 KiB
C
// Cyphesis Online RPG Server and AI Engine
|
|
// Copyright (C) 2005 Alistair Riddoch
|
|
//
|
|
// 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
|
|
// (at your option) 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, write to the Free Software Foundation,
|
|
// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
|
|
// $Id$
|
|
|
|
#error This file has been removed from the build
|
|
#ifndef DOXYGEN_SHOULD_SKIP_THIS
|
|
|
|
#ifndef RULESETS_PY_STATISTICS_H
|
|
#define RULESETS_PY_STATISTICS_H
|
|
|
|
#include "rulesets/Py_EntityWrapper.h"
|
|
|
|
typedef PyEntityWrapper PyStatistics;
|
|
|
|
extern PyTypeObject PyStatistics_Type;
|
|
|
|
#define PyStatistics_Check(_o) ((PyTypeObject(PyObject*)_o)==&PyStatistics_Type)
|
|
|
|
PyStatistics * newPyStatistics();
|
|
|
|
#endif // RULESETS_PY_STATISTICS_H
|