Well from a very quick poke in the code I would think you need to add a couple of entries to the options array in config.c (under mame\src\windows). Here is a snippet with the interesting line highlighted.
/* misc */
{ "Mame CORE misc options", NULL, rc_seperator, NULL, NULL, 0, 0, NULL, NULL },
{ "artwork", "art", rc_bool, &use_artwork, "1", 0, 0, NULL, "use additional " GAMENOUN " artwork (sets default for specific options below)" },
{ "use_backdrops", "backdrop", rc_bool, &use_backdrops, "1", 0, 0, NULL, "use backdrop artwork" },
{ "use_overlays", "overlay", rc_bool, &use_overlays, "1", 0, 0, NULL, "use overlay artwork" },
{ "use_bezels", "bezel", rc_bool, &use_bezels, "1", 0, 0, NULL, "use bezel artwork" },
{ "artwork_crop", "artcrop", rc_bool, &options.artwork_crop, "0", 0, 0, NULL, "crop artwork to " GAMENOUN " screen only" },
{ "artwork_resolution", "artres", rc_int, &options.artwork_res, "0", 0, 0, NULL, "artwork resolution (0 for auto)" },
{ "cheat", "c", rc_bool, &options.cheat, "0", 0, 0, NULL, "enable/disable cheat subsystem" },
{ "debug", "d", rc_bool, &options.mame_debug, "0", 0, 0, NULL, "enable/disable debugger (only if available)" },
{ "debugscript", NULL, rc_string, &debugscript, NULL, 0, 0, NULL, "script for debugger (only if available)" },
{ "playback", "pb", rc_string, &playbackname, NULL, 0, 0, NULL, "playback an input file" },
{ "record", "rec", rc_string, &recordname, NULL, 0, 0, NULL, "record an input file" },
{ "log", NULL, rc_bool, &errorlog, "0", 0, 0, init_errorlog, "generate error.log" },
{ "oslog", NULL, rc_bool, &erroroslog, "0", 0, 0, NULL, "output error log to debugger" },
{ "skip_gameinfo", NULL, rc_bool, &options.skip_gameinfo, "0", 0, 0, NULL, "skip displaying the " GAMENOUN " info screen" }, { "bios", NULL, rc_string, &options.bios, "default", 0, 14, NULL, "change system bios" },
{ "state", NULL, rc_string, &statename, NULL, 0, 0, NULL, "state to load" },
{ "autosave", NULL, rc_bool, &options.auto_save, "0", 0, 0, NULL, "enable automatic restore at startup and save at exit" },
In mame.c the variables are still declared and available:
struct _global_options
...
...
int skip_disclaimer; /* 1 to skip the disclaimer screen at startup */
int skip_gameinfo; /* 1 to skip the game info screen at startup */
int skip_warnings; /* 1 to skip the warnings screen at startup */
...
...
So you don't need to add the variables. You should just add new rows to the struct up above similar to the highlighted line. Recompile and test.
Let me know if it works.
