static void UpdateScreenMenuGadgets(int, boolean);
static boolean OfferUploadTapes(void);
+static void execOfferUploadTapes(void);
static struct GadgetInfo *screen_gadget[NUM_SCREEN_GADGETS];
execSetupGame_setNetworkServerText();
+ if (!setup.provide_uploading_tapes)
+ setHideSetupEntry(execOfferUploadTapes);
+
setup_mode = SETUP_MODE_GAME;
DrawSetupScreen();
// after all tapes have been uploaded, remove entry from setup menu
setup.provide_uploading_tapes = FALSE;
- setHideSetupEntry(execOfferUploadTapes);
SaveSetup();
void CheckUploadTapes(void)
{
- if (!setup.provide_uploading_tapes)
- setHideSetupEntry(execOfferUploadTapes);
-
if (!setup.ask_for_uploading_tapes)
return;
{
// if tapes directory does not exist yet, never offer uploading all tapes
setup.provide_uploading_tapes = FALSE;
- setHideSetupEntry(execOfferUploadTapes);
}
// after asking for uploading all tapes once, do not ask again