diff options
| author | historia <[not public]> | 2026-06-11 19:24:25 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-06-11 19:24:25 -0400 |
| commit | 6b2b4bf470b655f01c5a21c5f558a6102402c214 (patch) | |
| tree | 10970b523999b87ea09c63486906f0c5314f3542 /internal/config | |
| parent | 1b9e2da3b3c438d8dc53d3489725dd5ba0022777 (diff) | |
| download | thehouseoficarus-6b2b4bf470b655f01c5a21c5f558a6102402c214.tar.gz | |
feat: map implemented with BFS
Diffstat (limited to 'internal/config')
| -rw-r--r-- | internal/config/config.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/internal/config/config.go b/internal/config/config.go index 8ff5740..1682a01 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -7,11 +7,16 @@ import ( ) type Config struct { + Game GameConfig `yaml:"game"` Telnet TelnetConfig `yaml:"telnet"` HTTP HTTPConfig `yaml:"http"` HTTPS HTTPSConfig `yaml:"https"` } +type GameConfig struct { + MaxWidth int `yaml:"maxWidth"` +} + type TelnetConfig struct { Enabled bool `yaml:"enabled"` Port int `yaml:"port"` @@ -31,6 +36,9 @@ type HTTPSConfig struct { func Default() *Config { return &Config{ + Game: GameConfig{ + MaxWidth: 70, + }, Telnet: TelnetConfig{ Enabled: true, Port: 4000, |
