#include <sys/types.h>
#include <sys/time.h>
#include <ctype.h>
#include <errno.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <time.h>
#include <unistd.h>
#include <stdarg.h>
#include "merc.h"
#include "interp.h"
#include "recycle.h"
#include "tables.h"
Include dependency graph for char_creation.c:

Go to the source code of this file.
Functions | |
| void | handle_con_get_eye_color (DESCRIPTOR_DATA *d, char *argument) |
| void | handle_con_get_eye_color2 (DESCRIPTOR_DATA *d) |
|
||||||||||||
|
Definition at line 30 of file char_creation.c. References bug(), close_socket(), MAX_STRING_LENGTH, race_type::name, race_table, and send_to_desc(). 00031 {
00032 char buf[MAX_STRING_LENGTH]; /* this buffer could get big.*/
00033
00034 /*if (argument[0] != NULL)
00035 {
00036 send_to_desc("Eye color set.\n\r",d);
00037 sprintf(buf, "EYE COLOR: %s", argument);
00038 send_to_desc(buf,d);
00039 d->connected = CON_GET_ALIGNMENT;
00040 return;
00041 }*/
00042 if (argument)
00043 {
00044 //if (d->connected2 == CON2_GET_EYE_COLOR)
00045 // handle_con_get_eye_color2(d);
00046
00047
00048 send_to_desc("{wAt this stage of creation, you will be asked several\n\r"
00049 "{wquestions in regard to how your character will look\n\r"
00050 "{win-character. You will be able to put anything you like, but\n\r"
00051 "{wif it is not to the standards of Beyond the Shadows, then it will\n\r"
00052 "{weither be changed for you, or you will be forced to change it.\n\r"
00053 "{wAbuse will {RNOT{w be tolerated with this part of the creation process.\n\r",d);
00054 if (d->character->race == 0)
00055 {
00056 bug("handle_con_get_eye_color attempting to continue without race set.",0);
00057 send_to_desc("You have an invalid character. Please disconnect, and try again.\n\r"
00058 "if this problem persists, please contact an Immortal.\n\r",d);
00059 close_socket(d);
00060 }
00061
00062 sprintf(buf, "\n\r{wYour current race is: %s.\n\r", race_table[d->character->race].name);
00063 send_to_desc(buf,d);
00064
00065 send_to_desc("{wPlease enter the {Reye{w color for your character:",d);
00066
00067 }
00068
00069
00070 }
|
Here is the call graph for this function:

|
|
Definition at line 72 of file char_creation.c. 00073 {
00074 }
|
1.4.0