Rev 192 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 192 | Rev 193 | ||
|---|---|---|---|
| Line 415... | Line 415... | ||
| 415 | wchar_t password[32]; // password for online gaming |
415 | wchar_t password[32]; // password for online gaming |
| 416 | bool want_servermessages; // set to TRUE if server messages are to be displayed (MOTD, RoboAdmin messages, announcements) |
416 | bool want_servermessages; // set to TRUE if server messages are to be displayed (MOTD, RoboAdmin messages, announcements) |
| 417 | bool want_publicchat; // set to TRUE if public chat messages and chatter channels list are to be displayed |
417 | bool want_publicchat; // set to TRUE if public chat messages and chatter channels list are to be displayed |
| 418 | bool want_motdonconnect; // set to TRUE if the MOTD is to be displayed when connecting to the chess server |
418 | bool want_motdonconnect; // set to TRUE if the MOTD is to be displayed when connecting to the chess server |
| 419 | } networkoptions_t; |
419 | } networkoptions_t; |
| - | 420 | ||
| - | 421 | ||
| - | 422 | // part letter options definition |
|
| - | 423 | typedef struct partletter_s |
|
| - | 424 | { |
|
| - | 425 | wchar_t rook[2]; // e.g. 'R' -- needs to be a string for config read/write. Only the first char is used. |
|
| - | 426 | wchar_t knight[2]; // e.g. 'N' -- needs to be a string for config read/write. Only the first char is used. |
|
| - | 427 | wchar_t bishop[2]; // e.g. 'B' -- needs to be a string for config read/write. Only the first char is used. |
|
| - | 428 | wchar_t queen[2]; // e.g. 'Q' -- needs to be a string for config read/write. Only the first char is used. |
|
| - | 429 | wchar_t king[2]; // e.g. 'K' -- needs to be a string for config read/write. Only the first char is used. |
|
| - | 430 | } partletter_t; |
|
| 420 | 431 | ||
| 421 | 432 | ||
| 422 | // registration options definition |
433 | // registration options definition |
| 423 | typedef struct registrationoptions_s |
434 | typedef struct registrationoptions_s |
| 424 | { |
435 | { |
| Line 439... | Line 450... | ||
| 439 | bool want_slidinganimations; // set to TRUE to enable SLIDING part animations |
450 | bool want_slidinganimations; // set to TRUE to enable SLIDING part animations |
| 440 | bool want_possiblemoves; // set to TRUE to show possible moves |
451 | bool want_possiblemoves; // set to TRUE to show possible moves |
| 441 | bool want_lastmove; // set to TRUE to show the last move |
452 | bool want_lastmove; // set to TRUE to show the last move |
| 442 | bool want_threats; // set to TRUE to display king's threats |
453 | bool want_threats; // set to TRUE to display king's threats |
| 443 | bool want_autorotateon1vs1; // set to TRUE to enable board auto-rotation when playing human vs human locally |
454 | bool want_autorotateon1vs1; // set to TRUE to enable board auto-rotation when playing human vs human locally |
| - | 455 | bool want_playblackside; // set to TRUE if the local player prefers to play the black side (does not apply on local 1 vs 1) |
|
| 444 | bool want_takenparts; // set to TRUE to display the taken parts on the side of the board |
456 | bool want_takenparts; // set to TRUE to display the taken parts on the side of the board |
| 445 | bool want_turn; // set to TRUE to display the current turn |
457 | bool want_turn; // set to TRUE to display the current turn |
| 446 | bool want_clock; // set to TRUE to display a game clock |
458 | bool want_clock; // set to TRUE to display a game clock |
| 447 | unsigned long clock_color; // RGBA color of the game clock |
459 | unsigned long clock_color; // RGBA color of the game clock |
| 448 | bool want_history; // set to TRUE to enable the display of game history |
460 | bool want_history; // set to TRUE to enable the display of game history |
| Line 450... | Line 462... | ||
| 450 | bool want_sepiafilter; // set to TRUE to enable the sepia filter when displaying past moves |
462 | bool want_sepiafilter; // set to TRUE to enable the sepia filter when displaying past moves |
| 451 | bool want_filtering; // set to TRUE to enable texture filtering |
463 | bool want_filtering; // set to TRUE to enable texture filtering |
| 452 | bool want_hiquality; // set to TRUE to enable maximum possible quality filtering |
464 | bool want_hiquality; // set to TRUE to enable maximum possible quality filtering |
| 453 | bool want_reflections; // set to TRUE to enable part reflections |
465 | bool want_reflections; // set to TRUE to enable part reflections |
| 454 | bool want_specularlighting; // set to TRUE to enable specular lighting |
466 | bool want_specularlighting; // set to TRUE to enable specular lighting |
| - | 467 | bool want_startwithtopview; // set to TRUE to always start a game with the top view |
|
| 455 | int rotate_speed; // board rotation speed |
468 | int rotate_speed; // board rotation speed |
| - | 469 | partletter_t part_letters; // part abbreviation letters |
|
| 456 | registrationoptions_t registration; // registration options |
470 | registrationoptions_t registration; // registration options |
| 457 | engineoptions_t engine; // engine options |
471 | engineoptions_t engine; // engine options |
| 458 | networkoptions_t network; // network options |
472 | networkoptions_t network; // network options |
| 459 | } options_t; |
473 | } options_t; |
| 460 | 474 | ||