CATSFC/source/nds/message.h
Nebuleon Fumika a6ec18e23f Preliminary support for saving to an arbitrary saved state slot.
Currently, tapping a cell representing a saved state slot in the menu will load it, regardless of the current option, save or load. So the save option only accepts Left, Right and A.
2013-01-14 02:51:39 -05:00

140 lines
3.3 KiB
C

/* message.h
*
* Copyright (C) 2010 dking <dking024@gmail.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public Licens e as
* published by the Free Software Foundation; either version 2 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef __MESSAGE_H__
#define __MESSAGE_H__
enum MSG
{
MSG_MAIN_MENU_VIDEO_AUDIO,
MSG_MAIN_MENU_SAVED_STATES,
MSG_MAIN_MENU_CHEATS,
MSG_MAIN_MENU_TOOLS,
MSG_MAIN_MENU_OPTIONS,
MSG_MAIN_MENU_EXIT,
FMT_VIDEO_ASPECT_RATIO,
FMT_VIDEO_FAST_FORWARD,
FMT_VIDEO_FRAME_SKIPPING,
FMT_AUDIO_SOUND,
FMT_SAVED_STATE_CREATE,
FMT_SAVED_STATE_LOAD,
MSG_SAVED_STATE_DELETE_GENERAL,
FMT_CHEAT_PAGE,
MSG_CHEAT_LOAD_FROM_FILE,
MSG_TOOLS_SCREENSHOT_GENERAL,
FMT_OPTIONS_LANGUAGE,
FMT_OPTIONS_CPU_FREQUENCY,
MSG_OPTIONS_CARD_CAPACITY,
MSG_OPTIONS_RESET,
MSG_OPTIONS_VERSION,
MSG_SCREENSHOT_CREATE,
MSG_SCREENSHOT_BROWSE,
MSG_LOAD_GAME_RECENTLY_PLAYED,
MSG_LOAD_GAME_FROM_CARD,
MSG_LOAD_GAME_MENU_TITLE,
MSG_VIDEO_ASPECT_RATIO_0,
MSG_VIDEO_ASPECT_RATIO_1,
MSG_VIDEO_ASPECT_RATIO_2,
MSG_VIDEO_ASPECT_RATIO_3,
MSG_VIDEO_ASPECT_RATIO_4,
MSG_VIDEO_FRAME_SKIPPING_AUTOMATIC,
MSG_VIDEO_FRAME_SKIPPING_0,
MSG_VIDEO_FRAME_SKIPPING_1,
MSG_VIDEO_FRAME_SKIPPING_2,
MSG_VIDEO_FRAME_SKIPPING_3,
MSG_VIDEO_FRAME_SKIPPING_4,
MSG_VIDEO_FRAME_SKIPPING_5,
MSG_VIDEO_FRAME_SKIPPING_6,
MSG_VIDEO_FRAME_SKIPPING_7,
MSG_VIDEO_FRAME_SKIPPING_8,
MSG_VIDEO_FRAME_SKIPPING_9,
MSG_VIDEO_FRAME_SKIPPING_10,
MSG_GENERAL_OFF,
MSG_GENERAL_ON,
MSG_GENERAL_CONFIRM_WITH_A,
MSG_GENERAL_CANCEL_WITH_B,
MSG_AUDIO_ENABLED,
MSG_AUDIO_MUTED,
MSG_TOP_SCREEN_NO_GAME_LOADED,
MSG_CHEAT_ELEMENT_NOT_LOADED,
MSG_SAVESTATE_FULL,
MSG_PROGRESS_SAVED_STATE_CREATING,
MSG_PROGRESS_SAVED_STATE_CREATION_FAILED,
MSG_PROGRESS_SAVED_STATE_CREATION_SUCCEEDED,
MSG_TOP_SCREEN_NO_SAVED_STATE_IN_SLOT,
MSG_PROGRESS_SAVED_STATE_CORRUPTED,
MSG_PROGRESS_SAVED_STATE_LOADING,
MSG_PROGRESS_SAVED_STATE_LOAD_FAILED,
MSG_PROGRESS_SAVED_STATE_LOAD_SUCCEEDED,
MSG_SAVED_STATE_DELETE_ALL,
FMT_SAVED_STATE_DELETE_ONE,
MSG_DIALOG_SAVED_STATE_DELETE_ALL,
FMT_DIALOG_SAVED_STATE_DELETE_ONE,
MSG_PROGRESS_SAVED_STATE_ALREADY_EMPTY,
MSG_PROGRESS_SCREENSHOT_CREATING,
MSG_PROGRESS_SCREENSHOT_CREATION_SUCCEEDED,
MSG_PROGRESS_SCREENSHOT_CREATION_FAILED,
MSG_CHANGE_LANGUAGE,
MSG_CHANGE_LANGUAGE_WAITING,
MSG_NO_SLIDE,
MSG_PLAYING_SLIDE,
MSG_PAUSE_SLIDE,
MSG_PLAY_SLIDE1,
MSG_PLAY_SLIDE2,
MSG_PLAY_SLIDE3,
MSG_PLAY_SLIDE4,
MSG_PLAY_SLIDE5,
MSG_PLAY_SLIDE6,
MSG_PROGRESS_LOADING_GAME,
MSG_EMULATOR_NAME,
MSG_WORD_EMULATOR_VERSION,
MSG_DIALOG_RESET,
MSG_PROGRESS_RESETTING,
MSG_END
};
enum LANGUAGE {
ENGLISH,
CHINESE_SIMPLIFIED,
FRENCH
};
extern char* lang[3]; // Allocated in gui.c, needs to match the languages ^
char *msg[MSG_END+1];
char msg_data[16 * 1024];
#endif //__MESSAGE_H__