--- deliantra/server/include/tod.h 2008/12/23 06:58:23 1.15 +++ deliantra/server/include/tod.h 2010/03/26 01:04:44 1.21 @@ -1,23 +1,24 @@ /* * This file is part of Deliantra, the Roguelike Realtime MMORPG. * - * Copyright (©) 2006,2007 Marc Alexander Lehmann / Robin Redeker / the Deliantra team - * Copyright (©) 2003-2006,2007 Mark Wedel & Crossfire Development Team - * Copyright (©) 2000,2007 Tim Rightnour - * Copyright (©) 1992,2007 Frank Tore Johansen + * Copyright (©) 2006,2007,2008,2009,2010 Marc Alexander Lehmann / Robin Redeker / the Deliantra team + * Copyright (©) 2003-2006 Mark Wedel & Crossfire Development Team + * Copyright (©) 2000 Tim Rightnour + * Copyright (©) 1992 Frank Tore Johansen * - * Deliantra is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. + * Deliantra is free software: you can redistribute it and/or modify it under + * the terms of the Affero GNU General Public License as published by the + * Free Software Foundation, either version 3 of the License, or (at your + * option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * You should have received a copy of the Affero GNU General Public License + * and the GNU General Public License along with this program. If not, see + * . * * The authors can be reached via e-mail to */ @@ -34,6 +35,9 @@ #define RUNTIME_PER_HOUR (RUNTIME_PER_MINUTE * 60.) #define TICKS_PER_HOUR int (RUNTIME_PER_HOUR / MAX_TIME * 1e6) +// the first year in the game +#define EPOCH 8437 + /* game time */ #define HOURS_PER_DAY 28 #define DAYS_PER_WEEK 7 @@ -72,7 +76,6 @@ /* from common/time.c */ void get_tod (timeofday_t *tod); char *format_tod (char *buf, int len, timeofday_t *tod); -const char *get_current_tod_str (); void print_tod (object *op); #endif