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

Comparing deliantra/server/common/exp.C (file contents):
Revision 1.17 by root, Thu Nov 8 19:43:23 2007 UTC vs.
Revision 1.18 by root, Tue Apr 15 03:16:02 2008 UTC

229 LOG (llevError, "Warning: exp_table does not have %d entries (%d)\n", settings.max_level, lastlevel); 229 LOG (llevError, "Warning: exp_table does not have %d entries (%d)\n", settings.max_level, lastlevel);
230 exit (1); 230 exit (1);
231 } 231 }
232} 232}
233 233
234/* Dump the table - useful in terms of debugging to make sure the
235 * format of the exp_table is correct.
236 */
237
238void
239dump_experience ()
240{
241 int i;
242
243 for (i = 1; i <= settings.max_level; i++)
244 {
245 fprintf (logfile, "%4d %20lld\n", i, (long long) levels[i]);
246 }
247 exit (0);
248}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines