Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
tintin++ ogg sound player script for linux
Author: Robert Smith
Submitted by: Vladaar
6Dragons ogg Soundpack
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.4
Author: Vladaar
Submitted by: Vladaar
LoP 1.46
Author: Remcon
Submitted by: Remcon
LOP 1.45
Author: Remcon
Submitted by: Remcon
Users Online
CommonCrawl, Google, Yandex, Bing, DotBot

Members: 0
Guests: 17
Stats
Files
Topics
Posts
Members
Newest Member
481
3,739
19,386
621
KellieBusb
Today's Birthdays
Rane (42)
Related Links
» SmaugMuds.org » General » Smaug Snippets » Overland Question
Forum Rules | Mark all | Recent Posts

Overland Question
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Jan 15, 2005, 4:52 pm
Go to the top of the page
Go to the bottom of the page

Travestin

GroupMembers
Posts1
JoinedJan 15, 2005

Im in the middle of adding your overland snippet - I have spent 3 hours or more searching the archives at SML, Gammon, and I remembered your forum - so - with the ch_ret move_char stuff - Im adding 'int direction'

I have located all my functions - but im unclear on what you mean by adding a direction - int = number yes ? do you mean

act_move.c: move_char(ch, get_exit(ch->in_room, DIR_NORTH), 0, North); ? etc for all the calls?

Im still learning so I don't understand the syntax needed.

Thanks in advance.

my grep of move_char below....thanks in advance.

grep move_char *.c *.h
act_move.c: move_char(ch, get_exit(ch->in_room, DIR_DOWN), ++fall);
act_move.c:ch_ret move_char(CHAR_DATA *ch, EXIT_DATA *pexit, int fall, int direction)
act_move.c: retcode = move_char(ch, pexit, 1);
act_move.c: move_char(fch, pexit, 0);
act_move.c: move_char(ch, get_exit(ch->in_room, DIR_NORTH), 0);
act_move.c: move_char(ch, get_exit(ch->in_room, DIR_EAST), 0);
act_move.c: move_char(ch, get_exit(ch->in_room, DIR_SOUTH), 0);
act_move.c: move_char(ch, get_exit(ch->in_room, DIR_WEST), 0);
act_move.c: move_char(ch, get_exit(ch->in_room, DIR_UP), 0);
act_move.c: move_char(ch, get_exit(ch->in_room, DIR_DOWN), 0);
act_move.c: move_char(ch, get_exit(ch->in_room, DIR_NORTHEAST), 0);
act_move.c: move_char(ch, get_exit(ch->in_room, DIR_NORTHWEST), 0);
act_move.c: move_char(ch, get_exit(ch->in_room, DIR_SOUTHEAST), 0);
act_move.c: move_char(ch, get_exit(ch->in_room, DIR_SOUTHWEST), 0);
act_move.c: move_char(ch, pexit, 0);
act_move.c: move_char(ch, pexit, 0);
act_move.c: move_char(ch, pexit, 0);
act_move.c: move_char(ch, pexit, 0);
act_move.c: move_char(ch, pexit, 0);
act_move.c: move_char(ch, pexit, 0);
act_move.c: move_char(ch, pexit, 0);
act_move.c: move_char(ch, pexit, 0);
act_move.c: return move_char(ch, xit, 0);
act_move.c: return move_char(ch, xit, 1);
clans.c: move_char( victim, get_exit(ch->in_room,exit_dir), 0);
clans.c: move_char( victim, get_exit(ch->in_room,exit_dir), 0);
clans.c: move_char( ch, get_exit(ch->in_room,exit_dir), 0);
fight.c: move_char( ch, pexit, 0 );
interp.c: move_char( ch, pexit, 0 );
skills.c: /* reverse direction text from move_char */
special.c: move_char( ch, get_exit( ch->in_room, path[pos] - '0' ), 0 );
track.c: move_char( ch, pexit, FALSE );
update.c: retcode = move_char( ch, pexit, 0 );
update.c: retcode = move_char( ch, pexit, 0 );
update.c: retcode = move_char( ch, pexit, 0 );
mud.h:/* Return types for move_char, damage, greet_trigger, etc, etc
mud.h:ch_ret move_char( CHAR_DATA *ch, EXIT_DATA *pexit, int fall, int direction );
       
Post is unread #2 Aug 25, 2005, 4:35 pm
Go to the top of the page
Go to the bottom of the page

drozel

GroupMembers
Posts1
JoinedAug 22, 2005

I also need to know about this.
       
Pages:<< prev 1 next >>