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. |
… | |
… | |
179 | inline bool operator ==(const shstr &a, const shstr_cmp &b) |
179 | inline bool operator ==(const shstr &a, const shstr_cmp &b) |
180 | { |
180 | { |
181 | return b == a; |
181 | return b == a; |
182 | } |
182 | } |
183 | |
183 | |
|
|
184 | extern 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 |