Macro Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
C
 Compo4all statuses
D
 Default ranges for spFontAdd
 Defines for the look of the buttons and keys
 Defines for the strategy of<spMapSetStrategy>
 Directions
E
 Events for the particle bunch update function
F
 Fixed Point Arithmetic Constants
 Fixed Point Arithmetics
 Fixed Point Conversion
G
 Generic button and axis count
 Generic Buttons
 Generic Buttons Masks
 Generic Buttons Names
K
 Keyboard waiting
L
 Light
R
 Range of the analog axis
 Return types for spGetLastAxisType
S
 SP_ACCURACY
 SP_ACCURACY_FACTOR
 SP_ALPHA_COLOR
 SP_ANALOG_AXIS
 SP_ANALOG_AXIS_MAX
 SP_ANALOG_AXIS_MIN
 SP_BOTTOM
 SP_BUTTON_A
 SP_BUTTON_A_MASK
 SP_BUTTON_A_NAME
 SP_BUTTON_B
 SP_BUTTON_B_MASK
 SP_BUTTON_B_NAME
 SP_BUTTON_DOWN
 SP_BUTTON_DOWN_MASK
 SP_BUTTON_DOWN_NAME
 SP_BUTTON_L
 SP_BUTTON_L_MASK
 SP_BUTTON_L_NAME
 SP_BUTTON_LEFT
 SP_BUTTON_LEFT_MASK
 SP_BUTTON_LEFT_NAME
 SP_BUTTON_R
 SP_BUTTON_R_MASK
 SP_BUTTON_R_NAME
 SP_BUTTON_RIGHT
 SP_BUTTON_RIGHT_MASK
 SP_BUTTON_RIGHT_NAME
 SP_BUTTON_SELECT
 SP_BUTTON_SELECT_MASK
 SP_BUTTON_SELECT_NAME
 SP_BUTTON_START
 SP_BUTTON_START_MASK
 SP_BUTTON_START_NAME
 SP_BUTTON_UP
 SP_BUTTON_UP_MASK
 SP_BUTTON_UP_NAME
 SP_BUTTON_X
 SP_BUTTON_X_MASK
 SP_BUTTON_X_NAME
 SP_BUTTON_Y
 SP_BUTTON_Y_MASK
 SP_BUTTON_Y_NAME
 SP_C4A_ERROR
 SP_C4A_OK
 SP_C4A_PROGRESS
 SP_CACHE_SIZE
 SP_CENTER
 SP_DEVICE_STRING
 SP_DIGITAL_AXIS
 SP_FIXED
 SP_FONT_BUTTON
 SP_FONT_DEFAULT_CACHE
 SP_FONT_EXTRASPACE
 SP_FONT_GROUP_ALPHABET
 SP_FONT_GROUP_ASCII
 SP_FONT_GROUP_GERMAN
 SP_FONT_GROUP_NUMBERS
 SP_FONT_INTELLIGENT
 SP_FONT_KEY
 SP_FONT_NO_BORDER
 SP_HALF_ACCURACY
 SP_INPUT_AXIS_COUNT
 SP_INPUT_BUTTON_COUNT
 SP_INVALID_IP
 SP_JOYSTICK_MAX_TRIGGER_OFF
 SP_JOYSTICK_MAX_TRIGGER_ON
 SP_JOYSTICK_MIN_TRIGGER_OFF
 SP_JOYSTICK_MIN_TRIGGER_ON
 SP_KEYBOARD_FIRST_WAIT
 SP_KEYBOARD_WAIT
 SP_LEFT
 SP_MAPPING_CANCEL
 SP_MAPPING_MAX
 SP_MAPPING_NONE
 SP_MAPPING_OTHER_INVALID
 SP_MAPPING_SET_MAX
 SP_MAPPING_SWITCH
 SP_MATH_ACCURACY
 SP_MAX_LIGHTS
 SP_MAX_SCANLINES
 SP_MODELVIEW_STACK_SIZE
 SP_NO_TOUCHSCREEN_EMULATION
 SP_ONE
 SP_PAD_NAME
 SP_PARTICLE_CLEAN_UP
 SP_PARTICLE_DRAW
 SP_PARTICLE_UPDATE
 SP_PI
 SP_PRACTICE_3
 SP_PRACTICE_3_MASK
 SP_PRACTICE_3_NAME
 SP_PRACTICE_4
 SP_PRACTICE_4_MASK
 SP_PRACTICE_4_NAME
 SP_PRACTICE_CANCEL
 SP_PRACTICE_CANCEL_MASK
 SP_PRACTICE_CANCEL_NAME
 SP_PRACTICE_OK
 SP_PRACTICE_OK_MASK
 SP_PRACTICE_OK_NAME
 SP_RIGHT
 SP_SQRT_ACCURACY
 SP_TEXT_MAX_READABLE_LINE
 SP_TOP
 SP_VIRTUAL_KEYBOARD_ALWAYS
 SP_VIRTUAL_KEYBOARD_FIRST_WAIT
 SP_VIRTUAL_KEYBOARD_IF_NEEDED
 SP_VIRTUAL_KEYBOARD_NEVER
 SP_VIRTUAL_KEYBOARD_WAIT
 SP_VOLUME_MAX
 spDiv(a,b)
 spDivHigh(a,b)
 spDivLow(a,b)
 spFixedRoundInt(x)
 spFixedToFloat(x)
 spFixedToInt(x)
 spFloatToFixed(x)
 spIntToFixed(x)
 spMul(a,b)
 spMulHigh(a,b)
 spMulLow(a,b)
 spSquare(a)
T
 Trigger limits for analog sticks
V
 Values for spSetVirtualKeyboard
Statuses for the committing and score-loading functions.
These are some #defines e.g.
The following #defines are for the fixed point arithmetic in sparrow3d.
These are some #defines for fast multiplication and division of fixed point numbers.
These conversions are no function calls, but defines.
The following (long) list of #defines gives you the numbers and names of the generic device buttons or of the buttons on the explicit device.
Mask of the buttons, Useful for spPollKeyboardInputs last parameter.
If a key is pressed after a given time it will be pressed again.
Return types for spGetLastAxisType.
Defines how many bits are used for the decimal place
2 ^ SP_ACCURACY.
If alphatest is enabled, this (pink) color will not be drawn, it is “transparent”.
analog input was used
The maximal value of the analog axis.
The minimal value of the analog axis.
bottom
number of the A button.
mask of the A button.
name of the A button.
number of the B button.
mask of the B button.
name of the B button.
number of the down button.
mask of the down button.
name of the down button.
number of the left shoulder button
mask of the left shoulder button
name of the left shoulder button
number of the left button.
mask of the left button.
name of the left button.
number of the right shoulder button
mask of the right shoulder button
name of the right shoulder button
number of the right button.
mask of the right button.
name of the right button.
number of the “Select”, “||” or similar button
mask of the “Select”, “||” or similar button
name of the “Select”, “||” or similar button
number of the “Start” or “Menu” button
mask of the “Start” or “Menu” button
name of the “Start” or “Menu” button
number of the up button.
mask of the up button.
name of the up button.
number of the X button.
mask of the X button.
name of the X button.
number of the Y button.
mask of the Y button.
name of the Y button.
process is done, but something went wrong
process is done and everything was fine
transfer of data is in progress
The size of the surface cache
center
Gives you the name of the device, e.g.
digital input was used
sets the base to a fixed position
shows always buttons
Per default 16384 signs (needs 64 kilobytes) are cached.
Defines some extra space for the border ;-)
All 26 latin letters big and small
whole ASCII set (sign 32 (space) until 127 (~))
German letters like umlauts
the arab numbers (0 to 9), dot, comma and minus
Uses keys or buttons as it should make sense on the target, e.g.
shows always keys
Use this in spFontSetShadeColor, if you don’t want / need aliasing
The half of SP_ACCURACY
number of useable generic axes.
number of useable generic buttons.
Same as INADDR_NONE of SDL_Net.
maximal value for not setting the axis to zero.
minimal value for activating the positive axis.
maximal value for not setting the axis to zero.
maximal value for activating the negative axis.
Time to wait until the second key pressing.
Time to wait for longer key pressing.
left
If the button is already used, don’t set it to the new mapping, but keep the old.
The maximal number of buttons to create.
Use no strategy at all.
If the button is already used by another mapping delete the other mapping.
The total number of different mapping sets to create.
If the button is already used by another mapping switch the mappings.
(In)accuracy of the cos and sin lookup table
maximal count of lights.
That much scanlines will be cached at most in the parallel drawing thread
The maximum depth of spPushModelView and spPopModelView Operations
Used by spSetTouchscreenEmulationButtons
1.0f in fixed point
name of the pad (e.g.
if the particles e.g.
the particles shall be drawn
the particles shall be updated
Fixed point Pi
number of the button, which is on the specific device the neither ok nor cancel.
mask of the button, which is on the specific device the neither ok nor cancel.
name of the button, which is on the specific device the neither ok nor cancel.
number of the other button, which is on the specific device neither ok nor cancel.
mask of the other button, which is on the specific device neither ok nor cancel.
name of the other button, which is on the specific device neither ok nor cancel
number of the button, which is on the specific device
mask of the button, which is on the specific device the standard button for canceling an action.
name of the button, which is on the specific device the standard button for canceling an action.
number of the button, which is on the specific device the standard button for “ok”.
mask of the button, which is on the specific device the standard button for “ok”.
name of the button, which is on the specific device the standard button for “ok”.
right
Accurary of the internal sqrt lookuptable
You shouldn’t have more signs in a line than this value ;-) Nobody will EVER need more than 64k letters in one translation...
top
The virtual keyboard is always used, even on devices with keyboard like a PC or the pandora.
same like SP_KEYBOARD_FIRST_WAIT, but for the virtual keyboard.
The virtual keyboard is used, if no hardware keyboard is avaible (GP2X, Dingoo, etc.)
The virtual keyboard is never used.
same like SP_KEYBOARD_WAIT, but for the virtual keyboard.
The maximal volume of a channel or chunk/spSound.
Divides fixed point number a with the fixed point number b
Does the same as spDiv(a,b), but with guaranteed high precision
Does the same as spDiv(a,b), but maybe with lower precision
converts the fixed point number x with round to an int
converts the fixed point number a to a float
converts the fixed point number x to an int with cutting of the decimal place.
converts the float a to a fixed point number
converts the int x to a fixed point number
Multiplies fixed point number a with the fixed point number b
Does the same as spMul(a,b), but with guaranteed high precision
Does the same as spMul(a,b), but maybe with lower precision
Squares the fixed point number a with the help of spMul(a,b).
If a REAL input device (not the sparrow3d generic input device!)
With spSetVirtualKeyboard you setup, when the virtual keyboard is used.
Close