• allegro5.a5_display
  • allegro5.a5_file
  • allegro5.a5_font
  • allegro5.a5_image
  • allegro5.a5_joystick
  • allegro5.a5_main
  • allegro5.a5_misc
  • allegro5.a5_opengl
  • allegro5.a5_shader
  • allegro5.a5_sound
  • allegro5.a5_thread
  • allegro5.a5_triangles
  • animation
  • array
  • atlas
  • buffer
  • color
  • common
  • csg.csg_aabb
  • csg.csg
  • csg.csg_octree
  • csg.csg_shapes
  • csg.csg_test
  • data
  • display
  • exception
  • file
  • font
  • glsl
  • grid
  • hash
  • image
  • image_op
  • index
  • ini
  • isometric
  • joystick
  • keyboard
  • land
  • layer
  • list
  • log
  • main
  • map
  • mem
  • mouse
  • net
  • noise
  • openglutil
  • perlin
  • pixelmask
  • plasma
  • pool
  • protobuf
  • queue
  • random
  • runner
  • shader
  • sound
  • sprite
  • thread
  • tilegrid
  • triangles
  • util2d
  • util3d
  • util
  • view
  • voronoi
  • widget.base
  • widget.board
  • widget.book
  • widget.box
  • widget.button
  • widget.checkbox
  • widget.container
  • widget.edit
  • widget.gul
  • widget.hbox
  • widget.layout
  • widget
  • widget.menu
  • widget.mover
  • widget.panel
  • widget.scrollbar
  • widget.scrolling
  • widget.sizer
  • widget.slider
  • widget.spin
  • widget.text
  • widget.theme
  • widget.vbox
  • widget.widget_list
  • yaml.external
  • yaml.internal
  • yaml
  • yaml.xml

land.main

LandParameters

land_halt

no parameters

land_resume

no parameters

land_was_halted

no parameters

Returns: bool

land_init

no parameters

Initialize Land. This must be called before anything else.

land_tick

no parameters

land_draw

no parameters

land_quit

no parameters

Quit the Land application. Call it when you want the program to exit.

land_closebutton_event

no parameters

land_closebutton

no parameters

Returns: int

Check if the closebutton has been clicked. * Returns: True if yes, else False.

land_set_fps

Parameters: int f

Set the frequency in Hz at which Land should tick. Default is 60.

land_skip_render

Parameters: int skip

land_set_display_parameters

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

land_set_initial_runner

Parameters: LandRunner * runner

Set the initial runner.

land_get_fps

no parameters

Returns: double

Return the current frequency.

land_get_current_fps

no parameters

Returns: int

land_get_ticks

no parameters

Returns: int

Return the number of ticks Land has executed.

land_get_flips

no parameters

Returns: int

land_get_time

no parameters

Returns: double

Get the time in seconds since Land has started.

land_pause

no parameters

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].

land_unpause

no parameters

land_get_flags

no parameters

Returns: int

land_set_synchronized

Parameters: bool onoff

land_maximize_fps

Parameters: bool onoff

land_mainloop_prepare

no parameters

land_mainloop

no parameters

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.


Generated: Thu 27 Feb 2020 10:49:37 PM EST