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.60 by root, Fri Jun 18 17:31:01 2010 UTC vs.
Revision 1.61 by root, Mon Oct 11 18:40:43 2010 UTC

27#include <global.h> 27#include <global.h>
28#include <object.h> 28#include <object.h>
29 29
30dynbuf_text msg_dynbuf (65536, 65536); 30dynbuf_text msg_dynbuf (65536, 65536);
31 31
32extern const char *const attacktype_name[NROFATTACKS] = {
33# define def(uc, lc, desc, plus, change) # lc,
34# include "attackinc.h"
35# undef def
36};
37
32extern const char *const attacktype_desc[NROFATTACKS] = { 38extern const char *const attacktype_desc[NROFATTACKS] = {
33# define def(uc, lc, name, plus, change) # name, 39# define def(uc, lc, desc, plus, change) # desc,
34# include "attackinc.h" 40# include "attackinc.h"
35# undef def 41# undef def
36}; 42};
37 43
38extern const char *const resist_plus[NROFATTACKS] = { 44extern const char *const resist_plus[NROFATTACKS] = {
39# define def(uc, lc, name, plus, change) # plus, 45# define def(uc, lc, desc, plus, change) # plus,
40# include "attackinc.h" 46# include "attackinc.h"
41# undef def 47# undef def
42}; 48};
43 49
44extern const char *const change_resist_msg[NROFATTACKS] = { 50extern const char *const change_resist_msg[NROFATTACKS] = {
45# define def(uc, lc, name, plus, change) # change, 51# define def(uc, lc, desc, plus, change) # change,
46# include "attackinc.h" 52# include "attackinc.h"
47# undef def 53# undef def
48}; 54};
49 55
50int resist_table[NROFATTACKS] = { 56int resist_table[NROFATTACKS] = {
51# define def(uc, lc, name, plus, change) ATNR_ ## uc, 57# define def(uc, lc, desc, plus, change) ATNR_ ## uc,
52# include "attackinc.h" 58# include "attackinc.h"
53# undef def 59# undef def
54}; 60};
55 61
56/* You unforunately need to looking in include/global.h to see what these 62/* You unforunately need to looking in include/global.h to see what these

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines