version 1.2 | | version 1.3 |
---|
| | |
/*
| | /*
|
* static char *rcsid_quest_c =
| | * static char *rcsid_quest_c =
|
* "$Id: quest.c,v 1.2 2005/08/12 08:18:59 ryo_saeba Exp $";
| | * "$Id: quest.c,v 1.3 2005/08/12 13:46:34 ryo_saeba Exp $"; |
*/
| | */
|
| |
|
/*
| | /*
|
| | |
| |
|
static int quest_has_end( object* marker, object* pl )
| | static int quest_has_end( object* marker, object* pl )
|
{
| | {
|
char* start;
| | const char* start; |
char* end;
| | const char* end; |
object* item;
| | object* item;
|
start = marker->slaying + strlen( QUEST_START );
| | start = marker->slaying + strlen( QUEST_START );
|
end = strrchr( start, ' ' );
| | end = strrchr( start, ' ' );
|
| | |
{
| | {
|
static char buf[ 2 ][ MAX_BUF ];
| | static char buf[ 2 ][ MAX_BUF ];
|
static int index_buf = 0;
| | static int index_buf = 0;
|
char *start, *end;
| | const char *start, *end; |
| |
|
start = strchr( marker->slaying, ' ' );
| | start = strchr( marker->slaying, ' ' );
|
end = strrchr( marker->slaying, ' ' );
| | end = strrchr( marker->slaying, ' ' );
|