/*
 * This file is part of OpenKropki.
 * It provides the core logic of the game.
 *
 * Copyright (C) 2014-2020 Mateusz Viste
 *
 * MIT License
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */

#ifndef OPENKROPKI_ALL_LANG_H
#define OPENKROPKI_ALL_LANG_H

enum langid_t {
  LANG_CZ,
  LANG_EN,
  LANG_FR,
  LANG_PL,
  LANG_RU,
  LANG_DE, /* appended so existing prefs language ids stay stable */
  /* */
  LANG_ERR /* this MUST be the last position! */
};


enum msgid_t {
  MSG_NEW_GAME,
  MSG_RESUME_GAME,
  MSG_SETTINGS,
  MSG_LANGUAGE,
  MSG_SOUND,
  MSG_SHADEBASES,
  MSG_YES,
  MSG_NO,
  MSG_ABOUT,
  MSG_EXIT_GAME,
  MSG_BACK_TO_MAIN,
  MSG_PLAYER_A,
  MSG_PLAYER_B,
  MSG_VS,
  MSG_HUMAN,
  MSG_DUMBO,
  MSG_DUMBO_HINT,
  MSG_TIGRAN,
  MSG_TIGRAN_HINT,
  MSG_BENDER,
  MSG_BENDER_HINT,
  MSG_VIKTOR,
  MSG_VIKTOR_HINT,
  MSG_STARTGAME,
  MSG_PLAYSIZE,
  MSG_HEWINS,
  MSG_NOBWINS,
  MSG_AITHINKS,
  MSG_YOURTURN,
  MSG_WAIT_FOR_AI_ENGINE,
  MSG_ABOUT_LONG,
  MSG_LANGUAGE_TITLE,
  /* */
  MSG_LAST
};

void lang_init(enum langid_t l);
const char *lang_msg(enum msgid_t id);
const char *lang_name(enum langid_t id);

#endif
