GithubHelp home page GithubHelp logo

jani-r / sdl_bgi2 Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 631 KB

SDL_bgi2 is a fork of SDL_bgi (http://libxbgi.sourceforge.net/) to provide support for MSVC

License: zlib License

Makefile 1.04% C 95.44% Fortran 1.05% CMake 2.47% C++ 0.01%

sdl_bgi2's Introduction

README
------

This is SDL_bgi, a graphics library based on SDL2. SDL_bgi provides
graphics primitives, and is much easier to use than SDL2.

SDL_bgi is nearly fully compatible with BGI, the Borland Graphics
Interface that was the de facto standard in PC graphics back in DOS
days. (It compiles and runs the original 'bgidemo.c' almost
perfectly.) It's pretty fast, very easy to use, and it also provides
extensions for ARGB colours and mouse support. It should run on any
platform supported by SDL2; it was only tested in Linux, though.

I wrote SDL_bgi because I wanted a simple but fast graphics library
for my experiments with fractals and cellular automata, using the BGI
syntax I'm used to. Obviously, native SDL2 functions can be used in
SDL_bgi programs.

A few examples are provided in the test/ directory.

If you don't need BGI compatibility, I suggest that you check out
SDL_gfx, a graphics library more complete and more powerful than
SDL_bgi.

Links:

0. The SDL library:
   https://www.libsdl.org/

1. WinBGIm, a BGI Windows port:
   http://www.cs.colorado.edu/~main/cs1300/doc/bgi/

2. SDL_gfx, graphics drawing primitives and more:
   http://cms.ferzkopp.net/index.php/software/13-sdl-gfx

3. BGI on Wikipedia:
   https://en.wikipedia.org/wiki/Borland_Graphics_Interface

4. Xbgi, a BGI XLib port:
   http://libxbgi.sourceforge.net/

This library is licensed under the Zlib license; please see the file
LICENSE. The 8x8 font comes from A. Schiffler's SDL_gfx.

Brought to you by Guido Gonzato, PhD <guido.gonzato at gmail.com>

sdl_bgi2's People

Contributors

jani-r avatar

Stargazers

Bocke avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.