#include "../fb_gfx.h"
#include <hal/xbox.h>
#include <hal/video.h>
#include <hal/input.h>
Go to the source code of this file.
|
#define | SCREENLIST(w, h) ((h) | (w) << 16) |
|
#define | JOYPOS(pos, min, max) (((((float)(pos) - (float)(min)) * 2.0) / ((float)(max) - (float)(min) + 1.0)) - 1.0) |
|
|
static void __stdcall | driver_update (void *param1, void *param2) |
|
static int | driver_init (char *title, int w, int h, int depth_arg, int refresh_rate, int flags) |
|
static void | driver_exit (void) |
|
static void | driver_lock (void) |
|
static void | driver_unlock (void) |
|
static void | driver_set_palette (int index, int r, int g, int b) |
|
static void | driver_wait_vsync (void) |
|
static int | driver_get_mouse (int *x, int *y, int *z, int *buttons) |
|
static void | driver_set_mouse (int x, int y, int cursor) |
|
static int * | driver_fetch_modes (int depth, int *size) |
|
static void | driver_poll_events (void) |
|
void | fb_hScreenInfo (ssize_t *width, ssize_t *height, ssize_t *depth, ssize_t *refresh) |
|
FBCALL int | fb_GfxGetJoystick (int id, ssize_t *buttons, float *a1, float *a2, float *a3, float *a4, float *a5, float *a6, float *a7, float *a8) |
|
#define JOYPOS |
( |
|
pos, |
|
|
|
min, |
|
|
|
max |
|
) |
| (((((float)(pos) - (float)(min)) * 2.0) / ((float)(max) - (float)(min) + 1.0)) - 1.0) |
#define SCREENLIST |
( |
|
w, |
|
|
|
h |
|
) |
| ((h) | (w) << 16) |
static void driver_exit |
( |
void |
) | |
|
|
static |
static int* driver_fetch_modes |
( |
int |
depth, |
|
|
int * |
size |
|
) |
| |
|
static |
static int driver_get_mouse |
( |
int * |
x, |
|
|
int * |
y, |
|
|
int * |
z, |
|
|
int * |
buttons |
|
) |
| |
|
static |
static int driver_init |
( |
char * |
title, |
|
|
int |
w, |
|
|
int |
h, |
|
|
int |
depth_arg, |
|
|
int |
refresh_rate, |
|
|
int |
flags |
|
) |
| |
|
static |
static void driver_lock |
( |
void |
) | |
|
|
static |
static void driver_poll_events |
( |
void |
) | |
|
|
static |
static void driver_set_mouse |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
cursor |
|
) |
| |
|
static |
static void driver_set_palette |
( |
int |
index, |
|
|
int |
r, |
|
|
int |
g, |
|
|
int |
b |
|
) |
| |
|
static |
static void driver_unlock |
( |
void |
) | |
|
|
static |
static void __stdcall driver_update |
( |
void * |
param1, |
|
|
void * |
param2 |
|
) |
| |
|
static |
static void driver_wait_vsync |
( |
void |
) | |
|
|
static |
FBCALL int fb_GfxGetJoystick |
( |
int |
id, |
|
|
ssize_t * |
buttons, |
|
|
float * |
a1, |
|
|
float * |
a2, |
|
|
float * |
a3, |
|
|
float * |
a4, |
|
|
float * |
a5, |
|
|
float * |
a6, |
|
|
float * |
a7, |
|
|
float * |
a8 |
|
) |
| |
void fb_hScreenInfo |
( |
ssize_t * |
width, |
|
|
ssize_t * |
height, |
|
|
ssize_t * |
depth, |
|
|
ssize_t * |
refresh |
|
) |
| |