From a6f0ad79e2e3a5b7c11eef1ffc3233f3a2766f77 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Sun, 14 Jun 2026 22:38:23 -0400 Subject: feat: fractional ticks and server game_speed implemented. potentially insanely janky. --- internal/config/config.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'internal/config') 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, -- cgit v1.2.3