On Tue, Mar 05, 2002 at 03:31:51PM +0000, zeus.net wrote:
> if (short_list) {
- sprintf(buf, "%s[%2d %s] %-12.12s%s%s",
+ sprintf(buf, "%s[%2d %s %s] %-12.12s%s%s",
> (GET_LEVEL(tch) >= LVL_IMMORT ? CCYEL(ch, C_SPR) : ""),
- GET_LEVEL(tch), CLASS_ABBR(tch), GET_NAME(tch),
+ GET_LEVEL(tch), RACE_ABBR(tch), CLASS_ABBR(tch), GET_NAME(tch),
> (GET_LEVEL(tch) >= LVL_IMMORT ? CCNRM(ch, C_SPR) : ""),
> ((!(++num_can_see % 4)) ? "\r\n" : ""));
> send_to_char(buf, ch);
> } else {
> num_can_see++;
> sprintf(buf, "%s[%2d %s] %s %s",
- sprintf(buf, "%s[%2d %s] %-12.12s%s%s",
+ sprintf(buf, "%s[%2d %s %s] %-12.12s%s%s",
> (GET_LEVEL(tch) >= LVL_IMMORT ? CCYEL(ch, C_SPR) : ""),
- GET_LEVEL(tch), CLASS_ABBR(tch), GET_NAME(tch),
+ GET_LEVEL(tch), RACE_ABBR(tch), CLASS_ABBR(tch), GET_NAME(tch),
> GET_LEVEL(tch), CLASS_ABBR(tch), GET_NAME(tch),
Then somewhere else, probably constants.c you make an array of race
abbreviations.
const char *race_abbrevs[] = { "race abbrevs here" };
Somewhere else, add
#define RACE_ABBR(ch) race_abbrevs[(int)GET_RACE(ch)]
> - The Second problem:
> When a player wants to attack, he has to type the whole name
>of the mob. I am not finding where to alter this so that it be
>necessary just to type the first letters of the name of the mob. If
>somebody already altered this and can help me, I am thankful.
See the ftp site.
--
Under the DMCA, I'm allowed to use my computer and the internet to
design, discuss, and improve a thermonuclear weapon, but I can't
use it to watch a DVD while running Linux.
--
+---------------------------------------------------------------+
| FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
| Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
| Newbie List: http://groups.yahoo.com/group/circle-newbies/ |
+---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 06/25/03 PDT