Start on Logbook
This commit is contained in:
@@ -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