Xiqual 0.9.1

In file include/xisetup.h:

typedef struct xiglob

Global structure for Xiqual's automatic handling of miscellaneous data

[more]SDL_Surface* screen
This is the SDL surface returned by SDL_SetVideoMode()
[more]xiview* cursor
An xiview for the main cursor
[more]int hotx
Cursor X offset
[more]int hoty
Cursor Y offset
[more]SDL_Surface* tscreen
Default surface for tile blits.
[more]struct xitiles *tileset
Default tileset to blit from
[more]int audio_rate
Sample rate.
[more]int audio_chan
Number of channels to use.
[more]int numchans
Maximum number of channels to mix.
[more]int audio_bufsize
Size of audio buffers.
[more]Uint16 audio_fmt
Audio format.
[more]List sounds
Sound nodes.
[more]List music
Music nodes.
[more]List images
Image nodes.
[more]List sprites
Sprite nodes.
[more]void (*mainloop)(Uint8* keystate, SDLMod modstate, Uint8 mousestate, int mx, int my)
User-definable hook, called once each time xi_main() is called.
[more]SDL_Surface* mesh
Mesh overlay for disabled gadgets.
[more]gadget* hl
Pointer to the currently highlighted gadget.
[more]List gadgets
List of LUI gadgets.
[more]List inputs
List of input areas.
[more]lui_msg* msg
Currently shown message box


Documentation

Global structure for Xiqual's automatic handling of miscellaneous data
oSDL_Surface* screen
This is the SDL surface returned by SDL_SetVideoMode()

oxiview* cursor
An xiview for the main cursor

oint hotx
Cursor X offset

oint hoty
Cursor Y offset

oSDL_Surface* tscreen
Default surface for tile blits.
See Also:
xit_setdefaults(), xit_qdraw()

ostruct xitiles *tileset
Default tileset to blit from

oint audio_rate
Sample rate. Measured in samples per second. Default is 44100 Hz.

oint audio_chan
Number of channels to use. Use 1 for mono and 2 for stereo.

oint numchans
Maximum number of channels to mix. Default is eight.

oint audio_bufsize
Size of audio buffers. This doesn't have to be a particularly large number, but must be a factor of two. Defaults to 4096 bytes.

oUint16 audio_fmt
Audio format. The format definitions are in SDL_mixer.h.

oList sounds
Sound nodes. Contents TBA.

oList music
Music nodes. Contents TBA.

oList images
Image nodes. Contents TBA.

oList sprites
Sprite nodes. Contents TBA.

ovoid (*mainloop)(Uint8* keystate, SDLMod modstate, Uint8 mousestate, int mx, int my)
User-definable hook, called once each time xi_main() is called.
Parameters:
keystate - A pointer to an array of Uint8. Currently pressed keys are non-zero.
modstate - State of modifier keys
mousestate - Flags for current mouse state (buttons).
mx - Current X position of mouse cursor within the main SDL surface
my - Current Y position of mouse cursor within the main SDL surface
Author:
Ronny Bangsund
See Also:
xi_main(), SDL_input.h

oSDL_Surface* mesh
Mesh overlay for disabled gadgets. When a gadget is "ghosted", this surface is copied over it.
See Also:
lui_ghost()

ogadget* hl
Pointer to the currently highlighted gadget. NULL if the cursor is not hovering above a gadget that can be highlighted. You are free to abuse the highlight method of a gadget for just knowing when the cursor is above it.
See Also:
lui_highlight(), gadget

oList gadgets
List of LUI gadgets. Any gadgets in this list are automatically freed when xi_quit()/lui_quit() is called.

oList inputs
List of input areas. Any inputs in this list are automatically freed when xi_quit()/lui_quit() is called.

olui_msg* msg
Currently shown message box

Alphabetic index



This page was generated with the help of DOC++.