Skip to content
supermaximo93 edited this page Sep 29, 2011 · 10 revisions

The SuperMaximo GameLibrary wrapper is a C wrapper around the C++ SuperMaximo GameLibrary, allowing languages other than C++ to use the library through C.

This wiki aims to give language agnostic documentation of the library.

Documentation of headers

C naming format: name-C.h
Pascal naming format: smgl__name_.pas

SMSDL - Initialises SDL
Audio - Manages audio output
Display - Manages drawing to an OpenGL window
Input - Manages input from the keyboard, mouse, and game controllers

These headers manage internal C++ classes, using pointers
Font - Manages drawing of fonts
Model - Manages drawing of 3D animated models
Music - Manages background music
NetworkService - Manages TCP and UDP network connections
Object (A.K.A. GameObject) - Manages objects contain a sprite or model
Shader - Manages OpenGL GLSL shaders
Sound - Manages sound effects
Sprite - Manages drawing of 2D graphics
Texture - Manages OpenGL textures

Tutorials

Creating an OpenGL window

Clone this wiki locally