diff options
author | hap <happppp@users.noreply.github.com> | 2014-12-03 20:26:45 +0100 |
---|---|---|
committer | hap <happppp@users.noreply.github.com> | 2014-12-03 20:26:45 +0100 |
commit | df4591eea2c5f6193ffd96b73a69d5ef0933aca1 (patch) | |
tree | 6871a2fd7e1e7f804668dbb2430974048aa381f8 | |
parent | b6802124e82d541ae18a83e9cc28fad45a3f49f8 (diff) |
(MESS)Game promoted to working
------------------
Comp IV [hap, seanriddle]
-rw-r--r-- | src/mess/drivers/comp4.c | 2 | ||||
-rw-r--r-- | src/mess/drivers/starwbc.c | 5 | ||||
-rw-r--r-- | src/mess/layout/comp4.lay | 136 |
3 files changed, 116 insertions, 27 deletions
diff --git a/src/mess/drivers/comp4.c b/src/mess/drivers/comp4.c index 707661393ad..bfac4728174 100644 --- a/src/mess/drivers/comp4.c +++ b/src/mess/drivers/comp4.c @@ -5,7 +5,7 @@ Milton Bradley Comp IV * TMC0904NL CP0904A (die labeled 4A0970D-04A) - This is a handheld Mastermind game; a code-breaking game where the player + This is small tabletop Mastermind game; a code-breaking game where the player needs to find out the correct sequence of colours (numbers in our case). It is known as Logic 5 in Europe, and as Pythaligoras in Japan. diff --git a/src/mess/drivers/starwbc.c b/src/mess/drivers/starwbc.c index a5f48843dca..fbc62ce2ce0 100644 --- a/src/mess/drivers/starwbc.c +++ b/src/mess/drivers/starwbc.c @@ -98,7 +98,8 @@ static MACHINE_CONFIG_START( starwbc, starwbc_state ) /* no video! */ - /* no sound! */ + /* sound hardware */ +// MCFG_SPEAKER_STANDARD_MONO("mono") MACHINE_CONFIG_END @@ -120,4 +121,4 @@ ROM_START( starwbc ) ROM_END -CONS( 1979, starwbc, 0, 0, starwbc, starwbc, driver_device, 0, "Kenner", "Star Wars: Electronic Battle Command Game", GAME_NOT_WORKING | GAME_SUPPORTS_SAVE | GAME_NO_SOUND_HW ) +CONS( 1979, starwbc, 0, 0, starwbc, starwbc, driver_device, 0, "Kenner", "Star Wars: Electronic Battle Command Game", GAME_NOT_WORKING | GAME_SUPPORTS_SAVE | GAME_NO_SOUND ) diff --git a/src/mess/layout/comp4.lay b/src/mess/layout/comp4.lay index e85b68eadcb..5cca5e96dd9 100644 --- a/src/mess/layout/comp4.lay +++ b/src/mess/layout/comp4.lay @@ -1,44 +1,132 @@ <?xml version="1.0"?> <mamelayout version="2"> - <element name="lamp_disk_red" defstate="0"> - <disk state="1"><color red="1.0" green="0.3" blue="0.2" /></disk> - <disk state="0"><color red="0.2" green="0.05" blue="0.03" /></disk> +<!-- define elements --> + + <element name="static_darkred"><rect><color red="0.20" green="0.04" blue="0.01" /></rect></element> + + <element name="cg1"><rect><color red="0.85" green="0.85" blue="0.85" /></rect></element> + <element name="cg2"><rect><color red="0.74" green="0.76" blue="0.86" /></rect></element> + <element name="cg3"><rect><color red="0.63" green="0.67" blue="0.87" /></rect></element> + <element name="cg4"><rect><color red="0.52" green="0.58" blue="0.88" /></rect></element> + <element name="cg5"><rect><color red="0.41" green="0.49" blue="0.89" /></rect></element> + + <element name="text_r"> + <rect><color red="0.20" green="0.04" blue="0.01" /></rect> + <text string="R" align="2"><color red="0.87" green="0.87" blue="0.87" /></text> + </element> + <element name="text_5"> + <rect><color red="0.20" green="0.04" blue="0.01" /></rect> + <text string="5" align="2"><color red="0.87" green="0.87" blue="0.87" /></text> + </element> + <element name="text_4"> + <rect><color red="0.20" green="0.04" blue="0.01" /></rect> + <text string="4" align="2"><color red="0.87" green="0.87" blue="0.87" /></text> + </element> + <element name="text_3"> + <rect><color red="0.20" green="0.04" blue="0.01" /></rect> + <text string="3" align="2"><color red="0.87" green="0.87" blue="0.87" /></text> + </element> + <element name="text_2"> + <rect><color red="0.20" green="0.04" blue="0.01" /></rect> + <text string="2" align="2"><color red="0.87" green="0.87" blue="0.87" /></text> + </element> + <element name="text_1"> + <rect><color red="0.20" green="0.04" blue="0.01" /></rect> + <text string="1" align="2"><color red="0.87" green="0.87" blue="0.87" /></text> + </element> + + <element name="text_num"> + <rect><color red="0.20" green="0.04" blue="0.01" /></rect> + <text string="NUMBER" align="1"><color red="0.85" green="0.85" blue="0.85" /></text> + </element> + <element name="text_seq"> + <rect><color red="0.20" green="0.04" blue="0.01" /></rect> + <text string="SEQUENCE" align="2"><color red="0.85" green="0.85" blue="0.85" /></text> </element> + <element name="lamp" defstate="0"> + <rect><color red="0.85" green="0.85" blue="0.85" /></rect> + <rect> + <color red="0.20" green="0.04" blue="0.01" /> + <bounds x="0.1" y="0.12" width="0.8" height="0.76" /> + </rect> + <disk state="1"> + <color red="1.0" green="0.20" blue="0.15" /> + <bounds x="0.31" y="0.25" width="0.38" height="0.5" /> + </disk> + <disk state="0"> + <color red="0.3" green="0.05" blue="0.03" /> + <bounds x="0.31" y="0.25" width="0.38" height="0.5" /> + </disk> + </element> + + + +<!-- build screen --> + <view name="Internal Layout"> - <bounds left="0" right="180" top="0" bottom="100" /> + <bounds left="0" right="60" top="0" bottom="42" /> + <bezel element="static_darkred"> + <bounds left="0" right="60" top="0" bottom="42" /> + </bezel> + + <bezel element="cg1"><bounds x="17" y="2" width="26" height="35" /></bezel> + <bezel element="cg2"><bounds x="19" y="2" width="22" height="35" /></bezel> + <bezel element="cg3"><bounds x="21" y="2" width="18" height="35" /></bezel> + <bezel element="cg4"><bounds x="23" y="2" width="14" height="35" /></bezel> + <bezel element="cg5"><bounds x="25" y="2" width="10" height="35" /></bezel> + + <bezel element="static_darkred"><bounds x="27" y="1" width="6" height="40" /></bezel> + <bezel element="static_darkred"><bounds x="32" y="1.5" width="20" height="7" /></bezel> + + <bezel element="static_darkred"><bounds x="16" y="8" width="40" height="1" /></bezel> + <bezel element="static_darkred"><bounds x="16" y="15" width="40" height="1" /></bezel> + <bezel element="static_darkred"><bounds x="16" y="22" width="40" height="1" /></bezel> + <bezel element="static_darkred"><bounds x="16" y="29" width="40" height="1" /></bezel> + <bezel element="static_darkred"><bounds x="16" y="36" width="40" height="5" /></bezel> + + <bezel element="text_r"><bounds x="36" y="1.5" width="7" height="7" /></bezel> + + <bezel element="text_5"><bounds x="27" y="1.5" width="5" height="7" /></bezel> + <bezel element="text_4"><bounds x="27" y="8.5" width="5" height="7" /></bezel> + <bezel element="text_3"><bounds x="27" y="15.5" width="5" height="7" /></bezel> + <bezel element="text_2"><bounds x="27" y="22.5" width="5" height="7" /></bezel> + <bezel element="text_1"><bounds x="27" y="29.5" width="5" height="7" /></bezel> + + <bezel element="text_num"><bounds x="8" y="36.5" width="22" height="3.5" /></bezel> + <bezel element="text_seq"><bounds x="30" y="36.5" width="22" height="3.5" /></bezel> - <bezel name="lamp4" element="lamp_disk_red"> - <bounds x="10" y="50" width="5" height="5" /> + <bezel name="lamp4" element="lamp"> + <bounds x="8" y="2" width="8" height="6" /> </bezel> - <bezel name="lamp10" element="lamp_disk_red"> - <bounds x="10" y="60" width="5" height="5" /> + <bezel name="lamp10" element="lamp"> + <bounds x="8" y="9" width="8" height="6" /> </bezel> - <bezel name="lamp2" element="lamp_disk_red"> - <bounds x="10" y="70" width="5" height="5" /> + <bezel name="lamp2" element="lamp"> + <bounds x="8" y="16" width="8" height="6" /> </bezel> - <bezel name="lamp1" element="lamp_disk_red"> - <bounds x="10" y="80" width="5" height="5" /> + <bezel name="lamp1" element="lamp"> + <bounds x="8" y="23" width="8" height="6" /> </bezel> - <bezel name="lamp0" element="lamp_disk_red"> - <bounds x="10" y="90" width="5" height="5" /> + <bezel name="lamp0" element="lamp"> + <bounds x="8" y="30" width="8" height="6" /> </bezel> - <bezel name="lamp9" element="lamp_disk_red"> - <bounds x="30" y="50" width="5" height="5" /> + <bezel name="lamp9" element="lamp"> + <bounds x="44" y="2" width="8" height="6" /> </bezel> - <bezel name="lamp8" element="lamp_disk_red"> - <bounds x="30" y="60" width="5" height="5" /> + <bezel name="lamp8" element="lamp"> + <bounds x="44" y="9" width="8" height="6" /> </bezel> - <bezel name="lamp7" element="lamp_disk_red"> - <bounds x="30" y="70" width="5" height="5" /> + <bezel name="lamp7" element="lamp"> + <bounds x="44" y="16" width="8" height="6" /> </bezel> - <bezel name="lamp6" element="lamp_disk_red"> - <bounds x="30" y="80" width="5" height="5" /> + <bezel name="lamp6" element="lamp"> + <bounds x="44" y="23" width="8" height="6" /> </bezel> - <bezel name="lamp5" element="lamp_disk_red"> - <bounds x="30" y="90" width="5" height="5" /> + <bezel name="lamp5" element="lamp"> + <bounds x="44" y="30" width="8" height="6" /> </bezel> </view> |