#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <time.h>
#include <windows.h>
#include <winsock.h>
#include <richedit.h>
#include "NanoMud.h"
#include <assert.h>
Include dependency graph for nanomud-settings.c:

Go to the source code of this file.
Functions | |
| void | CreateSettings (void) |
| void | load_settings () |
| void | save_settings () |
| LRESULT CALLBACK | SettingsProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) |
| void | SetupSettingDialog (void) |
Variables | |
| HWND | dcolour |
| HWND | EA |
| HWND | EB |
| HWND | ECC |
| HWND | EM |
| HWND | EP |
| HWND | EPP |
| HWND | ES |
| HWND | ESS |
| HWND | ESSS |
| HWND | ET |
| HWND | ETL |
| HWND | ETN |
| HWND | EUR |
| HWND | max_buffer |
| HWND | ODS |
| RECT | srect |
| HWND | STS |
| HWND | UMC |
|
|
Definition at line 215 of file nanomud-settings.c. References g_hInst, GiveError(), MudSettings, SettingsProc, SettingsProcedure(), and SetupSettingDialog(). Referenced by WindowProcedure(). 00216 {
00217 if (IsWindow(MudSettings))
00218 return;
00219 MudSettings = CreateWindowEx(WS_EX_TOPMOST ,"Settings","NanoMud Settings", WS_SYSMENU|WS_MINIMIZEBOX,
00220 250,250,360,460,0,0,g_hInst,0);
00221 SettingsProc = (WNDPROC) SetWindowLong(MudSettings, GWL_WNDPROC, (LONG)SettingsProcedure);
00222 ShowWindow(MudSettings, SW_SHOW);
00223 if (!IsWindow(MudSettings))
00224 {
00225 GiveError("Unable to create settings window.",0);
00226 return;
00227 }
00228 SetupSettingDialog();
00229 return;
00230 }
|
Here is the call graph for this function:

|
|
Definition at line 187 of file nanomud-settings.c. References give_term_error(), handle_input(), read_string(), and SETTINGS_FILE. Referenced by WinMain(). 00188 {
00189 FILE *fp;
00190 int ret;
00191 char buf[1000];
00192 char temp[1000];
00193
00194 if ((fp=fopen(SETTINGS_FILE, "r")) == NULL)
00195 {
00196 give_term_error("Unable to open %s settings file for reading. Settings will be defaulted.", SETTINGS_FILE);
00197 return;
00198 }
00199
00200 while ((ret = read_string(temp, fp)) > -1)
00201 {
00202 temp[ret] = '\0';
00203 sprintf(buf, "#setoption %s", temp);
00204 // give_term_debug(buf);
00205
00206 handle_input(buf);
00207 temp[0] = '\0';
00208 buf[0] = '\0';
00209
00210 }
00211
00212 }
|
Here is the call graph for this function:

