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.25 by root, Thu Dec 14 02:37:37 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
200 198
201extern New_Face *blank_face, *empty_face; 199extern New_Face *blank_face, *empty_face;
202extern New_Face *dark_faces[]; 200extern New_Face *dark_faces[];
203extern New_Face *smooth_face; 201extern New_Face *smooth_face;
204 202
205extern NewSocket *init_sockets; 203extern client_socket *init_sockets;
206 204
207#include "libproto.h" 205#include "libproto.h"
208#include "sockproto.h" 206#include "sockproto.h"
209 207
210#define decrease_ob(xyz) decrease_ob_nr(xyz,1) 208#define decrease_ob(xyz) decrease_ob_nr(xyz,1)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines