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.8 by root, Thu Sep 7 13:52:08 2006 UTC vs.
Revision 1.9 by root, Sat Sep 9 23:49:06 2006 UTC

1/* 1/*
2 * static char *rcsid_init_c = 2 * static char *rcsid_init_c =
3 * "$Id: init.C,v 1.8 2006/09/07 13:52:08 root Exp $"; 3 * "$Id: init.C,v 1.9 2006/09/09 23:49:06 root Exp $";
4 */ 4 */
5 5
6/* 6/*
7 CrossFire, A Multiplayer game for X-windows 7 CrossFire, A Multiplayer game for X-windows
8 8
30 30
31#include <global.h> 31#include <global.h>
32#include <object.h> 32#include <object.h>
33 33
34extern const char* const attacktype_desc[NROFATTACKS] = { 34extern const char* const attacktype_desc[NROFATTACKS] = {
35# define def(uc, name, lc, plus, change) # name, 35# define def(uc, lc, name, plus, change) # name,
36# include "attackinc.h" 36# include "attackinc.h"
37# undef def 37# undef def
38}; 38};
39 39
40extern const keyword resist_save[NROFATTACKS] = { 40extern const keyword resist_save[NROFATTACKS] = {
41# define def(uc, name, lc, plus, change) KW_resist_ ## lc, 41# define def(uc, lc, name, plus, change) KW_resist_ ## lc,
42# include "attackinc.h" 42# include "attackinc.h"
43# undef def 43# undef def
44}; 44};
45 45
46extern const char* const resist_plus[NROFATTACKS] = { 46extern const char* const resist_plus[NROFATTACKS] = {
47# define def(uc, name, lc, plus, change) # plus, 47# define def(uc, lc, name, plus, change) # plus,
48# include "attackinc.h" 48# include "attackinc.h"
49# undef def 49# undef def
50}; 50};
51 51
52extern const char* const change_resist_msg[NROFATTACKS] = { 52extern const char* const change_resist_msg[NROFATTACKS] = {
53# define def(uc, name, lc, plus, change) # change, 53# define def(uc, lc, name, plus, change) # change,
54# include "attackinc.h" 54# include "attackinc.h"
55# undef def 55# undef def
56}; 56};
57 57
58int resist_table[NROFATTACKS] = { 58int resist_table[NROFATTACKS] = {
59# define def(uc, name, lc, plus, change) ATNR_ ## uc, 59# define def(uc, lc, name, plus, change) ATNR_ ## uc,
60# include "attackinc.h" 60# include "attackinc.h"
61# undef def 61# undef def
62}; 62};
63 63
64/* You unforunately need to looking in include/global.h to see what these 64/* You unforunately need to looking in include/global.h to see what these

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines