-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.h
executable file
·52 lines (36 loc) · 876 Bytes
/
main.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
/*
* File: main.h
* Author: scribble
*
* Created on October 25, 2012, 1:17 PM
*/
#ifndef MAIN_H
#define MAIN_H
#include <GL/freeglut.h>
#include <GL/glu.h>
#include "Painter.h"
#include "InputData.h"
#include <boost/thread.hpp>
#include <boost/bind.hpp>
#include <boost/asio.hpp>
//#include "NetworkConnection.h"
#include <cstdlib>
#include "RequestMessage.h"
#include "Sender.h"
#include "NetworkClient.h"
#include <sstream>
Painter *painter;
InputData *inputData;
Sender* sender;
boost::thread getInput;
void glInit (int argc, char** argv);
void resize(int width, int height);
void key(unsigned char key, int x, int y);
void specialKey(int key, int x, int y);
void mouse(int button, int state, int x, int y);
void idle(void);
void display(void);
void close(void);
int main(int argc, char *argv[]);
void mouseCoords(int x, int y);
#endif /* MAIN_H */