feat: Update GameVersion enum to include labels for game releases
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
This commit is contained in:
@@ -1,18 +1,19 @@
|
||||
/// Supported game releases and their associated file extensions.
|
||||
enum GameVersion {
|
||||
/// Wolfenstein 3D Shareware (.WL1)
|
||||
shareware("WL1"),
|
||||
shareware("WL1", "Wolf3D Shareware"),
|
||||
|
||||
/// Wolfenstein 3D Full Retail (.WL6)
|
||||
retail("WL6"),
|
||||
retail("WL6", "Wolf3D Retail"),
|
||||
|
||||
/// Spear of Destiny Full Version (.SOD)
|
||||
spearOfDestiny("SOD"),
|
||||
spearOfDestiny("SOD", "Spear of Destiny"),
|
||||
|
||||
/// Spear of Destiny Demo (.SDM)
|
||||
spearOfDestinyDemo("SDM")
|
||||
spearOfDestinyDemo("SDM", "Spear of Destiny Demo")
|
||||
;
|
||||
|
||||
final String fileExtension;
|
||||
const GameVersion(this.fileExtension);
|
||||
final String label;
|
||||
const GameVersion(this.fileExtension, this.label);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user