Browse CVS Repository
Contents of /mame32jp/mame32jp/src/ui_text.h
Parent Directory
| Revision Log
| Revision Graph
Revision 1.6 -
( show annotations)
( download)
( as text)
Tue May 7 00:17:30 2002 UTC
(21 years, 11 months ago)
by zero
Branch: MAIN
CVS Tags: ver_0_60_1, ver0_60_2, ver0_60_3, ver0_60_4, ver0_60_5, HEAD
Changes since 1.5: +0 -2 lines
File MIME type: text/x-chdr
*** empty log message ***
| 1 |
#ifndef ui_text_h |
| 2 |
#define ui_text_h |
| 3 |
|
| 4 |
/* Important: this must match the default_text list in ui_text.c! */ |
| 5 |
enum |
| 6 |
{ |
| 7 |
UI_first_entry = -1, |
| 8 |
|
| 9 |
UI_mame, |
| 10 |
|
| 11 |
/* copyright stuff */ |
| 12 |
UI_copyright1, |
| 13 |
UI_copyright2, |
| 14 |
UI_copyright3, |
| 15 |
|
| 16 |
/* misc menu stuff */ |
| 17 |
UI_returntomain, |
| 18 |
UI_returntoprior, |
| 19 |
UI_anykey, |
| 20 |
#ifdef MAME32JP |
| 21 |
UI_selectkey, |
| 22 |
#endif |
| 23 |
UI_on, |
| 24 |
UI_off, |
| 25 |
UI_NA, |
| 26 |
UI_OK, |
| 27 |
UI_INVALID, |
| 28 |
UI_none, |
| 29 |
UI_cpu, |
| 30 |
UI_address, |
| 31 |
UI_value, |
| 32 |
UI_sound, |
| 33 |
UI_sound_lc, /* lower-case version */ |
| 34 |
UI_stereo, |
| 35 |
UI_vectorgame, |
| 36 |
UI_screenres, |
| 37 |
UI_text, |
| 38 |
UI_volume, |
| 39 |
UI_relative, |
| 40 |
UI_allchannels, |
| 41 |
UI_brightness, |
| 42 |
UI_gamma, |
| 43 |
UI_vectorflicker, |
| 44 |
UI_vectorintensity, |
| 45 |
UI_overclock, |
| 46 |
UI_allcpus, |
| 47 |
UI_historymissing, |
| 48 |
#ifdef MAME32JP |
| 49 |
UI_commandmissing, |
| 50 |
#endif |
| 51 |
|
| 52 |
/* special characters */ |
| 53 |
UI_leftarrow, |
| 54 |
UI_rightarrow, |
| 55 |
UI_uparrow, |
| 56 |
UI_downarrow, |
| 57 |
UI_lefthilight, |
| 58 |
UI_righthilight, |
| 59 |
|
| 60 |
/* warnings */ |
| 61 |
UI_knownproblems, |
| 62 |
UI_imperfectcolors, |
| 63 |
UI_wrongcolors, |
| 64 |
UI_imperfectgraphics, |
| 65 |
UI_imperfectsound, |
| 66 |
UI_nosound, |
| 67 |
UI_nococktail, |
| 68 |
UI_brokengame, |
| 69 |
UI_brokenprotection, |
| 70 |
UI_workingclones, |
| 71 |
UI_typeok, |
| 72 |
#ifdef MESS |
| 73 |
UI_comp1, |
| 74 |
UI_comp2, |
| 75 |
#endif |
| 76 |
|
| 77 |
/* main menu */ |
| 78 |
UI_inputgeneral, |
| 79 |
UI_dipswitches, |
| 80 |
UI_analogcontrols, |
| 81 |
UI_calibrate, |
| 82 |
UI_bookkeeping, |
| 83 |
UI_inputspecific, |
| 84 |
UI_gameinfo, |
| 85 |
UI_history, |
| 86 |
#ifdef MAME32JP |
| 87 |
UI_autofire, |
| 88 |
UI_changejoyid, |
| 89 |
UI_command, |
| 90 |
#endif |
| 91 |
UI_resetgame, |
| 92 |
UI_returntogame, |
| 93 |
#ifdef MESS |
| 94 |
UI_imageinfo, |
| 95 |
UI_filemanager, |
| 96 |
UI_tapecontrol, |
| 97 |
#endif |
| 98 |
UI_cheat, |
| 99 |
UI_memorycard, |
| 100 |
|
| 101 |
/* input stuff */ |
| 102 |
UI_keyjoyspeed, |
| 103 |
UI_reverse, |
| 104 |
UI_sensitivity, |
| 105 |
|
| 106 |
/* stats */ |
| 107 |
UI_tickets, |
| 108 |
UI_coin, |
| 109 |
UI_locked, |
| 110 |
|
| 111 |
/* memory card */ |
| 112 |
UI_loadcard, |
| 113 |
UI_ejectcard, |
| 114 |
UI_createcard, |
| 115 |
UI_resetcard, |
| 116 |
UI_loadfailed, |
| 117 |
UI_loadok, |
| 118 |
UI_cardejected, |
| 119 |
UI_cardcreated, |
| 120 |
UI_cardcreatedfailed, |
| 121 |
UI_cardcreatedfailed2, |
| 122 |
UI_carderror, |
| 123 |
|
| 124 |
/* cheat stuff */ |
| 125 |
UI_enablecheat, |
| 126 |
UI_addeditcheat, |
| 127 |
UI_startcheat, |
| 128 |
UI_continuesearch, |
| 129 |
UI_viewresults, |
| 130 |
UI_restoreresults, |
| 131 |
UI_memorywatch, |
| 132 |
UI_generalhelp, |
| 133 |
UI_options, |
| 134 |
UI_reloaddatabase, |
| 135 |
UI_watchpoint, |
| 136 |
UI_disabled, |
| 137 |
UI_cheats, |
| 138 |
UI_watchpoints, |
| 139 |
UI_moreinfo, |
| 140 |
UI_moreinfoheader, |
| 141 |
UI_cheatname, |
| 142 |
UI_cheatdescription, |
| 143 |
UI_cheatactivationkey, |
| 144 |
UI_code, |
| 145 |
UI_max, |
| 146 |
UI_set, |
| 147 |
UI_conflict_found, |
| 148 |
UI_no_help_available, |
| 149 |
|
| 150 |
/* watchpoint stuff */ |
| 151 |
UI_watchlength, |
| 152 |
UI_watchdisplaytype, |
| 153 |
UI_watchlabeltype, |
| 154 |
UI_watchlabel, |
| 155 |
UI_watchx, |
| 156 |
UI_watchy, |
| 157 |
UI_watch, |
| 158 |
|
| 159 |
UI_hex, |
| 160 |
UI_decimal, |
| 161 |
UI_binary, |
| 162 |
|
| 163 |
/* search stuff */ |
| 164 |
UI_search_lives, |
| 165 |
UI_search_timers, |
| 166 |
UI_search_energy, |
| 167 |
UI_search_status, |
| 168 |
UI_search_slow, |
| 169 |
UI_search_speed, |
| 170 |
UI_search_speed_fast, |
| 171 |
UI_search_speed_medium, |
| 172 |
UI_search_speed_slow, |
| 173 |
UI_search_speed_veryslow, |
| 174 |
UI_search_speed_allmemory, |
| 175 |
UI_search_select_memory_areas, |
| 176 |
UI_search_matches_found, |
| 177 |
UI_search_noinit, |
| 178 |
UI_search_nosave, |
| 179 |
UI_search_done, |
| 180 |
UI_search_OK, |
| 181 |
UI_search_select_value, |
| 182 |
UI_search_all_values_saved, |
| 183 |
UI_search_one_match_found_added, |
| 184 |
|
| 185 |
#ifdef MAME32JP |
| 186 |
UI_autofireoff, |
| 187 |
UI_autofireon, |
| 188 |
UI_autofiretoggle, |
| 189 |
UI_autofiredelay, |
| 190 |
|
| 191 |
UI_player1, |
| 192 |
UI_player2, |
| 193 |
UI_player3, |
| 194 |
UI_player4, |
| 195 |
UI_joynotatached, |
| 196 |
#endif |
| 197 |
|
| 198 |
UI_last_entry |
| 199 |
}; |
| 200 |
|
| 201 |
#ifndef JAPANESE |
| 202 |
struct lang_struct |
| 203 |
{ |
| 204 |
int version; |
| 205 |
int multibyte; /* UNUSED: 1 if this is a multibyte font/language */ |
| 206 |
UINT8 *fontdata; /* pointer to the raw font data to be decoded */ |
| 207 |
UINT16 fontglyphs; /* total number of glyps in the external font - 1 */ |
| 208 |
char langname[255]; |
| 209 |
char fontname[255]; |
| 210 |
char author[255]; |
| 211 |
}; |
| 212 |
|
| 213 |
extern struct lang_struct lang; |
| 214 |
|
| 215 |
int uistring_init (void *language_file); |
| 216 |
void uistring_shutdown (void); |
| 217 |
#endif |
| 218 |
|
| 219 |
const char * ui_getstring (int string_num); |
| 220 |
|
| 221 |
#endif |
| 222 |
|
| |