Modules

From Bennu Wiki
Jump to: navigation, search

Up to Index

List of Functions
List of Constants
List of Globals
List of Locals


Modules add extra functionality to Bennu, as Bennu on its own is just a language and a virtual machine. The default modules contain the basics you need to make a game: video, audio, input, etc. More advanced external libraries are available, like network and 3D rendering.

Enabling a module is easy, using import:

import " <modulename> "

Some external libraries use a header (.INC) instead, so use include:

include " <includename> "

Official Modules

mod_blendop - {{#regex:Up to Modules

Blend Operation module, to blend target and source graphics when drawn.

$1}}
mod_cd - {{#regex:Up to Modules

CD module, adding audio CD playback functionality.

$1}}
mod_crypt - {{#regex:Up to Modules

Encryption/decryption module for the encryption and decryption of data.

$1}}
mod_debug - {{#regex:Up to Modules

Debug module. Adds the capacity to open the Bennu console.

$1}}
mod_dir - {{#regex:Up to Modules

Directory module, adding control over the current working directory and the file system.

$1}}
mod_draw - {{#regex:Up to Modules

Primitive drawing module, adding drawing of primitive and pixels.

$1}}
mod_effects - {{#regex:Up to Modules

Graphical effects module, adding effects applicable to graphics.

$1}}
mod_ffi - {{#regex:Up to Modules

Foreign Function Interface library, offering a way of interfacing with functions from another language, for example DLLs.

$1}}
mod_file - {{#regex:Up to Modules

Files module, adding control over individual files (reading, writing, etc).

$1}}
mod_flic - {{#regex:Up to Modules

FLIC module.

$1}}
mod_grproc - {{#regex:Up to Modules

Graphical processes module.

$1}}
mod_joy - {{#regex:Up to Modules

Joystick module.

$1}}
mod_key - {{#regex:Up to Modules

Keyboard module.

$1}}
mod_m7 - {{#regex:Up to Modules

Mode7 module.

$1}}
mod_map - {{#regex:Up to Modules

Maps module.

$1}}
mod_math - {{#regex:Up to Modules

Math module.

$1}}
mod_mem - {{#regex:Up to Modules

Memory module.

$1}}
mod_mouse - {{#regex:Up to Modules

Mouse module.

$1}}
mod_path - {{#regex:Up to Modules

Pathfind module.

$1}}
mod_proc - {{#regex:Up to Modules

Process interaction and manipulation module.

$1}}
mod_rand - {{#regex:Up to Modules

Random number generator module.

$1}}
mod_regex - {{#regex:Up to Modules

Regular expressions module.

$1}}
mod_say - {{#regex:Up to Modules

Say (printf) module.

$1}}
mod_screen - {{#regex:Up to Modules

Screen module.

$1}}
mod_scroll - {{#regex:Up to Modules

Scroll module.

$1}}
mod_sort - {{#regex:Up to Modules

Sorting module.

$1}}
mod_sound - {{#regex:Up to Modules

Sound module.

$1}}
mod_string - {{#regex:Up to Modules

String manipulation module.

$1}}
mod_sys - {{#regex:Up to Modules

System communication module.

$1}}
mod_text - {{#regex:Up to Modules

Text module.

$1}}
mod_time - {{#regex:Up to Modules

Time module.

$1}}
mod_timers - {{#regex:Up to Modules

Timers module.

$1}}
mod_video - {{#regex:Up to Modules

Video module.

$1}}
mod_wm - {{#regex:Up to Modules

Window Manager module.

$1}}

34 modules

3rd party modules

mod_ttf - {{#regex:Up to DLL's

Truetype font module. Can load TTF files and convert them into Bennu fonts in memory.

$1}}
mod_wpad - {{#regex:Up to Modules

Wii controller support module. This library will help you read input data and operate Wii controllers.

$1}}
pango.dll - {{#regex:Up to Modules

Pango.dll is a Pango wrapper for BennuGD.

$1}}
tinyXML.dll - {{#regex:Up to Modules
$1}}

4 libraries