|
|
Definition at line 134 of file nanomud-settings.c. References session_data::colour, session_data::EnableAliases, session_data::EnableBlinkies, session_data::EnableClientChat, session_data::EnableMacros, session_data::EnablePaths, session_data::EnablePing, session_data::EnableScripts, session_data::EnableSound, session_data::EnableSplashScreen, session_data::EnableTestLogging, session_data::EnableTN, session_data::EnableTriggers, session_data::EnableUsageReports, give_term_error(), session_data::host, session_data::IsBetaTester, session_data::max_buffer, session_data::name, session_data::OptimizeDualScreen, session_data::port, SETTINGS_FILE, session_data::ShowTimeStamps, this_session, and session_data::UseMemoryCompression. Referenced by SettingsProcedure(), and WinMain(). 00135 {
00136 FILE *fp;
00137
00138
00139 if ((fp=fopen(SETTINGS_FILE,"w")) == NULL)
00140 {
00141 give_term_error("Unable to open %s setting file for writing. Settings will not be saved.", SETTINGS_FILE);
00142 return;
00143 }
00144
00145 this_session->UseMemoryCompression = FALSE;
00146 this_session->OptimizeDualScreen = FALSE;
00147 this_session->EnableClientChat = FALSE;
00148 this_session->EnableUsageReports = FALSE;
00149
00150 // write settings
00151 this_session->host = "s002.ns-inf.net";
00152 this_session->port = 23;
00153
00154 fprintf(fp, "name %s\n", this_session->name);
00155 fprintf(fp, "host %s\n", this_session->host);
00156 fprintf(fp, "port %d\n", this_session->port);
00157 fprintf(fp, "colour %d\n", this_session->colour >=1 ? 1 : 0); // BOOL
00158 fprintf(fp, "max_buffer %d\n", (int)this_session->max_buffer);
00159 fprintf(fp, "UseMemoryCompression %d\n", this_session->UseMemoryCompression>=1 ? 1 : 0); //bool
00160 fprintf(fp, "IsBetaTester %d\n", this_session->IsBetaTester>=1 ? 1 : 0); //bool
00161 fprintf(fp, "EnableTestLogging %d\n", this_session->EnableTestLogging>=1 ? 1 : 0); //bool
00162 fprintf(fp, "OptimizeDualScreen %d\n", this_session->OptimizeDualScreen>=1 ? 1 : 0); //bool
00163 fprintf(fp, "EnableScripts %d\n", this_session->EnableScripts>=1 ? 1 : 0); //bool
00164 fprintf(fp, "EnableAliases %d\n", this_session->EnableAliases>=1 ? 1 : 0);//bool
00165 fprintf(fp, "EnableTriggers %d\n", this_session->EnableTriggers>=1 ? 1 : 0);//bool
00166 fprintf(fp, "EnablePaths %d\n", this_session->EnablePaths>=1 ? 1 : 0);//bool
00167 fprintf(fp, "EnableMacros %d\n", this_session->EnableMacros>=1 ? 1 : 0);//bool
00168 fprintf(fp, "EnableSplashScreen %d\n", this_session->EnableSplashScreen>=1 ? 1 : 0);//bool
00169 fprintf(fp, "EnableClientChat %d\n", this_session->EnableClientChat>=1 ? 1 : 0);//bool
00170 fprintf(fp, "EnablePing %d\n", this_session->EnablePing>=1 ? 1 : 0);//bool
00171 fprintf(fp, "EnableUsageReports %d\n", this_session->EnableUsageReports>=1 ? 1 : 0);//bool
00172 fprintf(fp, "EnableBlinkies %d\n", this_session->EnableBlinkies>=1 ? 1 : 0);//bool
00173 fprintf(fp, "EnableSound %d\n", this_session->EnableSound>=1 ? 1 : 0);//bool
00174 fprintf(fp, "EnableTN %d\n", this_session->EnableTN>=1 ? 1 : 0); //bool
00175 fprintf(fp, "ShowTimeStamps %d\n", this_session->ShowTimeStamps>=1 ? 1 : 0); //bool
00176
00177 fclose(fp);
00178
00179
00180
00181 }
|
Here is the call graph for this function:

