Simulator database for X-Plane
This commit is contained in:
+5
-10
@@ -1,13 +1,5 @@
|
||||
#ifndef GERMANAIRLINESVA_GACONNECTOR_MAIN_H
|
||||
#define GERMANAIRLINESVA_GACONNECTOR_MAIN_H
|
||||
|
||||
#ifdef IBM
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#define _USE_MATH_DEFINES
|
||||
#endif
|
||||
|
||||
#define BUFSIZE 1024
|
||||
#define MD5LEN 16
|
||||
#ifndef GERMANAIRLINESVA_GACONNECTOR_XPLUGIN_MAIN_H
|
||||
#define GERMANAIRLINESVA_GACONNECTOR_XPLUGIN_MAIN_H
|
||||
|
||||
#include "XPLM/XPLMDataAccess.h"
|
||||
#include "XPLM/XPLMGraphics.h"
|
||||
@@ -16,6 +8,9 @@
|
||||
#include "XPLM/XPLMProcessing.h"
|
||||
#include "XPLM/XPLMUtilities.h"
|
||||
|
||||
#include "config.h"
|
||||
#include "makeRwysXP.h"
|
||||
#include "simulatorDatabase.h"
|
||||
#include "websocket.h"
|
||||
|
||||
#include <atomic>
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
#ifndef GERMANAIRLINESVA_GACONNECTOR_XPLUGIN_MAKERWYSXP_H
|
||||
#define GERMANAIRLINESVA_GACONNECTOR_XPLUGIN_MAKERWYSXP_H
|
||||
|
||||
#include <fstream>
|
||||
#include <iostream>
|
||||
#include <map>
|
||||
#include <string>
|
||||
|
||||
#include "gate.h"
|
||||
#include "runway.h"
|
||||
#include "stringExtensions.h"
|
||||
#include "util.h"
|
||||
|
||||
int scan(const char *defaultFile,
|
||||
const char *sceneryPack,
|
||||
const char *logFile,
|
||||
std::map<std::string,
|
||||
std::pair<std::vector<Gate>, std::vector<Runway>>> &airports);
|
||||
|
||||
void makeAirport(
|
||||
const std::string &kind,
|
||||
std::ifstream *infile,
|
||||
std::map<std::string, std::pair<std::vector<Gate>, std::vector<Runway>>>
|
||||
*airports,
|
||||
std::ofstream *logfile);
|
||||
void makeGate15(std::vector<Gate> *gates, std::vector<std::string> fields);
|
||||
void makeRunway(std::vector<Runway> *runways, std::vector<std::string> fields);
|
||||
void makeGate1300(std::vector<Gate> *gates, std::vector<std::string> fields);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user