… | |
… | |
36 | typedef uint16_t uint16; |
36 | typedef uint16_t uint16; |
37 | typedef int32_t sint32; |
37 | typedef int32_t sint32; |
38 | typedef uint32_t uint32; |
38 | typedef uint32_t uint32; |
39 | typedef int64_t sint64; |
39 | typedef int64_t sint64; |
40 | typedef uint64_t uint64; |
40 | typedef uint64_t uint64; |
41 | |
|
|
42 | typedef 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 | */ |
176 | EXTERN archetype *ring_arch,*amulet_arch,*staff_arch,*crown_arch; |
174 | EXTERN archetype *ring_arch,*amulet_arch,*staff_arch,*crown_arch; |
177 | |
175 | |
178 | extern std::vector<Animations> animations; |
176 | EXTERN std::vector<Animations> animations; |
179 | EXTERN int num_animations,animations_allocated, bmaps_checksum; |
177 | EXTERN 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 | |
201 | extern New_Face *blank_face, *empty_face; |
199 | extern New_Face *blank_face, *empty_face; |
202 | extern New_Face *dark_faces[]; |
200 | extern New_Face *dark_faces[]; |
203 | extern New_Face *smooth_face; |
201 | extern New_Face *smooth_face; |
204 | |
202 | |
205 | extern NewSocket *init_sockets; |
203 | extern 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) |