--- deliantra/server/include/traits.h 2006/09/08 16:53:57 1.3 +++ deliantra/server/include/traits.h 2006/09/16 22:24:12 1.4 @@ -1,14 +1,13 @@ #ifndef TRAITS_H__ #define TRAITS_H__ -struct pl; +struct player; struct object; -struct mapstruct; +struct maptile; struct archetype; struct region; struct party; -struct mapstruct; -struct treasureliststruct; +struct treasurelist; // could have used templates, but a more traditional C api // uses more explicit typing which is ok for this purpose. @@ -36,57 +35,57 @@ template<> struct cftype { - static const data_type dt = DT_INT; + static const data_type dt = DT_INT; }; template<> struct cftype { - static const data_type dt = DT_INT64; + static const data_type dt = DT_INT64; }; template<> struct cftype { - static const data_type dt = DT_DOUBLE; + static const data_type dt = DT_DOUBLE; }; template<> struct cftype { - static const data_type dt = DT_STRING; + static const data_type dt = DT_STRING; }; template<> struct cftype { - static const data_type dt = DT_OBJECT; + static const data_type dt = DT_OBJECT; }; template<> -struct cftype { - static const data_type dt = DT_PLAYER; +struct cftype { + static const data_type dt = DT_PLAYER; }; template<> -struct cftype { - static const data_type dt = DT_MAP; +struct cftype { + static const data_type dt = DT_MAP; }; template<> struct cftype { - static const data_type dt = DT_ARCH; + static const data_type dt = DT_ARCH; }; template<> struct cftype { - static const data_type dt = DT_PARTY; + static const data_type dt = DT_PARTY; }; template<> struct cftype { - static const data_type dt = DT_REGION; + static const data_type dt = DT_REGION; }; template<> -struct cftype { - static const data_type dt = DT_REGION; +struct cftype { + static const data_type dt = DT_REGION; }; #endif