Start on Logbook
This commit is contained in:
1 parent
2bda541bce
commit
8b9f5d0406
15 files changed
+450
-223
No files matched your search
@@ -12,8 +12,6 @@
|
||||
#include "gate.h"
|
||||
#include "runway.h"
|
||||
|
||||
#define CURRENT_VERSION 1
|
||||
|
||||
/*
|
||||
* Header
|
||||
*
|
||||
@@ -41,8 +39,8 @@ namespace germanairlinesva_simdata
|
||||
std::uint8_t null = 0;
|
||||
std::ofstream out(file, std::fstream::binary);
|
||||
|
||||
// File Header
|
||||
std::uint8_t header[] = {'V', 'G', 'A', 'S', 0, CURRENT_VERSION};
|
||||
// File Header, Last member is version
|
||||
std::uint8_t header[] = {'V', 'G', 'A', 'S', '\0', 1};
|
||||
out.write(reinterpret_cast<const char *>(header), 6);
|
||||
// Num Airports
|
||||
std::uint16_t numAirports = airports.size();
|
||||
|
||||
Reference in new issue
Block a user