- Made add_string_to_buf accept a string rather than a char*, and began to take advantage of this.
- Added an operator[] to cParty; I intend to get rid of the ADVEN macro eventually in favour of accessing PCs with the operator - Added using cMonster::operator= to cCreature, because this will be needed once I rearrange these two structures. - Added an operator= to the cPopulation type, so that the "monst.dudes[...]" redundancy can be avoide. - Added outdoors and towns members to the scenario class for future use (they will old all the outdoor sections and towns, respectively, from the current scenario) git-svn-id: http://openexile.googlecode.com/svn/trunk@81 4ebdad44-0ea0-11de-aab3-ff745001d230
This commit is contained in:
@@ -550,7 +550,7 @@ void start_town_mode(short which_town, short entry_dir)
|
||||
|
||||
add_string_to_buf("Now entering:");
|
||||
sprintf ((char *) message, " %-30.30s ",univ.town->town_strs(0));
|
||||
add_string_to_buf((char *) message);
|
||||
add_string_to_buf(message);
|
||||
|
||||
|
||||
// clear entry space, and check exploration
|
||||
|
||||
Reference in New Issue
Block a user