Minor mapshot fix...
This commit is contained in:
parent
f2dede1a16
commit
e773e4b385
@ -331,7 +331,7 @@ begin
|
||||
ui.synchronize;
|
||||
end loop gameplay_loop;
|
||||
|
||||
--~world.mapshot ("./test.png");
|
||||
world.mapshot ("./test.png");
|
||||
|
||||
------------------------------------------------------------------------------------------
|
||||
|
||||
|
@ -286,8 +286,8 @@ package body world is
|
||||
--
|
||||
for index in 1 .. construction_limit loop
|
||||
core.render_image (data => construction.sprite (construction.enumeration'val (map.constructions (index).index)),
|
||||
x => map.landmarks (index).x * core.base,
|
||||
y => map.landmarks (index).y * core.base,
|
||||
x => map.constructions (index).x * core.base,
|
||||
y => map.constructions (index).y * core.base,
|
||||
u => 0,
|
||||
v => 0,
|
||||
width => construction.sprite (construction.enumeration'val (map.constructions (index).index)).width,
|
||||
@ -296,8 +296,8 @@ package body world is
|
||||
--
|
||||
for index in 1 .. equipment_limit loop
|
||||
core.render_image (data => equipment.sprite (equipment.enumeration'val (map.equipments (index).index)),
|
||||
x => map.landmarks (index).x * core.base,
|
||||
y => map.landmarks (index).y * core.base,
|
||||
x => map.equipments (index).x * core.base,
|
||||
y => map.equipments (index).y * core.base,
|
||||
u => 0,
|
||||
v => 0,
|
||||
width => equipment.sprite (equipment.enumeration'val (map.equipments (index).index)).width,
|
||||
|
Loading…
Reference in New Issue
Block a user