/**
* Nitrito 3D
* Created:
* Last Modified: 28/03/06
*/
#ifndef _NITRITO_H_
#define _NITRITO_H_
#include <stdlib.h>
#include <GL/gl.h>
#include <GL/glu.h>
#include <AL/al.h>
#include <AL/alc.h>
#include <AL/alut.h>
#include <SDL/SDL.h>
#include <ode/ode.h>
#include <zzip/zzip.h>
#include <fstream>
#include <string>
#include <sstream>
#include <iostream>
#include <vector>
#include <deque>
#include "misc.h"
#include "input.h"
#include "obj.h"
#include "camera.h"
#include "world.h"
#include "coche.h"
#include "graphics.h"
#include "timer.h"
#include "font.h"
#include "obj.h"
#include "audio.h"
#include "console.h"
#include "editor.h"
#include "menu.h"
#include "race.h"
#include "sdl_rwops_zzip.h"
#define W_CLEAR 0
#define W_FOG 1
#define W_DENSE_FOG 2
#define W_NIGHT 3
#define BOOL bool
#define FALSE 0
#define TRUE 1
#define NVERSION "0.2-sombras"
class Options{
public:
bool done;
int screen_w,screen_h,bpp;
bool fullscreen;
int camera_mode;
int weather;
bool mipmaps;
float gravity;
bool tiempo_bala;
float view_far;
float view_close;
bool joystick;
int audio_rate;
float t_bala_time_speed;
float normal_time_speed;
unsigned int console_max_lines;
int num_coches;
bool motion_blur;
string data_path;
float music_vol;
float sfx_vol;
int texture_quality; // 1- high, 2- medium, 3- low
int shadows;
};
extern World *world;
extern Coche *coche;
extern Camera *cam;
extern Timer timer;
extern ObjLoader LoaderClass;
extern Speaker snd;
extern Options options;
extern Console console;
extern Menu menu;
extern Race race;
extern SDL_Surface *screen;
extern freetype::font_data font;
extern freetype::font_data font_big;
extern freetype::font_data console_font;
extern float gvar_1,gvar_2;
char* add_data_path(string filename);
void game_reset();
#endif