[display] vsync = "mailbox" # "vsync" | "mailbox" | "uncapped" VsyncMode enum with custom Deserialize — accepts string values in toml. apply_vsync_setting system reads GameConfig on every frame, updates Window.present_mode immediately on change. No restart needed.
9 lines
101 B
TOML
9 lines
101 B
TOML
initial_chunk_radius = 15
|
|
|
|
[display]
|
|
vsync = "mailbox"
|
|
|
|
[spawn_counts]
|
|
dorfs = 5
|
|
pigs = 5
|
|
rabbits = 5 |