#include <string>
#include <helpers/sdl.h>
#include <helpers/tixml.h>
#include <singleton.h>
Třídy | |
class | Language |
Jazyk hry. ... | |
Definice maker | |
#define | LANG SINGLETON_SHORTCUT(Language) |
#define | LANG_MENU(menu, item) LANG->get_translation(3, "menu", menu, item) |
#define | LANG_SUBMENU(menu, submenu, item) LANG->get_translation(5, "menu", menu, submenu, "submenu", item) |
#define | LANG_MENU_TRY(menu, submenu, item) submenu==0 ? LANG_MENU(menu, item) : LANG_SUBMENU(menu, submenu, item) |
#define | LANG_GAME(name, part) LANG->get_translation(3, "game", name, part) |
#define | LANG_GAME_DEATH(name) LANG->get_translation(2, "game", name) |
#define | LANG_ROOT_ELEMENT "language" |
#define | LANG_HEADING 0 |
#define | LANG_BEFORE_LEVEL 0 |
#define | LANG_AFTER_LEVEL "after" |
#define | LANG_MAIN "main" |
#define | LANG_RESUME_GAME "resume_game" |
#define | LANG_NEW_GAME "new_game" |
#define | LANG_LOAD_GAME "load_game" |
#define | LANG_SAVE_GAME "save_game" |
#define | LANG_DEATHMATCH "deathmatch" |
#define | LANG_OPTIONS "options" |
#define | LANG_BONUSES "bonuses" |
#define | LANG_CREATURES "creatures" |
#define | LANG_QUIT "quit" |
#define | LANG_PLAY "play" |
#define | LANG_PLAYERS_COUNT "players_count" |
#define | LANG_EPISODE "episode" |
#define | LANG_BACK "back" |
#define | LANG_FILE_TYPE "filetype" |
#define | LANG_DIRECTORY "directory" |
#define | LANG_FILE "file" |
#define | LANG_TYPE "type" |
#define | LANG_OK "ok" |
#define | LANG_CANCEL "cancel" |
#define | LANG_MAPS "maps" |
#define | LANG_WIN_POINTS "win_points" |
#define | LANG_BOMBS "bombs_at_end" |
#define | LANG_ERR_MAP "map_error" |
#define | LANG_ERR_FILE "file_name_error" |
#define | LANG_LANGUAGE "language" |
#define | LANG_CONTROLS "controls" |
#define | LANG_SPEED "speed" |
#define | LANG_PRESUMPTIONS "presumptions" |
#define | LANG_SPLIT_SCREEN "split_screen" |
#define | LANG_FULLSCREEN "fullscreen" |
#define | LANG_SOUND "sound" |
#define | LANG_SAVE "save" |
#define | LANG_ERR_SET_LANG "cant_set_lang" |
#define | LANG_PRESS_KEY "press_key" |
#define | LANG_PLAYER "player" |
Language.h obsahuje stejnojmennou třídu obstarávající jazykové mutace a jiné pomocné třídy.
#define LANG SINGLETON_SHORTCUT(Language) |
#define LANG_AFTER_LEVEL "after" |
#define LANG_BACK "back" |
#define LANG_BEFORE_LEVEL 0 |
#define LANG_BOMBS "bombs_at_end" |
#define LANG_BONUSES "bonuses" |
#define LANG_CANCEL "cancel" |
#define LANG_CONTROLS "controls" |
#define LANG_CREATURES "creatures" |
#define LANG_DEATHMATCH "deathmatch" |
#define LANG_DIRECTORY "directory" |
#define LANG_EPISODE "episode" |
#define LANG_ERR_FILE "file_name_error" |
#define LANG_ERR_MAP "map_error" |
#define LANG_ERR_SET_LANG "cant_set_lang" |
#define LANG_FILE "file" |
#define LANG_FILE_TYPE "filetype" |
#define LANG_FULLSCREEN "fullscreen" |
#define LANG_GAME | ( | name, | |||
part | ) | LANG->get_translation(3, "game", name, part) |
#define LANG_GAME_DEATH | ( | name | ) | LANG->get_translation(2, "game", name) |
#define LANG_HEADING 0 |
#define LANG_LANGUAGE "language" |
#define LANG_LOAD_GAME "load_game" |
#define LANG_MAIN "main" |
#define LANG_MAPS "maps" |
#define LANG_MENU | ( | menu, | |||
item | ) | LANG->get_translation(3, "menu", menu, item) |
#define LANG_MENU_TRY | ( | menu, | |||
submenu, | |||||
item | ) | submenu==0 ? LANG_MENU(menu, item) : LANG_SUBMENU(menu, submenu, item) |
#define LANG_NEW_GAME "new_game" |
#define LANG_OK "ok" |
#define LANG_OPTIONS "options" |
#define LANG_PLAY "play" |
#define LANG_PLAYER "player" |
#define LANG_PLAYERS_COUNT "players_count" |
#define LANG_PRESS_KEY "press_key" |
#define LANG_PRESUMPTIONS "presumptions" |
#define LANG_QUIT "quit" |
#define LANG_RESUME_GAME "resume_game" |
#define LANG_ROOT_ELEMENT "language" |
#define LANG_SAVE "save" |
#define LANG_SAVE_GAME "save_game" |
#define LANG_SOUND "sound" |
#define LANG_SPEED "speed" |
#define LANG_SPLIT_SCREEN "split_screen" |
#define LANG_SUBMENU | ( | menu, | |||
submenu, | |||||
item | ) | LANG->get_translation(5, "menu", menu, submenu, "submenu", item) |
#define LANG_TYPE "type" |
#define LANG_WIN_POINTS "win_points" |