aboutsummaryrefslogtreecommitdiffstats
BranchCommit messageAuthorAge
masterAdd global menu bar.Timo Wilken6 years
 
 
AgeCommit messageAuthorFilesLines
2019-12-08Add global menu bar.HEADmasterTimo Wilken1-12/+24
2019-11-19Use main-canvas and world singleton classes.•••Don't assign names to these classes, as they're only instantiated once. Timo Wilken1-168/+191
2019-11-17Use a submodule module to show the main window.•••This is apparently similar to Python's if __name__ == '__main__': ...; the code in the main module is only executed when the file is run, not imported. Timo Wilken1-1/+3
2019-11-16Use typed/racket instead of plain racket.•••This commit adds type information to most top-level constants and procedures. Using types should improve rendering performance as contracts needn't be evaluated. Subjectively, it seems like there is less stutter when scrolling now! Timo Wilken1-116/+161
2019-11-12Try profiling slow redraws-on-scroll.•••It seems like dynamically creating pens and brushes every time they're used takes up ~20% of processing time, so extract them to top-level definitions. Timo Wilken1-43/+67
2019-11-12Forget about power lines for now.Timo Wilken1-19/+11
2019-11-12Support for removing roads.Timo Wilken1-32/+67
2019-11-12Place roads on mouse click.Timo Wilken1-11/+24
2019-11-11More initial roads.Timo Wilken1-3/+5
2019-11-11Avoid apply in curry.Timo Wilken1-1/+2
[...]
 
Clone
https://git.twilken.net/tinycity
ssh://git@git.twilken.net:22022/~/tinycity