no parameters
Returns: bool
Initialize Land. This must be called before anything else.
Quit the Land application. Call it when you want the program to exit.
Returns: int
Check if the closebutton has been clicked. * Returns: True if yes, else False.
Parameters: int f
Set the frequency in Hz at which Land should tick. Default is 60.
Parameters: int skip
Parameters: int w, int h, int flags
Set the display parameters to use initially. * w, h Width and height in pixel. * flags, a combination of: ** LAND_WINDOWED ** LAND_FULLSCREEN ** LAND_OPENGL ** LAND_CLOSE_LINES
Parameters: LandRunner * runner
Set the initial runner.
Returns: double
Return the current frequency.
Return the number of ticks Land has executed.
Get the time in seconds since Land has started.
Stop time. The tick function of the current runner will not be called any longer and [land_get_ticks] will not advance until the next call to [land_unpause].
Parameters: bool onoff
Run Land. This function will use all the parameters set before to initialize everything, then run the initial runner. It will return when you call land_quit() inside the tick function of the active runner.