X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Ftiming.cpp;h=e7ac35f69fc63d1a33d49cbde607fa38acf03845;hb=e3ad811139308bfe8a818cf5e42e7553785fea82;hp=ebca2bfe6e6d9a561737c66cb70cfcb2c2106500;hpb=0c6f353827a94eb52c21e677658000f98452b247;p=stargem2 diff --git a/src/timing.cpp b/src/timing.cpp index ebca2bf..e7ac35f 100755 --- a/src/timing.cpp +++ b/src/timing.cpp @@ -17,8 +17,7 @@ // #include "timing.h" - -#include "types.h" +#include #include "log.h" #define EVENT_LIST_SIZE 512 @@ -40,19 +39,22 @@ struct Event void (* timerCallback)(void); }; + static Event eventList[EVENT_LIST_SIZE]; -static uint32 nextEvent; +static uint32_t nextEvent; + void InitializeEventList(void) { - for(uint32 i=0; i