FANDOM


Modules provide packages of additional functionality for BlitzMax. Modules are stored in the mod folder within your BlitzMax installation directory.
The entire base of BlitzMax is provided by modules (all managed by Blitz Research Limited (BRL)). This section documents not only the official modules by BRL, but also popular third party modules.

Modules can be native BlitzMax code, or code in one of the following languages: C, C++, ObjectiveC, or Assembly. Fasm is used to compile x86 assembly, GNU Build Tools for the other languages.

Import and FrameworkEdit

You can control which modules are compiled with your program by using Import and Framework. By default all modules from scopes BRL and Pub are imported. If you specify some module with Framework, only that module and ones it imports are compiled with your code. You can then import additional modules using Import. Common framework modules are BRL.Basic and BRL.Max2D, for console and 2d applications, respectively.

Example code:

Framework BRL.Basic  ' Enough for simple console applications
Import BRL.Random ' BRL.Basic imports BRL.Random, so to use the Rand function we do not need to import BRL.Random (but it wont hurt)

Print(Rand(1, 10))

Or in a more module-specific way:

Framework BRL.Blitz ' This module is the base for everything, and does not import other modules
Import BRL.StandardIO ' This module is needed for Print
Import BRL.Random ' This module is needed for Rand

Print(Rand(1, 10))

List of modscopesEdit

Official

  • BRL - BRL's main modules
  • MaxGUI - BRL's MaxGUI modules
  • Pub - BRL's public modules

Third Party

  • BaH - Brucey's main modules
  • wxMax - Brucey's wxMax module group

List of modulesEdit

All modules are cross-platform and freely available unless otherwise noted.

AudioEdit

Audio DriversEdit

Audio loadersEdit

BASICEdit

CollectionsEdit

CommunicationEdit

CryptologyEdit

DataEdit

DatabaseEdit

EventsEdit

FontsEdit

GraphicsEdit

GUIEdit

ImageryEdit

Image loadersEdit

InternetEdit

MathematicsEdit

MiscellaneousEdit

NetworkingEdit

PhysicsEdit

ScriptingEdit

StreamsEdit

SystemEdit

TextEdit

TimeEdit

User InputEdit

VideoEdit

Operating SystemEdit