Subversion Repositories Games.Chess Giants

Rev

Rev 172 | Rev 179 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 172 Rev 175
Line 70... Line 70...
70
#ifdef NO_REGISTRATION
70
#ifdef NO_REGISTRATION
71
   is_registered = true;
71
   is_registered = true;
72
   want_framerate = true; // display framerate in debug mode
72
   want_framerate = true; // display framerate in debug mode
73
#else // !NO_REGISTRATION
73
#else // !NO_REGISTRATION
74
   is_registered = false;
74
   is_registered = false;
-
 
75
   dont_nag = false;
75
   want_framerate = false; // release mode, don't display framerate
76
   want_framerate = false; // release mode, don't display framerate
76
#endif // NO_REGISTRATION
77
#endif // NO_REGISTRATION
77
   is_dialogbox_displayed = false;
78
   is_dialogbox_displayed = false;
78
   is_dialogbox_about_validated = false;
79
   is_dialogbox_about_validated = false;
79
   is_dialogbox_challenge_validated = false;
80
   is_dialogbox_challenge_validated = false;
Line 474... Line 475...
474
   // destroy the application menu object
475
   // destroy the application menu object
475
   if (IsMenu (hMainMenu))
476
   if (IsMenu (hMainMenu))
476
      DestroyMenu (hMainMenu);
477
      DestroyMenu (hMainMenu);
477
   hMainMenu = NULL;
478
   hMainMenu = NULL;
478
 
479
 
479
   // are we not registered yet ?
480
   // are we not registered yet AND have we NOT been told to don't nag?
480
#ifndef NO_REGISTRATION
481
#ifndef NO_REGISTRATION
481
   if (!is_registered)
482
   if (!is_registered && !dont_nag)
482
      DialogBox_Registration ();
483
      DialogBox_Registration ();
483
#endif // !NO_REGISTRATION
484
#endif // !NO_REGISTRATION
484
 
485
 
485
   // save configuration data
486
   // save configuration data
486
   Config_Save ();
487
   Config_Save ();