84 lines
2.4 KiB
C
84 lines
2.4 KiB
C
#ifndef GERMANAIRLINESVA_UTILITIES_CONSTANTS_H
|
|
#define GERMANAIRLINESVA_UTILITIES_CONSTANTS_H
|
|
|
|
#ifdef XP
|
|
#define BASE_DIRECTORY "Resources/plugins/GAConnector/"
|
|
#else
|
|
#define BASE_DIRECTORY "./"
|
|
|
|
#define APP_ICON 1
|
|
#define TRAY_ICON_ID 0xAFFE
|
|
#define TRAY_MESSAGE 0xAFFE
|
|
#define WINDOW_CLASS "GermanAirlinesVA_GAConnector"
|
|
#define SIMCONNECT_MESSAGE 0xAFFF
|
|
|
|
#define VER_FILEVERSION 1, 0, 0, 15
|
|
#define VER_FILEVERSION_STR "1.0.0.15\0"
|
|
#define VER_PRODUCTVERSION 1, 0, 0, 0
|
|
#define VER_PRODUCTVERSION_STR "1.0\0"
|
|
#ifndef DEBUG
|
|
#define VER_DEBUG 0
|
|
#else
|
|
#define VER_DEBUG VS_FF_DEBUG
|
|
#endif
|
|
|
|
#define VER_COMPANY_NAME "German Airlines VA"
|
|
#define VER_FILE_DESCRIPTION "Verbindet den Simulator mit der GA"
|
|
#define VER_INTERNAL_NAME "GA Connector"
|
|
#define VER_LEGAL_COPYRIGHT "2022 German Airlines VA"
|
|
#define VER_ORIGINAL_FILE_NAME "GA Connector.exe"
|
|
#define VER_PRODUCT_NAME "GA Connector"
|
|
#endif
|
|
|
|
#define XPLANE_CUSTOM_SCENERY "Custom Scenery/scenery_packs.ini"
|
|
#define XPLANE11_BASE_SCENERY \
|
|
"Resources/default scenery/default apt dat/Earth nav data/apt.dat"
|
|
#define XPLANE12_BASE_SCENERY \
|
|
"Global Scenery/Global Airports/Earth nav data/apt.dat"
|
|
|
|
#define MAKERWYS_R5 "r5.csv"
|
|
#define MAKERWYS_G5 "g5.csv"
|
|
|
|
#define RECORDING_DIRECTORY "recordings/"
|
|
|
|
#define CONFIG "config.cfg"
|
|
#define SIMDATABASE "sim.bin"
|
|
#define LOGBOOK "logbook.bin"
|
|
|
|
#define LOGBOOK_HEADER "VGAL"
|
|
#define RECORDING_HEADER "VGAR"
|
|
#define SIMDATABASE_HEADER "VGAS"
|
|
|
|
#define FSX_PREFIX "fsx_"
|
|
#define FSXSE_PREFIX "fsxse_"
|
|
#define P3D3_PREFIX "p3d3_"
|
|
#define P3D4_PREFIX "p3d4_"
|
|
#define P3D5_PREFIX "p3d5_"
|
|
#define MSFS_PREFIX "msfs_"
|
|
|
|
#define FSX_VERSION 10
|
|
#define FSXSE_VERSION 101
|
|
#define P3D3_VERSION 3
|
|
#define P3D4_VERSION 4
|
|
#define P3D5_VERSION 5
|
|
#define MSFS_VERSION 11
|
|
|
|
#define FSX_SCENERY "\\Microsoft\\FSX\\scenery.cfg"
|
|
#define FSXSE_SCENERY "\\Microsoft\\FSX-SE\\scenery.cfg"
|
|
#define P3D3_SCENREY "\\Lockheed Martin\\Prepar3D V3\\scenery.cfg"
|
|
#define P3D4_SCENREY "\\Lockheed Martin\\Prepar3D V4\\scenery.cfg"
|
|
#define P3D5_SCENREY "\\Lockheed Martin\\Prepar3D V5\\scenery.cfg"
|
|
|
|
// Not supported
|
|
#define FSXRTM_SUBVERSION 60905
|
|
#define FSSXSP1_SUBVERRSION 61242
|
|
// Supported
|
|
#define FSXSP2_SUBVERSION 61259
|
|
#define FSXACC_SUBVERSION 61472
|
|
#define FSXGOLD_SUBVERSION 61637
|
|
// Must be differentiated due to SxS Install
|
|
#define FSXSE_SUBVERSION 62615
|
|
|
|
#define WEBSOCKET_ADDRESS "wss://ws.hofmannnet.myhome-server.de:8000"
|
|
|
|
#endif |