|
||||||||||||||||||||
|
Definition at line 234 of file nanomud-settings.c. References session_data::colour, dcolour, EA, EB, ECC, EM, session_data::EnableAliases, session_data::EnableBlinkies, session_data::EnableClientChat, session_data::EnableMacros, session_data::EnablePaths, session_data::EnablePing, session_data::EnableScripts, session_data::EnableSound, session_data::EnableSplashScreen, session_data::EnableTestLogging, session_data::EnableTN, session_data::EnableTriggers, session_data::EnableUsageReports, EP, EPP, ES, ESS, ESSS, ET, ETL, ETN, EUR, g_hInst, ID_CONFIG_COLOR, ID_CONFIG_EA, ID_CONFIG_EB, ID_CONFIG_ECC, ID_CONFIG_EM, ID_CONFIG_EP, ID_CONFIG_EPP, ID_CONFIG_ES, ID_CONFIG_ESS, ID_CONFIG_ESSS, ID_CONFIG_ET, ID_CONFIG_ETL, ID_CONFIG_ETN, ID_CONFIG_EUR, ID_CONFIG_ODS, ID_CONFIG_STS, ID_CONFIG_UMC, MudSettings, ODS, session_data::OptimizeDualScreen, save_settings(), session_data::ShowTimeStamps, srect, STS, this_session, UMC, and session_data::UseMemoryCompression. Referenced by CreateSettings(). 00235 {
00236 switch (message)
00237 {
00238 case WM_CREATE:
00239 {
00240
00241
00242 GetClientRect(MudSettings, &srect);
00243 dcolour = CreateWindowEx(WS_EX_WINDOWEDGE , "BUTTON", "Colours On/off",
00244 WS_VISIBLE|WS_CHILD|BS_AUTOCHECKBOX, 10,10,350,20,hwnd,(HMENU)ID_CONFIG_COLOR,g_hInst,0);
00245 ShowWindow(dcolour,SW_SHOW);
00246
00247 UMC = CreateWindowEx(WS_EX_WINDOWEDGE , "BUTTON", "Memory Compression (expiermental) On/off",
00248 WS_VISIBLE|WS_CHILD|BS_AUTOCHECKBOX, 10,30,350,20,hwnd,(HMENU)ID_CONFIG_UMC,g_hInst,0);
00249 ShowWindow(UMC,SW_SHOW);
00250
00251 ETL = CreateWindowEx(WS_EX_WINDOWEDGE , "BUTTON", "Test logging (not recommended) On/off",
00252 WS_VISIBLE|WS_CHILD|BS_AUTOCHECKBOX, 10,50,350,20,hwnd,(HMENU)ID_CONFIG_ETL,g_hInst,0);
00253 ShowWindow(ETL,SW_SHOW);
00254
00255 ODS = CreateWindowEx(WS_EX_WINDOWEDGE , "BUTTON", "Optimise Dualscreen (expiermental) On/off",
00256 WS_VISIBLE|WS_CHILD|BS_AUTOCHECKBOX, 10,70,350,20,hwnd,(HMENU)ID_CONFIG_ODS,g_hInst,0);
00257 ShowWindow(ODS,SW_SHOW);
00258
00259 ES = CreateWindowEx(WS_EX_WINDOWEDGE , "BUTTON", "Use Scripts On/off",
00260 WS_VISIBLE|WS_CHILD|BS_AUTOCHECKBOX, 10,90,350,20,hwnd,(HMENU)ID_CONFIG_ES,g_hInst,0);
00261 ShowWindow(ES,SW_SHOW);
00262
00263 EA = CreateWindowEx(WS_EX_WINDOWEDGE , "BUTTON", "Aliases On/off",
00264 WS_VISIBLE|WS_CHILD|BS_AUTOCHECKBOX, 10,110,350,20,hwnd,(HMENU)ID_CONFIG_EA,g_hInst,0);
00265 ShowWindow(EA,SW_SHOW);
00266
00267 ET = CreateWindowEx(WS_EX_WINDOWEDGE , "BUTTON", "Triggers On/off",
00268 WS_VISIBLE|WS_CHILD|BS_AUTOCHECKBOX, 10,130,350,20,hwnd,(HMENU)ID_CONFIG_ET,g_hInst,0);
00269 ShowWindow(ET,SW_SHOW);
00270
00271 EP = CreateWindowEx(WS_EX_WINDOWEDGE , "BUTTON", "Paths On/off",
00272 WS_VISIBLE|WS_CHILD|BS_AUTOCHECKBOX, 10,150,350,20,hwnd,(HMENU)ID_CONFIG_EP,g_hInst,0);
00273 ShowWindow(EP,SW_SHOW);
00274
00275 EM = CreateWindowEx(WS_EX_WINDOWEDGE , "BUTTON", "Macros On/off",
00276 WS_VISIBLE|WS_CHILD|BS_AUTOCHECKBOX, 10,170,350,20,hwnd,(HMENU)ID_CONFIG_EM,g_hInst,0);
00277 ShowWindow(EM,SW_SHOW);
00278
00279 ESS = CreateWindowEx(WS_EX_WINDOWEDGE , "BUTTON", "SplashScreen On/off",
00280 WS_VISIBLE|WS_CHILD|BS_AUTOCHECKBOX, 10,190,350,20,hwnd,(HMENU)ID_CONFIG_ESS,g_hInst,0);
00281 ShowWindow(ESS,SW_SHOW);
00282
00283 ECC = CreateWindowEx(WS_EX_WINDOWEDGE , "BUTTON", "Client Chat (expiermental) On/off",
00284 WS_VISIBLE|WS_CHILD|BS_AUTOCHECKBOX, 10,210,350,20,hwnd,(HMENU)ID_CONFIG_ECC,g_hInst,0);
00285 ShowWindow(ECC,SW_SHOW);
00286
00287 EPP = CreateWindowEx(WS_EX_WINDOWEDGE , "BUTTON", "Ping On/off",
00288 WS_VISIBLE|WS_CHILD|BS_AUTOCHECKBOX, 10,230,350,20,hwnd,(HMENU)ID_CONFIG_EPP,g_hInst,0);
00289 ShowWindow(EPP,SW_SHOW);
00290
00291
00292 EUR = CreateWindowEx(WS_EX_WINDOWEDGE , "BUTTON", "Usage Reports On/off",
00293 WS_VISIBLE|WS_CHILD|BS_AUTOCHECKBOX, 10,250,350,20,hwnd,(HMENU)ID_CONFIG_EUR,g_hInst,0);
00294 ShowWindow(EUR,SW_SHOW);
00295
00296 EB = CreateWindowEx(WS_EX_WINDOWEDGE , "BUTTON", "Blinkies On/off",
00297 WS_VISIBLE|WS_CHILD|BS_AUTOCHECKBOX, 10,270,350,20,hwnd,(HMENU)ID_CONFIG_EB,g_hInst,0);
00298 ShowWindow(EB,SW_SHOW);
00299
00300 ESSS = CreateWindowEx(WS_EX_WINDOWEDGE , "BUTTON", "Sound On/off",
00301 WS_VISIBLE|WS_CHILD|BS_AUTOCHECKBOX, 10,290,350,20,hwnd,(HMENU)ID_CONFIG_ESSS,g_hInst,0);
00302 ShowWindow(ESSS,SW_SHOW);
00303 STS = CreateWindowEx(WS_EX_WINDOWEDGE , "BUTTON", "Show time stamps on/off",
00304 WS_VISIBLE|WS_CHILD|BS_AUTOCHECKBOX, 10,310,350,20,hwnd,(HMENU)ID_CONFIG_STS,g_hInst,0);
00305 ShowWindow(ESSS,SW_SHOW);
00306
00307
00308 ETN = CreateWindowEx(WS_EX_WINDOWEDGE , "BUTTON", "Telnet Negotiation (expiermental) On/off",
00309 WS_VISIBLE|WS_CHILD|BS_AUTOCHECKBOX, 10,330,350,20,hwnd,(HMENU)ID_CONFIG_ETN,g_hInst,0);
00310 ShowWindow(ETN,SW_SHOW);
00311
00312
00313
00314
00315
00316 }
00317 case WM_COMMAND:
00318 {
00319 switch (LOWORD(wParam))
00320 {
00321 case ID_CONFIG_COLOR:
00322 {
00323 switch (HIWORD(wParam))
00324 {
00325 case BN_CLICKED:
00326 {
00327 if (SendDlgItemMessage(MudSettings, ID_CONFIG_COLOR, BM_GETCHECK, 0, 0))
00328 this_session->colour = 1;
00329 else
00330 this_session->colour = 0;
00331 }
00332 break;
00333
00334 }
00335
00336 }
00337 break;
00338
00339 case ID_CONFIG_UMC:
00340 {
00341 switch (HIWORD(wParam))
00342 {
00343 case BN_CLICKED:
00344 {
00345 if (SendDlgItemMessage(MudSettings, ID_CONFIG_UMC, BM_GETCHECK, 0, 0))
00346 this_session->UseMemoryCompression = 1;
00347 else
00348 this_session->UseMemoryCompression = 0;
00349 }
00350 break;
00351
00352 }
00353
00354 }
00355 break;
00356
00357 case ID_CONFIG_ETL:
00358 {
00359 switch (HIWORD(wParam))
00360 {
00361 case BN_CLICKED:
00362 {
00363 if (SendDlgItemMessage(MudSettings, ID_CONFIG_ETL, BM_GETCHECK, 0, 0))
00364 this_session->EnableTestLogging = 1;
00365 else
00366 this_session->EnableTestLogging = 0;
00367 }
00368 break;
00369
00370 }
00371
00372 }
00373 break;
00374
00375 case ID_CONFIG_ODS:
00376 {
00377 switch (HIWORD(wParam))
00378 {
00379 case BN_CLICKED:
00380 {
00381 if (SendDlgItemMessage(MudSettings, ID_CONFIG_ODS, BM_GETCHECK, 0, 0))
00382 this_session->OptimizeDualScreen = 1;
00383 else
00384 this_session->OptimizeDualScreen = 0;
00385 }
00386 break;
00387
00388 }
00389
00390 }
00391 break;
00392
00393 case ID_CONFIG_ES:
00394 {
00395 switch (HIWORD(wParam))
00396 {
00397 case BN_CLICKED:
00398 {
00399 if (SendDlgItemMessage(MudSettings, ID_CONFIG_ES, BM_GETCHECK, 0, 0))
00400 this_session->EnableScripts = 1;
00401 else
00402 this_session->EnableScripts = 0;
00403 }
00404 break;
00405
00406 }
00407
00408 }
00409 break;
00410
00411 case ID_CONFIG_EA:
00412 {
00413 switch (HIWORD(wParam))
00414 {
00415 case BN_CLICKED:
00416 {
00417 if (SendDlgItemMessage(MudSettings, ID_CONFIG_EA, BM_GETCHECK, 0, 0))
00418 this_session->EnableAliases = 1;
00419 else
00420 this_session->EnableAliases = 0;
00421 }
00422 break;
00423
00424 }
00425
00426 }
00427 break;
00428
00429
00430 case ID_CONFIG_ET:
00431 {
00432 switch (HIWORD(wParam))
00433 {
00434 case BN_CLICKED:
00435 {
00436 if (SendDlgItemMessage(MudSettings, ID_CONFIG_ET, BM_GETCHECK, 0, 0))
00437 this_session->EnableTriggers = 1;
00438 else
00439 this_session->EnableTriggers = 0;
00440 }
00441 break;
00442
00443 }
00444
00445 }
00446 break;
00447
00448 case ID_CONFIG_EP:
00449 {
00450 switch (HIWORD(wParam))
00451 {
00452 case BN_CLICKED:
00453 {
00454 if (SendDlgItemMessage(MudSettings, ID_CONFIG_EP, BM_GETCHECK, 0, 0))
00455 this_session->EnablePaths = 1;
00456 else
00457 this_session->EnablePaths = 0;
00458 }
00459 break;
00460
00461 }
00462
00463 }
00464 break;
00465
00466 case ID_CONFIG_EM:
00467 {
00468 switch (HIWORD(wParam))
00469 {
00470 case BN_CLICKED:
00471 {
00472 if (SendDlgItemMessage(MudSettings, ID_CONFIG_EM, BM_GETCHECK, 0, 0))
00473 this_session->EnableMacros = 1;
00474 else
00475 this_session->EnableMacros = 0;
00476 }
00477 break;
00478
00479 }
00480
00481 }
00482 break;
00483
00484 case ID_CONFIG_ESS:
00485 {
00486 switch (HIWORD(wParam))
00487 {
00488 case BN_CLICKED:
00489 {
00490 if (SendDlgItemMessage(MudSettings, ID_CONFIG_ESS, BM_GETCHECK, 0, 0))
00491 this_session->EnableSplashScreen = 1;
00492 else
00493 this_session->EnableSplashScreen = 0;
00494 }
00495 break;
00496
00497 }
00498
00499 }
00500 break;
00501
00502 case ID_CONFIG_ECC:
00503 {
00504 switch (HIWORD(wParam))
00505 {
00506 case BN_CLICKED:
00507 {
00508 if (SendDlgItemMessage(MudSettings, ID_CONFIG_ECC, BM_GETCHECK, 0, 0))
00509 this_session->EnableClientChat = 1;
00510 else
00511 this_session->EnableClientChat = 0;
00512 }
00513 break;
00514
00515 }
00516
00517 }
00518 break;
00519
00520
00521 case ID_CONFIG_EPP:
00522 {
00523 switch (HIWORD(wParam))
00524 {
00525 case BN_CLICKED:
00526 {
00527 if (SendDlgItemMessage(MudSettings, ID_CONFIG_EPP, BM_GETCHECK, 0, 0))
00528 this_session->EnablePing = 1;
00529 else
00530 this_session->EnablePing = 0;
00531 }
00532 break;
00533
00534 }
00535
00536 }
00537 break;
00538
00539 case ID_CONFIG_EUR:
00540 {
00541 switch (HIWORD(wParam))
00542 {
00543 case BN_CLICKED:
00544 {
00545 if (SendDlgItemMessage(MudSettings, ID_CONFIG_EUR, BM_GETCHECK, 0, 0))
00546 this_session->EnableUsageReports = 1;
00547 else
00548 this_session->EnableUsageReports = 0;
00549 }
00550 break;
00551
00552 }
00553
00554 }
00555 break;
00556
00557 case ID_CONFIG_EB:
00558 {
00559 switch (HIWORD(wParam))
00560 {
00561 case BN_CLICKED:
00562 {
00563 if (SendDlgItemMessage(MudSettings, ID_CONFIG_EB, BM_GETCHECK, 0, 0))
00564 this_session->EnableBlinkies = 1;
00565 else
00566 this_session->EnableBlinkies = 0;
00567 }
00568 break;
00569
00570 }
00571
00572 }
00573 break;
00574
00575 case ID_CONFIG_ESSS:
00576 {
00577 switch (HIWORD(wParam))
00578 {
00579 case BN_CLICKED:
00580 {
00581 if (SendDlgItemMessage(MudSettings, ID_CONFIG_ESSS, BM_GETCHECK, 0, 0))
00582 this_session->EnableSound = 1;
00583 else
00584 this_session->EnableSound = 0;
00585 }
00586 break;
00587
00588 }
00589
00590 }
00591 break;
00592
00593 case ID_CONFIG_ETN:
00594 {
00595 switch (HIWORD(wParam))
00596 {
00597 case BN_CLICKED:
00598 {
00599 if (SendDlgItemMessage(MudSettings, ID_CONFIG_ETN, BM_GETCHECK, 0, 0))
00600 this_session->EnableTN = 1;
00601 else
00602 this_session->EnableTN = 0;
00603 }
00604 break;
00605
00606 }
00607
00608 }
00609 break;
00610
00611 case ID_CONFIG_STS:
00612 {
00613 switch (HIWORD(wParam))
00614 {
00615 case BN_CLICKED:
00616 {
00617 if (SendDlgItemMessage(MudSettings, ID_CONFIG_STS, BM_GETCHECK, 0, 0))
00618 this_session->ShowTimeStamps = 1;
00619 else
00620 this_session->ShowTimeStamps = 0;
00621 }
00622 break;
00623
00624 }
00625
00626 }
00627 break;
00628
00629
00630 }
00631 save_settings();
00632 return 0;
00633 }
00634 break;
00635
00636
00637 default:
00638 return DefWindowProc (hwnd, message, wParam, lParam);
00639 }
00640
00641 return 0;
00642 }
|
Here is the call graph for this function:

