--- deliantra/server/include/global.h 2007/01/19 17:50:11 1.40 +++ deliantra/server/include/global.h 2007/02/15 15:43:36 1.43 @@ -116,8 +116,6 @@ /* * These are the beginnings of linked lists: */ -EXTERN player *first_player; -EXTERN region *first_region; EXTERN treasurelist *first_treasurelist; EXTERN artifactlist *first_artifactlist; EXTERN archetype *first_archetype; @@ -160,9 +158,6 @@ EXTERN std::vector animations; EXTERN int num_animations,animations_allocated, bmaps_checksum; -/* Rotate right from bsd sum. This is used in various places for checksumming */ -#define ROTATE_RIGHT(c) if ((c) & 01) (c) = ((c) >>1) + 0x80000000; else (c) >>= 1; - #define SET_ANIMATION(ob,newanim) ob->face = new_faces + animations [ob->animation_id].faces [newanim] #define GET_ANIMATION(ob,anim) animations [ob->animation_id].faces [anim] #define GET_ANIM_ID(ob) (ob->animation_id)