victim = d->original ? d->original : d->character;
const struct channel_type channel_table[] = {
/* channel, outgoing, incoming, min position, blocking flag */
{CHAN_GOSSIP, "gossip", "gossips", POS_SLEEPING, COMM_NOGOSSIP},
{CHAN_AUCTION, "auction", "auctions", POS_DEAD, COMM_NOAUCTION},
{CHAN_QUESTION, "question", "questions", POS_SLEEPING, COMM_NOQUESTION},
{CHAN_ANSWER, "answer", "answers", POS_SLEEPING, COMM_NOQUESTION},
{CHAN_QUOTE, "quote", "quotes", POS_SLEEPING, COMM_NOQUOTE},
{CHAN_GRATS, "grats", "grats", POS_SLEEPING, COMM_NOGRATS},
{CHAN_WIZ, "godspeak", "godspeaks", POS_DEAD, COMM_NOWIZ},
{CHAN_SHOUT, "shout", "shouts", POS_RESTING, COMM_SHOUTSOFF},
{CHAN_TELL, "tell", "tells you", POS_DEAD, COMM_DEAF},
{CHAN_SAY, "say", "says", POS_RESTING, -1},
{CHAN_GROUP, "tell your group", "tells the group", POS_SLEEPING, -1},
{CHAN_CLAN, "clan", "clans", POS_DEAD, COMM_NOCLAN},
{CHAN_YELL, "yell", "yells", POS_RESTING, -1}
};
/*
* Channel types.
*/
#define CHAN_GOSSIP "gossip"
#define CHAN_AUCTION "auction"
#define CHAN_QUESTION "question"
#define CHAN_ANSWER "answer"
#define CHAN_QUOTE "quote"
#define CHAN_GRATS "grats"
#define CHAN_WIZ "immtalk"
#define CHAN_SHOUT "shout"
#define CHAN_TELL "tell"
#define CHAN_REPLY "reply"
#define CHAN_SAY "say"
#define CHAN_GROUP "gtell"
#define CHAN_CLAN "clan"
#define CHAN_YELL "yell"
const struct channel_type channel_table[] = {
/* channel, outgoing, incoming, min position, blocking flag */
{"gossip", "gossip", "gossips", POS_SLEEPING, COMM_NOGOSSIP},
{"auction", "auction", "auctions", POS_DEAD, COMM_NOAUCTION},
{"question", "question", "questions", POS_SLEEPING, COMM_NOQUESTION},
{"answer", "answer", "answers", POS_SLEEPING, COMM_NOQUESTION},
{"quote", "quote", "quotes", POS_SLEEPING, COMM_NOQUOTE},
{"grats", "grats", "grats", POS_SLEEPING, COMM_NOGRATS},
{"immtalk", "godspeak", "godspeaks", POS_DEAD, COMM_NOWIZ},
{"shout", "shout", "shouts", POS_RESTING, COMM_SHOUTSOFF},
{"tell", "tell", "tells you", POS_DEAD, COMM_DEAF},
{"reply", "tell", "tells you", POS_DEAD, COMM_DEAF},
{"say", "say", "says", POS_RESTING, -1},
{"gtell", "tell your group", "tells the group", POS_SLEEPING, -1},
{"clan", "clan", "clans", POS_DEAD, COMM_NOCLAN},
{"yell", "yell", "yells", POS_RESTING, -1}
};
I've checked in the OLC code for both Ice and Fire branches, and I encourage people to find things broken so they can get fixed! There are still UI changes I want to do, but I figured I'd rather get it out the door to everyone than sit on it any longer.
I have NOT checked in the modified area files, since I'm not 100% confident the conversion went correctly yet. The next checkin should do that, but this way you can all try it yourselves and see if it looks right.
I also grabbed the OSX patch, and would ask our resident OSX expert to run this nifty command on his system for me!
gcc -dM -E - < /dev/null
That there will show you all the pre-defined symbols your particular version of gcc has, and if you wade through it, you'll probably find something you can use instead of having to add -DMACOSX by hand. :)
For example, on my system I have both "linux" and "__linux__". I suspect you'll have both a FreeBSD symbol, and an OSX symbol, and maybe even a DARWIN symbol.
See ya'll later!
Oh yeah, I will toss the beastie up on shadowlord.org 2000 again, so people can poke at stuff while I'm idle and try to break things. :)