Publish VCC Plus OSS source distribution for 3.6.2 build 60
This commit is contained in:
commit
c652a5276d
1192 files changed
+272368
No files matched your search
@@ -0,0 +1,20 @@
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
#include <coco.h>
|
||||
#include "mission.h"
|
||||
|
||||
int main(void)
|
||||
{
|
||||
byte key, sector, result;
|
||||
cls(1);
|
||||
printf("MISSION RECORDER\n\n1 SILENT 2 SPEECH\n3 STEREO 4 BOTH\nQ QUIT\nSELECT AUDIO\n");
|
||||
do {
|
||||
key = waitkey(0);
|
||||
if (key == 'Q' || key == 'q') return 0;
|
||||
} while (key < '1' || key > '4');
|
||||
|
||||
result = fly(key - '1', §or);
|
||||
if (result == DISCARDED) printf("FLIGHT DISCARDED\n");
|
||||
if (result == FLIGHT_ERROR) return 1;
|
||||
if (result == RECORDED) return saveReport(sector);
|
||||
return 0;
|
||||
}
|
||||
Reference in new issue
Block a user