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

Comparing deliantra/server/common/shstr.C (file contents):
Revision 1.35 by root, Wed Dec 31 18:29:44 2008 UTC vs.
Revision 1.36 by root, Thu Jan 1 11:41:17 2009 UTC

128 128
129 curpos = *i; 129 curpos = *i;
130} 130}
131 131
132// declare these here to get correct initialisation order 132// declare these here to get correct initialisation order
133#define def(str) const shstr shstr_ ## str (# str); 133#define def2(id,str) const shstr shstr_ ## id (str);
134#define def(id) def2(id, # id)
134# include "shstrinc.h" 135# include "shstrinc.h"
135#undef def 136#undef def
137#undef def2
136 138
137shstr skill_names[NUM_SKILLS]; 139shstr skill_names[NUM_SKILLS];
138 140
139//TODO: this should of course not be here 141//TODO: this should of course not be here
140 142

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines