ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/global.h
(Generate patch)

Comparing deliantra/server/include/global.h (file contents):
Revision 1.23 by root, Wed Dec 13 18:08:01 2006 UTC vs.
Revision 1.24 by root, Wed Dec 13 21:27:09 2006 UTC

36typedef uint16_t uint16; 36typedef uint16_t uint16;
37typedef int32_t sint32; 37typedef int32_t sint32;
38typedef uint32_t uint32; 38typedef uint32_t uint32;
39typedef int64_t sint64; 39typedef int64_t sint64;
40typedef uint64_t uint64; 40typedef uint64_t uint64;
41
42typedef unsigned short Fontindex;
43 41
44#include "config.h" 42#include "config.h"
45#include "define.h" 43#include "define.h"
46#include "logger.h" 44#include "logger.h"
47 45
173/* 171/*
174 * Used in treasure.c 172 * Used in treasure.c
175 */ 173 */
176EXTERN archetype *ring_arch,*amulet_arch,*staff_arch,*crown_arch; 174EXTERN archetype *ring_arch,*amulet_arch,*staff_arch,*crown_arch;
177 175
178extern std::vector<Animations> animations; 176EXTERN std::vector<Animations> animations;
179EXTERN int num_animations,animations_allocated, bmaps_checksum; 177EXTERN int num_animations,animations_allocated, bmaps_checksum;
180 178
181/* Rotate right from bsd sum. This is used in various places for checksumming */ 179/* Rotate right from bsd sum. This is used in various places for checksumming */
182#define ROTATE_RIGHT(c) if ((c) & 01) (c) = ((c) >>1) + 0x80000000; else (c) >>= 1; 180#define ROTATE_RIGHT(c) if ((c) & 01) (c) = ((c) >>1) + 0x80000000; else (c) >>= 1;
183 181

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines