#include <stdlib.h>
#include <stdio.h>
#include "GL/glut.h"
#include "GL/ps2gl.h"
#include "ps2s/timer.h"
#include "ps2s/gs.h"
#include "ps2gl/debug.h"
#include "pads.h"
Go to the source code of this file.
Typedefs | |
typedef void (* | tFunctionPtr_ii )(int, int) |
typedef void (* | tFunctionPtr_ucii )(unsigned char, int, int) |
typedef void (* | tFunctionPtr_iii )(int, int, int) |
typedef void (* | tFunctionPtr )(void) |
typedef void (* | tFunctionPtr_i )(int) |
Functions | |
void | glutInit (int *argcp, char **argv) |
Initialize the ps2glut library, also the ps2gl library and gs memory if not already initialized by the app. | |
void | glutDisplayFunc (void(*func)(void)) |
Set the display function callback. | |
void | glutReshapeFunc (void(*func)(int width, int height)) |
Set the reshape function callback. | |
void | glutKeyboardFunc (void(*func)(unsigned char key, int x, int y)) |
Set the keyboard function callback. | |
void | glutVisibilityFunc (void(*func)(int state)) |
Set the visibility function callback. | |
void | glutIdleFunc (void(*func)(void)) |
Set the idle function callback. | |
void | glutSpecialFunc (void(*func)(int key, int x, int y)) |
Set the special function callback. | |
void | glutMainLoop (void) |
Enter the main loop. | |
void | glutInitDisplayMode (unsigned int mode) |
void | glutInitWindowPosition (int x, int y) |
void | glutInitWindowSize (int x, int y) |
int | glutCreateWindow (const char *title) |
void | glutPostRedisplay (void) |
void | glutSwapBuffers (void) |
int | glutGet (GLenum type) |
Variables | |
tFunctionPtr | DisplayFunc = NULL |
tFunctionPtr_ii | ReshapeFunc = NULL |
tFunctionPtr_ucii | KeyboardFunc = NULL |
tFunctionPtr_i | VisibilityFunc = NULL |
tFunctionPtr | IdleFunc = NULL |
tFunctionPtr_iii | SpecialFunc = NULL |
CEETimer* | Timer0 |
char | default_module_path [] = "host0:/usr/local/sce/iop/modules" |
char* | module_path = |
|
Definition at line 25 of file ps2glut.cpp. |
|
Definition at line 26 of file ps2glut.cpp. |
|
Definition at line 22 of file ps2glut.cpp. |
|
Definition at line 24 of file ps2glut.cpp. |
|
Definition at line 23 of file ps2glut.cpp. |
|
Definition at line 357 of file ps2glut.cpp. |
|
Definition at line 373 of file ps2glut.cpp. |
|
Definition at line 342 of file ps2glut.cpp. |
|
Definition at line 347 of file ps2glut.cpp. |
|
Definition at line 352 of file ps2glut.cpp. |
|
Definition at line 364 of file ps2glut.cpp. |
|
Definition at line 369 of file ps2glut.cpp. |
|
Definition at line 38 of file ps2glut.cpp. Referenced by glutMainLoop().
|
|
Definition at line 42 of file ps2glut.cpp. Referenced by glutMainLoop().
|
|
Definition at line 40 of file ps2glut.cpp. Referenced by glutMainLoop().
|
|
Definition at line 39 of file ps2glut.cpp. Referenced by glutMainLoop().
|
|
Definition at line 43 of file ps2glut.cpp. Referenced by glutMainLoop().
|
|
Definition at line 45 of file ps2glut.cpp. |
|
Definition at line 41 of file ps2glut.cpp. Referenced by glutMainLoop().
|
|
Definition at line 46 of file ps2glut.cpp. |
|
Definition at line 47 of file ps2glut.cpp. |