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.20 by root, Thu Nov 8 19:43:25 2007 UTC vs.
Revision 1.22 by root, Tue May 6 16:55:26 2008 UTC

1/* 1/*
2 * This file is part of Deliantra, the Roguelike Realtime MMORPG. 2 * This file is part of Deliantra, the Roguelike Realtime MMORPG.
3 * 3 *
4 * Copyright (©) 2005,2006,2007 Marc Alexander Lehmann / Robin Redeker / the Deliantra team 4 * Copyright (©) 2005,2006,2007,2008 Marc Alexander Lehmann / Robin Redeker / the Deliantra team
5 * 5 *
6 * Deliantra is free software: you can redistribute it and/or modify 6 * Deliantra is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by 7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or 8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version. 9 * (at your option) any later version.
179inline bool operator ==(const shstr &a, const shstr_cmp &b) 179inline bool operator ==(const shstr &a, const shstr_cmp &b)
180{ 180{
181 return b == a; 181 return b == a;
182} 182}
183 183
184extern const shstr shstr_null;
185
184#define def(str) extern const shstr shstr_ ## str; 186#define def(str) extern const shstr shstr_ ## str;
185# include "shstrinc.h" 187# include "shstrinc.h"
186#undef def 188#undef def
187 189
188#endif 190#endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines