Hello List! Just two quick questions.
1. Even though the ROM is technically written in C, and C (as specified AFAIK) does not support default values for function arguments, if I am using a recent version of gcc, can I use default values for function arguments? Sort of the same way I can use // for comments? I want to be able to send a string to the damage() (and subsequently to dam_message()) function to use as an arbitrary attack noun and I do not want to have to find every call to damage() and tack a ', NULL' on the end for all the places I'm still using the attack table/skill table damage noun. I am adding an 'alternate' attack to weapons and I want the damage noun for the attack to be able to be defined/ changed without having to add to the attack table so builders could conceivably make hidden weapons for mobs that allows them to add 'special attacks' easily or to create 'hybrid' type weapons for players, like a short sword that can both slash and stab but I always want the second attack noun to be entered manually (at least right now), this ties into my second question a little. 2. I have extended the number of 'values' on items to ten to make some room for some different sorts of changes. I would like to use the last value (v9) to hold some string, should I put this string in single quotes and read it with fread_word, or can I terminate it with a tilde and read the tenth value as a string with fread_string? Does fread_string start reading from the place the file pointer left off or does it read in an entire line? ie. could I put something like a custom wear-off message in this place or atoi() a number out of it all the same? Thanks for your time! Brian -- ROM mailing list [email protected] Unsubscribe here ->>> http://www.rom.org/cgi-bin/mailman/listinfo/rom

