Example #1
0
static void walk_chars(void)
{
    CHAR_DATA *ch;

    for (ch = first_char; ch; ch = ch->next)
        walk_char_data(ch);
}
Example #2
0
static void walk_descriptor_data(DESCRIPTOR_DATA * d)
{
    if (!d)
        return;

    touch(d->host);
    if ( d->connected != CON_PLAYING )
        walk_char_data (d->character);
}
Example #3
0
static void walk_chars( void )
{
    CHAR_DATA *ch;
    list<CHAR_DATA *>::iterator li;

    for ( li = char_list.begin(); li != char_list.end(); li++ )
    {
        ch = *li;
        walk_char_data( ch );
    }
}