File tree 7 files changed +9
-30
lines changed
7 files changed +9
-30
lines changed Original file line number Diff line number Diff line change @@ -32,8 +32,8 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/out/bin)
32
32
set (CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR} /out/lib)
33
33
34
34
# Build related options
35
- option (SWIFT_BUILD_SAMPLES "Build samples" OFF )
36
- option (SWIFT_BUILD_UNIT_TESTS "Build unit tests" OFF )
35
+ option (SWIFT_BUILD_SAMPLES "Build samples" ON )
36
+ option (SWIFT_BUILD_UNIT_TESTS "Build unit tests" ON )
37
37
option (SWIFT_BUILD_DOCUMENTATION "Build documentation" ON )
38
38
39
39
cmake_dependent_option(SWIFT_BUILD_FS9_PLUGIN "Build FS9 plugin" ON SWIFT_WIN32 OFF )
Original file line number Diff line number Diff line change @@ -29,11 +29,11 @@ macro(load_vatsim_key)
29
29
set (SWIFT_VATSIM_ID "0" )
30
30
set (SWIFT_VATSIM_KEY "00000000000000000000000000000000" )
31
31
32
- # if(VATSIM_KEY_JSON)
33
- # file(READ ${PROJECT_SOURCE_DIR}/${VATSIM_KEY_JSON} KEY_FILE)
34
- # string(JSON SWIFT_VATSIM_ID GET ${KEY_FILE} vatsim id)
35
- # string(JSON SWIFT_VATSIM_KEY GET ${KEY_FILE} vatsim key)
36
- # endif()
32
+ if (VATSIM_KEY_JSON)
33
+ file (READ ${PROJECT_SOURCE_DIR} /${VATSIM_KEY_JSON} KEY_FILE)
34
+ string (JSON SWIFT_VATSIM_ID GET ${KEY_FILE} vatsim id)
35
+ string (JSON SWIFT_VATSIM_KEY GET ${KEY_FILE} vatsim key)
36
+ endif ()
37
37
endmacro ()
38
38
39
39
function (configure_target_platform)
Original file line number Diff line number Diff line change @@ -404,7 +404,7 @@ namespace swift::gui::components
404
404
ownModelsComp->setSimulator (CSimulatorInfo::msfs2024 (), true );
405
405
});
406
406
}
407
- menuActions.addAction (m_loadActions[5 ], CMenuAction::pathSimulator ());
407
+ menuActions.addAction (m_loadActions[6 ], CMenuAction::pathSimulator ());
408
408
}
409
409
410
410
// with models loaded I allow a refresh reload
Original file line number Diff line number Diff line change @@ -339,25 +339,6 @@ namespace swift::misc::simulation::fscommon
339
339
const QStringList &CFsDirectories::msfs2024SimObjectsExcludeDirectoryPatterns ()
340
340
{
341
341
static const QStringList exclude {
342
- /*
343
- "OneStore/asobo-discovery",
344
- "OneStore/asobo-flight",
345
- "OneStore/asobo-landingchallenge",
346
- "OneStore/asobo-mission",
347
- "OneStore/asobo-tutorials",
348
- "OneStore/asobo-vcockpits",
349
- "OneStore/asobo-simobjects",
350
- "OneStore/asobo-services",
351
- "OneStore/asobo-vcockpits",
352
- "OneStore/asobo-l",
353
- "OneStore/asobo-m",
354
- "OneStore/asobo-vfx",
355
- "OneStore/fs",
356
- "OneStore/esd",
357
- "OneStore/microsoft-airport",
358
- "OneStore/microsoft-bushtrip",
359
- "OneStore/microsoft-discovery",
360
- */
361
342
" landingchallenge" ,
362
343
" tutorials" ,
363
344
Original file line number Diff line number Diff line change @@ -46,4 +46,4 @@ endif()
46
46
if (SWIFT_BUILD_FSX_PLUGIN)
47
47
add_subdirectory (fsx)
48
48
add_subdirectory (fsxconfig)
49
- endif ()
49
+ endif ()
Original file line number Diff line number Diff line change @@ -296,7 +296,6 @@ namespace swift::simplugin::fscommon
296
296
pitchRaw = qRound (std::floor (pitchRaw * angleCorrectionFactor));
297
297
bankRaw = qRound (std::floor (bankRaw * angleCorrectionFactor));
298
298
299
- // TODO TZ: should MSFS2024 use FSUIPC?
300
299
// MSFS has inverted pitch and bank angles
301
300
pitchRaw = ~pitchRaw;
302
301
bankRaw = ~bankRaw;
Original file line number Diff line number Diff line change @@ -425,7 +425,6 @@ namespace swift::simplugin::fsxcommon
425
425
return hr;
426
426
}
427
427
428
- // TODO TZ: are there any changes in MSFS2024 ?
429
428
HRESULT CSimConnectDefinitions::initMSFS2024Transponder (const HANDLE hSimConnect)
430
429
{
431
430
HRESULT hr = s_ok ();
You can’t perform that action at this time.
0 commit comments