1
0

put the timer and quicksort functions into their own files. Made a few changes to the converter. Converter doesn't understand Entity tags and some chunks cause it to segfault for a currently unknown reason.

git-svn-id: http://mc-server.googlecode.com/svn/trunk@28 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
admin@omencraft.com
2011-10-30 18:15:44 +00:00
parent ca1d98a7ba
commit 940d36d8a1
8 changed files with 209 additions and 227 deletions

9
converter/timer.cpp Normal file
View File

@@ -0,0 +1,9 @@
#include "timer.h"
double diffclock(clock_t clock1,clock_t clock2)
{
double diffticks=clock1-clock2;
double diffms=(diffticks*10)/CLOCKS_PER_SEC;
return diffms;
}