39 lines
1.4 KiB
Plaintext
39 lines
1.4 KiB
Plaintext
#include "../script_component.hpp"
|
|
|
|
if ( !hasInterface ) exitWith {};
|
|
|
|
waitUntil { !isNil QGVARMAIN(complete) };
|
|
|
|
GVAR(recordTitleColor) = "#ff6666";
|
|
GVAR(recordTitleFont) = "PuristaMedium";
|
|
GVAR(recordTitleSize) = 20;
|
|
|
|
GVAR(recordTextHeaderSize) = 16;
|
|
GVAR(recordTextBodySize) = 14;
|
|
|
|
GVAR(subjectStatusID) = "FBCB2_Status";
|
|
GVAR(subjectIntelID) = "FBCB2_Intel";
|
|
GVAR(subjectMessagesID) = "FBCB2_Messages";
|
|
GVAR(subjectFrequenciesID) = "FBCB2_Frequencies";
|
|
GVAR(subjectAssetsFixedWingID) = "FBCB2_Assets_FixedWing";
|
|
GVAR(subjectAssetsRotaryID) = "FBCB2_Assets_Rotary";
|
|
GVAR(subjectAssetsGroundID) = "FBCB2_Assets_Ground";
|
|
|
|
player createDiarySubject[GVAR(subjectStatusID), "FBCB2 Status"];
|
|
player createDiarySubject[GVAR(subjectMessagesID), "FBCB2 Messages"];
|
|
player createDiarySubject[GVAR(subjectIntelID), "FBCB2 Intel"];
|
|
player createDiarySubject[GVAR(subjectFrequenciesID), "FBCB2 Frequencies"];
|
|
player createDiarySubject[GVAR(subjectAssetsFixedWingID), "FBCB2 Planes"];
|
|
player createDiarySubject[GVAR(subjectAssetsRotaryID), "FBCB2 Helicopters"];
|
|
player createDiarySubject[GVAR(subjectAssetsGroundID), "FBCB2 Ground"];
|
|
|
|
// store records in format:
|
|
// [subject, [
|
|
// [title, diaryRecord]
|
|
// ]]
|
|
GVAR(diaryRecords) = createHashMap;
|
|
|
|
// run main inits - assets handled in that component
|
|
[] call FUNC(processFBCB2RadioFrequencies);
|
|
[] call FUNC(processFBCB2SmokeColors);
|
|
[] call FUNC(processFBCB2Environment); |