2016-03-20 17:00:00 +01:00
|
|
|
|
|
|
|
/*
|
|
|
|
* REminiscence - Flashback interpreter
|
|
|
|
* Copyright (C) 2005-2015 Gregory Montoir (cyx@users.sourceforge.net)
|
2015-08-02 18:00:00 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef LOCALE_H__
|
|
|
|
#define LOCALE_H__
|
|
|
|
|
|
|
|
#include "intern.h"
|
|
|
|
|
|
|
|
struct Locale {
|
|
|
|
enum Id {
|
|
|
|
LI_01_CONTINUE_OR_ABORT = 0,
|
|
|
|
LI_02_TIME,
|
|
|
|
LI_03_CONTINUE,
|
|
|
|
LI_04_ABORT,
|
|
|
|
LI_05_COMPLETED,
|
|
|
|
LI_06_LEVEL,
|
|
|
|
LI_07_START,
|
|
|
|
LI_08_SKILL,
|
|
|
|
LI_09_PASSWORD,
|
|
|
|
LI_10_INFO,
|
|
|
|
LI_11_QUIT,
|
|
|
|
LI_12_SKILL_LEVEL,
|
|
|
|
LI_13_EASY,
|
|
|
|
LI_14_NORMAL,
|
|
|
|
LI_15_EXPERT,
|
|
|
|
LI_16_ENTER_PASSWORD1,
|
|
|
|
LI_17_ENTER_PASSWORD2,
|
|
|
|
LI_18_RESUME_GAME,
|
|
|
|
LI_19_ABORT_GAME,
|
|
|
|
LI_20_LOAD_GAME,
|
|
|
|
LI_21_SAVE_GAME,
|
|
|
|
LI_22_SAVE_SLOT,
|
|
|
|
|
|
|
|
LI_NUM
|
|
|
|
};
|
|
|
|
|
|
|
|
static const char *_textsTableFR[];
|
|
|
|
static const char *_textsTableEN[];
|
|
|
|
static const char *_textsTableDE[];
|
|
|
|
static const char *_textsTableSP[];
|
|
|
|
static const uint8_t _stringsTableFR[];
|
|
|
|
static const uint8_t _stringsTableEN[];
|
|
|
|
static const uint8_t _stringsTableDE[];
|
|
|
|
static const uint8_t _stringsTableSP[];
|
|
|
|
|
|
|
|
Version _ver;
|
|
|
|
const char **_textsTable;
|
|
|
|
const uint8_t *_stringsTable;
|
|
|
|
|
|
|
|
Locale(Version ver);
|
|
|
|
const char *get(int id) const;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // LOCALE_H__
|