summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorpixel <pixel>2002-12-25 15:47:14 +0000
committerpixel <pixel>2002-12-25 15:47:14 +0000
commit36c694c55de0f63f16c7d1a277ecf7bde14afef2 (patch)
treee6cadbdaffa8452461bbd8afdd18bd45e06f05aa /src
parent2ec65975046c3aa98f2958ca0988d20a36abf5fa (diff)
Bleh
Diffstat (limited to 'src')
-rw-r--r--src/test.cc13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/test.cc b/src/test.cc
index 011feb4..bb6e2b9 100644
--- a/src/test.cc
+++ b/src/test.cc
@@ -9,11 +9,9 @@
CODE_BEGINS
virtual int startup() throw (GeneralException) {
- Uint8 * texture;
verbosity = M_INFO;
mogltk::glbase::setup();
- Input ffont("font-2.bin");
- mogltk::font font(&ffont);
+ mogltk::font font(&Input("font-2.bin"));
verbosity = M_INFO;
@@ -63,10 +61,11 @@ virtual int startup() throw (GeneralException) {
font.setshadow(1);
font.putcursor(10, 30);
font.setcolor(WHITE);
- font.printf("PixelPawa!\n");
- font.printf("It works!!\n");
- font.printf("I can't believe it!\n");
-
+ font.printf(
+ "PixelPawa!\n"
+ "It works!!\n"
+ "I can't believe it!\n"
+ );
mogltk::glbase::Leave2DMode();
mogltk::glbase::Flip();