projects
/
dosdemo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed mistake in the DJGPP version of dpmi_alloc
[dosdemo]
/
src
/
demo.c
diff --git
a/src/demo.c
b/src/demo.c
index
472da32
..
f25610a
100644
(file)
--- a/
src/demo.c
+++ b/
src/demo.c
@@
-9,6
+9,7
@@
#include "3dgfx.h"
#include "music.h"
#include "cfgopt.h"
#include "3dgfx.h"
#include "music.h"
#include "cfgopt.h"
+#include "tinyfps.h"
int fb_width = 320;
int fb_height = 240;
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;
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)
static unsigned long nframes;
int demo_init(int argc, char **argv)
@@
-35,6
+38,8
@@
int demo_init(int argc, char **argv)
return -1;
}
return -1;
}
+ initFpsFonts();
+
if(g3d_init() == -1) {
return -1;
}
if(g3d_init() == -1) {
return -1;
}