#include <stdlib.h>
#include <stdio.h>
#include "libgraph.h"
#include "libdev.h"
#include "sifdev.h"
#include "GL/glut.h"
#include "GL/ps2gl.h"
#include "ps2s/timer.h"
#include "ps2s/gs.h"
#include "ps2s/drawenv.h"
#include "ps2s/displayenv.h"
#include "ps2s/core.h"
#include "ps2gl/glcontext.h"
#include "ps2gl/displaycontext.h"
#include "ps2gl/drawcontext.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. More... | |
void | glutDisplayFunc (void(*func)(void)) |
Set the display function callback. More... | |
void | glutReshapeFunc (void(*func)(int width, int height)) |
Set the reshape function callback. More... | |
void | glutKeyboardFunc (void(*func)(unsigned char key, int x, int y)) |
Set the keyboard function callback. More... | |
void | glutVisibilityFunc (void(*func)(int state)) |
Set the visibility function callback. More... | |
void | glutIdleFunc (void(*func)(void)) |
Set the idle function callback. More... | |
void | glutSpecialFunc (void(*func)(int key, int x, int y)) |
Set the special function callback. More... | |
void | glutMainLoop (void) |
Enter the main loop. More... | |
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) |
void * | pglutAllocDmaMem (unsigned int num_bytes) |
void | pglutFreeDmaMem (void *mem) |
Variables | |
tFunctionPtr | DisplayFunc = NULL |
tFunctionPtr_ii | ReshapeFunc = NULL |
tFunctionPtr_ucii | KeyboardFunc = NULL |
tFunctionPtr_i | VisibilityFunc = NULL |
tFunctionPtr | IdleFunc = NULL |
tFunctionPtr_iii | SpecialFunc = NULL |
|
Definition at line 37 of file ps2glut.cpp. |
|
Definition at line 38 of file ps2glut.cpp. |
|
Definition at line 34 of file ps2glut.cpp. |
|
Definition at line 36 of file ps2glut.cpp. |
|
Definition at line 35 of file ps2glut.cpp. |
|
Definition at line 232 of file ps2glut.cpp. |
|
Definition at line 248 of file ps2glut.cpp. |
|
Definition at line 217 of file ps2glut.cpp. |
|
Definition at line 222 of file ps2glut.cpp. |
|
Definition at line 227 of file ps2glut.cpp. |
|
Definition at line 239 of file ps2glut.cpp. |
|
Definition at line 244 of file ps2glut.cpp. |
|
Definition at line 255 of file ps2glut.cpp. |
|
Definition at line 262 of file ps2glut.cpp. |
|
Definition at line 53 of file ps2glut.cpp. Referenced by glutMainLoop().
|
|
Definition at line 57 of file ps2glut.cpp. Referenced by glutMainLoop().
|
|
Definition at line 55 of file ps2glut.cpp. |
|
Definition at line 54 of file ps2glut.cpp. Referenced by glutMainLoop().
|
|
Definition at line 58 of file ps2glut.cpp. |
|
Definition at line 56 of file ps2glut.cpp. Referenced by glutMainLoop().
|