config

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Games = []GameInfo{
	{
		ID:          "doom1",
		Name:        "Doom Shareware",
		Description: "The original shareware release",
		WADFile:     "doom1.wad",
	},
	{
		ID:          "doom",
		Name:        "Doom Registered",
		Description: "The full registered version",
		WADFile:     "doom.wad",
	},
	{
		ID:          "doomu",
		Name:        "Ultimate Doom",
		Description: "Doom with a fourth episode",
		WADFile:     "doomu.wad",
	},
	{
		ID:          "doom2",
		Name:        "Doom II: Hell on Earth",
		Description: "The sequel with 32 levels",
		WADFile:     "doom2.wad",
	},
	{
		ID:          "plutonia",
		Name:        "Final Doom: The Plutonia Experiment",
		Description: "Challenging megawad by the Casali brothers",
		WADFile:     "plutonia.wad",
	},
	{
		ID:          "tnt",
		Name:        "Final Doom: TNT Evilution",
		Description: "32-level megawad by TeamTNT",
		WADFile:     "tnt.wad",
	},
}

Games contains all available games

Functions

This section is empty.

Types

type GameInfo

type GameInfo struct {
	ID          string
	Name        string
	Description string
	WADFile     string
}

GameInfo contains metadata about a DOOM game

func DefaultGame

func DefaultGame() *GameInfo

DefaultGame returns the default game (doom1)

func GameByID

func GameByID(id string) *GameInfo

GameByID returns the game info for the given ID

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL