summaryrefslogtreecommitdiff
path: root/lib/engine.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/engine.cc')
-rw-r--r--lib/engine.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/engine.cc b/lib/engine.cc
index 357de32..e8d232e 100644
--- a/lib/engine.cc
+++ b/lib/engine.cc
@@ -2,6 +2,7 @@
#include <Input.h>
#include "engine.h"
#include "glfont.h"
+#include "glsprite.h"
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -118,9 +119,11 @@ int mogltk::engine::postsetup() throw(GeneralException) {
if (glbase_o) {
mogltk::SystemFont = new mogltk::glfont(&Input("font.bin"));
mogltk::FixedFont = new mogltk::glfont(&Input("fixed-font.bin"));
+ Sprite::Cursor = new mogltk::glSprite(&Input("cursor.rgba"), 25, 25);
} else {
mogltk::SystemFont = new mogltk::font(&Input("font.bin"));
mogltk::FixedFont = new mogltk::font(&Input("fixed-font.bin"));
+ Sprite::Cursor = new mogltk::Sprite(&Input("cursor.rgba"), 25, 25);
}
return 0;