Subversion Repositories Games.Chess Giants

Rev

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

Rev 2 Rev 14
Line 375... Line 375...
375
   wchar_t password[32]; // password for online gaming
375
   wchar_t password[32]; // password for online gaming
376
   bool want_servermessages; // set to TRUE if server messages are to be displayed (MOTD, RoboAdmin messages, announcements)
376
   bool want_servermessages; // set to TRUE if server messages are to be displayed (MOTD, RoboAdmin messages, announcements)
377
   bool want_publicchat; // set to TRUE if public chat messages and chatter channels list are to be displayed
377
   bool want_publicchat; // set to TRUE if public chat messages and chatter channels list are to be displayed
378
   bool want_motdonconnect; // set to TRUE if the MOTD is to be displayed when connecting to the chess server
378
   bool want_motdonconnect; // set to TRUE if the MOTD is to be displayed when connecting to the chess server
379
} networkoptions_t;
379
} networkoptions_t;
-
 
380
 
-
 
381
 
-
 
382
// registration options definition
-
 
383
typedef struct registrationoptions_s
-
 
384
{
-
 
385
   wchar_t user_email[MAX_PATH]; // registered user's email address
-
 
386
   unsigned long activation_code; // registered user's activation code
-
 
387
} registrationoptions_t;
380
 
388
 
381
 
389
 
382
// game options definition
390
// game options definition
383
typedef struct options_s
391
typedef struct options_s
384
{
392
{
Line 401... Line 409...
401
   bool want_filtering; // set to TRUE to enable texture filtering
409
   bool want_filtering; // set to TRUE to enable texture filtering
402
   bool want_hiquality; // set to TRUE to enable maximum possible quality filtering
410
   bool want_hiquality; // set to TRUE to enable maximum possible quality filtering
403
   bool want_reflections; // set to TRUE to enable part reflections
411
   bool want_reflections; // set to TRUE to enable part reflections
404
   bool want_specularlighting; // set to TRUE to enable specular lighting
412
   bool want_specularlighting; // set to TRUE to enable specular lighting
405
   int rotate_speed; // board rotation speed
413
   int rotate_speed; // board rotation speed
-
 
414
   registrationoptions_t registration; // registration options
406
   engineoptions_t engine; // engine options
415
   engineoptions_t engine; // engine options
407
   networkoptions_t network; // network options
416
   networkoptions_t network; // network options
408
} options_t;
417
} options_t;
409
 
418
 
410
 
419
 
Line 554... Line 563...
554
#ifndef DEFINE_GLOBALS
563
#ifndef DEFINE_GLOBALS
555
#define GLOBAL extern
564
#define GLOBAL extern
556
#else
565
#else
557
#define GLOBAL
566
#define GLOBAL
558
#endif
567
#endif
-
 
568
GLOBAL bool is_registered;
559
GLOBAL bool terminate_everything;
569
GLOBAL bool terminate_everything;
560
GLOBAL HINSTANCE hAppInstance;
570
GLOBAL HINSTANCE hAppInstance;
561
GLOBAL wchar_t app_path[MAX_PATH];
571
GLOBAL wchar_t app_path[MAX_PATH];
562
GLOBAL wchar_t os_language[64];
572
GLOBAL wchar_t os_language[64];
563
GLOBAL wchar_t load_pathname[MAX_PATH];
573
GLOBAL wchar_t load_pathname[MAX_PATH];