forked from nickzman/skyrocket
-
Notifications
You must be signed in to change notification settings - Fork 0
/
smoke.h
executable file
·54 lines (39 loc) · 1.41 KB
/
smoke.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/*
* Copyright (C) 1999-2005 Terence M. Welsh
*
* This file is part of Skyrocket.
*
* Skyrocket is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* Skyrocket is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SMOKE_H
#define SMOKE_H
/*#include <windows.h>
#include <gl/gl.h>
#include <gl/glu.h>*/
#include <OpenGL/gl.h>
#include <OpenGL/glu.h>
//#include "Skyrocket.h"
#define SMOKETIMES 8
#define WHICHSMOKES 100
/*extern int dSmoke;
extern int dExplosionsmoke;*/
// lifespans for smoke particles
/*extern float smokeTime[SMOKETIMES]; // lifespans of consecutive smoke particles
extern int whichSmoke[WHICHSMOKES]; // table to indicate which particles produce smoke*/
// smoke display lists
//extern unsigned int smokelist[5];
typedef struct SkyrocketSaverSettings;
// Initialize smoke texture objects and display lists
void initSmoke(SkyrocketSaverSettings *inSettings);
#endif // SMOKE_H