ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/common/init.C
(Generate patch)

Comparing deliantra/server/common/init.C (file contents):
Revision 1.10 by root, Sun Sep 10 16:00:23 2006 UTC vs.
Revision 1.11 by root, Wed Sep 13 02:05:18 2006 UTC

1
2/*
3 * static char *rcsid_init_c =
4 * "$Id: init.C,v 1.10 2006/09/10 16:00:23 root Exp $";
5 */
6
7/* 1/*
8 CrossFire, A Multiplayer game for X-windows 2 CrossFire, A Multiplayer game for X-windows
9 3
10 Copyright (C) 2002 Mark Wedel & Crossfire Development Team 4 Copyright (C) 2002 Mark Wedel & Crossfire Development Team
11 Copyright (C) 1992 Frank Tore Johansen 5 Copyright (C) 1992 Frank Tore Johansen
31 25
32#include <global.h> 26#include <global.h>
33#include <object.h> 27#include <object.h>
34 28
35extern const char *const attacktype_desc[NROFATTACKS] = { 29extern const char *const attacktype_desc[NROFATTACKS] = {
36#define def(uc, lc, name, plus, change) # name, 30# define def(uc, lc, name, plus, change) # name,
37#include "attackinc.h" 31# include "attackinc.h"
38#undef def 32# undef def
39}; 33};
40 34
41extern const keyword resist_save[NROFATTACKS] = { 35extern const keyword resist_save[NROFATTACKS] = {
42#define def(uc, lc, name, plus, change) KW_resist_ ## lc, 36# define def(uc, lc, name, plus, change) KW_resist_ ## lc,
43#include "attackinc.h" 37# include "attackinc.h"
44#undef def 38# undef def
45}; 39};
46 40
47extern const char *const resist_plus[NROFATTACKS] = { 41extern const char *const resist_plus[NROFATTACKS] = {
48#define def(uc, lc, name, plus, change) # plus, 42# define def(uc, lc, name, plus, change) # plus,
49#include "attackinc.h" 43# include "attackinc.h"
50#undef def 44# undef def
51}; 45};
52 46
53extern const char *const change_resist_msg[NROFATTACKS] = { 47extern const char *const change_resist_msg[NROFATTACKS] = {
54#define def(uc, lc, name, plus, change) # change, 48# define def(uc, lc, name, plus, change) # change,
55#include "attackinc.h" 49# include "attackinc.h"
56#undef def 50# undef def
57}; 51};
58 52
59int resist_table[NROFATTACKS] = { 53int resist_table[NROFATTACKS] = {
60#define def(uc, lc, name, plus, change) ATNR_ ## uc, 54# define def(uc, lc, name, plus, change) ATNR_ ## uc,
61#include "attackinc.h" 55# include "attackinc.h"
62#undef def 56# undef def
63}; 57};
64 58
65/* You unforunately need to looking in include/global.h to see what these 59/* You unforunately need to looking in include/global.h to see what these
66 * correspond to. 60 * correspond to.
67 */ 61 */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines