SDL backend for BlitzMax

#blitzmax

Brucey fdc63bb942 Updated to SDL 2.28.0. 2 anni fa
d3d9sdlgraphics.mod 1b0416ee42 Fix: [Brl.D3D9xxx] Reapplied SuperStrict-corrections 3 anni fa
d3d9sdlmax2d.mod dc46ab9c30 Implemented sdlrendermax2d DrawPoly and DrawPixmap. 2 anni fa
gl2sdlmax2d.mod dc46ab9c30 Implemented sdlrendermax2d DrawPoly and DrawPixmap. 2 anni fa
glsdlgraphics.mod 4fe09e925e Added NX platform support. 6 anni fa
glsdlmax2d.mod dc46ab9c30 Implemented sdlrendermax2d DrawPoly and DrawPixmap. 2 anni fa
macosmfi.mod 6619eae008 Disable dynapi. 3 anni fa
sdl.mod fdc63bb942 Updated to SDL 2.28.0. 2 anni fa
sdlfreeaudio.mod dc8959eeec Updated to SDL 2.0.21.8ce003 3 anni fa
sdlgamecontroller.mod 4a471c5bae Added to APIs. 3 anni fa
sdlgraphics.mod e4be28c82a Refactored display modes. 3 anni fa
sdlhaptic.mod dc8959eeec Updated to SDL 2.0.21.8ce003 3 anni fa
sdlhints.mod b5b19915eb Updated to SDL 2.26.0.5129a0 2 anni fa
sdljoystick.mod 691d8f539e some bug fix 2 anni fa
sdlrender.mod dc46ab9c30 Implemented sdlrendermax2d DrawPoly and DrawPixmap. 2 anni fa
sdlrendermax2d.mod e103911e38 Updated import. 2 anni fa
sdlsensor.mod dc8959eeec Updated to SDL 2.0.21.8ce003 3 anni fa
sdlsurface.mod b2be1de129 Implemented blend modes. 3 anni fa
sdlsystem.mod b5b19915eb Updated to SDL 2.26.0.5129a0 2 anni fa
sdltimer.mod dc8959eeec Updated to SDL 2.0.21.8ce003 3 anni fa
sdlvideo.mod b5b19915eb Updated to SDL 2.26.0.5129a0 2 anni fa
virtualjoystick.mod e6b0f99034 Added missing exit. 3 anni fa
.gitignore 211441a164 Ignore .DS_Store files. 3 anni fa
README.md 1f354a21bf Fixed include path. 6 anni fa

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.