|
KallistiOS git master
Independent SDK for the Sega Dreamcast
|
#include <stdio.h>#include <stdlib.h>#include <KGL/gl.h>#include <KGL/glu.h>#include <KGL/glut.h>#include <kos/init.h>#include <dc/maple.h>#include <dc/maple/controller.h>Functions | |
| GLuint | glTextureLoadPVR (char *fname, unsigned char isMipMapped, unsigned char glMipMap) |
| void | RenderCallback (GLuint texID) |
| static int | check_start (void) |
| int | main (int argc, char **argv) |
Variables | |
| GLfloat | VERTEX_ARRAY [4 *3 *1] |
| GLfloat | TEXCOORD_ARRAY [4 *2 *1] |
| GLfloat | NORMAL_ARRAY [4 *3 *1] |
| GLubyte | INDEX_ARRAY [4 *1] = { 0, 1, 2, 3 } |
| static float | rx = 1.0f |
|
static |
References cont_state_t::buttons, CONT_START, maple_dev_status(), maple_enum_type(), and MAPLE_FUNC_CONTROLLER.
Referenced by main().
|
extern |
Referenced by main().
| int main | ( | int | argc, |
| char ** | argv ) |
References check_start(), glTextureLoadPVR(), vid_mode_t::height, RenderCallback(), vid_mode, and vid_mode_t::width.
| void RenderCallback | ( | GLuint | texID | ) |
References INDEX_ARRAY, NORMAL_ARRAY, rx, TEXCOORD_ARRAY, and VERTEX_ARRAY.
| GLubyte INDEX_ARRAY[4 *1] = { 0, 1, 2, 3 } |
Referenced by RenderCallback().
| GLfloat NORMAL_ARRAY[4 *3 *1] |
Referenced by RenderCallback().
|
static |
Referenced by convert(), objload(), and RenderCallback().
| GLfloat TEXCOORD_ARRAY[4 *2 *1] |
Referenced by RenderCallback().
| GLfloat VERTEX_ARRAY[4 *3 *1] |
Referenced by RenderCallback().