|
KallistiOS git master
Independent SDK for the Sega Dreamcast
|
#include <stdio.h>#include <string.h>#include <kos/init.h>#include <dc/biosfont.h>#include <dc/video.h>#include <dc/sound/sound.h>#include <dc/sound/sfxmgr.h>#include <dc/maple.h>#include <dc/maple/controller.h>Macros | |
| #define | LEFT 0 |
| #define | CENTER 128 |
| #define | RIGHT 255 |
Functions | |
| static void | draw_instructions (uint8_t volume) |
| static cont_state_t * | get_cont_state () |
| static int | button_pressed (uint32_t current_buttons, uint32_t changed_buttons, uint32_t button) |
| int | main (int argc, char **argv) |
| #define CENTER 128 |
Referenced by main().
| #define LEFT 0 |
Referenced by main().
| #define RIGHT 255 |
Referenced by main().
|
static |
|
static |
References bfont_draw_str(), color, vram_s, x, and y.
|
static |
References maple_dev_status(), maple_enum_type(), MAPLE_FUNC_CONTROLLER, and NULL.
| int main | ( | int | argc, |
| char ** | argv ) |
References button_pressed(), CENTER, cond, CONT_A, CONT_B, CONT_DPAD_DOWN, CONT_DPAD_LEFT, CONT_DPAD_RIGHT, CONT_DPAD_UP, CONT_START, CONT_X, CONT_Y, DM_640x480, draw_instructions(), get_cont_state(), LEFT, PM_RGB555, RIGHT, snd_init(), snd_sfx_load(), snd_sfx_play(), snd_sfx_play_chn(), snd_sfx_unload(), snd_shutdown(), uint32_t(), and vid_set_mode().