Next: , Previous: Introduction, Up: Top   [Contents][Index]


2 General SDL

Procedure: init sel

Initialize SDL and the subsystems/configuration represented by sel (see init flags).

Procedure: init-subsystem sel

Initialize the SDL subsystems represented by sel. sel is a list of flags (symbols) from the same set useful for init.

Procedure: quit

Shut down all SDL subsystems. Return #t.

Procedure: quit-subsystem sel

Shut down the SDL subsystems represented by sel. sel is a list of flags (symbols) from the same set useful for init. Return #t.

Procedure: was-init sel

Check if the SDL subsystems represented by sel have been initialized. sel is a list of flags (symbols) from the same set useful for init. Return a list likewise composed.

Procedure: get-ticks

Return the number of milliseconds since the SDL library initialization.

Procedure: delay ms

Wait ms milliseconds.

Procedure: get-error

Return the current SDL error string.