Skip to content

Commit 54fb1bb

Browse files
committed
misc: add Rock Encore
1 parent 2346468 commit 54fb1bb

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed

VisualPinball.Engine.PinMAME.Unity/Editor/PinMameGamelogicEngineInspector.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ private void OnEnable()
6666
new FlashGordon(),
6767
new StarTrekEnterprise(),
6868
new Rock(),
69+
new RockEncore(),
6970
};
7071
_gameNames = new[] {"-- none --"}
7172
.Concat(_games.Select(g => g.Name))
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
// Visual Pinball Engine
2+
// Copyright (C) 2021 freezy and VPE Team
3+
//
4+
// This program is free software: you can redistribute it and/or modify
5+
// it under the terms of the GNU General Public License as published by
6+
// the Free Software Foundation, either version 3 of the License, or
7+
// (at your option) any later version.
8+
//
9+
// This program is distributed in the hope that it will be useful,
10+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
// GNU General Public License for more details.
13+
//
14+
// You should have received a copy of the GNU General Public License
15+
// along with this program. If not, see <https://www.gnu.org/licenses/>.
16+
17+
// ReSharper disable StringLiteralTypo
18+
19+
using System;
20+
using VisualPinball.Engine.Game.Engines;
21+
using VisualPinball.Engine.PinMAME.MPUs;
22+
using VisualPinball.Engine.Common;
23+
24+
namespace VisualPinball.Engine.PinMAME.Games
25+
{
26+
[Serializable]
27+
public class RockEncore : Rock
28+
{
29+
public override string Name => "Rock Encore";
30+
public override string Id => "rock_enc";
31+
public override int Year => 1986;
32+
public override int IpdbId => 1979;
33+
34+
public override PinMameRom[] Roms { get; } = {
35+
new PinMameRom("rock_enc"),
36+
new PinMameRom("rock_efp", description: "Free Play"),
37+
new PinMameRom("rock_eg", language: PinMameRomLanguage.German),
38+
new PinMameRom("rockegfp", description: "Free Play", language: PinMameRomLanguage.German),
39+
new PinMameRom("clash", version: "Clash, The (Rock Encore unofficial MOD)"),
40+
};
41+
}
42+
}

0 commit comments

Comments
 (0)