1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Split ObjDef/ObjDefManager out to objdef.cpp

This commit is contained in:
kwolekr 2015-05-18 22:30:25 -04:00
parent 497299afd6
commit 6c5a6967ec
11 changed files with 298 additions and 247 deletions

View file

@ -25,18 +25,20 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include <string>
#include <cstring>
#include <vector>
#include <map>
#include <sstream>
#include <cctype>
#define STRINGIFY(x) #x
#define TOSTRING(x) STRINGIFY(x)
typedef std::map<std::string, std::string> StringMap;
struct FlagDesc {
const char *name;
u32 flag;
};
// You must free the returned string!
// The returned string is allocated using new
wchar_t *narrow_to_wide_c(const char *str);