aboutsummaryrefslogtreecommitdiff
path: root/examples/demos/n00bdemo/disp.h
diff options
context:
space:
mode:
authorJohn Wilbert M. Villamor <lameguy64@gmail.com>2020-04-24 19:01:28 +0800
committerJohn Wilbert M. Villamor <lameguy64@gmail.com>2020-04-24 19:01:28 +0800
commit1aa0e17df7c325a41de8cf8a57f52ed853f08bf3 (patch)
tree5ec7f69ca0104f2b0a41e2ee7d3cb0cf0c9c54c5 /examples/demos/n00bdemo/disp.h
parente82da2abe4c264d4b48a48d79cf9b8e4c4fb8ab6 (diff)
downloadpsn00bsdk-1aa0e17df7c325a41de8cf8a57f52ed853f08bf3.tar.gz
Refined toolchain instructions, organized examples, added automatic retry for CdRead(), added FIOCSCAN ioctl in psxsio TTY driver, added tty and console examples.
Diffstat (limited to 'examples/demos/n00bdemo/disp.h')
-rw-r--r--examples/demos/n00bdemo/disp.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/examples/demos/n00bdemo/disp.h b/examples/demos/n00bdemo/disp.h
new file mode 100644
index 0000000..ecf6dcf
--- /dev/null
+++ b/examples/demos/n00bdemo/disp.h
@@ -0,0 +1,25 @@
+#ifndef _DISP_H
+#define _DISP_H
+
+#include <psxgte.h>
+
+#define SCENE_TIME 60*15
+
+#define CENTERX 320
+#define CENTERY 240
+
+#define OT_LEN 260
+
+void initDisplay();
+void display();
+
+extern unsigned int ot[2][OT_LEN];
+extern char *nextpri;
+extern int db;
+
+extern DISPENV disp;
+extern DRAWENV draw;
+
+extern MATRIX mtx;
+
+#endif // _DISP_H \ No newline at end of file