fixed grid lines

This commit is contained in:
2024-06-02 19:15:03 +02:00
committed by T.v.Dein
parent e536f91790
commit cb87815e4f
2 changed files with 2 additions and 10 deletions

10
TODO.md
View File

@@ -1,18 +1,10 @@
- add all other options like size etc - add all other options like size etc
- if grid lines is disabled, they appear anyway in the first frame (then disappear)
- changing options mid-game has no effect in most cases, even after a restart - changing options mid-game has no effect in most cases, even after a restart
- RLE file loading works but pattern is barely visible - RLE file loading works, but if world is larger than screen, center is invisible.
- Statefile loading does not work correclty anymore. With larger grids - Statefile loading does not work correclty anymore. With larger grids
everything is empty. With square grids part of the grid is cut everything is empty. With square grids part of the grid is cut
off. Smaller grids load though off. Smaller grids load though
- Same thing with RLE files: with smaller grid size, RLE file shows,
but with larger (or default) grid size, its invisible
- gridlines vanish if starting in menu mode, after starting a
game. They are there in all manual modes and on startup before
leaving the menu

View File

@@ -205,7 +205,7 @@ func ParseCommandline() (*Config, error) {
pflag.BoolVarP(&config.ShowVersion, "version", "v", false, "show version") pflag.BoolVarP(&config.ShowVersion, "version", "v", false, "show version")
pflag.BoolVarP(&config.Paused, "paused", "p", false, "do not start simulation (use space to start)") pflag.BoolVarP(&config.Paused, "paused", "p", false, "do not start simulation (use space to start)")
pflag.BoolVarP(&config.Debug, "debug", "d", false, "show debug info") pflag.BoolVarP(&config.Debug, "debug", "d", false, "show debug info")
pflag.BoolVarP(&config.ShowGrid, "show-grid", "g", true, "draw grid lines") pflag.BoolVarP(&config.ShowGrid, "show-grid", "g", false, "draw grid lines")
pflag.BoolVarP(&config.Empty, "empty", "e", false, "start with an empty screen") pflag.BoolVarP(&config.Empty, "empty", "e", false, "start with an empty screen")
pflag.BoolVarP(&config.Invert, "invert", "i", false, "invert colors (dead cell: black)") pflag.BoolVarP(&config.Invert, "invert", "i", false, "invert colors (dead cell: black)")
pflag.BoolVarP(&config.ShowEvolution, "show-evolution", "s", false, "show evolution traces") pflag.BoolVarP(&config.ShowEvolution, "show-evolution", "s", false, "show evolution traces")