--- deliantra/server/include/global.h 2007/02/15 15:00:01 1.42 +++ deliantra/server/include/global.h 2007/02/15 18:10:33 1.44 @@ -153,17 +153,11 @@ /* * Used in treasure.c */ -EXTERN archetype *ring_arch,*amulet_arch,*staff_arch,*crown_arch; +EXTERN archetype *ring_arch, *amulet_arch, *staff_arch, *crown_arch; EXTERN std::vector animations; -EXTERN int num_animations,animations_allocated, bmaps_checksum; - -/* Rotate right. This is used in various places for checksumming */ -static inline uint32_t -ROTATE_RIGHT (uint32_t c) -{ - return (c >> 31) | (c << 1); -} +EXTERN int num_animations, animations_allocated; +EXTERN uint32_t bmaps_checksum; #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]