--- deliantra/server/include/util.h 2006/12/23 16:05:19 1.23 +++ deliantra/server/include/util.h 2006/12/25 11:25:49 1.24 @@ -122,21 +122,6 @@ } }; -struct refcounted -{ - refcounted () : refcnt (0) { } - virtual ~refcounted (); - void refcnt_inc () { ++refcnt; } - void refcnt_dec () { --refcnt; } - bool dead () { return refcnt == 0; } - mutable int refcnt; -#if 0 -private: - static refcounted *rc_first; - refcounted *rc_next; -#endif -}; - template struct refptr { @@ -168,9 +153,11 @@ operator T *() const { return p; } }; -typedef refptr player_ptr; +typedef refptr maptile_ptr; typedef refptr object_ptr; typedef refptr arch_ptr; +typedef refptr client_ptr; +typedef refptr player_ptr; struct str_hash {