big ol refactor

This commit is contained in:
2025-04-16 12:13:29 +02:00
parent b866ac879e
commit 9d60d5e9cd
10 changed files with 747 additions and 382 deletions

View File

@ -9,4 +9,26 @@ const (
ClientTickRate = 50 * time.Millisecond // Client runs at higher rate for smooth rendering
MaxTickDesync = 5 // Max ticks behind before forcing resync
DefaultPort = "6969" // Default server port
// Map constants
MapWidth = 50
MapHeight = 50
TileSize = 32
TileHeight = 2.0
)
// UI constants
const (
ChatMargin = 10
ChatHeight = 200
MessageHeight = 20
InputHeight = 30
MaxMessages = 50
)
// Environment variable names
const (
EnvSafeMode = "GOONSCAPE_SAFE_MODE"
EnvDisableAnimations = "GOONSCAPE_DISABLE_ANIMATIONS"
EnvDisableAudio = "GOONSCAPE_DISABLE_AUDIO"
)