ubgi
Object Pascal bindings for SDL_bgi library
- Quiet · last change 4-12-2023
- ★ 2 on GitHub
README
ubgi
Object Pascal bindings for SDL_bgi library.
Repository structure -
ubgi.pas- Pascal API unit.bin- Dynamic Windows libraries v2.4.3.examples- Pascal port of some original examples.include- C API v2.4.3 header file.
Usage example
program exus;
{$IF Defined(FPC)}{$MODE Delphi}{$ENDIF}
{$APPTYPE Console}
uses ubgi;
var
gd, gm: Integer;
info: String;
begin
gd := DETECT; gm := VGAHi;
InitGraph(gd, gm, '');
SetColor(BLUE);
SetBkColor(WHITE);
info := 'SDL_bgi & Object Pascal';
SetTextStyle(SimplexFont, HorizDir, 0);
OutText(info);
ReadKey();
CloseGraph();
end.Building example
Embarcadero Delphi compiler -
dcc64 -B -U.. exus.pasFree Pascal compiler -
fpc -B -Fu.. exus.pasScreenshots
fonts

plasma

psychedelia

kaleido

turtledemo


