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.100 by root, Sat Nov 17 23:33:18 2018 UTC vs.
Revision 1.104 by root, Wed Dec 5 21:18:37 2018 UTC

1/* 1/*
2 * This file is part of Deliantra, the Roguelike Realtime MMORPG. 2 * This file is part of Deliantra, the Roguelike Realtime MMORPG.
3 * 3 *
4 * Copyright (©) 2017,2018 Marc Alexander Lehmann / the Deliantra team
4 * Copyright (©) 2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016 Marc Alexander Lehmann / Robin Redeker / the Deliantra team 5 * Copyright (©) 2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016 Marc Alexander Lehmann / Robin Redeker / the Deliantra team
5 * Copyright (©) 2002 Mark Wedel & Crossfire Development Team 6 * Copyright (©) 2002 Mark Wedel & Crossfire Development Team
6 * Copyright (©) 1992 Frank Tore Johansen 7 * Copyright (©) 1992 Frank Tore Johansen
7 * 8 *
8 * Deliantra is free software: you can redistribute it and/or modify it under 9 * Deliantra is free software: you can redistribute it and/or modify it under
38#define MTH 39#define MTH
39#define GENCONST_IV(patterns) 40#define GENCONST_IV(patterns)
40 41
41#include "includes.h" 42#include "includes.h"
42#include "config.h" 43#include "config.h"
43#include "compiler.h" 44#include "ecb.h"
44#include "define.h" 45#include "define.h"
45#include "traits.h" 46#include "traits.h"
46 47
47#ifndef TRUE 48#ifndef TRUE
48#define TRUE 1 49#define TRUE 1
149EXTERN shstr first_map_ext_path; /* Path used for per-race start maps */ 150EXTERN shstr first_map_ext_path; /* Path used for per-race start maps */
150 151
151EXTERN long ob_count; 152EXTERN long ob_count;
152 153
153extern dynbuf_text msg_dynbuf; // a dynbuf for text messages and other temporary data 154extern dynbuf_text msg_dynbuf; // a dynbuf for text messages and other temporary data
154
155/* do not use these in new code, see object.h::animation */
156#define SET_ANIMATION(ob,frame) ob->set_anim_frame (frame)
157#define NUM_ANIMATIONS(ob) (ob)->anim_frames ()
158#define NUM_FACINGS(ob) (ob)->anim_facings ()
159
160// used only by treasure.C, does not handle null arch ptrs
161#define IS_ARCH(arch,name) ((arch)->archname == shstr_ ## name)
162 155
163extern void emergency_save (); 156extern void emergency_save ();
164 157
165#include "libproto.h" 158#include "libproto.h"
166#include "sockproto.h" 159#include "sockproto.h"

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines