Pioneer
Loading...
Searching...
No Matches
Classes | Namespaces | Macros | Typedefs | Functions
Lang.cpp File Reference
#include "Lang.h"
#include "FileSystem.h"
#include "JsonUtils.h"
#include "StringRange.h"
#include "core/Log.h"
#include "libs.h"
#include "text/TextSupport.h"
#include "utils.h"
#include <map>
#include <set>
#include "LangStrings.inc.h"
Include dependency graph for Lang.cpp:

Classes

struct  Lang::init_string_helper_class
 

Namespaces

namespace  Lang
 

Macros

#define DECLARE_STRING(x)   char x[STRING_RECORD_SIZE];
 
#define DECLARE_STRING(x)
 

Typedefs

typedef std::map< std::string, const char * > Lang::token_map
 

Functions

void Lang::MakeCore (Resource &res)
 
const ResourceLang::GetCore ()
 
Resource Lang::GetResource (const std::string &name, const std::string &langCode)
 

Macro Definition Documentation

◆ DECLARE_STRING [1/2]

#define DECLARE_STRING (   x)    char x[STRING_RECORD_SIZE];

◆ DECLARE_STRING [2/2]

#define DECLARE_STRING (   x)
Value:
s_token_map.insert(std::make_pair(#x, Lang::x)); \
Lang::x[0] = '\0';