counted as a valid property. (Fixes 2393950)
Wrap FAQ questions longer than a line.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7985 c06c8d41-db1a-0410-9941-cceddc491573
SQEDRNEA7TOPFLWDDPQ65BJDOZAARVFHNMCWQG2SWDXP4W5Z3CLAC
SPHN5DIPTNL37IGJYHPYPYFCEITPTKJEIF5E2ITBYMM4LZRTXUBQC
QO5ZJWQ3JK3PEGBPTQSAYIPEJEHG2M2KTD74227G5VG7DVXUL3BQC
RW3H34H6MQOI3CW4ILNH3VXRKQY73KIUGZKGDQDXPGGB5D6N4RFAC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
EJKHYV2Z6UPRVYUAL4WRW33GBNHYBFPMPA57HMBX2LQKXHIUO5VQC
PHBACPMH3F34GODHVDKNCMXWU373RJQGVTDLBFCCDLLWDXVYOLTAC
BTO5WE4OEK64DZQVNYLOESM74KKQNE7KSNMQVF5UDB26OBKP7ORQC
ZMYKMHWEU26FOUTD26Q4GTAZMI6RNO3K6NHQ2VGTESE3E73GQVCQC
46MRRHVYJ3BS74R2BEVUWEWJCI4FCRBSLZ3NWMQCE6FUCNE5P73QC
KU5FY6KSLTGH44KEZT4SFANRKCTWCQC7VABCMNYJRZNJSYSOXAKQC
XI7X6SNTHG67D4NQWM75HWB6TVRXVFDPGNSQLTXN6JAZBZIVZXIQC
FWNNTOEERPUKXPE4OC52UABFZLKIU3O5GRNNLDK4QI4HR2IOU36QC
SN3VSV7G6NF6NLX5E47QJQQFDIPC2LQUUYGZMH6AWBF3FOUHXCBQC
36DYXIWAQTBOCZBCUPYWDKAXVWDU3TRMSM3OCQZGGMWE2KPERJMAC
X3ZYEJMCHJC27L6YT2NRYB6EN2T3XFRJNUENVHGRPBUKMTVHAGVQC
&& (brand == SPWPN_DRAINING || brand == SPWPN_PAIN
|| brand == SPWPN_VAMPIRICISM
|| randart_wpn_property(item, RAP_CURSED) != 0))
&& (brand == SPWPN_DRAINING || brand == SPWPN_PAIN
|| brand == SPWPN_VAMPIRICISM
|| randart_wpn_property(item, RAP_CURSED) != 0))
// This can't be right. random2(boolean) == 0, always. (jpeg)
// bool done_powers = (random2(12 < power_level));
// This used to be: bool done_powers = (random2(12 < power_level));
// ... which can't be right. random2(boolean) == 0, always.
// So it's probably more along the lines of... (jpeg)
// bool done_powers = (random2(12) < power_level);
There certainly is! You can play "trunk" (what will eventually become the next version) online on http://crawl.develz.org/trunk/, or you can download it from the same site. Note that trunk may be buggy, and that many changes will invalidate your saved games. If that doesn't bother you, go ahead and play. Be sure to leave some feedback/suggestions/bug reports on the Sourceforge trackers.
There certainly is! You can play "trunk" (what will eventually become the next version) online on http://crawl.develz.org, or you can download it from the same site. Note that trunk may be buggy, and that many changes will invalidate your saved games. If that doesn't bother you, go ahead and play. Be sure to leave some feedback/suggestions/bug reports on the Sourceforge trackers.
If you play online on http://crawl.akrasiac.org/ or http://crawl.develz.org/trunk/ you can watch games in progress, other players can watch you while you play, and you can kill other players' ghosts. You can even send and receive messages.
If you play online on http://crawl.akrasiac.org/ or http://crawl.develz.org you can watch games in progress, other players can watch you while you play, and you can kill other players' ghosts. You can even send and receive messages.
Q:tiles graphics
Is there a way for me to replace some of the tiles with different ones?
%%%%
A:tiles graphics
Not without compiling, no. If you can compile (or get someone to do it for you), either directly replace the tiles in the rltiles/ folder, or change the paths in the dc-xxxx.txt files. You may also need to delete or rename the *.png files in rltiles/. Upon compilation, the newly rolled *.png files are copied into the dat/tiles/ folder which is where the game accesses the tiles it needs.
%%%%
Q:tiles options
Is there a way to modify the size of the tiles screen, the font etc?
%%%%
A:tiles options
Yes. Play around with the options in settings/tiles_options.txt until you're satisfied.
%%%%
Menu FAQmenu(MF_SINGLESELECT | MF_ANYPRINTABLE | MF_ALLOW_FORMATTING
| MF_ALWAYS_SHOW_MORE);
FAQmenu.set_more(formatted_string::parse_string("Choose a question!"));
Menu FAQmenu(MF_SINGLESELECT | MF_ANYPRINTABLE | MF_ALLOW_FORMATTING);
// FAQmenu.set_more(formatted_string::parse_string("Choose a question!"));
MenuEntry *me = new MenuEntry(getFAQ_Question(question_keys[i]),
MEL_ITEM, 1, letter);
std::string question = getFAQ_Question(question_keys[i]);
// Wraparound if the question is longer than fits into a line.
linebreak_string2(question, width - 4);
std::vector<formatted_string> fss;
formatted_string::parse_string_to_multiple(question, fss);
me->data = (void*) &question_keys[i];
FAQmenu.add_entry(me);
MenuEntry *me;
for (unsigned int j = 0; j < fss.size(); j++)
{
if (j == 0)
{
me = new MenuEntry(question, MEL_ITEM, 1, letter);
me->data = (void*) &question_keys[i];
}
else
{
question = " " + fss[j].tostring();
me = new MenuEntry(question, MEL_ITEM, 1);
}
FAQmenu.add_entry(me);
}