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

Comparing deliantra/server/common/readable.C (file contents):
Revision 1.50 by root, Sat Oct 24 00:43:30 2009 UTC vs.
Revision 1.51 by root, Fri Nov 6 13:03:34 2009 UTC

497 /*subtype 50 */ {MSG_TYPE_MONUMENT, MSG_TYPE_MONUMENT_GRAVESTONE_3, "readable-monument-gravestone-3"}, 497 /*subtype 50 */ {MSG_TYPE_MONUMENT, MSG_TYPE_MONUMENT_GRAVESTONE_3, "readable-monument-gravestone-3"},
498 {MSG_TYPE_MONUMENT, MSG_TYPE_MONUMENT_WALL_1, "readable-monument-wall-1"}, 498 {MSG_TYPE_MONUMENT, MSG_TYPE_MONUMENT_WALL_1, "readable-monument-wall-1"},
499 {MSG_TYPE_MONUMENT, MSG_TYPE_MONUMENT_WALL_2, "readable-monument-wall-2"}, 499 {MSG_TYPE_MONUMENT, MSG_TYPE_MONUMENT_WALL_2, "readable-monument-wall-2"},
500 {MSG_TYPE_MONUMENT, MSG_TYPE_MONUMENT_WALL_3, "readable-monument-wall-3"} 500 {MSG_TYPE_MONUMENT, MSG_TYPE_MONUMENT_WALL_3, "readable-monument-wall-3"}
501}; 501};
502int last_readable_subtype = sizeof (readable_message_types) / sizeof (readable_message_type); 502static int last_readable_subtype = sizeof (readable_message_types) / sizeof (readable_message_type);
503 503
504static int max_titles[6] = { 504static int max_titles[6] = {
505 ((sizeof (light_book_name) / sizeof (char *)) + (sizeof (heavy_book_name) / sizeof (char *))) * (sizeof (book_author) / sizeof (char *)), 505 ((sizeof (light_book_name) / sizeof (char *)) + (sizeof (heavy_book_name) / sizeof (char *))) * (sizeof (book_author) / sizeof (char *)),
506 (sizeof (mon_book_name) / sizeof (char *)) * (sizeof (mon_author) / sizeof (char *)), 506 (sizeof (mon_book_name) / sizeof (char *)) * (sizeof (mon_author) / sizeof (char *)),
507 (sizeof (art_book_name) / sizeof (char *)) * (sizeof (art_author) / sizeof (char *)), 507 (sizeof (art_book_name) / sizeof (char *)) * (sizeof (art_author) / sizeof (char *)),
1820/***************************************************************************** 1820/*****************************************************************************
1821 * 1821 *
1822 * Cleanup routine for readble stuff. 1822 * Cleanup routine for readble stuff.
1823 * 1823 *
1824 *****************************************************************************/ 1824 *****************************************************************************/
1825void 1825static void
1826free_all_readable (void) 1826free_all_readable (void)
1827{ 1827{
1828 titlelist *tlist, *tnext; 1828 titlelist *tlist, *tnext;
1829 title *title1, *titlenext; 1829 title *title1, *titlenext;
1830 linked_char *lmsg, *nextmsg; 1830 linked_char *lmsg, *nextmsg;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines