OSL_FX_NONE=0, OSL_FX_DISCARD, OSL_FX_RGBA, OSL_FX_TINT, OSL_FX_ALPHA, OSL_FX_ADD, OSL_FX_SUB
Available alpha blend effects
OSL_FX_COLOR
OR this flag with any other alpha blend effect in order to specify that the supplied coefficient is a RGB color, and not a simple coefficient. For example, a semi-transparency, is oslSetAlpha(OSL_FX_ALPHA, 128), but if you want to specify alpha for all values, you can use oslSetAlpha(OSL_FX_ALPHA|OSL_FX_RGB, RGB(64,128,192)), here it will tint your image.
OSL_IN_VRAM, OSL_IN_RAM
Constants for image location (in VRAM or in RAM).
OSL_PF_5650, OSL_PF_5551, OSL_PF_4444, OSL_PF_8888, OSL_PF_4BIT, OSL_PF_8BIT
Constants for the image color modes, indicated as bits quantity respectively for RGBA (red, green, blue, alpha). For example: 5650 means 5 bits for the red and the blue, 6 bits for the green and 0 for the alpha (transparency). Use the RGB macro suited to create adapted colours.
OSL_BENCH_INIT, OSL_BENCH_START, OSL_BENCH_END, OSL_BENCH_GET, OSL_BENCH_DISPLAY
Constants for oslBenchmarkTest (respectively to initialize, to start, to stop a benchmark, to get or to display its value).
OSL_BENCH_SLOTS
Number of available benchmark slots. Slots 0 to 3 are free for the user, and slots 4 to 7 are reserved for the system (and their number might change in the future).
OSL_MF_U16 (non signé, 16 bits)
Formats for map blocks. Use them to fill the format member of your maps.
OSL_KEY_SELECT, OSL_KEY_START, OSL_KEY_UP, OSL_KEY_RIGHT, OSL_KEY_DOWN, OSL_KEY_LEFT, OSL_KEY_L, OSL_KEY_R, OSL_KEY_TRIANGLE, OSL_KEY_CIRCLE, OSL_KEY_CROSS, OSL_KEY_SQUARE, OSL_KEY_HOME, OSL_KEY_HOLD, OSL_KEY_NOTE
Constants for key codes returned by oslWaitKey.
OSL_KEYMASK_SELECT, OSL_KEYMASK_START, OSL_KEYMASK_UP, OSL_KEYMASK_RIGHT, OSL_KEYMASK_DOWN, OSL_KEYMASK_LEFT, OSL_KEYMASK_L, OSL_KEYMASK_R, OSL_KEYMASK_TRIANGLE, OSL_KEYMASK_CIRCLE, OSL_KEYMASK_CROSS, OSL_KEYMASK_SQUARE, OSL_KEYMASK_HOME, OSL_KEYMASK_HOLD, OSL_KEYMASK_NOTE
Key masks. Use them with oslSetKeyAutorepeatMask and others, or to extract a key from value members from OSL_CONTROLLER.
OSL_MB_OK, OSL_MB_CANCEL, OSL_MB_YES, OSL_MB_NO, OSL_MB_QUIT
Constants for message box buttons actions.
OSL_DEFAULT_BUFFER
Main DrawBuffer. Use it to be sure to draw on the real screen after having changed the current DrawBuffer.
OSL_SECONDARY_BUFFER
In double buffering mode, defines the drawbuffer that is displayed on the screen. Use it so that we can immediately see on the screen what you are drawing.
OSL_FMT_NONE
No particular flag (loads the sound file and plays it from the RAM).
OSL_FMT_STREAM
Specifies that it is necessary to stream the sound on the Memory Stick (not to load it, but to read it by small parts).
OSL_NUM_AUDIO_CHANNELS
The PSP has 8 audio channels. It means that the voice number you can specify when you play a sound varies between 0 and OSL_NUM_AUDIO_CHANNELS-1.