SDL backend for BlitzMax

#blitzmax

Brucey 5b2491dffe Draw rects and ovals with vertices. 3 년 전
d3d9sdlgraphics.mod 352312d317 Changed to SuperStrict. Extended flags to Long. 3 년 전
d3d9sdlmax2d.mod 352312d317 Changed to SuperStrict. Extended flags to Long. 3 년 전
gl2sdlmax2d.mod 352312d317 Changed to SuperStrict. Extended flags to Long. 3 년 전
glsdlgraphics.mod 4fe09e925e Added NX platform support. 7 년 전
glsdlmax2d.mod 352312d317 Changed to SuperStrict. Extended flags to Long. 3 년 전
macosmfi.mod ffc4979dee Fixed includes. 3 년 전
sdl.mod ec9b0cace4 Hack for Linux build. 3 년 전
sdlfreeaudio.mod ef0ac0722f Update to SDL 2.0.14.00fabdd 4 년 전
sdlgamecontroller.mod ef0ac0722f Update to SDL 2.0.14.00fabdd 4 년 전
sdlgraphics.mod fef275fb32 Name change. 3 년 전
sdlhaptic.mod ef0ac0722f Update to SDL 2.0.14.00fabdd 4 년 전
sdljoystick.mod ef0ac0722f Update to SDL 2.0.14.00fabdd 4 년 전
sdlrender.mod 1ad8bf29b3 SDL.SDLRenderMax2D. Initial import. 3 년 전
sdlrendermax2d.mod 5b2491dffe Draw rects and ovals with vertices. 3 년 전
sdlsensor.mod ef0ac0722f Update to SDL 2.0.14.00fabdd 4 년 전
sdlsurface.mod ef0ac0722f Update to SDL 2.0.14.00fabdd 4 년 전
sdlsystem.mod a3c918caac Added window close event capture. 3 년 전
sdltimer.mod ef0ac0722f Update to SDL 2.0.14.00fabdd 4 년 전
sdlvideo.mod 63631d7ea0 Fixed for Linux. 3 년 전
virtualjoystick.mod ef0ac0722f Update to SDL 2.0.14.00fabdd 4 년 전
.gitignore 211441a164 Ignore .DS_Store files. 3 년 전
README.md 1f354a21bf Fixed include path. 6 년 전

README.md

A libSDL backend for BlitzMax

SDL.mod leverages libSDL as a replacement for some of the core BlitzMax modules that drive the events and graphics subsystems.

The SDL modules allow for improved graphics window management, more consistent cross-platform events, and extra functionality such as touch and haptic support, as well as acting as a base for taking BlitzMax to new platforms such as Android and iOS.

How Does it Work?

SDL.mod

Installation

Clone or download the repository source, and extract into your BlitzMax/mod folder. The main folder will be called sdl.mod and will contain each of the SDL modules.

You can then optionally build the modules, or have them automatically compiled when your application builds (bmk understands whenever dependent modules require compilation, and will add them to the build).

Requirements

Depending on which platform you are targeting, you may be required to install extra libraries as part of the compilation process.

Linux

As well as the usual packages required to build BlitzMax, the following developer packages are required for building the libSDL sources with SDL.mod :

Debian (Ubuntu, Mint, etc)


#### Fedora

nas-devel dbus-devel libudev-devel libXScrnSaver-devel```

openSUSE

libudev-devel libXss-devel

Although these are required for compilation, the runtime requirements for specific audio libraries are optional.

Windows

Doesn't require anything extra to build or run.

macOS

Doesn't require anything extra to build or run.