mirror of
https://github.com/tbamud/tbamud.git
synced 2026-02-23 20:11:44 +01:00
Removal of outdated char_file_u warnings.
Adding of the appropropriate structs to the plrtoascii utility. Incoorporation of changes from old circlemud CVS snapshot this also gives more info on SYSERRors. cleanup of zmalloc language (shit->tmp) PRF_ROOMFLAGS has been renamed to PRF_SHOWVNUMS for clarity. "Deaf" has been changed to "No_shout" in preference_bits, for clarity. Addition of hindex (help index) command. who command added argument -g and -l to check who are grouped (and leaders) toggle has been expanded, and the commands nohassle, holylight, color, buildwalk, syslog and roomflags were moved to toggles. renaming of some vars in dg files (xxx -> dg_xxx) for clarity. set <player> password can now be used by other people than the first implementor - id check removed. fix of a couple of minor bugs: - crash bug related to freeing a pointer twice - ascii pfiles bug. - host was not updated correctly after switch to ascii pfiles. Todo: make "who #-#", "who #-" and "who -#" all work as "who -l #-#" did before Remove redundant commands which are now toggles. Make script variables save to pfile instead of its own file.
This commit is contained in:
@@ -27,7 +27,6 @@
|
||||
|
||||
/* local functions */
|
||||
void build_player_index(void);
|
||||
void save_etext(struct char_data *ch);
|
||||
int sprintascii(char *out, bitvector_t bits);
|
||||
void tag_argument(char *argument, char *tag);
|
||||
void load_affects(FILE *fl, struct char_data *ch);
|
||||
@@ -472,7 +471,7 @@ void save_char(struct char_data * ch)
|
||||
if (ch->desc->host && *ch->desc->host) {
|
||||
if (!GET_HOST(ch))
|
||||
GET_HOST(ch) = strdup(ch->desc->host);
|
||||
else if (GET_HOST(ch) && !strcmp(GET_HOST(ch), ch->desc->host)) {
|
||||
else if (GET_HOST(ch) && strcmp(GET_HOST(ch), ch->desc->host)) {
|
||||
free(GET_HOST(ch));
|
||||
GET_HOST(ch) = strdup(ch->desc->host);
|
||||
}
|
||||
@@ -693,14 +692,6 @@ void save_char(struct char_data * ch)
|
||||
save_player_index();
|
||||
}
|
||||
|
||||
|
||||
|
||||
void save_etext(struct char_data *ch)
|
||||
{
|
||||
/* this will be really cool soon */
|
||||
}
|
||||
|
||||
|
||||
/* Separate a 4-character id tag from the data it precedes */
|
||||
void tag_argument(char *argument, char *tag)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user