hedgewars/pas2cSystem.pas
author nemo
Tue, 27 Dec 2011 14:14:26 -0500
changeset 6534 e6cb8a41b5f4
parent 6520 6fecdc5d182f
child 6552 91adc9ee7b8c
permissions -rw-r--r--
Experiment in eliminating transparent white from LandPixels - I think it messes up on some graphics cards. Noticed a curious white border on a girder in a theme Randy is working on. At the very least it is slightly more efficient in the blit.

system;

type 
    LongInt = integer;
    LongWord = integer;
    Cardinal = integer;
    PtrInt = integer;
    Word = integer;
    Integer = integer;
    Byte = integer;
    SmallInt = integer;
    ShortInt = integer;

    pointer = pointer;
    PChar = pointer;

    double = float;
    real = float;
    float = float;

    boolean = boolean;
    LongBool = boolean;

    string = string;
    shortstring = string;
    ansistring = string;

    char = char;
    
    PByte = ^Byte;
    PLongInt = ^LongInt;
    PLongWord = ^LongWord;
    PInteger = ^Integer;
var 
    false, true: boolean;
    write, writeLn, read, readLn, inc, dec: procedure;
    StrLen, ord, Succ, Pred : function : integer;
    Low, High : function : integer;
    Now : function : integer;
    SysUtils.StrPas, FormatDateTime : function : shortstring;
    exit : procedure;