#include <stdlib.h>#include <string.h>#include <SDL/SDL.h>#include "gr.h"#include "grdef.h"#include "palette.h"#include "u_mem.h"#include "error.h"#include "vers_id.h"#include "gamefont.h"#include "args.h"Functions | |
| void | gr_palette_clear () |
| void | gr_update () |
| int | gr_set_mode (u_int32_t mode) |
| int | gr_check_fullscreen (void) |
| int | gr_toggle_fullscreen (void) |
| int | gr_init (int mode) |
| void | gr_close () |
| void | gr_palette_step_up (int r, int g, int b) |
| static int | min (int x, int y) |
| void | gr_palette_load (ubyte *pal) |
| int | gr_palette_fade_out (ubyte *pal, int nsteps, int allow_keys) |
| int | gr_palette_fade_in (ubyte *pal, int nsteps, int allow_keys) |
| void | gr_palette_read (ubyte *pal) |
Variables | |
| int | sdl_video_flags = SDL_SWSURFACE | SDL_HWPALETTE |
| char | checkvidmodeok = 1 |
| SDL_Surface * | screen |
| int | gr_installed = 0 |
| static int | last_r = 0 |
| static int | last_g = 0 |
| static int | last_b = 0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.6