ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/main.C
(Generate patch)

Comparing deliantra/server/server/main.C (file contents):
Revision 1.87 by root, Thu Jan 18 19:32:37 2007 UTC vs.
Revision 1.88 by root, Wed Jan 24 16:36:10 2007 UTC

439 new_draw_info_format (flags, 0, 0, "Cause for this shutdown: %s\n", cause); 439 new_draw_info_format (flags, 0, 0, "Cause for this shutdown: %s\n", cause);
440 440
441 if (make_core) 441 if (make_core)
442 new_draw_info_format (flags, 0, 0, "This is considered a crash, but all maps and players have been saved.\n"); 442 new_draw_info_format (flags, 0, 0, "This is considered a crash, but all maps and players have been saved.\n");
443 else 443 else
444 new_draw_info_format (flags, 0, 0, "This is considered to be a clean shutdown, and all maps and players have been saved.\n"); 444 new_draw_info_format (flags, 0, 0, "This is considered to be a clean shutdown, and all maps and players will be saved now.\n");
445 445
446 new_draw_info_format (flags, 0, 0, "%s\n", CLEANUP_MESSAGE); 446 new_draw_info_format (flags, 0, 0, "%s\n", CLEANUP_MESSAGE);
447 447
448 flush_sockets (); 448 flush_sockets ();
449} 449}
479 { 479 {
480 cleanup_inform (cause, make_core); 480 cleanup_inform (cause, make_core);
481 _exit (1); 481 _exit (1);
482 } 482 }
483 else 483 else
484 {
485 new_draw_info_format (NDI_UNIQUE | NDI_ALL | NDI_GREEN, 0, 0, "Maps and players successfully saved, exiting.\n");
486 new_draw_info_format (NDI_UNIQUE | NDI_ALL | NDI_GREEN, 0, 0, "And again: " CLEANUP_MESSAGE "\n");
487 flush_sockets ();
484 _exit (0); 488 _exit (0);
489 }
485} 490}
486 491
487int 492int
488forbid_play (void) 493forbid_play (void)
489{ 494{

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines