#include <stdio.h>
#include <stdlib.h>
#include <SDL/SDL.h>
#include "includes.hpp"
#include "camera.hpp"
#include "mathlib.hpp"
Data Structures | |
class | SDLMANAGER |
SDLMANAGER class. More... | |
Defines | |
#define | SPEED_SLOW |
#define | SPEED |
#define | SPEED_FAST |
#define | QUIT_POLL_MACRO |
Functions | |
void | cleanup (int status, const char *fmt,...) |
Frees all allocated memory. | |
Variables | |
SDL_Surface * | screen |
char | wm_caption_str [300] |
char | wm_caption_str_static [300] |
int | pitch_diff |
int | refresh |
float | fsc_x |
float | fsc_y |
float | fsc_ratio |
float | recip_fsc_ratio |
float | ratio_kipp |
float | recip_fscy |
float | hrecip_fsc_ratio |
float | recip_fscx_ratio |
surf_t | bltsurf |
Camera * | eyecam |
int | do_sezapa |
uint32_t | do_sezapa_toggle |
void cleanup | ( | int | status, | |
const char * | fmt, | |||
... | ||||
) |
Frees all allocated memory.
status | Exit-code for program termination. | |
fmt | String to output before termination. |