|
From: <cro...@li...> - 2005-03-22 01:54:07
|
Module Name: crossfire
Committed By: majorwoo
Date: Tue Mar 22 01:54:01 UTC 2005
Modified Files:
crossfire/server: c_wiz.c
Log Message:
Add's a slight pause to dm's using the hide command to make it look more realistic.
Start of context diffs
Index: crossfire/server/c_wiz.c
diff -c crossfire/server/c_wiz.c:1.59 crossfire/server/c_wiz.c:1.60
*** crossfire/server/c_wiz.c:1.59 Sat Mar 19 22:22:59 2005
--- crossfire/server/c_wiz.c Mon Mar 21 17:54:00 2005
***************
*** 1,6 ****
/*
* static char *rcsid_c_wiz_c =
! * "$Id: c_wiz.c,v 1.59 2005/03/20 06:22:59 mwedel Exp $";
*/
/*
--- 1,6 ----
/*
* static char *rcsid_c_wiz_c =
! * "$Id: c_wiz.c,v 1.60 2005/03/22 01:54:00 majorwoo Exp $";
*/
/*
***************
*** 124,130 ****
"%s has entered the game.",op->name);
if ( !silent_dm )
{
! new_draw_info(NDI_UNIQUE | NDI_ALL | NDI_LT_GREEN, 1, NULL,
"The Dungeon Master has arrived!");
}
}
--- 124,132 ----
"%s has entered the game.",op->name);
if ( !silent_dm )
{
! /*slight delay to make it look like a person doing it*/
! sleep (1);
! new_draw_info(NDI_UNIQUE | NDI_ALL | NDI_LT_GREEN, 1, NULL,
"The Dungeon Master has arrived!");
}
}
***************
*** 135,146 ****
op->map->players--;
if ( !silent_dm )
{
! new_draw_info(NDI_UNIQUE | NDI_ALL | NDI_LT_GREEN, 1, NULL,
"The Dungeon Master is gone..");
}
! new_draw_info_format(NDI_UNIQUE | NDI_ALL | NDI_DK_ORANGE, 5, NULL,
"%s leaves the game.",op->name);
! new_draw_info_format(NDI_UNIQUE | NDI_ALL | NDI_DK_ORANGE, 5, NULL,
"%s left the game.",op->name);
}
}
--- 137,150 ----
op->map->players--;
if ( !silent_dm )
{
! new_draw_info(NDI_UNIQUE | NDI_ALL | NDI_LT_GREEN, 1, NULL,
"The Dungeon Master is gone..");
}
! new_draw_info_format(NDI_UNIQUE | NDI_ALL | NDI_DK_ORANGE, 5, NULL,
"%s leaves the game.",op->name);
! /*slight delay to make it look like a person doing it*/
! sleep (1);
! new_draw_info_format(NDI_UNIQUE | NDI_ALL | NDI_DK_ORANGE, 5, NULL,
"%s left the game.",op->name);
}
}
|