-
Notifications
You must be signed in to change notification settings - Fork 2
/
common.h
46 lines (35 loc) · 1.48 KB
/
common.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
/*
Common Includes, compiler settings, types, etc.
This file is part of the Tiny3D framework.
Copyright (C) 2007, Mihail Szabolcs
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program 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.
*/
#ifndef __common_h__
#define __common_h__
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <gl\gl.h>
#include <gl\glu.h>
#include <math.h>
//for old C style I/O
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#pragma comment( lib, "opengl32.lib" )
#pragma comment( lib, "glu32.lib" )
#pragma warning(disable: 4996)
// Make bool available in C too :)
#ifndef __cplusplus
typedef enum { false, true } bool;
#endif
// Winamp SDK
#include "winamp\wa_ipc.h"
#include "winamp\IN2.H"
#endif /* !__common_h__ */