X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fdemo.c;h=f25610a9c5db35dacdbb886e4556352c0db804f0;hb=03d170a7e96dc7e4baa23e9b76c217906d621550;hp=472da328519603287ff4b3ea29673f60166fb33c;hpb=493e590908a39324651cd2c81323e6969c0b4c4f;p=dosdemo diff --git a/src/demo.c b/src/demo.c index 472da32..f25610a 100644 --- a/src/demo.c +++ b/src/demo.c @@ -9,6 +9,7 @@ #include "3dgfx.h" #include "music.h" #include "cfgopt.h" +#include "tinyfps.h" int fb_width = 320; int fb_height = 240; @@ -18,6 +19,8 @@ unsigned long time_msec; int mouse_x, mouse_y; unsigned int mouse_bmask; +float sball_matrix[] = {1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1}; + static unsigned long nframes; int demo_init(int argc, char **argv) @@ -35,6 +38,8 @@ int demo_init(int argc, char **argv) return -1; } + initFpsFonts(); + if(g3d_init() == -1) { return -1; }