# HG changeset patch # User Mike Pavone # Date 1389558042 28800 # Node ID 8f23be2db8081026ff2ee6942293ecdc9494a92f # Parent 99f5e303fca137df0656a6c278d90c224b2d517b Movec creep.h into the src folder. Added main loop diff -r 99f5e303fca1 -r 8f23be2db808 creep.h --- a/creep.h Sun Jan 12 12:15:24 2014 -0800 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,15 +0,0 @@ -#ifndef CREEP_H_ -#define CREEP_H_ - -enum { - CREEP_NORMAL = 0 -} creep_species; - -typedef struct { - u16 index; - u16 health; - u8 species; - u8 direction; -} creep; - -#endif //CREEP_H_ diff -r 99f5e303fca1 -r 8f23be2db808 src/creep.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/creep.h Sun Jan 12 12:20:42 2014 -0800 @@ -0,0 +1,15 @@ +#ifndef CREEP_H_ +#define CREEP_H_ + +enum { + CREEP_NORMAL = 0 +} creep_species; + +typedef struct { + u16 index; + u16 health; + u8 species; + u8 direction; +} creep; + +#endif //CREEP_H_ diff -r 99f5e303fca1 -r 8f23be2db808 src/main.c --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/main.c Sun Jan 12 12:20:42 2014 -0800 @@ -0,0 +1,12 @@ +#include +#include "creep.h" + +int main(void) +{ + for (;;) + { + VDP_waitVSync(); + VDP_updateSprites(); + } + return 0; +}