Debian Codegraph @

debian/patches/terminal-drawing-order

raw
1 Copied from https://github.com/jwvhewitt/gearhead-1/pull/86
2 Index: gearhead-1.310/conmap.pp
3 ===================================================================
4 --- gearhead-1.310.orig/conmap.pp 2019-02-07 15:52:33.000000000 +0200
5 +++ gearhead-1.310/conmap.pp 2020-05-11 17:27:34.553246457 +0300
6 @@ -376,8 +376,8 @@
7 DrawMapBorder( N , E , S , W );
8
9 { Display all terrain. }
10 - for X := 0 to ( MapDisplayWidth - 1 ) do begin
11 - for Y := 0 to ( MapDisplayHeight - 1 ) do begin
12 + for Y := 0 to ( MapDisplayHeight - 1 ) do begin
13 + for X := 0 to ( MapDisplayWidth - 1 ) do begin
14 PlotTerrain( gb , X + OriginX , Y + OriginY );
15 end;
16 end;