2
0

SDL backend for BlitzMax

#blitzmax

woollybah 4aebd092d0 Added missing overrides. 6 жил өмнө
d3d9sdlgraphics.mod 32e069689e Initial support for defining window position. 6 жил өмнө
d3d9sdlmax2d.mod 32e069689e Initial support for defining window position. 6 жил өмнө
gl2sdlmax2d.mod 32e069689e Initial support for defining window position. 6 жил өмнө
glsdlgraphics.mod 4fe09e925e Added NX platform support. 7 жил өмнө
glsdlmax2d.mod 32e069689e Initial support for defining window position. 6 жил өмнө
sdl.mod 4aebd092d0 Added missing overrides. 6 жил өмнө
sdlfreeaudio.mod 4aebd092d0 Added missing overrides. 6 жил өмнө
sdlgamecontroller.mod a185319636 SDL.SDLGameController. Initial Import. 6 жил өмнө
sdlgraphics.mod 32e069689e Initial support for defining window position. 6 жил өмнө
sdlhaptic.mod 20437bab73 Update to SDL 2.0.9.e1e13e154128. 6 жил өмнө
sdljoystick.mod 4aebd092d0 Added missing overrides. 6 жил өмнө
sdlrender.mod 20437bab73 Update to SDL 2.0.9.e1e13e154128. 6 жил өмнө
sdlsensor.mod 20437bab73 Update to SDL 2.0.9.e1e13e154128. 6 жил өмнө
sdlsurface.mod 5606401448 Implemented SetIcon(). 6 жил өмнө
sdlsystem.mod 4aebd092d0 Added missing overrides. 6 жил өмнө
sdltimer.mod 4aebd092d0 Added missing overrides. 6 жил өмнө
sdlvideo.mod 5606401448 Implemented SetIcon(). 6 жил өмнө
virtualjoystick.mod 20437bab73 Update to SDL 2.0.9.e1e13e154128. 6 жил өмнө
.gitignore d3d59fe87a Renamed core functions with SDL prefix. 6 жил өмнө
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.