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.101 by root, Sat Nov 17 23:40:01 2018 UTC vs.
Revision 1.103 by root, Sat Dec 1 20:22:13 2018 UTC

39#define MTH 39#define MTH
40#define GENCONST_IV(patterns) 40#define GENCONST_IV(patterns)
41 41
42#include "includes.h" 42#include "includes.h"
43#include "config.h" 43#include "config.h"
44#include "ecb.h"
44#include "compiler.h" 45#include "compiler.h"
45#include "define.h" 46#include "define.h"
46#include "traits.h" 47#include "traits.h"
47 48
48#ifndef TRUE 49#ifndef TRUE
150EXTERN shstr first_map_ext_path; /* Path used for per-race start maps */ 151EXTERN shstr first_map_ext_path; /* Path used for per-race start maps */
151 152
152EXTERN long ob_count; 153EXTERN long ob_count;
153 154
154extern dynbuf_text msg_dynbuf; // a dynbuf for text messages and other temporary data 155extern dynbuf_text msg_dynbuf; // a dynbuf for text messages and other temporary data
155
156/* do not use these in new code, see object.h::animation */
157#define SET_ANIMATION(ob,frame) ob->set_anim_frame (frame)
158#define NUM_ANIMATIONS(ob) (ob)->anim_frames ()
159#define NUM_FACINGS(ob) (ob)->anim_facings ()
160
161// used only by treasure.C, does not handle null arch ptrs
162#define IS_ARCH(arch,name) ((arch)->archname == shstr_ ## name)
163 156
164extern void emergency_save (); 157extern void emergency_save ();
165 158
166#include "libproto.h" 159#include "libproto.h"
167#include "sockproto.h" 160#include "sockproto.h"

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines