equal
deleted
inserted
replaced
1981 |
1981 |
1982 if icon > -1 then |
1982 if icon > -1 then |
1983 begin |
1983 begin |
1984 r.x:= 0; |
1984 r.x:= 0; |
1985 r.y:= icon * 32; |
1985 r.y:= icon * 32; |
1986 missionTex:= RenderHelpWindow(caption, subcaption, text, '', 0, MissionIcons, @r) |
1986 missionTex:= RenderHelpWindow(caption, subcaption, text, ansistring(''), 0, MissionIcons, @r) |
1987 end |
1987 end |
1988 else |
1988 else |
1989 begin |
1989 begin |
1990 r.x:= ((-icon - 1) shr 4) * 32; |
1990 r.x:= ((-icon - 1) shr 4) * 32; |
1991 r.y:= ((-icon - 1) mod 16) * 32; |
1991 r.y:= ((-icon - 1) mod 16) * 32; |
1992 missionTex:= RenderHelpWindow(caption, subcaption, text, '', 0, SpritesData[sprAMAmmos].Surface, @r) |
1992 missionTex:= RenderHelpWindow(caption, subcaption, text, ansistring(''), 0, SpritesData[sprAMAmmos].Surface, @r) |
1993 end; |
1993 end; |
1994 end; |
1994 end; |
1995 |
1995 |
1996 procedure HideMission; |
1996 procedure HideMission; |
1997 begin |
1997 begin |