GLDisplay class in Command line interface

OpenGL display for the Framsticks Theater application.

22 members:

integer active
integer, 0 .. 1 (false/true)

graphics display is active

string banner
string

Banner

float desiredsimspeed
float, 0 .. 999999
default=0

Desired simulation speed

Desired simulation speed in steps/second. 0 = simulation is disabled.

float fps
float

FPS

Frames Per Second (measured)

integer fpsvisible
integer, 0 .. 1 (false/true)

Display the FPS meter?

integer maxfps
integer, 1 .. 100
default=30

Maximum fps

integer messagesVisible
integer, 0 .. 1 (false/true)

Show log

object messagesWindow
object

Get the log window

get window object (class Window)

integer minfps
integer, 1 .. 100
default=5

Mininmum fps

integer simsteps
integer, 0 .. 999999
default=0

Simulation steps per frame

0 = simulation is disabled. In most cases you should use desiredsimspeed as it ensures automatic throttle control.

integer size_x
integer

Display width

integer size_y
integer

Display height

float userspeed
float, 0 .. 100
default=1

simspeed user adjustment

User interface sets this property to adjust simulation speed.

function clearMessages

Clear the log window

function clearMessages()
function createWindow
returns Window

Create a Window

function createWindow(integer style, string title, object client)

create and return the new window object.

function deleteWindow
doesn't return a value

Delete a Window

function deleteWindow(Window)
function draw

draw

function draw()
function newCreatureCharts

Create CreatureChartsManager

function newCreatureCharts()
function newSimStatsCharts

Create SimStatsChartsManager

function newSimStatsCharts()
function quit

quit

function quit()
function resume

resume

function resume()
function stop

stop

function stop()

Global context>>Experiment definition>>Command line interface