hedgewars/VGSHandlers.inc
changeset 6179 b529f88d37d0
parent 6128 c90f50e6dd8e
child 6291 cfd2483b8c97
equal deleted inserted replaced
6178:affa860f2983 6179:b529f88d37d0
    77     else
    77     else
    78         begin
    78         begin
    79         if round(X) < cLeftScreenBorder then X:= X + cScreenSpace else
    79         if round(X) < cLeftScreenBorder then X:= X + cScreenSpace else
    80         if round(X) > cRightScreenBorder then X:= X - cScreenSpace;
    80         if round(X) > cRightScreenBorder then X:= X - cScreenSpace;
    81         // if round(Y) < (LAND_HEIGHT - 1024 - 75) then Y:= Y + 25.0; // For if flag is set for flakes rising upwards?
    81         // if round(Y) < (LAND_HEIGHT - 1024 - 75) then Y:= Y + 25.0; // For if flag is set for flakes rising upwards?
    82         if round(Y) - 75 > LAND_HEIGHT then Y:= Y - (1024 + 150); // TODO - configure in theme (jellies for example could use limited range)
    82         if round(Y) - 225 > LAND_HEIGHT then Y:= Y - (1024 + 300); // TODO - configure in theme (jellies for example could use limited range)
    83         Timer:= 0;
    83         Timer:= 0;
    84         tdX:= 0;
    84         tdX:= 0;
    85         tdY:= 0
    85         tdY:= 0
    86         end;
    86         end;
    87     end;
    87     end;