(Object self)
| 2482 | } |
| 2483 | |
| 2484 | private static void RulesChangeFunc(Object self) { |
| 2485 | // DM |
| 2486 | if (s_rules_box.curvalue == 0) { |
| 2487 | s_maxclients_field.statusbar = null; |
| 2488 | s_startserver_dmoptions_action.statusbar = null; |
| 2489 | } else if (s_rules_box.curvalue == 1) |
| 2490 | // coop // PGM |
| 2491 | { |
| 2492 | s_maxclients_field.statusbar = "4 maximum for cooperative"; |
| 2493 | if (Lib.atoi(s_maxclients_field.buffer.toString()) > 4) |
| 2494 | s_maxclients_field.buffer = new StringBuffer("4"); |
| 2495 | s_startserver_dmoptions_action.statusbar = "N/A for cooperative"; |
| 2496 | } |
| 2497 | // ===== |
| 2498 | // PGM |
| 2499 | // ROGUE GAMES |
| 2500 | else if (FS.Developer_searchpath() == 2) { |
| 2501 | if (s_rules_box.curvalue == 2) // tag |
| 2502 | { |
| 2503 | s_maxclients_field.statusbar = null; |
| 2504 | s_startserver_dmoptions_action.statusbar = null; |
| 2505 | } |
| 2506 | /* |
| 2507 | * else if(s_rules_box.curvalue == 3) // deathball { |
| 2508 | * s_maxclients_field.statusbar = null; |
| 2509 | * s_startserver_dmoptions_action.statusbar = null; } |
| 2510 | */ |
| 2511 | } |
| 2512 | // PGM |
| 2513 | // ===== |
| 2514 | } |
| 2515 | |
| 2516 | private static void StartServerActionFunc(Object self) { |
| 2517 | //char startmap[1024]; |
no test coverage detected