|
|
Definition at line 90 of file nanomud-settings.c. References session_data::colour, session_data::EnableAliases, session_data::EnableBlinkies, session_data::EnableClientChat, session_data::EnableMacros, session_data::EnablePaths, session_data::EnablePing, session_data::EnableScripts, session_data::EnableSound, session_data::EnableSplashScreen, session_data::EnableTestLogging, session_data::EnableTN, session_data::EnableTriggers, session_data::EnableUsageReports, ID_CONFIG_COLOR, ID_CONFIG_EA, ID_CONFIG_EB, ID_CONFIG_ECC, ID_CONFIG_EM, ID_CONFIG_EP, ID_CONFIG_EPP, ID_CONFIG_ES, ID_CONFIG_ESS, ID_CONFIG_ESSS, ID_CONFIG_ET, ID_CONFIG_ETL, ID_CONFIG_ETN, ID_CONFIG_EUR, ID_CONFIG_ODS, ID_CONFIG_STS, ID_CONFIG_UMC, MudSettings, session_data::OptimizeDualScreen, session_data::ShowTimeStamps, this_session, and session_data::UseMemoryCompression. Referenced by CreateSettings(). 00091 {
00092
00093 if (this_session->colour == 1)
00094 SendDlgItemMessage(MudSettings, ID_CONFIG_COLOR, BM_CLICK, 0, 0);
00095 if (this_session->UseMemoryCompression == 1)
00096 SendDlgItemMessage(MudSettings, ID_CONFIG_UMC, BM_CLICK,0,0);
00097 if (this_session->EnableTestLogging == 1)
00098 SendDlgItemMessage(MudSettings, ID_CONFIG_ETL, BM_CLICK,0,0);
00099 if (this_session->OptimizeDualScreen == 1)
00100 SendDlgItemMessage(MudSettings, ID_CONFIG_ODS, BM_CLICK,0,0);
00101 if (this_session->EnableScripts == 1)
00102 SendDlgItemMessage(MudSettings, ID_CONFIG_ES, BM_CLICK,0,0);
00103 if (this_session->EnableAliases == 1)
00104 SendDlgItemMessage(MudSettings, ID_CONFIG_EA, BM_CLICK,0,0);
00105 if (this_session->EnableTriggers == 1)
00106 SendDlgItemMessage(MudSettings, ID_CONFIG_ET, BM_CLICK,0,0);
00107 if (this_session->EnablePaths == 1)
00108 SendDlgItemMessage(MudSettings, ID_CONFIG_EP, BM_CLICK,0,0);
00109 if (this_session->EnableMacros == 1)
00110 SendDlgItemMessage(MudSettings, ID_CONFIG_EM, BM_CLICK,0,0);
00111 if (this_session->EnableSplashScreen == 1)
00112 SendDlgItemMessage(MudSettings, ID_CONFIG_ESS, BM_CLICK,0,0);
00113 if (this_session->EnableClientChat == 1)
00114 SendDlgItemMessage(MudSettings, ID_CONFIG_ECC, BM_CLICK,0,0);
00115 if (this_session->EnablePing == 1)
00116 SendDlgItemMessage(MudSettings, ID_CONFIG_EPP, BM_CLICK,0,0);
00117 if (this_session->EnableUsageReports == 1)
00118 SendDlgItemMessage(MudSettings, ID_CONFIG_EUR, BM_CLICK,0,0);
00119 if (this_session->EnableBlinkies == 1)
00120 SendDlgItemMessage(MudSettings, ID_CONFIG_EB, BM_CLICK,0,0);
00121 if (this_session->EnableSound == 1)
00122 SendDlgItemMessage(MudSettings, ID_CONFIG_ESSS, BM_CLICK, 0,0);
00123 if (this_session->EnableTN == 1)
00124 SendDlgItemMessage(MudSettings, ID_CONFIG_ETN, BM_CLICK,0,0);
00125 if (this_session->ShowTimeStamps == 1)
00126 SendDlgItemMessage(MudSettings, ID_CONFIG_STS, BM_CLICK,0,0);
00127
00128
00129
00130
00131 }
|
|
|
Definition at line 70 of file nanomud-settings.c. Referenced by SettingsProcedure(). |
|
|
Definition at line 76 of file nanomud-settings.c. Referenced by SettingsProcedure(). |
|
|
Definition at line 84 of file nanomud-settings.c. Referenced by SettingsProcedure(). |
|
|
Definition at line 81 of file nanomud-settings.c. Referenced by SettingsProcedure(). |
|
|
Definition at line 79 of file nanomud-settings.c. Referenced by SettingsProcedure(). |
|
|
Definition at line 78 of file nanomud-settings.c. Referenced by SettingsProcedure(). |
|
|
Definition at line 82 of file nanomud-settings.c. Referenced by SettingsProcedure(). |
|
|
Definition at line 75 of file nanomud-settings.c. Referenced by SettingsProcedure(). |
|
|
Definition at line 80 of file nanomud-settings.c. Referenced by SettingsProcedure(). |
|
|
Definition at line 85 of file nanomud-settings.c. Referenced by SettingsProcedure(). |
|
|
Definition at line 77 of file nanomud-settings.c. Referenced by SettingsProcedure(). |
|
|
Definition at line 73 of file nanomud-settings.c. Referenced by SettingsProcedure(). |
|
|
Definition at line 86 of file nanomud-settings.c. Referenced by SettingsProcedure(). |
|
|
Definition at line 83 of file nanomud-settings.c. Referenced by SettingsProcedure(). |
|
|
Definition at line 71 of file nanomud-settings.c. |
|
|
Definition at line 74 of file nanomud-settings.c. Referenced by SettingsProcedure(). |
|
|
Definition at line 88 of file nanomud-settings.c. Referenced by GetWindowWrap(), and SettingsProcedure(). |
|
|
Definition at line 87 of file nanomud-settings.c. Referenced by SettingsProcedure(). |
|
|
Definition at line 72 of file nanomud-settings.c. Referenced by SettingsProcedure(). |
1.3.9.1