git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1743 c06c8d41-db1a-0410-9941-cceddc491573
DBGS3HXMW24VO5GBITT3UI2ZNIISUXUHAEAYUI52QPUT7IO46ITQC KFZYPFHHOWRUZEK2PW26EI73Z6I6DLHW2YEJV2CB5XBWFRRNBFXQC RPOZZWKG5GLPHVZZ7ZKMKS64ZMV2LDCQSARBJFJ6FZOTOKCQO7FAC K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC 7NDXS36TE7QVXTXJWMYSVG5UHCCLPIO4VL6NXFGTDK3ZNKE3A2IAC IHIJSWVOONSTA2WCHKW3YKBLETUQECFVBVLMET5SGQZ4C6U3GCUQC 77H4BWWPPGLM3PLZH4QTAJRXIZTSDVNCOKZE223I437FN2UJ34RQC {const char *line;int j = 0;clrscr();// BCR - Set to screen length - 1 to display the "more" stringint moreLength = (get_number_of_lines() - 1) * 2;for (int i = 0; i < 500; i++){line = wizard_string( i );if (strlen( line ) != 0){// BCR - If we've reached the end of the screen, clearif (j == moreLength){gotoxy(2, j / 2 + 1);cprintf("More...");getch();clrscr();j = 0;}gotoxy( ((j % 2) ? 40 : 2), ((j / 2) + 1) );cprintf( "%s", line );j++;}}getch();return;} // end list_commands()static const char *wizard_string( int i )
return((i == 10) ? "a : acquirement" :(i == 13) ? "A : set all skills to level" :(i == 15) ? "b : controlled blink" :(i == 20) ? "B : banish yourself to the Abyss" :(i == 25) ? "c : card effect" :(i == 30) ? "g : add a skill" :(i == 35) ? "G : remove all monsters" :(i == 40) ? "h/H : heal yourself (super-Heal)" :(i == 50) ? "i/I : identify/unidentify inventory":(i == 70) ? "l : make entrance to labyrinth" :(i == 80) ? "m/M : create monster by number/name":(i == 90) ? "o/% : create an object" :(i == 100) ? "p : make entrance to pandemonium" :(i == 110) ? "x : gain an experience level" :(i == 115) ? "r : change character's species" :(i == 120) ? "s : gain 20000 skill points" :(i == 130) ? "S : set skill to level" :(i == 140) ? "t : tweak object properties" :(i == 145) ? "T : make a trap" :(i == 150) ? "X : Receive a gift from Xom" :(i == 160) ? "z/Z : cast any spell by number/name":(i == 200) ? "$ : get 1000 gold" :(i == 210) ? "</> : create up/down staircase" :(i == 220) ? "u/d : shift up/down one level" :(i == 230) ? "~/\" : goto a level" :(i == 240) ? "( : create a feature" :(i == 250) ? "] : get a mutation" :(i == 260) ? "[ : get a demonspawn mutation" :(i == 270) ? ": : find branch" :(i == 280) ? "{ : magic mapping" :(i == 290) ? "^ : gain piety" :(i == 300) ? "_ : gain religion" :(i == 310) ? "\' : list items" :(i == 320) ? "? : list wizard commands" :(i == 330) ? "| : acquire all unrand artefacts" :(i == 340) ? "+ : turn item into random artefact" :(i == 350) ? "= : sum skill points" :(i == 360) ? "@ : set stats": "");
// 2 columnscolumn_composer cols(2, 43);// Page size is number of lines - one line for --more-- prompt.cols.set_pagesize(get_number_of_lines());
#elsereturn ("");
cols.add_formatted(0,"a : acquirement\n""A : set all skills to level\n""b : controlled blink\n""B : banish yourself to the Abyss\n""c : card effect\n""g : add a skill\n""G : banish all monsters\n""Ctrl-G : save ghost (bones file)\n""f : player combat damage stats\n""F : combat stats with fsim_kit\n""Ctrl-F : combat stats (monster vs PC)\n""h/H : heal yourself (super-Heal)\n""i/I : identify/unidentify inventory\n""l : make entrance to labyrinth\n""m/M : create monster by number/name\n""o/% : create an object\n""p : make entrance to pandemonium\n""x : gain an experience level\n""r : change character's species\n""s : gain 20000 skill points\n""S : set skill to level\n""t : tweak object properties\n",true, true);cols.add_formatted(1,"T : make a trap\n""v : show gold value of an item\n""X : make Xom do something now\n""z/Z : cast spell by number/name\n""$ : get 1000 gold\n""</> : create up/down staircase\n""u/d : shift up/down one level\n""~/\" : go to a specific level\n""(/) : make feature by number/name\n""] : get a mutation\n""[ : get a demonspawn mutation\n"": : find branches in the dungeon\n""{ : magic mapping\n""^ : gain piety\n""_ : gain religion\n""' : list items\n""? : list wizard commands\n""| : make unrand/fixed artefacts\n""+ : make randart from item\n""= : sum skill points\n""@ : set Str Int Dex\n""\\ : make a shop\n",true, true);show_keyhelp_menu(cols.formatted_lines(), false, true);