Previous 15994 Revisions Next

r2985 Sunday 27th July, 2008 at 12:29:07 UTC by Nathan Woods
Cleanups; will be merging in natural keyboard changes soon
[src/mess]messopts.c messopts.h uimess.h
[src/mess/osd/windows]configms.c

src/mess/uimess.h
r2984r2985
66
77*********************************************************************/
88
9#ifndef UIMESS_H
10#define UIMESS_H
9#ifndef __UIMESS_H__
10#define __UIMESS_H__
1111
1212#include "ui.h"
1313#include "uimenu.h"
1414
15
16/***************************************************************************
17    PROTOTYPES
18***************************************************************************/
19
1520int mess_ui_active(void);
1621void mess_ui_update(running_machine *machine);
1722int mess_use_new_ui(void);
r2984r2985
3035/* paste */
3136void ui_paste(running_machine *machine);
3237
33#endif /* UIMESS_H */
38#endif /* __UIMESS_H__ */
src/mess/osd/windows/configms.c
r2984r2985
2929{
3030   { NULL,                     NULL,   OPTION_HEADER,      "WINDOWS MESS SPECIFIC OPTIONS" },
3131   { "newui;nu",                   "0",    OPTION_BOOLEAN,      "use the new MESS UI" },
32   { "natural;nat",            "0",   OPTION_BOOLEAN,      "specifies whether to use a natural keyboard or not" },
3332   { NULL }
3433};
3534
src/mess/messopts.c
r2984r2985
3232const options_entry mess_core_options[] =
3333{
3434   { NULL,                     NULL,   OPTION_HEADER,                  "MESS SPECIFIC OPTIONS" },
35    { "ramsize;ram",            NULL,   0,                           "size of RAM (if supported by driver)" },
35   { "ramsize;ram",            NULL,   0,                           "size of RAM (if supported by driver)" },
3636   { "writeconfig;wc",            "0",   OPTION_BOOLEAN,                  "writes configuration to (driver).ini on exit" },
3737   { OPTION_SKIP_WARNINGS,         "0",    OPTION_BOOLEAN,                  "skip displaying the warnings screen" },
3838   { OPTION_ADDED_DEVICE_OPTIONS,   "0",   OPTION_BOOLEAN | OPTION_INTERNAL,   "device-specific options have been added" },
39   { "natural;nat",            "0",   OPTION_BOOLEAN,                  "specifies whether to use a natural keyboard or not" },
3940   { NULL }
4041};
4142
r2984r2985
221222   char buffer[128];
222223   int retval = 1;
223224
224   if (gamedrv)
225   if (gamedrv != NULL)
225226   {
226227      sprintf(buffer, "%s.ini", gamedrv->name);
227228      filename = buffer;
r2984r2985
235236   retval = 0;
236237
237238done:
238   if (f)
239   if (f != NULL)
239240      mame_fclose(f);
240241   return retval;
241242}
src/mess/messopts.h
r2984r2985
1414#define OPTION_RAMSIZE         "ramsize"
1515#define OPTION_WRITECONFIG      "writeconfig"
1616#define OPTION_SKIP_WARNINGS   "skip_warnings"
17#define OPTION_NATURAL_KEYBOARD   "natural"
1718
1819
1920

Previous 15994 Revisions Next


© 1998-2018 The MESS Team