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.15 by pippijn, Wed Jan 3 00:08:17 2007 UTC vs.
Revision 1.16 by pippijn, Wed Jan 3 00:21:35 2007 UTC

110 * pointers to all (hostile) monster objects */ 110 * pointers to all (hostile) monster objects */
111 111
112static int nrofmon = 0, need_to_write_bookarchive = 0; 112static int nrofmon = 0, need_to_write_bookarchive = 0;
113 113
114 114
115/* this is needed to keep track of status of initialization 115/* this is needed to keep track of status of initialisation
116 * of the message file */ 116 * of the message file */
117static int nrofmsg = 0; 117static int nrofmsg = 0;
118 118
119/* first_msg is the started of the linked list of messages as read from 119/* first_msg is the started of the linked list of messages as read from
120 * the messages file 120 * the messages file
636 636
637} 637}
638 638
639/***************************************************************************** 639/*****************************************************************************
640 * 640 *
641 * Start of initialization related functions. 641 * Start of initialisation related functions.
642 * 642 *
643 ****************************************************************************/ 643 ****************************************************************************/
644 644
645/* init_msgfile() - if not called before, initialize the info list 645/* init_msgfile() - if not called before, initialise the info list
646 * reads the messages file into the list pointed to by first_msg 646 * reads the messages file into the list pointed to by first_msg
647*/ 647*/
648 648
649static void 649static void
650init_msgfile (void) 650init_msgfile (void)
708#endif 708#endif
709 LOG (llevDebug, "done.\n"); 709 LOG (llevDebug, "done.\n");
710} 710}
711 711
712 712
713/* init_book_archive() - if not called before, initialize the info list 713/* init_book_archive() - if not called before, initialise the info list
714 * This reads in the bookarch file into memory. bookarch is the file 714 * This reads in the bookarch file into memory. bookarch is the file
715 * created and updated across multiple runs of the program. 715 * created and updated across multiple runs of the program.
716 */ 716 */
717 717
718static void 718static void
835 835
836 LOG (llevDebug, "init_mon_info() got %d monsters\n", nrofmon); 836 LOG (llevDebug, "init_mon_info() got %d monsters\n", nrofmon);
837} 837}
838 838
839 839
840/* init_readable() - initialize linked lists utilized by 840/* init_readable() - initialise linked lists utilized by
841 * message functions in tailor_readable_ob() 841 * message functions in tailor_readable_ob()
842 * 842 *
843 * This is the function called by the main routine to initialize 843 * This is the function called by the main routine to initialise
844 * all the readable information. 844 * all the readable information.
845 */ 845 */
846 846
847void 847void
848init_readable (void) 848init_readable (void)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines