00001 /*************************************************************************** 00002 * Original Diku Mud copyright (C) 1990, 1991 by Sebastian Hammer, * 00003 * Michael Seifert, Hans Henrik Strfeldt, Tom Madsen, and Katja Nyboe. * 00004 * * 00005 * Merc Diku Mud improvments copyright (C) 1992, 1993 by Michael * 00006 * Chastain, Michael Quan, and Mitchell Tse. * 00007 * * 00008 * In order to use any part of this Merc Diku Mud, you must comply with * 00009 * both the original Diku license in 'license.doc' as well the Merc * 00010 * license in 'license.txt'. In particular, you may not remove either of * 00011 * these copyright notices. * 00012 * * 00013 * Much time and thought has gone into this software and you are * 00014 * benefitting. We hope that you share your changes too. What goes * 00015 * around, comes around. * 00016 ***************************************************************************/ 00017 00018 /*************************************************************************** 00019 * ROM 2.4 is copyright 1993-1998 Russ Taylor * 00020 * ROM has been brought to you by the ROM consortium * 00021 * Russ Taylor (rtaylor@hypercube.org) * 00022 * Gabrielle Taylor (gtaylor@hypercube.org) * 00023 * Brian Moore (zump@rom.org) * 00024 * By using this code, you have agreed to follow the terms of the * 00025 * ROM license, in the file Rom24/doc/rom.license * 00026 ***************************************************************************/ 00027 00028 #define MAX_SONGS 20 00029 #define MAX_LINES 100 /* this boils down to about 1k per song */ 00030 #define MAX_GLOBAL 10 /* max songs the global jukebox can hold */ 00031 00032 struct song_data 00033 { 00034 char *group; 00035 char *name; 00036 char *lyrics[MAX_LINES]; 00037 int lines; 00038 }; 00039 00040 extern struct song_data song_table[MAX_SONGS]; 00041 00042 void song_update args( (void) ); 00043 void load_songs args( (void) );
1.4.0