hedgewars/uFLTypes.pas
author unc0rr
Mon, 13 Oct 2014 23:46:49 +0400
branchqmlfrontend
changeset 10440 b74a7bbe224e
parent 10432 b0abef0ee78c
child 10444 47a6231f1fc1
permissions -rw-r--r--
- Implement getTeamsList (not tested) - Some small fixes

unit uFLTypes;
interface

type
    TMessageType = (mtPreview);

    TIPCMessage = record
                   str: shortstring;
                   len: Longword;
                   buf: Pointer
               end;

    TIPCCallback = procedure (p: pointer; msg: PChar; len: Longword);
    TGUICallback = procedure (p: pointer; msgType: TMessageType; msg: PChar; len: Longword); cdecl;

    TGameType = (gtPreview, gtLocal);
    THedgehog = record
            name: shortstring;
            hat: shortstring;
            end;
    TTeam = record
            teamName: shortstring;
            flag: shortstring;
            graveName: shortstring;
            fortName: shortstring;
            owner: shortstring;
            color: shortstring;
            extDriven: boolean;
            botLevel: Longword;
            hedgehogs: array[0..7] of THedgehog;
            hogsNumber: Longword;
        end;
    PTeam = ^TTeam;

implementation

end.