diff options
| author | historia <[not public]> | 2026-06-14 22:38:23 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-06-14 22:38:23 -0400 |
| commit | a6f0ad79e2e3a5b7c11eef1ffc3233f3a2766f77 (patch) | |
| tree | 89601a502bbfcb50302cf03f09b6febc6040eeb0 /internal/config/config.go | |
| parent | 1aba2bdd23aebed4032333e74aa553c40a31fcbd (diff) | |
| download | thehouseoficarus-a6f0ad79e2e3a5b7c11eef1ffc3233f3a2766f77.tar.gz | |
feat: fractional ticks and server game_speed implemented. potentially insanely janky.
Diffstat (limited to 'internal/config/config.go')
| -rw-r--r-- | internal/config/config.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/internal/config/config.go b/internal/config/config.go index 1682a01..d397fae 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -14,7 +14,8 @@ type Config struct { } type GameConfig struct { - MaxWidth int `yaml:"maxWidth"` + TickLength int `yaml:"tick_length"` + GameSpeed float64 `yaml:"game_speed"` } type TelnetConfig struct { @@ -37,7 +38,8 @@ type HTTPSConfig struct { func Default() *Config { return &Config{ Game: GameConfig{ - MaxWidth: 70, + TickLength: 600, + GameSpeed: 1.0, }, Telnet: TelnetConfig{ Enabled: true, |
