]>
jfr.im git - irc/gameservirc.git/blob - gameserv/configscript.cpp
10 char menu(int page
= 1);
16 outfile
.open("options.h");
19 cerr
<< "Error opening options.h" << endl
;
29 outfile
<< "#define UNREAL" << endl
;
30 outfile
<< "#undef BAHAMUT" << endl
;
31 outfile
<< "#undef P10" << endl
;
34 outfile
<< "#undef UNREAL" << endl
;
35 outfile
<< "#define BAHAMUT" << endl
;
36 outfile
<< "#undef P10" << endl
;
39 outfile
<< "#undef UNREAL" << endl
;
40 outfile
<< "#undef BAHAMUT" << endl
;
41 outfile
<< "#define P10" << endl
;
46 }while (c
== 'Q' || c
== 'q' || (int(c
) < 48) || (int(c
) > 57));
54 outfile
<< "#define DEBUGMODE" << endl
;
58 outfile
<< "#undef DEBUGMODE" << endl
;
63 }while (c
!= 'y' && c
!= 'Y' && c
!= 'n' && c
!= 'N');
74 cout
<< "Do you want to enable debug mode? (Y/N): ";
78 cout
<< "Choose your IRCD" << endl
;
79 cout
<< "1. Unreal3.x" << endl
80 << "2. bahamut-1.4.x" << endl
81 << "3. ircu 2.10.x (P10)" << endl
;
82 cout
<< "Make your selection: ";