|
|
@ -126,6 +126,10 @@ class Visualisation:
|
|
|
|
self.order = ['@', '+', '?', '-', '/', '*']
|
|
|
|
self.order = ['@', '+', '?', '-', '/', '*']
|
|
|
|
self.squares = None
|
|
|
|
self.squares = None
|
|
|
|
self.draw()
|
|
|
|
self.draw()
|
|
|
|
|
|
|
|
if ev.type == pygame.KEYDOWN and ev.key == pygame.K_p:
|
|
|
|
|
|
|
|
sz = self.mapfile.size
|
|
|
|
|
|
|
|
sqsz = max(sz / CELLS, 4096)
|
|
|
|
|
|
|
|
print(f"Each square represents {sqsz} bytes.")
|
|
|
|
if ev.type == pygame.USEREVENT:
|
|
|
|
if ev.type == pygame.USEREVENT:
|
|
|
|
self.reload()
|
|
|
|
self.reload()
|
|
|
|
|
|
|
|
|
|
|
|