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.33 by root, Wed Dec 31 18:07:41 2008 UTC vs.
Revision 1.34 by root, Wed Dec 31 18:25:12 2008 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
134#define def(str) \
135 shstr_vec<sizeof (# str)> shstr_vec_ ## str = { sizeof (# str) - 1, 0xffffffff, # str }; \
136 const shstr_const shstr_ ## str (shstr_vec_ ## str.string);
134# include "shstrinc.h" 137# include "shstrinc.h"
135#undef def 138#undef def
136 139
137shstr skill_names[NUM_SKILLS]; 140shstr skill_names[NUM_SKILLS];
138 141

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines