Fixed a build problem.
[gljewel.git] / misc.h
blobbef10752793245f19052b59f3b0b956bf453f43e
1 /**
2 * @file misc.h
3 * @brief The interface for miscellaneous stuff.
5 * Copyright 2001, 2008 David Ashley <dashxdr@gmail.com>
6 * Copyright 2008 Stephen M. Webb <stephen.webb@bregmasoft.ca>
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of Version 2 of the GNU General Public License as
10 * published by the Free Software Foundation.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 #ifndef GLJEWEL_MISC_H_
22 #define GLJEWEL_MISC_H_
24 #ifndef DATA_DIR
25 # define DATA_DIR "data"
26 #endif
28 #define PI 3.1415926f
30 void norm2(float *p1,float *p2,float *p3);
32 // sound.c
33 int soundinit(void);
34 void playsound(int);
35 void soundfree(void);
37 #endif /* GLJEWEL_MISC_H_ */