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

Comparing deliantra/server/include/shstr.h (file contents):
Revision 1.17 by root, Sun Jul 1 05:00:18 2007 UTC vs.
Revision 1.19 by root, Tue Oct 16 05:34:24 2007 UTC

23#define SHSTR_H__ 23#define SHSTR_H__
24 24
25#include <sstream> 25#include <sstream>
26 26
27#include "util.h" 27#include "util.h"
28
29extern size_t shstr_alloc;
28 30
29extern int buf_overflow (const char *buf1, const char *buf2, int bufsize); 31extern int buf_overflow (const char *buf1, const char *buf2, int bufsize);
30 32
31struct shstr 33struct shstr
32{ 34{
177inline bool operator ==(const shstr &a, const shstr_cmp &b) 179inline bool operator ==(const shstr &a, const shstr_cmp &b)
178{ 180{
179 return b == a; 181 return b == a;
180} 182}
181 183
182extern const shstr undead_name; /* Used in hit_player() in main.c */ 184#define def(str) extern const shstr shstr_ ## str;
185# include "shstrinc.h"
186#undef def
183 187
184#endif 188#endif
185 189

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines