-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.cpp
48 lines (42 loc) · 925 Bytes
/
main.cpp
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
#define _hypot hypot
#include <cmath>
#include <irrlicht.h>
#include <stdlib.h> /* srand, rand */
#include <time.h> /* time */
#include "driverChoice.h"
#include<fstream>
#include<vector>
#include<list>
#include <sstream>
#include <iostream> // std::cout
#include <string> // std::string, std::stod
#if defined(_WIN32) || defined(_WIN64)
#include<direct.h>
#endif
#include "BMApp.h"
#include "constants.h"
#include "Receiver.h"
#include "BathyData.h"
#include "BathyGraph.h"
#include "Graphics.h"
using namespace irr;
using namespace core;
using namespace scene;
using namespace video;
using namespace io;
using namespace gui;
struct SAppContext;
#ifdef _IRR_WINDOWS_
#pragma comment(lib, "Irrlicht.lib")
#endif
int main()
{
BMApp BathyApp;
BathyApp.init();
while (BathyApp.GF.receiver!=NULL && BathyApp.GF.receiver->quitting==false)
{
BathyApp.refresh_app();
}
BathyApp.clear();
return 0;
}