Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
vegastrike.h
Go to the documentation of this file.
1
/*
2
* Vega Strike
3
* Copyright (C) 2001-2002 Daniel Horn
4
*
5
* This program is free software; you can redistribute it and/or
6
* modify it under the terms of the GNU General Public License
7
* as published by the Free Software Foundation; either version 2
8
* of the License, or (at your option) any later version.
9
*
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License
16
* along with this program; if not, write to the Free Software
17
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18
* Portions of this code from Tux Racer by Jasmin F. Patry www.tuxracer.com
19
*/
20
21
#ifdef __cplusplus
22
#include <assert.h>
23
#endif
24
25
#ifndef _VEGASTRIKE_H_
26
#define _VEGASTRIKE_H_
27
28
#if 0
29
static
const
float
SIMULATION_ATOM
= (
float
) (1.0/10.0);
30
extern
float
simulation_atom_var
;
//not used, just dummy to compile
31
#else
32
extern
float
simulation_atom_var
;
33
#define SIMULATION_ATOM (simulation_atom_var)
34
#endif
35
36
#include "
vs_math.h
"
37
38
#include <stdlib.h>
39
#include <stdio.h>
40
#include <errno.h>
41
#include <time.h>
42
#include <ctype.h>
43
44
#include <string.h>
45
#include <limits.h>
46
#include <stdarg.h>
47
#include "
debug_vs.h
"
48
49
#if defined (WIN32) || defined (__CYGWIN__)
50
/* Note that this will define WIN32 for us, if it isn't defined already
51
*/
52
#ifndef NOMINMAX
53
#define NOMINMAX
54
#endif //tells VCC not to generate min/max macros
55
#include <windows.h>
56
//#include <wingdi.h>
57
#include <time.h>
58
#else
59
#include <sys/time.h>
60
#include <sys/stat.h>
61
#include <unistd.h>
62
//#include "command.h"
63
#endif
/* defined( WIN32 ) || defined( __CYGWIN__ ) */
64
65
#ifndef NO_GFX
66
#if defined (__APPLE__) || defined (MACOSX)
67
#include <OpenGL/gl.h>
68
#include <OpenGL/glu.h>
69
#include <GLUT/glut.h>
70
#else
71
#define __glext_h_
72
#include <GL/gl.h>
73
#include <GL/glu.h>
74
#include <GL/glut.h>
75
#undef __glext_h_
76
#endif
77
#endif
78
79
#define PROG_NAME "vegastrike"
80
81
#define BUFF_LEN 512
82
83
#endif
84
85
#ifdef __cplusplus
86
87
#endif
88
src
vegastrike.h
Generated on Fri May 29 2015 23:07:39 for Vegastrike 0.5.1 rc1 by
1.8.4