Skip to content

Commit 99320ba

Browse files
olafkryusveikkos
authored andcommitted
Add invisible background support to KO-pair screen
1 parent 19289d5 commit 99320ba

File tree

2 files changed

+28
-11
lines changed

2 files changed

+28
-11
lines changed

SJ3.PAS

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4392,7 +4392,19 @@ var temp,temp2,who : integer;
43924392

43934393
begin
43944394

4395-
newscreen(1,0);
4395+
if (InvBack) then
4396+
begin
4397+
4398+
SiirraStandardiPaletti;
4399+
TallennaAlkuosa(0);
4400+
SavytaPaletti(0,40);
4401+
AsetaPaletti;
4402+
4403+
DrawHillScreen;
4404+
DrawAnim(5,2,62); { logo kehiin }
4405+
4406+
end
4407+
else newscreen(1,0);
43964408
fontcolor(240);
43974409
writefont(30,6,lstr(94));
43984410
fontcolor(241);
@@ -4427,6 +4439,12 @@ begin
44274439

44284440
cupslut:=Waitforkey3(305,6,ch);
44294441

4442+
if (InvBack) then
4443+
begin
4444+
TakaisinAlkuosa(0);
4445+
AsetaPaletti;
4446+
end;
4447+
44304448
end;
44314449

44324450

SJ3LIST.PAS

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -118,17 +118,16 @@ begin
118118
if (InvBack) then { tota pit„„ tsiigata viel„... }
119119
begin
120120

121-
DrawHillScreen;
122-
123-
if (FirstPage) then
124-
begin
125-
SiirraStandardiPaletti;
126-
TallennaAlkuosa(0);
127-
SavytaPaletti(0,40);
128-
AsetaPaletti;
129-
FirstPage:=False;
130-
end;
121+
if (FirstPage) then
122+
begin
123+
SiirraStandardiPaletti;
124+
TallennaAlkuosa(0);
125+
SavytaPaletti(0,40);
126+
AsetaPaletti;
127+
FirstPage:=False;
128+
end;
131129

130+
DrawHillScreen;
132131
DrawAnim(5,2,62); { logo kehiin }
133132

134133
end

0 commit comments

Comments
 (0)