diff options
| author | 2020-05-01 16:44:41 +0200 | |
|---|---|---|
| committer | 2020-05-01 16:44:55 +0200 | |
| commit | f79adbeef4cc03cd3087cb4271bf4d487dadde81 (patch) | |
| tree | f9caf76f4c032a0fe21d59979a66e57d7ed3a672 | |
| parent | f74ad44550857d68b10e00fa01130271492e8761 (diff) | |
decide against using sensorboard interface for keypad chesscomputers (nw)
31 files changed, 130 insertions, 1329 deletions
diff --git a/src/mame/drivers/aci_borisdpl.cpp b/src/mame/drivers/aci_borisdpl.cpp index 3a11d7266e6..1f27cfe3428 100644 --- a/src/mame/drivers/aci_borisdpl.cpp +++ b/src/mame/drivers/aci_borisdpl.cpp @@ -20,7 +20,6 @@ as SL90259. #include "emu.h" #include "cpu/f8/f8.h" #include "machine/f3853.h" -#include "machine/sensorboard.h" #include "video/pwm.h" // internal artwork @@ -201,10 +200,6 @@ void borisdpl_state::borisdpl(machine_config &config) psu.read_b().set(FUNC(borisdpl_state::ram_address_r)); psu.write_b().set(FUNC(borisdpl_state::ram_address_w)); - // built-in chessboard is not electronic - sensorboard_device &board(SENSORBOARD(config, "board").set_type(sensorboard_device::NOSENSORS)); - board.init_cb().set("board", FUNC(sensorboard_device::preset_chess)); - /* video hardware */ PWM_DISPLAY(config, m_display).set_size(8, 7); m_display->set_segmask(0xff, 0x7f); diff --git a/src/mame/drivers/aci_ggm.cpp b/src/mame/drivers/aci_ggm.cpp index f6582fa8147..ebf997a9338 100644 --- a/src/mame/drivers/aci_ggm.cpp +++ b/src/mame/drivers/aci_ggm.cpp @@ -41,8 +41,6 @@ TODO: - confirm display AP segment, is it used anywhere? - verify cartridge pinout, right now assume A0-A15 (max known cart size is 24KB). Boris/Sargon cartridge is A0-A11 and 2 CS lines, Steinitz uses the whole range. -- (probably won't) add chesspieces to artwork? this machine supports more board - games than just chess: checkers, reversi, and even a blackjack game ******************************************************************************/ diff --git a/src/mame/drivers/fidel_cc1.cpp b/src/mame/drivers/fidel_cc1.cpp index 6ad739f4fd0..eb1ec8ce428 100644 --- a/src/mame/drivers/fidel_cc1.cpp +++ b/src/mame/drivers/fidel_cc1.cpp @@ -10,6 +10,18 @@ Fidelity's 1st generation chess computers: * denotes not dumped (actually CC1 is dumped, but with half of the contents missing) +The first generation of chesscomputers didn't have an electronic chessboard. +Some of them required a separate chessboard, others had a small chessboard +attached to it (the latter applies to Fidelity). + +For those familiar with MAME's sensorboard interface and really want to use it +for the old keypad-input machines, there is an awkward workaround: Start a 2nd +instance of MAME with -sound none and load mephisto3 or mephisto2e, turn off +the ESB 6000 board in the machine configuration, and set the video options to +"Internal Layout (Board)". The same thing can be done with ccmk6. + +That being said, it's probably a better idea to use a real chessboard. + ******************************************************************************* Chess Challenger (1) @@ -30,9 +42,9 @@ CC1 hardware overview: - NEC 2316A ROM(2KB), 4*2101AL RAM(0.5KB total) - 8255C for I/O, 4*7seg display + 2 extra leds, 12-key keypad -Chess Challenger (upgraded version) is on the same hardware, but with double the -ROM size, and they corrected the reversed chess notation. It was also offered as -an upgrade to CC1. PCB label P179 C-3 9.77. +Chess Challenger (upgraded version) released a few months later is on the same +hardware, but with double the ROM size, and they corrected the reversed chess +notation. It was also offered as an upgrade to CC1. PCB label P179 C-3 9.77. Chess Challenger (model UCC10) is on nearly the same PCB too, same label as CC3, with a small daughterboard for 8KB ROM. Again, it was also offered as an upgrade diff --git a/src/mame/drivers/saitek_chesstrv.cpp b/src/mame/drivers/saitek_chesstrv.cpp index 0f3f313ebe4..677d0f0bee8 100644 --- a/src/mame/drivers/saitek_chesstrv.cpp +++ b/src/mame/drivers/saitek_chesstrv.cpp @@ -26,7 +26,6 @@ TODO: #include "emu.h" #include "cpu/f8/f8.h" #include "machine/f3853.h" -#include "machine/sensorboard.h" #include "video/pwm.h" // internal artwork @@ -205,10 +204,6 @@ void chesstrv_state::chesstrv(machine_config &config) psu.read_b().set(FUNC(chesstrv_state::input_r)); psu.write_b().set(FUNC(chesstrv_state::matrix_w)); - // built-in chessboard is not electronic - sensorboard_device &board(SENSORBOARD(config, "board").set_type(sensorboard_device::NOSENSORS)); - board.init_cb().set("board", FUNC(sensorboard_device::preset_chess)); - /* video hardware */ PWM_DISPLAY(config, m_display).set_size(4, 7); m_display->set_segmask(0xf, 0x7f); diff --git a/src/mame/drivers/saitek_mark5.cpp b/src/mame/drivers/saitek_mark5.cpp index ae314766d07..d35bfa95cfd 100644 --- a/src/mame/drivers/saitek_mark5.cpp +++ b/src/mame/drivers/saitek_mark5.cpp @@ -127,7 +127,6 @@ private: u8 m_lcd_rowsel = 0; u8 m_cb_mux = 0; - emu_timer *m_cb_startdelay; emu_timer *m_irqtimer; TIMER_CALLBACK_MEMBER(interrupt); void write_lcd(int state); @@ -138,9 +137,6 @@ void mark5_state::machine_start() m_out_x.resolve(); m_irqtimer = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(mark5_state::interrupt),this)); - m_cb_startdelay = machine().scheduler().timer_alloc(timer_expired_delegate()); - m_cb_startdelay->adjust(attotime::from_msec(100)); - // register for savestates save_item(NAME(m_dac_data)); save_item(NAME(m_lcd_lcd)); @@ -277,7 +273,7 @@ WRITE8_MEMBER(mark5_state::cb_w) READ8_MEMBER(mark5_state::cb_r) { - if (~m_inputs[6]->read() & 0x20 || m_cb_startdelay->enabled()) + if (~m_inputs[6]->read() & 0x20) return 0xff; // read chessboard sensors diff --git a/src/mame/drivers/sc2.cpp b/src/mame/drivers/sc2.cpp index bad13ec8350..6a3ec1886e9 100644 --- a/src/mame/drivers/sc2.cpp +++ b/src/mame/drivers/sc2.cpp @@ -31,7 +31,6 @@ Fidelity CC10 synonyms: RE, LV, RV, PB, ♪, CL, EN #include "emu.h" #include "cpu/z80/z80.h" #include "machine/z80pio.h" -#include "machine/sensorboard.h" #include "video/pwm.h" #include "sound/dac.h" #include "sound/volt_reg.h" @@ -210,10 +209,6 @@ void sc2_state::sc2(machine_config &config) m_pio->in_pb_callback().set(FUNC(sc2_state::pio_port_b_r)); m_pio->out_pb_callback().set(FUNC(sc2_state::pio_port_b_w)); - // built-in chessboard is not electronic - sensorboard_device &board(SENSORBOARD(config, "board").set_type(sensorboard_device::NOSENSORS)); - board.init_cb().set("board", FUNC(sensorboard_device::preset_chess)); - /* video hardware */ PWM_DISPLAY(config, m_display).set_size(4, 8); m_display->set_segmask(0xf, 0x7f); diff --git a/src/mame/layout/aci_boris.lay b/src/mame/layout/aci_boris.lay index 8064bcba956..6dbaa6fa2f0 100644 --- a/src/mame/layout/aci_boris.lay +++ b/src/mame/layout/aci_boris.lay @@ -4,7 +4,7 @@ license:CC0 --> <mamelayout version="2"> -<!-- NOTE: no chesspieces simulation here, ACI Boris didn't have a built-in chessboard --> +<!-- NOTE: no chesspieces simulation here --> <!-- define elements --> diff --git a/src/mame/layout/aci_borisdpl.lay b/src/mame/layout/aci_borisdpl.lay index 62f2032dd40..c38b286fabe 100644 --- a/src/mame/layout/aci_borisdpl.lay +++ b/src/mame/layout/aci_borisdpl.lay @@ -4,6 +4,8 @@ license:CC0 --> <mamelayout version="2"> +<!-- NOTE: no chesspieces simulation here --> + <!-- define elements --> <element name="black"><rect><color red="0.28" green="0.16" blue="0.08" /></rect></element> @@ -219,447 +221,6 @@ license:CC0 <text string="ENTER"><color red="0.28" green="0.16" blue="0.08" /></text> </element> - <element name="text_cl00"> - <rect><color red="0.7" green="0.56" blue="0.42" /></rect> - <text string="A" align="1"><color red="0.95" green="0.8" blue="0.6" /></text> - </element> - <element name="text_cl01"> - <rect><color red="0.42" green="0.24" blue="0.12" /></rect> - <text string="B" align="1"><color red="0.95" green="0.8" blue="0.6" /></text> - </element> - <element name="text_cl02"> - <rect><color red="0.7" green="0.56" blue="0.42" /></rect> - <text string="C" align="1"><color red="0.95" green="0.8" blue="0.6" /></text> - </element> - <element name="text_cl03"> - <rect><color red="0.42" green="0.24" blue="0.12" /></rect> - <text string="D" align="1"><color red="0.95" green="0.8" blue="0.6" /></text> - </element> - <element name="text_cl04"> - <rect><color red="0.7" green="0.56" blue="0.42" /></rect> - <text string="E" align="1"><color red="0.95" green="0.8" blue="0.6" /></text> - </element> - <element name="text_cl05"> - <rect><color red="0.42" green="0.24" blue="0.12" /></rect> - <text string="F" align="1"><color red="0.95" green="0.8" blue="0.6" /></text> - </element> - <element name="text_cl06"> - <rect><color red="0.7" green="0.56" blue="0.42" /></rect> - <text string="G" align="1"><color red="0.95" green="0.8" blue="0.6" /></text> - </element> - <element name="text_cl07"> - <rect><color red="0.42" green="0.24" blue="0.12" /></rect> - <text string="H" align="1"><color red="0.95" green="0.8" blue="0.6" /></text> - </element> - - <element name="text_cl10"> - <rect><color red="0.42" green="0.24" blue="0.12" /></rect> - <text string="A" align="1"><color red="0.95" green="0.8" blue="0.6" /></text> - </element> - <element name="text_cl11"> - <rect><color red="0.7" green="0.56" blue="0.42" /></rect> - <text string="B" align="1"><color red="0.95" green="0.8" blue="0.6" /></text> - </element> - <element name="text_cl12"> - <rect><color red="0.42" green="0.24" blue="0.12" /></rect> - <text string="C" align="1"><color red="0.95" green="0.8" blue="0.6" /></text> - </element> - <element name="text_cl13"> - <rect><color red="0.7" green="0.56" blue="0.42" /></rect> - <text string="D" align="1"><color red="0.95" green="0.8" blue="0.6" /></text> - </element> - <element name="text_cl14"> - <rect><color red="0.42" green="0.24" blue="0.12" /></rect> - <text string="E" align="1"><color red="0.95" green="0.8" blue="0.6" /></text> - </element> - <element name="text_cl15"> - <rect><color red="0.7" green="0.56" blue="0.42" /></rect> - <text string="F" align="1"><color red="0.95" green="0.8" blue="0.6" /></text> - </element> - <element name="text_cl16"> - <rect><color red="0.42" green="0.24" blue="0.12" /></rect> - <text string="G" align="1"><color red="0.95" green="0.8" blue="0.6" /></text> - </element> - <element name="text_cl17"> - <rect><color red="0.7" green="0.56" blue="0.42" /></rect> - <text string="H" align="1"><color red="0.95" green="0.8" blue="0.6" /></text> - </element> - - <element name="text_cn00"> - <rect><color red="0.7" green="0.56" blue="0.42" /></rect> - <text string="8" align="2"><color red="0.95" green="0.8" blue="0.6" /></text> - </element> - <element name="text_cn01"> - <rect><color red="0.42" green="0.24" blue="0.12" /></rect> - <text string="7" align="2"><color red="0.95" green="0.8" blue="0.6" /></text> - </element> - <element name="text_cn02"> - <rect><color red="0.7" green="0.56" blue="0.42" /></rect> - <text string="6" align="2"><color red="0.95" green="0.8" blue="0.6" /></text> - </element> - <element name="text_cn03"> - <rect><color red="0.42" green="0.24" blue="0.12" /></rect> - <text string="5" align="2"><color red="0.95" green="0.8" blue="0.6" /></text> - </element> - <element name="text_cn04"> - <rect><color red="0.7" green="0.56" blue="0.42" /></rect> - <text string="4" align="2"><color red="0.95" green="0.8" blue="0.6" /></text> - </element> - <element name="text_cn05"> - <rect><color red="0.42" green="0.24" blue="0.12" /></rect> - <text string="3" align="2"><color red="0.95" green="0.8" blue="0.6" /></text> - </element> - <element name="text_cn06"> - <rect><color red="0.7" green="0.56" blue="0.42" /></rect> - <text string="2" align="2"><color red="0.95" green="0.8" blue="0.6" /></text> - </element> - <element name="text_cn07"> - <rect><color red="0.42" green="0.24" blue="0.12" /></rect> - <text string="1" align="2"><color red="0.95" green="0.8" blue="0.6" /></text> - </element> - - <element name="text_cn10"> - <rect><color red="0.42" green="0.24" blue="0.12" /></rect> - <text string="8" align="2"><color red="0.95" green="0.8" blue="0.6" /></text> - </element> - <element name="text_cn11"> - <rect><color red="0.7" green="0.56" blue="0.42" /></rect> - <text string="7" align="2"><color red="0.95" green="0.8" blue="0.6" /></text> - </element> - <element name="text_cn12"> - <rect><color red="0.42" green="0.24" blue="0.12" /></rect> - <text string="6" align="2"><color red="0.95" green="0.8" blue="0.6" /></text> - </element> - <element name="text_cn13"> - <rect><color red="0.7" green="0.56" blue="0.42" /></rect> - <text string="5" align="2"><color red="0.95" green="0.8" blue="0.6" /></text> - </element> - <element name="text_cn14"> - <rect><color red="0.42" green="0.24" blue="0.12" /></rect> - <text string="4" align="2"><color red="0.95" green="0.8" blue="0.6" /></text> - </element> - <element name="text_cn15"> - <rect><color red="0.7" green="0.56" blue="0.42" /></rect> - <text string="3" align="2"><color red="0.95" green="0.8" blue="0.6" /></text> - </element> - <element name="text_cn16"> - <rect><color red="0.42" green="0.24" blue="0.12" /></rect> - <text string="2" align="2"><color red="0.95" green="0.8" blue="0.6" /></text> - </element> - <element name="text_cn17"> - <rect><color red="0.7" green="0.56" blue="0.42" /></rect> - <text string="1" align="2"><color red="0.95" green="0.8" blue="0.6" /></text> - </element> - - <element name="text_warning"> - <rect><color red="0.7" green="0.56" blue="0.42" /></rect> - <text string="Boris Diplomat's built-in chessboard is not electronic, player uses keypad to enter moves."> - <color red="0.5" green="0.4" blue="0.3" /> - </text> - </element> - - -<!-- sb board --> - - <element name="cblack"><rect><color red="0.42" green="0.24" blue="0.12" /></rect></element> - <element name="cwhite"><rect><color red="0.7" green="0.56" blue="0.42" /></rect></element> - - <element name="hlbb" defstate="0"> - <text string=" "><bounds x="0" y="0" width="1" height="1" /></text> - <disk state="1"> - <bounds x="0.12" y="0.12" width="0.76" height="0.76" /> - <color red="0" green="0" blue="0" /> - </disk> - </element> - - <element name="piece" defstate="0"> - <image file="chess/wp.png" state="1"/> - <image file="chess/wn.png" state="2"/> - <image file="chess/wb.png" state="3"/> - <image file="chess/wr.png" state="4"/> - <image file="chess/wq.png" state="5"/> - <image file="chess/wk.png" state="6"/> - - <image file="chess/bp.png" state="7"/> - <image file="chess/bn.png" state="8"/> - <image file="chess/bb.png" state="9"/> - <image file="chess/br.png" state="10"/> - <image file="chess/bq.png" state="11"/> - <image file="chess/bk.png" state="12"/> - - <!-- selected pieces --> - <image file="chess/wp.png" state="13"><color alpha="0.5" /></image> - <image file="chess/wn.png" state="14"><color alpha="0.5" /></image> - <image file="chess/wb.png" state="15"><color alpha="0.5" /></image> - <image file="chess/wr.png" state="16"><color alpha="0.5" /></image> - <image file="chess/wq.png" state="17"><color alpha="0.5" /></image> - <image file="chess/wk.png" state="18"><color alpha="0.5" /></image> - - <image file="chess/bp.png" state="19"><color alpha="0.5" /></image> - <image file="chess/bn.png" state="20"><color alpha="0.5" /></image> - <image file="chess/bb.png" state="21"><color alpha="0.5" /></image> - <image file="chess/br.png" state="22"><color alpha="0.5" /></image> - <image file="chess/bq.png" state="23"><color alpha="0.5" /></image> - <image file="chess/bk.png" state="24"><color alpha="0.5" /></image> - </element> - - <group name="sb_board"> - <bounds x="0" y="0" width="80" height="80" /> - - <!-- squares (avoid seams) --> - <bezel element="cwhite"><bounds x="0" y="0" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="10" y="0" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="20" y="0" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="30" y="0" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="40" y="0" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="50" y="0" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="60" y="0" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="70" y="0" width="10" height="11" /></bezel> - - <bezel element="cblack"><bounds x="0" y="10" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="10" y="10" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="20" y="10" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="30" y="10" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="40" y="10" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="50" y="10" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="60" y="10" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="70" y="10" width="10" height="11" /></bezel> - - <bezel element="cwhite"><bounds x="0" y="20" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="10" y="20" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="20" y="20" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="30" y="20" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="40" y="20" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="50" y="20" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="60" y="20" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="70" y="20" width="10" height="11" /></bezel> - - <bezel element="cblack"><bounds x="0" y="30" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="10" y="30" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="20" y="30" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="30" y="30" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="40" y="30" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="50" y="30" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="60" y="30" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="70" y="30" width="10" height="11" /></bezel> - - <bezel element="cwhite"><bounds x="0" y="40" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="10" y="40" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="20" y="40" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="30" y="40" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="40" y="40" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="50" y="40" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="60" y="40" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="70" y="40" width="10" height="11" /></bezel> - - <bezel element="cblack"><bounds x="0" y="50" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="10" y="50" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="20" y="50" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="30" y="50" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="40" y="50" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="50" y="50" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="60" y="50" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="70" y="50" width="10" height="11" /></bezel> - - <bezel element="cwhite"><bounds x="0" y="60" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="10" y="60" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="20" y="60" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="30" y="60" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="40" y="60" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="50" y="60" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="60" y="60" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="70" y="60" width="10" height="11" /></bezel> - - <bezel element="cblack"><bounds x="0" y="70" width="11" height="10" /></bezel> - <bezel element="cwhite"><bounds x="10" y="70" width="11" height="10" /></bezel> - <bezel element="cblack"><bounds x="20" y="70" width="11" height="10" /></bezel> - <bezel element="cwhite"><bounds x="30" y="70" width="11" height="10" /></bezel> - <bezel element="cblack"><bounds x="40" y="70" width="11" height="10" /></bezel> - <bezel element="cwhite"><bounds x="50" y="70" width="11" height="10" /></bezel> - <bezel element="cblack"><bounds x="60" y="70" width="11" height="10" /></bezel> - <bezel element="cwhite"><bounds x="70" y="70" width="10" height="10" /></bezel> - - <!-- coords --> - <repeat count="4"> - <param name="y1" start="0.25" increment="20" /> - <param name="y2" start="10.25" increment="20" /> - <repeat count="8"> - <param name="i" start="0" increment="1" /> - <param name="x" start="0.5" increment="10" /> - <bezel element="text_cl0~i~"><bounds x="~x~" y="~y1~" width="3" height="2" /></bezel> - <bezel element="text_cl1~i~"><bounds x="~x~" y="~y2~" width="3" height="2" /></bezel> - </repeat> - </repeat> - - <repeat count="4"> - <param name="x1" start="6" increment="20" /> - <param name="x2" start="16" increment="20" /> - <repeat count="8"> - <param name="i" start="0" increment="1" /> - <param name="y" start="7.75" increment="10" /> - <bezel element="text_cn0~i~"><bounds x="~x1~" y="~y~" width="3.5" height="2" /></bezel> - <bezel element="text_cn1~i~"><bounds x="~x2~" y="~y~" width="3.5" height="2" /></bezel> - </repeat> - </repeat> - - <!-- sensors, pieces --> - <repeat count="8"> - <param name="y" start="0" increment="10" /> - <param name="i" start="8" increment="-1" /> - - <bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x01"><bounds x="0" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel> - <bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x02"><bounds x="10" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel> - <bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x04"><bounds x="20" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel> - <bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x08"><bounds x="30" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel> - <bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x10"><bounds x="40" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel> - <bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x20"><bounds x="50" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel> - <bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x40"><bounds x="60" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel> - <bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x80"><bounds x="70" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel> - - <bezel name="piece_a~i~" element="piece"><bounds x="0" y="~y~" width="10" height="10" /></bezel> - <bezel name="piece_b~i~" element="piece"><bounds x="10" y="~y~" width="10" height="10" /></bezel> - <bezel name="piece_c~i~" element="piece"><bounds x="20" y="~y~" width="10" height="10" /></bezel> - <bezel name="piece_d~i~" element="piece"><bounds x="30" y="~y~" width="10" height="10" /></bezel> - <bezel name="piece_e~i~" element="piece"><bounds x="40" y="~y~" width="10" height="10" /></bezel> - <bezel name="piece_f~i~" element="piece"><bounds x="50" y="~y~" width="10" height="10" /></bezel> - <bezel name="piece_g~i~" element="piece"><bounds x="60" y="~y~" width="10" height="10" /></bezel> - <bezel name="piece_h~i~" element="piece"><bounds x="70" y="~y~" width="10" height="10" /></bezel> - </repeat> - </group> - - -<!-- sb ui --> - - <element name="hlub" defstate="0"> - <rect state="1"><color red="0" green="0" blue="0" /></rect> - </element> - - <element name="text_uit1"><text string="S.BOARD"><color red="0.81" green="0.8" blue="0.79" /></text></element> - <element name="text_uit2"><text string="INTERFACE"><color red="0.81" green="0.8" blue="0.79" /></text></element> - <element name="text_uib1"><text string="BOARD:"><color red="0.81" green="0.8" blue="0.79" /></text></element> - <element name="text_uib2"> - <rect><color red="0.7" green="0.56" blue="0.42" /></rect> - <text string="RESET"><color red="0.01" green="0.01" blue="0.01" /></text> - </element> - <element name="text_uib3"> - <rect><color red="0.7" green="0.56" blue="0.42" /></rect> - <text string="CLEAR"><color red="0.01" green="0.01" blue="0.01" /></text> - </element> - <element name="text_uis1"><text string="SPAWN:"><color red="0.81" green="0.8" blue="0.79" /></text></element> - <element name="text_uih1"><text string="HAND:"><color red="0.81" green="0.8" blue="0.79" /></text></element> - <element name="text_uih2"> - <rect><color red="0.7" green="0.56" blue="0.42" /></rect> - <text string="REMOVE"><color red="0.01" green="0.01" blue="0.01" /></text> - </element> - <element name="text_uiu1"><text string="UNDO:"><color red="0.81" green="0.8" blue="0.79" /></text></element> - <element name="text_uiu2a"> - <rect><color red="0.7" green="0.56" blue="0.42" /></rect> - <text string=" <<"><color red="0.01" green="0.01" blue="0.01" /></text> - </element> - <element name="text_uiu2b"> - <rect><color red="0.7" green="0.56" blue="0.42" /></rect> - <text string=" < "><color red="0.01" green="0.01" blue="0.01" /></text> - </element> - <element name="text_uiu2c"> - <rect><color red="0.7" green="0.56" blue="0.42" /></rect> - <text string=" >"><color red="0.01" green="0.01" blue="0.01" /></text> - </element> - <element name="text_uiu2d"> - <rect><color red="0.7" green="0.56" blue="0.42" /></rect> - <text string=" >>"><color red="0.01" green="0.01" blue="0.01" /></text> - </element> - <element name="text_uiu3a" defstate="0"> - <simplecounter maxstate="999" digits="1" align="2"> - <color red="0.81" green="0.8" blue="0.79" /> - </simplecounter> - </element> - <element name="text_uiu3b"><text string="/"><color red="0.81" green="0.8" blue="0.79" /></text></element> - <element name="text_uiu3c" defstate="0"> - <simplecounter maxstate="999" digits="1" align="1"> - <color red="0.81" green="0.8" blue="0.79" /> - </simplecounter> - </element> - - <group name="sb_ui"> - <bounds x="0" y="0" width="10" height="80" /> - <bezel element="cblack"><bounds x="0" y="0" width="10" height="1" /></bezel> - <bezel element="cblack"><bounds x="0" y="7" width="10" height="1" /></bezel> - <bezel element="cblack"><bounds x="0" y="79" width="10" height="1" /></bezel> - <bezel element="text_uit1"><bounds x="0" y="2" width="10" height="2" /></bezel> - <bezel element="text_uit2"><bounds x="0" y="4" width="10" height="2" /></bezel> - - <!-- board --> - <bezel element="text_uib1"><bounds x="0" y="9" width="10" height="2" /></bezel> - <bezel element="cwhite"><bounds x="1" y="11.5" width="8" height="2.5" /></bezel> - <bezel element="cwhite"><bounds x="1" y="15" width="8" height="2.5" /></bezel> - - <bezel element="text_uib2"><bounds x="1.5" y="11.75" width="7" height="2" /></bezel> - <bezel element="text_uib3"><bounds x="1.5" y="15.25" width="7" height="2" /></bezel> - - <bezel element="hlub" inputtag="board:UI" inputmask="0x200"><bounds x="1" y="11.5" width="8" height="2.5" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="board:UI" inputmask="0x100"><bounds x="1" y="15" width="8" height="2.5" /><color alpha="0.25" /></bezel> - - <!-- spawn --> - <bezel element="text_uis1"><bounds x="0" y="20.5" width="10" height="2" /></bezel> - <bezel element="cwhite"><bounds x="1" y="23" width="8" height="12" /></bezel> - <bezel element="cwhite"><bounds x="1" y="36" width="8" height="12" /></bezel> - - <bezel name="piece_ui1" element="piece"><bounds x="1" y="23" width="4" height="4" /></bezel> - <bezel name="piece_ui2" element="piece"><bounds x="1" y="27" width="4" height="4" /></bezel> - <bezel name="piece_ui3" element="piece"><bounds x="1" y="31" width="4" height="4" /></bezel> - <bezel name="piece_ui4" element="piece"><bounds x="5" y="23" width="4" height="4" /></bezel> - <bezel name="piece_ui5" element="piece"><bounds x="5" y="27" width="4" height="4" /></bezel> - <bezel name="piece_ui6" element="piece"><bounds x="5" y="31" width="4" height="4" /></bezel> - <bezel name="piece_ui7" element="piece"><bounds x="1" y="36" width="4" height="4" /></bezel> - <bezel name="piece_ui8" element="piece"><bounds x="1" y="40" width="4" height="4" /></bezel> - <bezel name="piece_ui9" element="piece"><bounds x="1" y="44" width="4" height="4" /></bezel> - <bezel name="piece_ui10" element="piece"><bounds x="5" y="36" width="4" height="4" /></bezel> - <bezel name="piece_ui11" element="piece"><bounds x="5" y="40" width="4" height="4" /></bezel> - <bezel name="piece_ui12" element="piece"><bounds x="5" y="44" width="4" height="4" /></bezel> - - <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0001"><bounds x="1" y="23" width="4" height="4" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0002"><bounds x="1" y="27" width="4" height="4" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0004"><bounds x="1" y="31" width="4" height="4" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0008"><bounds x="5" y="23" width="4" height="4" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0010"><bounds x="5" y="27" width="4" height="4" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0020"><bounds x="5" y="31" width="4" height="4" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0040"><bounds x="1" y="36" width="4" height="4" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0080"><bounds x="1" y="40" width="4" height="4" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0100"><bounds x="1" y="44" width="4" height="4" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0200"><bounds x="5" y="36" width="4" height="4" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0400"><bounds x="5" y="40" width="4" height="4" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0800"><bounds x="5" y="44" width="4" height="4" /><color alpha="0.25" /></bezel> - - <!-- hand --> - <bezel element="text_uih1"><bounds x="0" y="51" width="10" height="2" /></bezel> - <bezel element="cblack"><bounds x="1" y="53.5" width="8" height="6" /></bezel> - <bezel name="piece_ui0" element="piece"><bounds x="2" y="53.5" width="6" height="6" /></bezel> - - <bezel element="cwhite"><bounds x="1" y="60.5" width="8" height="2.5" /></bezel> - <bezel element="text_uih2"><bounds x="1.5" y="60.75" width="7" height="2" /></bezel> - <bezel element="hlub" inputtag="board:UI" inputmask="0x08"><bounds x="1" y="60.5" width="8" height="2.5" /><color alpha="0.25" /></bezel> - - <!-- undo --> - <bezel element="text_uiu1"><bounds x="0" y="66" width="10" height="2" /></bezel> - <bezel element="cwhite"><bounds x="1" y="68.5" width="1.7" height="6" /></bezel> - <bezel element="cwhite"><bounds x="3.1" y="68.5" width="1.7" height="6" /></bezel> - <bezel element="cwhite"><bounds x="5.2" y="68.5" width="1.7" height="6" /></bezel> - <bezel element="cwhite"><bounds x="7.3" y="68.5" width="1.7" height="6" /></bezel> - <bezel element="text_uiu2a"><bounds x="1" y="69.5" width="1.7" height="4" /></bezel> - <bezel element="text_uiu2b"><bounds x="3.1" y="69.5" width="1.7" height="4" /></bezel> - <bezel element="text_uiu2c"><bounds x="5.2" y="69.5" width="1.7" height="4" /></bezel> - <bezel element="text_uiu2d"><bounds x="7.3" y="69.5" width="1.7" height="4" /></bezel> - - <bezel element="hlub" inputtag="board:UI" inputmask="0x10"><bounds x="1" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="board:UI" inputmask="0x20"><bounds x="3.1" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="board:UI" inputmask="0x40"><bounds x="5.2" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="board:UI" inputmask="0x80"><bounds x="7.3" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></bezel> - - <bezel name="count_ui0" element="text_uiu3a"><bounds x="0" y="75" width="4" height="2" /></bezel> - <bezel name="count_ui1" element="text_uiu3c"><bounds x="6" y="75" width="4" height="2" /></bezel> - <bezel element="text_uiu3b"><bounds x="4" y="75" width="2" height="2" /></bezel> - </group> - <!-- digits --> @@ -766,19 +327,7 @@ license:CC0 <!-- build screen --> - <view name="Internal Layout (Full)"> - <bounds left="-4" right="94" top="16.5" bottom="152" /> - - <bezel element="cwhite"><bounds x="8" y="30" width="84" height="84" /></bezel> - <bezel element="text_warning"><bounds x="10" y="30.02" width="80" height="1.98" /></bezel> - <group ref="sb_board"><bounds x="10" y="32" width="80" height="80" /></group> - <group ref="sb_ui"><bounds x="-3" y="32" width="10" height="80" /></group> - - <group ref="digits"><bounds x="10" y="18.5" width="40" height="9.5" /></group> - <group ref="buttons"><bounds x="8" y="116" width="84" height="34" /></group> - </view> - - <view name="Internal Layout (Buttons)"> + <view name="Internal Layout"> <bounds left="6" right="94" top="11.5" bottom="64" /> <group ref="digits"><bounds x="10" y="13.5" width="40" height="9.5" /></group> diff --git a/src/mame/layout/aci_ggm.lay b/src/mame/layout/aci_ggm.lay index 8d0cacb5292..7844d3ced39 100644 --- a/src/mame/layout/aci_ggm.lay +++ b/src/mame/layout/aci_ggm.lay @@ -4,7 +4,7 @@ license:CC0 --> <mamelayout version="2"> -<!-- NOTE: no chesspieces simulation here, ACI GGM is a multiple boardgame console, not just chess --> +<!-- NOTE: no chesspieces simulation here --> <!-- define elements --> diff --git a/src/mame/layout/chessmate.lay b/src/mame/layout/chessmate.lay index 489908f3c12..1a5ab17322c 100644 --- a/src/mame/layout/chessmate.lay +++ b/src/mame/layout/chessmate.lay @@ -4,7 +4,7 @@ license:CC0 --> <mamelayout version="2"> -<!-- NOTE: no chesspieces simulation here, Commodore Chessmate didn't have a built-in chessboard --> +<!-- NOTE: no chesspieces simulation here --> <!-- define elements --> diff --git a/src/mame/layout/cmpchess.lay b/src/mame/layout/cmpchess.lay index 00d2f1f395b..d2860741949 100644 --- a/src/mame/layout/cmpchess.lay +++ b/src/mame/layout/cmpchess.lay @@ -4,7 +4,7 @@ license:CC0 --> <mamelayout version="2"> -<!-- NOTE: no chesspieces simulation here, DCS CompuChess didn't have a built-in chessboard --> +<!-- NOTE: no chesspieces simulation here --> <!-- define elements --> diff --git a/src/mame/layout/cncchess.lay b/src/mame/layout/cncchess.lay index 6f3cfd085a1..69333018b29 100644 --- a/src/mame/layout/cncchess.lay +++ b/src/mame/layout/cncchess.lay @@ -4,7 +4,7 @@ license:CC0 --> <mamelayout version="2"> -<!-- NOTE: no chesspieces simulation here, Conic Computer Chess didn't have a built-in chessboard --> +<!-- NOTE: no chesspieces simulation here --> <!-- define elements --> diff --git a/src/mame/layout/fidel_bcc.lay b/src/mame/layout/fidel_bcc.lay index 47e88278688..115c309daf2 100644 --- a/src/mame/layout/fidel_bcc.lay +++ b/src/mame/layout/fidel_bcc.lay @@ -4,6 +4,8 @@ license:CC0 --> <mamelayout version="2"> +<!-- NOTE: no chesspieces simulation here --> + <!-- define elements --> <element name="static_gray"><rect><color red="0.6" green="0.6" blue="0.6" /></rect></element> diff --git a/src/mame/layout/fidel_cc1.lay b/src/mame/layout/fidel_cc1.lay index bc33ade60c2..031a472c979 100644 --- a/src/mame/layout/fidel_cc1.lay +++ b/src/mame/layout/fidel_cc1.lay @@ -4,6 +4,8 @@ license:CC0 --> <mamelayout version="2"> +<!-- NOTE: no chesspieces simulation here --> + <!-- define elements --> <element name="static_gray"><rect><color red="0.6" green="0.6" blue="0.6" /></rect></element> diff --git a/src/mame/layout/fidel_cc10.lay b/src/mame/layout/fidel_cc10.lay index 50b253ab3cb..5936ecf7743 100644 --- a/src/mame/layout/fidel_cc10.lay +++ b/src/mame/layout/fidel_cc10.lay @@ -4,6 +4,8 @@ license:CC0 --> <mamelayout version="2"> +<!-- NOTE: no chesspieces simulation here --> + <!-- define elements --> <element name="static_gray"><rect><color red="0.6" green="0.6" blue="0.6" /></rect></element> diff --git a/src/mame/layout/fidel_cc3.lay b/src/mame/layout/fidel_cc3.lay index 509f688826e..b17b99dd849 100644 --- a/src/mame/layout/fidel_cc3.lay +++ b/src/mame/layout/fidel_cc3.lay @@ -4,6 +4,8 @@ license:CC0 --> <mamelayout version="2"> +<!-- NOTE: no chesspieces simulation here --> + <!-- define elements --> <element name="static_gray"><rect><color red="0.6" green="0.6" blue="0.6" /></rect></element> diff --git a/src/mame/layout/fidel_vcc.lay b/src/mame/layout/fidel_vcc.lay index b25c9bbb9df..cb73b1c3a9d 100644 --- a/src/mame/layout/fidel_vcc.lay +++ b/src/mame/layout/fidel_vcc.lay @@ -4,6 +4,8 @@ license:CC0 --> <mamelayout version="2"> +<!-- NOTE: no chesspieces simulation here --> + <!-- define elements --> <element name="static_gray"><rect><color red="0.2" green="0.2" blue="0.2" /></rect></element> diff --git a/src/mame/layout/intellect02.lay b/src/mame/layout/intellect02.lay index c5007efc00a..b6025e0494d 100644 --- a/src/mame/layout/intellect02.lay +++ b/src/mame/layout/intellect02.lay @@ -4,7 +4,7 @@ license:CC0 --> <mamelayout version="2"> -<!-- NOTE: no chesspieces simulation here, Intellect-02 is a multiple boardgame console, not just chess --> +<!-- NOTE: no chesspieces simulation here --> <!-- define elements --> diff --git a/src/mame/layout/mephisto_1.lay b/src/mame/layout/mephisto_1.lay index 0fc4091d319..f41a8a9d8b8 100644 --- a/src/mame/layout/mephisto_1.lay +++ b/src/mame/layout/mephisto_1.lay @@ -4,7 +4,7 @@ license:CC0 --> <mamelayout version="2"> -<!-- NOTE: no chesspieces simulation here, H+G Mephisto/Mephisto II didn't have a built-in chessboard --> +<!-- NOTE: no chesspieces simulation here --> <!-- schach labels --> diff --git a/src/mame/layout/mephisto_3.lay b/src/mame/layout/mephisto_3.lay index c9c4c2e4945..868f20e483e 100644 --- a/src/mame/layout/mephisto_3.lay +++ b/src/mame/layout/mephisto_3.lay @@ -643,6 +643,34 @@ license:CC0 <bezel element="text_h"><bounds x="77.5" y="84.5" width="2" height="2" /></bezel> </view> + <view name="Internal Layout (Board)"> + <bounds left="-13" right="88" top="-1.5" bottom="87.5" /> + + <bezel element="cblack"><bounds x="-1" y="-1.5" width="89" height="89" /></bezel> + <bezel element="cwhite"><bounds x="3" y="2.5" width="81" height="81" /></bezel> + <group ref="sb_board"><bounds x="3.5" y="3" width="80" height="80" /></group> + + <group ref="sb_ui"><bounds x="-12" y="3" width="10" height="80" /></group> + + <bezel element="text_8"><bounds x="0.2" y="7" width="2" height="2" /></bezel> + <bezel element="text_7"><bounds x="0.2" y="17" width="2" height="2" /></bezel> + <bezel element="text_6"><bounds x="0.2" y="27" width="2" height="2" /></bezel> + <bezel element="text_5"><bounds x="0.2" y="37" width="2" height="2" /></bezel> + <bezel element="text_4"><bounds x="0.2" y="47" width="2" height="2" /></bezel> + <bezel element="text_3"><bounds x="0.2" y="57" width="2" height="2" /></bezel> + <bezel element="text_2"><bounds x="0.2" y="67" width="2" height="2" /></bezel> + <bezel element="text_1"><bounds x="0.2" y="77" width="2" height="2" /></bezel> + + <bezel element="text_a"><bounds x="7.5" y="84.5" width="2" height="2" /></bezel> + <bezel element="text_b"><bounds x="17.5" y="84.5" width="2" height="2" /></bezel> + <bezel element="text_c"><bounds x="27.5" y="84.5" width="2" height="2" /></bezel> + <bezel element="text_d"><bounds x="37.5" y="84.5" width="2" height="2" /></bezel> + <bezel element="text_e"><bounds x="47.5" y="84.5" width="2" height="2" /></bezel> + <bezel element="text_f"><bounds x="57.5" y="84.5" width="2" height="2" /></bezel> + <bezel element="text_g"><bounds x="67.5" y="84.5" width="2" height="2" /></bezel> + <bezel element="text_h"><bounds x="77.5" y="84.5" width="2" height="2" /></bezel> + </view> + <view name="Internal Layout (Brikett)"> <group ref="brikett"><bounds x="0" y="0" width="58.5" height="32" /></group> </view> diff --git a/src/mame/layout/mephisto_esb2.lay b/src/mame/layout/mephisto_esb2.lay index b205061dfb2..9126e05a520 100644 --- a/src/mame/layout/mephisto_esb2.lay +++ b/src/mame/layout/mephisto_esb2.lay @@ -640,6 +640,34 @@ license:CC0 <bezel element="text_h"><bounds x="77.5" y="84.5" width="2" height="2" /></bezel> </view> + <view name="Internal Layout (Board)"> + <bounds left="-13" right="88" top="-1.5" bottom="87.5" /> + + <bezel element="cblack"><bounds x="-1" y="-1.5" width="89" height="89" /></bezel> + <bezel element="cwhite"><bounds x="3" y="2.5" width="81" height="81" /></bezel> + <group ref="sb_board"><bounds x="3.5" y="3" width="80" height="80" /></group> + + <group ref="sb_ui"><bounds x="-12" y="3" width="10" height="80" /></group> + + <bezel element="text_8"><bounds x="0.2" y="7" width="2" height="2" /></bezel> + <bezel element="text_7"><bounds x="0.2" y="17" width="2" height="2" /></bezel> + <bezel element="text_6"><bounds x="0.2" y="27" width="2" height="2" /></bezel> + <bezel element="text_5"><bounds x="0.2" y="37" width="2" height="2" /></bezel> + <bezel element="text_4"><bounds x="0.2" y="47" width="2" height="2" /></bezel> + <bezel element="text_3"><bounds x="0.2" y="57" width="2" height="2" /></bezel> + <bezel element="text_2"><bounds x="0.2" y="67" width="2" height="2" /></bezel> + <bezel element="text_1"><bounds x="0.2" y="77" width="2" height="2" /></bezel> + + <bezel element="text_a"><bounds x="7.5" y="84.5" width="2" height="2" /></bezel> + <bezel element="text_b"><bounds x="17.5" y="84.5" width="2" height="2" /></bezel> + <bezel element="text_c"><bounds x="27.5" y="84.5" width="2" height="2" /></bezel> + <bezel element="text_d"><bounds x="37.5" y="84.5" width="2" height="2" /></bezel> + <bezel element="text_e"><bounds x="47.5" y="84.5" width="2" height="2" /></bezel> + <bezel element="text_f"><bounds x="57.5" y="84.5" width="2" height="2" /></bezel> + <bezel element="text_g"><bounds x="67.5" y="84.5" width="2" height="2" /></bezel> + <bezel element="text_h"><bounds x="77.5" y="84.5" width="2" height="2" /></bezel> + </view> + <view name="Internal Layout (Brikett)"> <group ref="brikett"><bounds x="0" y="0" width="58.5" height="32" /></group> </view> diff --git a/src/mame/layout/novag_mk1.lay b/src/mame/layout/novag_mk1.lay index 6101b43d12a..9ec445a6185 100644 --- a/src/mame/layout/novag_mk1.lay +++ b/src/mame/layout/novag_mk1.lay @@ -4,7 +4,7 @@ license:CC0 --> <mamelayout version="2"> -<!-- NOTE: no chesspieces simulation here, Novag MK I didn't have a built-in chessboard --> +<!-- NOTE: no chesspieces simulation here --> <!-- define elements --> diff --git a/src/mame/layout/novag_mk2.lay b/src/mame/layout/novag_mk2.lay index de51b853d06..15f4ea53b0b 100644 --- a/src/mame/layout/novag_mk2.lay +++ b/src/mame/layout/novag_mk2.lay @@ -4,7 +4,7 @@ license:CC0 --> <mamelayout version="2"> -<!-- NOTE: no chesspieces simulation here, Novag MK II didn't have a built-in chessboard --> +<!-- NOTE: no chesspieces simulation here --> <!-- define elements --> diff --git a/src/mame/layout/novag_mk2a.lay b/src/mame/layout/novag_mk2a.lay index 493b3da25d4..38ceea621d8 100644 --- a/src/mame/layout/novag_mk2a.lay +++ b/src/mame/layout/novag_mk2a.lay @@ -4,7 +4,7 @@ license:CC0 --> <mamelayout version="2"> -<!-- NOTE: no chesspieces simulation here, Novag MK II didn't have a built-in chessboard --> +<!-- NOTE: no chesspieces simulation here --> <!-- define elements --> diff --git a/src/mame/layout/saitek_chesstrv.lay b/src/mame/layout/saitek_chesstrv.lay index 90f5e8673e1..2839a8d9d94 100644 --- a/src/mame/layout/saitek_chesstrv.lay +++ b/src/mame/layout/saitek_chesstrv.lay @@ -4,10 +4,13 @@ license:CC0 --> <mamelayout version="2"> +<!-- NOTE: no chesspieces simulation here --> + <!-- define elements --> <element name="blackb"><rect><color red="0" green="0" blue="0" /></rect></element> <element name="white"><rect><color red="0.8" green="0.8" blue="0.8" /></rect></element> + <element name="cblack"><rect><color red="0.41" green="0.4" blue="0.39" /></rect></element> <element name="button" defstate="0"> <rect state="0"><color red="0.8" green="0.8" blue="0.8" /></rect> @@ -50,446 +53,6 @@ license:CC0 <element name="text_p5"><image file="chess/wn.png"><color alpha="0.87" /></image></element> <element name="text_p6"><image file="chess/wp.png"><color alpha="0.87" /></image></element> - <element name="text_cl00"> - <rect><color red="0.7" green="0.8" blue="0.8" /></rect> - <text string="A" align="1"><color red="0.17" green="0.15" blue="0.15" /></text> - </element> - <element name="text_cl01"> - <rect><color red="0.41" green="0.4" blue="0.39" /></rect> - <text string="B" align="1"><color red="0.86" green="0.85" blue="0.84" /></text> - </element> - <element name="text_cl02"> - <rect><color red="0.7" green="0.8" blue="0.8" /></rect> - <text string="C" align="1"><color red="0.17" green="0.15" blue="0.15" /></text> - </element> - <element name="text_cl03"> - <rect><color red="0.41" green="0.4" blue="0.39" /></rect> - <text string="D" align="1"><color red="0.86" green="0.85" blue="0.84" /></text> - </element> - <element name="text_cl04"> - <rect><color red="0.7" green="0.8" blue="0.8" /></rect> - <text string="E" align="1"><color red="0.17" green="0.15" blue="0.15" /></text> - </element> - <element name="text_cl05"> - <rect><color red="0.41" green="0.4" blue="0.39" /></rect> - <text string="F" align="1"><color red="0.86" green="0.85" blue="0.84" /></text> - </element> - <element name="text_cl06"> - <rect><color red="0.7" green="0.8" blue="0.8" /></rect> - <text string="G" align="1"><color red="0.17" green="0.15" blue="0.15" /></text> - </element> - <element name="text_cl07"> - <rect><color red="0.41" green="0.4" blue="0.39" /></rect> - <text string="H" align="1"><color red="0.86" green="0.85" blue="0.84" /></text> - </element> - - <element name="text_cl10"> - <rect><color red="0.41" green="0.4" blue="0.39" /></rect> - <text string="A" align="1"><color red="0.86" green="0.85" blue="0.84" /></text> - </element> - <element name="text_cl11"> - <rect><color red="0.7" green="0.8" blue="0.8" /></rect> - <text string="B" align="1"><color red="0.17" green="0.15" blue="0.15" /></text> - </element> - <element name="text_cl12"> - <rect><color red="0.41" green="0.4" blue="0.39" /></rect> - <text string="C" align="1"><color red="0.86" green="0.85" blue="0.84" /></text> - </element> - <element name="text_cl13"> - <rect><color red="0.7" green="0.8" blue="0.8" /></rect> - <text string="D" align="1"><color red="0.17" green="0.15" blue="0.15" /></text> - </element> - <element name="text_cl14"> - <rect><color red="0.41" green="0.4" blue="0.39" /></rect> - <text string="E" align="1"><color red="0.86" green="0.85" blue="0.84" /></text> - </element> - <element name="text_cl15"> - <rect><color red="0.7" green="0.8" blue="0.8" /></rect> - <text string="F" align="1"><color red="0.17" green="0.15" blue="0.15" /></text> - </element> - <element name="text_cl16"> - <rect><color red="0.41" green="0.4" blue="0.39" /></rect> - <text string="G" align="1"><color red="0.86" green="0.85" blue="0.84" /></text> - </element> - <element name="text_cl17"> - <rect><color red="0.7" green="0.8" blue="0.8" /></rect> - <text string="H" align="1"><color red="0.17" green="0.15" blue="0.15" /></text> - </element> - - <element name="text_cn00"> - <rect><color red="0.7" green="0.8" blue="0.8" /></rect> - <text string="8" align="2"><color red="0.17" green="0.15" blue="0.15" /></text> - </element> - <element name="text_cn01"> - <rect><color red="0.41" green="0.4" blue="0.39" /></rect> - <text string="7" align="2"><color red="0.86" green="0.85" blue="0.84" /></text> - </element> - <element name="text_cn02"> - <rect><color red="0.7" green="0.8" blue="0.8" /></rect> - <text string="6" align="2"><color red="0.17" green="0.15" blue="0.15" /></text> - </element> - <element name="text_cn03"> - <rect><color red="0.41" green="0.4" blue="0.39" /></rect> - <text string="5" align="2"><color red="0.86" green="0.85" blue="0.84" /></text> - </element> - <element name="text_cn04"> - <rect><color red="0.7" green="0.8" blue="0.8" /></rect> - <text string="4" align="2"><color red="0.17" green="0.15" blue="0.15" /></text> - </element> - <element name="text_cn05"> - <rect><color red="0.41" green="0.4" blue="0.39" /></rect> - <text string="3" align="2"><color red="0.86" green="0.85" blue="0.84" /></text> - </element> - <element name="text_cn06"> - <rect><color red="0.7" green="0.8" blue="0.8" /></rect> - <text string="2" align="2"><color red="0.17" green="0.15" blue="0.15" /></text> - </element> - <element name="text_cn07"> - <rect><color red="0.41" green="0.4" blue="0.39" /></rect> - <text string="1" align="2"><color red="0.86" green="0.85" blue="0.84" /></text> - </element> - - <element name="text_cn10"> - <rect><color red="0.41" green="0.4" blue="0.39" /></rect> - <text string="8" align="2"><color red="0.86" green="0.85" blue="0.84" /></text> - </element> - <element name="text_cn11"> - <rect><color red="0.7" green="0.8" blue="0.8" /></rect> - <text string="7" align="2"><color red="0.17" green="0.15" blue="0.15" /></text> - </element> - <element name="text_cn12"> - <rect><color red="0.41" green="0.4" blue="0.39" /></rect> - <text string="6" align="2"><color red="0.86" green="0.85" blue="0.84" /></text> - </element> - <element name="text_cn13"> - <rect><color red="0.7" green="0.8" blue="0.8" /></rect> - <text string="5" align="2"><color red="0.17" green="0.15" blue="0.15" /></text> - </element> - <element name="text_cn14"> - <rect><color red="0.41" green="0.4" blue="0.39" /></rect> - <text string="4" align="2"><color red="0.86" green="0.85" blue="0.84" /></text> - </element> - <element name="text_cn15"> - <rect><color red="0.7" green="0.8" blue="0.8" /></rect> - <text string="3" align="2"><color red="0.17" green="0.15" blue="0.15" /></text> - </element> - <element name="text_cn16"> - <rect><color red="0.41" green="0.4" blue="0.39" /></rect> - <text string="2" align="2"><color red="0.86" green="0.85" blue="0.84" /></text> - </element> - <element name="text_cn17"> - <rect><color red="0.7" green="0.8" blue="0.8" /></rect> - <text string="1" align="2"><color red="0.17" green="0.15" blue="0.15" /></text> - </element> - - <element name="text_warning"> - <text string="Chess Traveler's built-in chessboard is not electronic, player uses keypad to enter moves."> - <color red="0.3" green="0.3" blue="0.3" /> - </text> - </element> - - -<!-- sb board --> - - <element name="cblack"><rect><color red="0.41" green="0.4" blue="0.39" /></rect></element> - <element name="cwhite"><rect><color red="0.7" green="0.8" blue="0.8" /></rect></element> - - <element name="hlbb" defstate="0"> - <text string=" "><bounds x="0" y="0" width="1" height="1" /></text> - <disk state="1"> - <bounds x="0.12" y="0.12" width="0.76" height="0.76" /> - <color red="0" green="0" blue="0" /> - </disk> - </element> - - <element name="piece" defstate="0"> - <image file="chess/wp.png" state="1"/> - <image file="chess/wn.png" state="2"/> - <image file="chess/wb.png" state="3"/> - <image file="chess/wr.png" state="4"/> - <image file="chess/wq.png" state="5"/> - <image file="chess/wk.png" state="6"/> - - <image file="chess/bp.png" state="7"/> - <image file="chess/bn.png" state="8"/> - <image file="chess/bb.png" state="9"/> - <image file="chess/br.png" state="10"/> - <image file="chess/bq.png" state="11"/> - <image file="chess/bk.png" state="12"/> - - <!-- selected pieces --> - <image file="chess/wp.png" state="13"><color alpha="0.5" /></image> - <image file="chess/wn.png" state="14"><color alpha="0.5" /></image> - <image file="chess/wb.png" state="15"><color alpha="0.5" /></image> - <image file="chess/wr.png" state="16"><color alpha="0.5" /></image> - <image file="chess/wq.png" state="17"><color alpha="0.5" /></image> - <image file="chess/wk.png" state="18"><color alpha="0.5" /></image> - - <image file="chess/bp.png" state="19"><color alpha="0.5" /></image> - <image file="chess/bn.png" state="20"><color alpha="0.5" /></image> - <image file="chess/bb.png" state="21"><color alpha="0.5" /></image> - <image file="chess/br.png" state="22"><color alpha="0.5" /></image> - <image file="chess/bq.png" state="23"><color alpha="0.5" /></image> - <image file="chess/bk.png" state="24"><color alpha="0.5" /></image> - </element> - - <group name="sb_board"> - <bounds x="0" y="0" width="80" height="80" /> - - <!-- squares (avoid seams) --> - <bezel element="cwhite"><bounds x="0" y="0" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="10" y="0" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="20" y="0" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="30" y="0" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="40" y="0" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="50" y="0" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="60" y="0" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="70" y="0" width="10" height="11" /></bezel> - - <bezel element="cblack"><bounds x="0" y="10" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="10" y="10" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="20" y="10" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="30" y="10" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="40" y="10" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="50" y="10" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="60" y="10" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="70" y="10" width="10" height="11" /></bezel> - - <bezel element="cwhite"><bounds x="0" y="20" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="10" y="20" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="20" y="20" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="30" y="20" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="40" y="20" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="50" y="20" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="60" y="20" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="70" y="20" width="10" height="11" /></bezel> - - <bezel element="cblack"><bounds x="0" y="30" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="10" y="30" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="20" y="30" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="30" y="30" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="40" y="30" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="50" y="30" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="60" y="30" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="70" y="30" width="10" height="11" /></bezel> - - <bezel element="cwhite"><bounds x="0" y="40" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="10" y="40" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="20" y="40" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="30" y="40" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="40" y="40" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="50" y="40" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="60" y="40" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="70" y="40" width="10" height="11" /></bezel> - - <bezel element="cblack"><bounds x="0" y="50" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="10" y="50" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="20" y="50" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="30" y="50" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="40" y="50" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="50" y="50" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="60" y="50" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="70" y="50" width="10" height="11" /></bezel> - - <bezel element="cwhite"><bounds x="0" y="60" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="10" y="60" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="20" y="60" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="30" y="60" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="40" y="60" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="50" y="60" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="60" y="60" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="70" y="60" width="10" height="11" /></bezel> - - <bezel element="cblack"><bounds x="0" y="70" width="11" height="10" /></bezel> - <bezel element="cwhite"><bounds x="10" y="70" width="11" height="10" /></bezel> - <bezel element="cblack"><bounds x="20" y="70" width="11" height="10" /></bezel> - <bezel element="cwhite"><bounds x="30" y="70" width="11" height="10" /></bezel> - <bezel element="cblack"><bounds x="40" y="70" width="11" height="10" /></bezel> - <bezel element="cwhite"><bounds x="50" y="70" width="11" height="10" /></bezel> - <bezel element="cblack"><bounds x="60" y="70" width="11" height="10" /></bezel> - <bezel element="cwhite"><bounds x="70" y="70" width="10" height="10" /></bezel> - - <!-- coords --> - <repeat count="4"> - <param name="y1" start="7.75" increment="20" /> - <param name="y2" start="17.75" increment="20" /> - <repeat count="8"> - <param name="i" start="0" increment="1" /> - <param name="x" start="0.5" increment="10" /> - <bezel element="text_cl0~i~"><bounds x="~x~" y="~y1~" width="3" height="2" /></bezel> - <bezel element="text_cl1~i~"><bounds x="~x~" y="~y2~" width="3" height="2" /></bezel> - </repeat> - </repeat> - - <repeat count="4"> - <param name="x1" start="6" increment="20" /> - <param name="x2" start="16" increment="20" /> - <repeat count="8"> - <param name="i" start="0" increment="1" /> - <param name="y" start="7.75" increment="10" /> - <bezel element="text_cn0~i~"><bounds x="~x1~" y="~y~" width="3.5" height="2" /></bezel> - <bezel element="text_cn1~i~"><bounds x="~x2~" y="~y~" width="3.5" height="2" /></bezel> - </repeat> - </repeat> - - <!-- sensors, pieces --> - <repeat count="8"> - <param name="y" start="0" increment="10" /> - <param name="i" start="8" increment="-1" /> - - <bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x01"><bounds x="0" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel> - <bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x02"><bounds x="10" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel> - <bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x04"><bounds x="20" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel> - <bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x08"><bounds x="30" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel> - <bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x10"><bounds x="40" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel> - <bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x20"><bounds x="50" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel> - <bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x40"><bounds x="60" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel> - <bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x80"><bounds x="70" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel> - - <bezel name="piece_a~i~" element="piece"><bounds x="0" y="~y~" width="10" height="10" /></bezel> - <bezel name="piece_b~i~" element="piece"><bounds x="10" y="~y~" width="10" height="10" /></bezel> - <bezel name="piece_c~i~" element="piece"><bounds x="20" y="~y~" width="10" height="10" /></bezel> - <bezel name="piece_d~i~" element="piece"><bounds x="30" y="~y~" width="10" height="10" /></bezel> - <bezel name="piece_e~i~" element="piece"><bounds x="40" y="~y~" width="10" height="10" /></bezel> - <bezel name="piece_f~i~" element="piece"><bounds x="50" y="~y~" width="10" height="10" /></bezel> - <bezel name="piece_g~i~" element="piece"><bounds x="60" y="~y~" width="10" height="10" /></bezel> - <bezel name="piece_h~i~" element="piece"><bounds x="70" y="~y~" width="10" height="10" /></bezel> - </repeat> - </group> - - -<!-- sb ui --> - - <element name="hlub" defstate="0"> - <rect state="1"><color red="0" green="0" blue="0" /></rect> - </element> - - <element name="text_uit1"><text string="S.BOARD"><color red="0.81" green="0.8" blue="0.79" /></text></element> - <element name="text_uit2"><text string="INTERFACE"><color red="0.81" green="0.8" blue="0.79" /></text></element> - <element name="text_uib1"><text string="BOARD:"><color red="0.81" green="0.8" blue="0.79" /></text></element> - <element name="text_uib2"> - <rect><color red="0.7" green="0.8" blue="0.8" /></rect> - <text string="RESET"><color red="0.01" green="0.01" blue="0.01" /></text> - </element> - <element name="text_uib3"> - <rect><color red="0.7" green="0.8" blue="0.8" /></rect> - <text string="CLEAR"><color red="0.01" green="0.01" blue="0.01" /></text> - </element> - <element name="text_uis1"><text string="SPAWN:"><color red="0.81" green="0.8" blue="0.79" /></text></element> - <element name="text_uih1"><text string="HAND:"><color red="0.81" green="0.8" blue="0.79" /></text></element> - <element name="text_uih2"> - <rect><color red="0.7" green="0.8" blue="0.8" /></rect> - <text string="REMOVE"><color red="0.01" green="0.01" blue="0.01" /></text> - </element> - <element name="text_uiu1"><text string="UNDO:"><color red="0.81" green="0.8" blue="0.79" /></text></element> - <element name="text_uiu2a"> - <rect><color red="0.7" green="0.8" blue="0.8" /></rect> - <text string=" <<"><color red="0.01" green="0.01" blue="0.01" /></text> - </element> - <element name="text_uiu2b"> - <rect><color red="0.7" green="0.8" blue="0.8" /></rect> - <text string=" < "><color red="0.01" green="0.01" blue="0.01" /></text> - </element> - <element name="text_uiu2c"> - <rect><color red="0.7" green="0.8" blue="0.8" /></rect> - <text string=" >"><color red="0.01" green="0.01" blue="0.01" /></text> - </element> - <element name="text_uiu2d"> - <rect><color red="0.7" green="0.8" blue="0.8" /></rect> - <text string=" >>"><color red="0.01" green="0.01" blue="0.01" /></text> - </element> - <element name="text_uiu3a" defstate="0"> - <simplecounter maxstate="999" digits="1" align="2"> - <color red="0.81" green="0.8" blue="0.79" /> - </simplecounter> - </element> - <element name="text_uiu3b"><text string="/"><color red="0.81" green="0.8" blue="0.79" /></text></element> - <element name="text_uiu3c" defstate="0"> - <simplecounter maxstate="999" digits="1" align="1"> - <color red="0.81" green="0.8" blue="0.79" /> - </simplecounter> - </element> - - <group name="sb_ui"> - <bounds x="0" y="0" width="10" height="80" /> - <bezel element="cblack"><bounds x="0" y="0" width="10" height="1" /></bezel> - <bezel element="cblack"><bounds x="0" y="7" width="10" height="1" /></bezel> - <bezel element="cblack"><bounds x="0" y="79" width="10" height="1" /></bezel> - <bezel element="text_uit1"><bounds x="0" y="2" width="10" height="2" /></bezel> - <bezel element="text_uit2"><bounds x="0" y="4" width="10" height="2" /></bezel> - - <!-- board --> - <bezel element="text_uib1"><bounds x="0" y="9" width="10" height="2" /></bezel> - <bezel element="cwhite"><bounds x="1" y="11.5" width="8" height="2.5" /></bezel> - <bezel element="cwhite"><bounds x="1" y="15" width="8" height="2.5" /></bezel> - - <bezel element="text_uib2"><bounds x="1.5" y="11.75" width="7" height="2" /></bezel> - <bezel element="text_uib3"><bounds x="1.5" y="15.25" width="7" height="2" /></bezel> - - <bezel element="hlub" inputtag="board:UI" inputmask="0x200"><bounds x="1" y="11.5" width="8" height="2.5" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="board:UI" inputmask="0x100"><bounds x="1" y="15" width="8" height="2.5" /><color alpha="0.25" /></bezel> - - <!-- spawn --> - <bezel element="text_uis1"><bounds x="0" y="20.5" width="10" height="2" /></bezel> - <bezel element="cwhite"><bounds x="1" y="23" width="8" height="12" /></bezel> - <bezel element="cwhite"><bounds x="1" y="36" width="8" height="12" /></bezel> - - <bezel name="piece_ui1" element="piece"><bounds x="1" y="23" width="4" height="4" /></bezel> - <bezel name="piece_ui2" element="piece"><bounds x="1" y="27" width="4" height="4" /></bezel> - <bezel name="piece_ui3" element="piece"><bounds x="1" y="31" width="4" height="4" /></bezel> - <bezel name="piece_ui4" element="piece"><bounds x="5" y="23" width="4" height="4" /></bezel> - <bezel name="piece_ui5" element="piece"><bounds x="5" y="27" width="4" height="4" /></bezel> - <bezel name="piece_ui6" element="piece"><bounds x="5" y="31" width="4" height="4" /></bezel> - <bezel name="piece_ui7" element="piece"><bounds x="1" y="36" width="4" height="4" /></bezel> - <bezel name="piece_ui8" element="piece"><bounds x="1" y="40" width="4" height="4" /></bezel> - <bezel name="piece_ui9" element="piece"><bounds x="1" y="44" width="4" height="4" /></bezel> - <bezel name="piece_ui10" element="piece"><bounds x="5" y="36" width="4" height="4" /></bezel> - <bezel name="piece_ui11" element="piece"><bounds x="5" y="40" width="4" height="4" /></bezel> - <bezel name="piece_ui12" element="piece"><bounds x="5" y="44" width="4" height="4" /></bezel> - - <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0001"><bounds x="1" y="23" width="4" height="4" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0002"><bounds x="1" y="27" width="4" height="4" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0004"><bounds x="1" y="31" width="4" height="4" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0008"><bounds x="5" y="23" width="4" height="4" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0010"><bounds x="5" y="27" width="4" height="4" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0020"><bounds x="5" y="31" width="4" height="4" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0040"><bounds x="1" y="36" width="4" height="4" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0080"><bounds x="1" y="40" width="4" height="4" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0100"><bounds x="1" y="44" width="4" height="4" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0200"><bounds x="5" y="36" width="4" height="4" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0400"><bounds x="5" y="40" width="4" height="4" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0800"><bounds x="5" y="44" width="4" height="4" /><color alpha="0.25" /></bezel> - - <!-- hand --> - <bezel element="text_uih1"><bounds x="0" y="51" width="10" height="2" /></bezel> - <bezel element="cblack"><bounds x="1" y="53.5" width="8" height="6" /></bezel> - <bezel name="piece_ui0" element="piece"><bounds x="2" y="53.5" width="6" height="6" /></bezel> - - <bezel element="cwhite"><bounds x="1" y="60.5" width="8" height="2.5" /></bezel> - <bezel element="text_uih2"><bounds x="1.5" y="60.75" width="7" height="2" /></bezel> - <bezel element="hlub" inputtag="board:UI" inputmask="0x08"><bounds x="1" y="60.5" width="8" height="2.5" /><color alpha="0.25" /></bezel> - - <!-- undo --> - <bezel element="text_uiu1"><bounds x="0" y="66" width="10" height="2" /></bezel> - <bezel element="cwhite"><bounds x="1" y="68.5" width="1.7" height="6" /></bezel> - <bezel element="cwhite"><bounds x="3.1" y="68.5" width="1.7" height="6" /></bezel> - <bezel element="cwhite"><bounds x="5.2" y="68.5" width="1.7" height="6" /></bezel> - <bezel element="cwhite"><bounds x="7.3" y="68.5" width="1.7" height="6" /></bezel> - <bezel element="text_uiu2a"><bounds x="1" y="69.5" width="1.7" height="4" /></bezel> - <bezel element="text_uiu2b"><bounds x="3.1" y="69.5" width="1.7" height="4" /></bezel> - <bezel element="text_uiu2c"><bounds x="5.2" y="69.5" width="1.7" height="4" /></bezel> - <bezel element="text_uiu2d"><bounds x="7.3" y="69.5" width="1.7" height="4" /></bezel> - - <bezel element="hlub" inputtag="board:UI" inputmask="0x10"><bounds x="1" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="board:UI" inputmask="0x20"><bounds x="3.1" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="board:UI" inputmask="0x40"><bounds x="5.2" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="board:UI" inputmask="0x80"><bounds x="7.3" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></bezel> - - <bezel name="count_ui0" element="text_uiu3a"><bounds x="0" y="75" width="4" height="2" /></bezel> - <bezel name="count_ui1" element="text_uiu3c"><bounds x="6" y="75" width="4" height="2" /></bezel> - <bezel element="text_uiu3b"><bounds x="4" y="75" width="2" height="2" /></bezel> - </group> - <!-- digits --> @@ -564,18 +127,7 @@ license:CC0 <!-- build screen --> - <view name="Internal Layout (Full)"> - <bounds left="-5" right="31.775" top="-11.2" bottom="39.3" /> - - <bezel element="text_warning"><bounds x="0" y="-4.7" width="31" height="0.76725" /></bezel> - <group ref="sb_board"><bounds x="0" y="-3.8" width="31" height="31" /></group> - <group ref="sb_ui"><bounds x="-4.5" y="-3.8" width="3.875" height="31" /></group> - - <group ref="digits"><bounds x="8" y="-10.4" width="15" height="5" /></group> - <group ref="buttons"><bounds x="-1" y="28.5" width="32" height="10.1" /></group> - </view> - - <view name="Internal Layout (Buttons)"> + <view name="Internal Layout"> <bounds left="-0.775" right="31.775" top="20" bottom="39.3" /> <group ref="digits"><bounds x="8" y="21" width="15" height="5" /></group> diff --git a/src/mame/layout/saitek_delta1.lay b/src/mame/layout/saitek_delta1.lay index f591c775fdb..f976b397a91 100644 --- a/src/mame/layout/saitek_delta1.lay +++ b/src/mame/layout/saitek_delta1.lay @@ -4,7 +4,7 @@ license:CC0 --> <mamelayout version="2"> -<!-- NOTE: no chesspieces simulation here, Novag Delta-1 didn't have a built-in chessboard --> +<!-- NOTE: no chesspieces simulation here --> <!-- define elements --> diff --git a/src/mame/layout/saitek_mark6.lay b/src/mame/layout/saitek_mark6.lay index 4f746395c0f..5ad2f9e937e 100644 --- a/src/mame/layout/saitek_mark6.lay +++ b/src/mame/layout/saitek_mark6.lay @@ -781,6 +781,24 @@ license:CC0 <group ref="displayc"><bounds x="136.5" y="17.6" width="35" height="40.03" /></group> </view> + <view name="Internal Layout (Board)"> + <bounds left="21.5" right="100.5" top="18.5" bottom="88" /> + + <group ref="sb_board"><bounds x="33.5" y="21" width="64.5" height="64.5" /></group> + <group ref="sb_ui"><bounds x="22.5" y="21" width="8.06" height="64.5" /></group> + + <repeat count="8"> + <param name="x" start="33.5" increment="8.0625" /> + <param name="i" start="1" increment="1" /> + <element ref="text_hl~i~"><bounds x="~x~" y="86" width="8.0625" height="1.6125" /></element> + </repeat> + <repeat count="8"> + <param name="y" start="24.225" increment="8.0625" /> + <param name="i" start="8" increment="-1" /> + <element ref="text_hn~i~"><bounds x="31.3" y="~y~" width="2" height="1.6125" /></element> + </repeat> + </view> + <view name="Internal Layout (Main Unit)"> <bounds left="99" right="171.5" top="17.5" bottom="88" /> diff --git a/src/mame/layout/saitek_minichess.lay b/src/mame/layout/saitek_minichess.lay index 6ab80312962..3d56ff9e6ec 100644 --- a/src/mame/layout/saitek_minichess.lay +++ b/src/mame/layout/saitek_minichess.lay @@ -4,6 +4,8 @@ license:CC0 --> <mamelayout version="2"> +<!-- NOTE: no chesspieces simulation here --> + <!-- define elements --> <element name="blackb"><rect><color red="0" green="0" blue="0" /></rect></element> diff --git a/src/mame/layout/sc2.lay b/src/mame/layout/sc2.lay index 012d265efec..262abb44d80 100644 --- a/src/mame/layout/sc2.lay +++ b/src/mame/layout/sc2.lay @@ -4,6 +4,8 @@ license:CC0 --> <mamelayout version="2"> +<!-- NOTE: no chesspieces simulation here --> + <!-- define elements --> <element name="black"><rect><color red="0.22" green="0.21" blue="0.20" /></rect></element> @@ -127,359 +129,6 @@ license:CC0 <text string="8"><color red="0.08" green="0.08" blue="0.08" /></text> </element> - <element name="text_1"> - <rect><color red="0.81" green="0.8" blue="0.79" /></rect> - <text string="1"><color red="0.01" green="0.01" blue="0.01" /></text> - </element> - <element name="text_2"> - <rect><color red="0.81" green="0.8" blue="0.79" /></rect> - <text string="2"><color red="0.01" green="0.01" blue="0.01" /></text> - </element> - <element name="text_3"> - <rect><color red="0.81" green="0.8" blue="0.79" /></rect> - <text string="3"><color red="0.01" green="0.01" blue="0.01" /></text> - </element> - <element name="text_4"> - <rect><color red="0.81" green="0.8" blue="0.79" /></rect> - <text string="4"><color red="0.01" green="0.01" blue="0.01" /></text> - </element> - <element name="text_5"> - <rect><color red="0.81" green="0.8" blue="0.79" /></rect> - <text string="5"><color red="0.01" green="0.01" blue="0.01" /></text> - </element> - <element name="text_6"> - <rect><color red="0.81" green="0.8" blue="0.79" /></rect> - <text string="6"><color red="0.01" green="0.01" blue="0.01" /></text> - </element> - <element name="text_7"> - <rect><color red="0.81" green="0.8" blue="0.79" /></rect> - <text string="7"><color red="0.01" green="0.01" blue="0.01" /></text> - </element> - <element name="text_8"> - <rect><color red="0.81" green="0.8" blue="0.79" /></rect> - <text string="8"><color red="0.01" green="0.01" blue="0.01" /></text> - </element> - - <element name="text_a"> - <rect><color red="0.81" green="0.8" blue="0.79" /></rect> - <text string="A"><color red="0.01" green="0.01" blue="0.01" /></text> - </element> - <element name="text_b"> - <rect><color red="0.81" green="0.8" blue="0.79" /></rect> - <text string="B"><color red="0.01" green="0.01" blue="0.01" /></text> - </element> - <element name="text_c"> - <rect><color red="0.81" green="0.8" blue="0.79" /></rect> - <text string="C"><color red="0.01" green="0.01" blue="0.01" /></text> - </element> - <element name="text_d"> - <rect><color red="0.81" green="0.8" blue="0.79" /></rect> - <text string="D"><color red="0.01" green="0.01" blue="0.01" /></text> - </element> - <element name="text_e"> - <rect><color red="0.81" green="0.8" blue="0.79" /></rect> - <text string="E"><color red="0.01" green="0.01" blue="0.01" /></text> - </element> - <element name="text_f"> - <rect><color red="0.81" green="0.8" blue="0.79" /></rect> - <text string="F"><color red="0.01" green="0.01" blue="0.01" /></text> - </element> - <element name="text_g"> - <rect><color red="0.81" green="0.8" blue="0.79" /></rect> - <text string="G"><color red="0.01" green="0.01" blue="0.01" /></text> - </element> - <element name="text_h"> - <rect><color red="0.81" green="0.8" blue="0.79" /></rect> - <text string="H"><color red="0.01" green="0.01" blue="0.01" /></text> - </element> - - <element name="text_warning"> - <rect><color red="0.81" green="0.8" blue="0.79" /></rect> - <text string="SC 2's built-in chessboard is not electronic, player uses keypad to enter moves."> - <color red="0.61" green="0.6" blue="0.59" /> - </text> - </element> - - -<!-- sb board --> - - <element name="cblack"><rect><color red="0.41" green="0.4" blue="0.39" /></rect></element> - <element name="cwhite"><rect><color red="0.81" green="0.8" blue="0.79" /></rect></element> - - <element name="hlbb" defstate="0"> - <text string=" "><bounds x="0" y="0" width="1" height="1" /></text> - <disk state="1"> - <bounds x="0.12" y="0.12" width="0.76" height="0.76" /> - <color red="0" green="0" blue="0" /> - </disk> - </element> - - <element name="piece" defstate="0"> - <image file="chess/wp.png" state="1"/> - <image file="chess/wn.png" state="2"/> - <image file="chess/wb.png" state="3"/> - <image file="chess/wr.png" state="4"/> - <image file="chess/wq.png" state="5"/> - <image file="chess/wk.png" state="6"/> - - <image file="chess/bp.png" state="7"/> - <image file="chess/bn.png" state="8"/> - <image file="chess/bb.png" state="9"/> - <image file="chess/br.png" state="10"/> - <image file="chess/bq.png" state="11"/> - <image file="chess/bk.png" state="12"/> - - <!-- selected pieces --> - <image file="chess/wp.png" state="13"><color alpha="0.5" /></image> - <image file="chess/wn.png" state="14"><color alpha="0.5" /></image> - <image file="chess/wb.png" state="15"><color alpha="0.5" /></image> - <image file="chess/wr.png" state="16"><color alpha="0.5" /></image> - <image file="chess/wq.png" state="17"><color alpha="0.5" /></image> - <image file="chess/wk.png" state="18"><color alpha="0.5" /></image> - - <image file="chess/bp.png" state="19"><color alpha="0.5" /></image> - <image file="chess/bn.png" state="20"><color alpha="0.5" /></image> - <image file="chess/bb.png" state="21"><color alpha="0.5" /></image> - <image file="chess/br.png" state="22"><color alpha="0.5" /></image> - <image file="chess/bq.png" state="23"><color alpha="0.5" /></image> - <image file="chess/bk.png" state="24"><color alpha="0.5" /></image> - </element> - - <group name="sb_board"> - <bounds x="0" y="0" width="80" height="80" /> - - <!-- squares (avoid seams) --> - <bezel element="cwhite"><bounds x="0" y="0" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="10" y="0" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="20" y="0" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="30" y="0" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="40" y="0" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="50" y="0" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="60" y="0" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="70" y="0" width="10" height="11" /></bezel> - - <bezel element="cblack"><bounds x="0" y="10" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="10" y="10" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="20" y="10" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="30" y="10" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="40" y="10" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="50" y="10" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="60" y="10" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="70" y="10" width="10" height="11" /></bezel> - - <bezel element="cwhite"><bounds x="0" y="20" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="10" y="20" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="20" y="20" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="30" y="20" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="40" y="20" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="50" y="20" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="60" y="20" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="70" y="20" width="10" height="11" /></bezel> - - <bezel element="cblack"><bounds x="0" y="30" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="10" y="30" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="20" y="30" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="30" y="30" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="40" y="30" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="50" y="30" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="60" y="30" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="70" y="30" width="10" height="11" /></bezel> - - <bezel element="cwhite"><bounds x="0" y="40" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="10" y="40" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="20" y="40" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="30" y="40" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="40" y="40" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="50" y="40" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="60" y="40" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="70" y="40" width="10" height="11" /></bezel> - - <bezel element="cblack"><bounds x="0" y="50" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="10" y="50" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="20" y="50" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="30" y="50" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="40" y="50" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="50" y="50" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="60" y="50" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="70" y="50" width="10" height="11" /></bezel> - - <bezel element="cwhite"><bounds x="0" y="60" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="10" y="60" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="20" y="60" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="30" y="60" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="40" y="60" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="50" y="60" width="11" height="11" /></bezel> - <bezel element="cwhite"><bounds x="60" y="60" width="11" height="11" /></bezel> - <bezel element="cblack"><bounds x="70" y="60" width="10" height="11" /></bezel> - - <bezel element="cblack"><bounds x="0" y="70" width="11" height="10" /></bezel> - <bezel element="cwhite"><bounds x="10" y="70" width="11" height="10" /></bezel> - <bezel element="cblack"><bounds x="20" y="70" width="11" height="10" /></bezel> - <bezel element="cwhite"><bounds x="30" y="70" width="11" height="10" /></bezel> - <bezel element="cblack"><bounds x="40" y="70" width="11" height="10" /></bezel> - <bezel element="cwhite"><bounds x="50" y="70" width="11" height="10" /></bezel> - <bezel element="cblack"><bounds x="60" y="70" width="11" height="10" /></bezel> - <bezel element="cwhite"><bounds x="70" y="70" width="10" height="10" /></bezel> - - <!-- sensors, pieces --> - <repeat count="8"> - <param name="y" start="0" increment="10" /> - <param name="i" start="8" increment="-1" /> - - <bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x01"><bounds x="0" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel> - <bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x02"><bounds x="10" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel> - <bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x04"><bounds x="20" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel> - <bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x08"><bounds x="30" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel> - <bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x10"><bounds x="40" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel> - <bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x20"><bounds x="50" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel> - <bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x40"><bounds x="60" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel> - <bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x80"><bounds x="70" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel> - - <bezel name="piece_a~i~" element="piece"><bounds x="0" y="~y~" width="10" height="10" /></bezel> - <bezel name="piece_b~i~" element="piece"><bounds x="10" y="~y~" width="10" height="10" /></bezel> - <bezel name="piece_c~i~" element="piece"><bounds x="20" y="~y~" width="10" height="10" /></bezel> - <bezel name="piece_d~i~" element="piece"><bounds x="30" y="~y~" width="10" height="10" /></bezel> - <bezel name="piece_e~i~" element="piece"><bounds x="40" y="~y~" width="10" height="10" /></bezel> - <bezel name="piece_f~i~" element="piece"><bounds x="50" y="~y~" width="10" height="10" /></bezel> - <bezel name="piece_g~i~" element="piece"><bounds x="60" y="~y~" width="10" height="10" /></bezel> - <bezel name="piece_h~i~" element="piece"><bounds x="70" y="~y~" width="10" height="10" /></bezel> - </repeat> - </group> - - -<!-- sb ui --> - - <element name="hlub" defstate="0"> - <rect state="1"><color red="0" green="0" blue="0" /></rect> - </element> - - <element name="text_uit1"><text string="S.BOARD"><color red="0.81" green="0.8" blue="0.79" /></text></element> - <element name="text_uit2"><text string="INTERFACE"><color red="0.81" green="0.8" blue="0.79" /></text></element> - <element name="text_uib1"><text string="BOARD:"><color red="0.81" green="0.8" blue="0.79" /></text></element> - <element name="text_uib2"> - <rect><color red="0.81" green="0.8" blue="0.79" /></rect> - <text string="RESET"><color red="0.01" green="0.01" blue="0.01" /></text> - </element> - <element name="text_uib3"> - <rect><color red="0.81" green="0.8" blue="0.79" /></rect> - <text string="CLEAR"><color red="0.01" green="0.01" blue="0.01" /></text> - </element> - <element name="text_uis1"><text string="SPAWN:"><color red="0.81" green="0.8" blue="0.79" /></text></element> - <element name="text_uih1"><text string="HAND:"><color red="0.81" green="0.8" blue="0.79" /></text></element> - <element name="text_uih2"> - <rect><color red="0.81" green="0.8" blue="0.79" /></rect> - <text string="REMOVE"><color red="0.01" green="0.01" blue="0.01" /></text> - </element> - <element name="text_uiu1"><text string="UNDO:"><color red="0.81" green="0.8" blue="0.79" /></text></element> - <element name="text_uiu2a"> - <rect><color red="0.81" green="0.8" blue="0.79" /></rect> - <text string=" <<"><color red="0.01" green="0.01" blue="0.01" /></text> - </element> - <element name="text_uiu2b"> - <rect><color red="0.81" green="0.8" blue="0.79" /></rect> - <text string=" < "><color red="0.01" green="0.01" blue="0.01" /></text> - </element> - <element name="text_uiu2c"> - <rect><color red="0.81" green="0.8" blue="0.79" /></rect> - <text string=" >"><color red="0.01" green="0.01" blue="0.01" /></text> - </element> - <element name="text_uiu2d"> - <rect><color red="0.81" green="0.8" blue="0.79" /></rect> - <text string=" >>"><color red="0.01" green="0.01" blue="0.01" /></text> - </element> - <element name="text_uiu3a" defstate="0"> - <simplecounter maxstate="999" digits="1" align="2"> - <color red="0.81" green="0.8" blue="0.79" /> - </simplecounter> - </element> - <element name="text_uiu3b"><text string="/"><color red="0.81" green="0.8" blue="0.79" /></text></element> - <element name="text_uiu3c" defstate="0"> - <simplecounter maxstate="999" digits="1" align="1"> - <color red="0.81" green="0.8" blue="0.79" /> - </simplecounter> - </element> - - <group name="sb_ui"> - <bounds x="0" y="0" width="10" height="80" /> - - <bezel element="cblack"><bounds x="0" y="0" width="10" height="1" /></bezel> - <bezel element="cblack"><bounds x="0" y="7" width="10" height="1" /></bezel> - <bezel element="cblack"><bounds x="0" y="79" width="10" height="1" /></bezel> - <bezel element="text_uit1"><bounds x="0" y="2" width="10" height="2" /></bezel> - <bezel element="text_uit2"><bounds x="0" y="4" width="10" height="2" /></bezel> - - <!-- board --> - <bezel element="text_uib1"><bounds x="0" y="9" width="10" height="2" /></bezel> - <bezel element="cwhite"><bounds x="1" y="11.5" width="8" height="2.5" /></bezel> - <bezel element="cwhite"><bounds x="1" y="15" width="8" height="2.5" /></bezel> - - <bezel element="text_uib2"><bounds x="1.5" y="11.75" width="7" height="2" /></bezel> - <bezel element="text_uib3"><bounds x="1.5" y="15.25" width="7" height="2" /></bezel> - - <bezel element="hlub" inputtag="board:UI" inputmask="0x200"><bounds x="1" y="11.5" width="8" height="2.5" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="board:UI" inputmask="0x100"><bounds x="1" y="15" width="8" height="2.5" /><color alpha="0.25" /></bezel> - - <!-- spawn --> - <bezel element="text_uis1"><bounds x="0" y="20.5" width="10" height="2" /></bezel> - <bezel element="cwhite"><bounds x="1" y="23" width="8" height="12" /></bezel> - <bezel element="cwhite"><bounds x="1" y="36" width="8" height="12" /></bezel> - - <bezel name="piece_ui1" element="piece"><bounds x="1" y="23" width="4" height="4" /></bezel> - <bezel name="piece_ui2" element="piece"><bounds x="1" y="27" width="4" height="4" /></bezel> - <bezel name="piece_ui3" element="piece"><bounds x="1" y="31" width="4" height="4" /></bezel> - <bezel name="piece_ui4" element="piece"><bounds x="5" y="23" width="4" height="4" /></bezel> - <bezel name="piece_ui5" element="piece"><bounds x="5" y="27" width="4" height="4" /></bezel> - <bezel name="piece_ui6" element="piece"><bounds x="5" y="31" width="4" height="4" /></bezel> - <bezel name="piece_ui7" element="piece"><bounds x="1" y="36" width="4" height="4" /></bezel> - <bezel name="piece_ui8" element="piece"><bounds x="1" y="40" width="4" height="4" /></bezel> - <bezel name="piece_ui9" element="piece"><bounds x="1" y="44" width="4" height="4" /></bezel> - <bezel name="piece_ui10" element="piece"><bounds x="5" y="36" width="4" height="4" /></bezel> - <bezel name="piece_ui11" element="piece"><bounds x="5" y="40" width="4" height="4" /></bezel> - <bezel name="piece_ui12" element="piece"><bounds x="5" y="44" width="4" height="4" /></bezel> - - <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0001"><bounds x="1" y="23" width="4" height="4" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0002"><bounds x="1" y="27" width="4" height="4" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0004"><bounds x="1" y="31" width="4" height="4" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0008"><bounds x="5" y="23" width="4" height="4" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0010"><bounds x="5" y="27" width="4" height="4" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0020"><bounds x="5" y="31" width="4" height="4" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0040"><bounds x="1" y="36" width="4" height="4" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0080"><bounds x="1" y="40" width="4" height="4" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0100"><bounds x="1" y="44" width="4" height="4" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0200"><bounds x="5" y="36" width="4" height="4" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0400"><bounds x="5" y="40" width="4" height="4" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0800"><bounds x="5" y="44" width="4" height="4" /><color alpha="0.25" /></bezel> - - <!-- hand --> - <bezel element="text_uih1"><bounds x="0" y="51" width="10" height="2" /></bezel> - <bezel element="cblack"><bounds x="1" y="53.5" width="8" height="6" /></bezel> - <bezel name="piece_ui0" element="piece"><bounds x="2" y="53.5" width="6" height="6" /></bezel> - - <bezel element="cwhite"><bounds x="1" y="60.5" width="8" height="2.5" /></bezel> - <bezel element="text_uih2"><bounds x="1.5" y="60.75" width="7" height="2" /></bezel> - <bezel element="hlub" inputtag="board:UI" inputmask="0x08"><bounds x="1" y="60.5" width="8" height="2.5" /><color alpha="0.25" /></bezel> - - <!-- undo --> - <bezel element="text_uiu1"><bounds x="0" y="66" width="10" height="2" /></bezel> - <bezel element="cwhite"><bounds x="1" y="68.5" width="1.7" height="6" /></bezel> - <bezel element="cwhite"><bounds x="3.1" y="68.5" width="1.7" height="6" /></bezel> - <bezel element="cwhite"><bounds x="5.2" y="68.5" width="1.7" height="6" /></bezel> - <bezel element="cwhite"><bounds x="7.3" y="68.5" width="1.7" height="6" /></bezel> - <bezel element="text_uiu2a"><bounds x="1" y="69.5" width="1.7" height="4" /></bezel> - <bezel element="text_uiu2b"><bounds x="3.1" y="69.5" width="1.7" height="4" /></bezel> - <bezel element="text_uiu2c"><bounds x="5.2" y="69.5" width="1.7" height="4" /></bezel> - <bezel element="text_uiu2d"><bounds x="7.3" y="69.5" width="1.7" height="4" /></bezel> - - <bezel element="hlub" inputtag="board:UI" inputmask="0x10"><bounds x="1" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="board:UI" inputmask="0x20"><bounds x="3.1" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="board:UI" inputmask="0x40"><bounds x="5.2" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></bezel> - <bezel element="hlub" inputtag="board:UI" inputmask="0x80"><bounds x="7.3" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></bezel> - - <bezel name="count_ui0" element="text_uiu3a"><bounds x="0" y="75" width="4" height="2" /></bezel> - <bezel name="count_ui1" element="text_uiu3c"><bounds x="6" y="75" width="4" height="2" /></bezel> - <bezel element="text_uiu3b"><bounds x="4" y="75" width="2" height="2" /></bezel> - </group> - <!-- display, buttons --> @@ -558,38 +207,7 @@ license:CC0 <!-- build screen --> - <view name="Internal Layout (Full)"> - <bounds left="-13" right="131.14" top="-1.5" bottom="87.5" /> - - <group ref="panel"><bounds x="91.297" y="31" width="37.946" height="52" /></group> - - <bezel element="white"><bounds x="-1" y="-1.5" width="89" height="89" /></bezel> - <bezel element="black2"><bounds x="3" y="2.5" width="81" height="81" /></bezel> - <group ref="sb_board"><bounds x="3.5" y="3" width="80" height="80" /></group> - <group ref="sb_ui"><bounds x="-12" y="3" width="10" height="80" /></group> - - <bezel element="text_warning"><bounds x="3.5" y="-0.5" width="80" height="1.98" /></bezel> - - <bezel element="text_8"><bounds x="0.2" y="7" width="2" height="2" /></bezel> - <bezel element="text_7"><bounds x="0.2" y="17" width="2" height="2" /></bezel> - <bezel element="text_6"><bounds x="0.2" y="27" width="2" height="2" /></bezel> - <bezel element="text_5"><bounds x="0.2" y="37" width="2" height="2" /></bezel> - <bezel element="text_4"><bounds x="0.2" y="47" width="2" height="2" /></bezel> - <bezel element="text_3"><bounds x="0.2" y="57" width="2" height="2" /></bezel> - <bezel element="text_2"><bounds x="0.2" y="67" width="2" height="2" /></bezel> - <bezel element="text_1"><bounds x="0.2" y="77" width="2" height="2" /></bezel> - - <bezel element="text_a"><bounds x="7.5" y="84.5" width="2" height="2" /></bezel> - <bezel element="text_b"><bounds x="17.5" y="84.5" width="2" height="2" /></bezel> - <bezel element="text_c"><bounds x="27.5" y="84.5" width="2" height="2" /></bezel> - <bezel element="text_d"><bounds x="37.5" y="84.5" width="2" height="2" /></bezel> - <bezel element="text_e"><bounds x="47.5" y="84.5" width="2" height="2" /></bezel> - <bezel element="text_f"><bounds x="57.5" y="84.5" width="2" height="2" /></bezel> - <bezel element="text_g"><bounds x="67.5" y="84.5" width="2" height="2" /></bezel> - <bezel element="text_h"><bounds x="77.5" y="84.5" width="2" height="2" /></bezel> - </view> - - <view name="Internal Layout (Buttons)"> + <view name="Internal Layout"> <bounds left="0" right="270" top="0" bottom="390" /> <group ref="panel"><bounds x="5" y="10" width="270" height="370" /></group> </view> diff --git a/src/mame/layout/slc1.lay b/src/mame/layout/slc1.lay index 39698a03af9..24a6f630054 100644 --- a/src/mame/layout/slc1.lay +++ b/src/mame/layout/slc1.lay @@ -3,6 +3,9 @@ license:CC0 --> <mamelayout version="2"> + +<!-- NOTE: no chesspieces simulation here --> + <element name="g_led" defstate="0"> <disk> <color red="0.0" green="0.75" blue="0.0" /> diff --git a/src/mame/layout/slc1a.lay b/src/mame/layout/slc1a.lay index 407ee9a02e7..6866281a6c6 100644 --- a/src/mame/layout/slc1a.lay +++ b/src/mame/layout/slc1a.lay @@ -4,14 +4,16 @@ license:CC0 --> <mamelayout version="2"> - <!-- define elements --> +<!-- NOTE: no chesspieces simulation here --> + +<!-- define elements --> <element name="digit" defstate="0"> <led7seg><color red="1.0" green="0.1" blue="0.15" /></led7seg> </element> - <!-- build screen --> +<!-- build screen --> <view name="Internal Layout"> <bezel name="digit0" element="digit"><bounds x="0" y="0" width="10" height="15" /></bezel> |
