diff options
author | pixel <pixel> | 2002-12-25 15:47:14 +0000 |
---|---|---|
committer | pixel <pixel> | 2002-12-25 15:47:14 +0000 |
commit | 36c694c55de0f63f16c7d1a277ecf7bde14afef2 (patch) | |
tree | e6cadbdaffa8452461bbd8afdd18bd45e06f05aa /src | |
parent | 2ec65975046c3aa98f2958ca0988d20a36abf5fa (diff) |
Bleh
Diffstat (limited to 'src')
-rw-r--r-- | src/test.cc | 13 |
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(); |