-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstdafx.h
51 lines (37 loc) · 1.14 KB
/
stdafx.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
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
#pragma warning(disable: 4305)
#pragma warning(disable: 4244)
#define pi 3.14159265
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
#define _CRT_SECURE_NO_DEPRECATE
#include <windows.h>
#include <GL/gl.h>
#include <GL/glu.h>
#include <GL/glext.h>
#include <iostream>
#include <fstream>
#include <math.h>
#include <time.h>
#include <stdlib.h>
#include <string>
#include <map>
#include <vector>
#include "corona.h"
#include "fmod.h"
using namespace std;
extern HGLRC hRC;
extern HDC hDC;
extern HWND hWND;
extern HINSTANCE hInstance;
extern double tStart, tFinish, tFTime, fps;
extern int fullW, fullH;
extern string errorString;
bool checkExtensions(char *extension); // check for a specific extension
// this function generates points between P0 and P1 using 't' increments
// the result is then applied to P0
void interpolatePos(float *P0, float *P1, float t);
void beginOrtho(int w, int h); // functions to begin and end orthographic projections
void endOrtho();