summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-02-13 14:32:36 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-02-13 14:32:36 +0000
commit4b2a028c8002609bd9256d1f8fd73aceee5c44fc (patch)
tree7fea11c221b5bd44a8c3cbf17643a3637e229493 /src/main.cpp
parent821732ebbc2760ec98e0097f38a962c67285d421 (diff)
downloadmana-4b2a028c8002609bd9256d1f8fd73aceee5c44fc.tar.gz
mana-4b2a028c8002609bd9256d1f8fd73aceee5c44fc.tar.bz2
mana-4b2a028c8002609bd9256d1f8fd73aceee5c44fc.tar.xz
mana-4b2a028c8002609bd9256d1f8fd73aceee5c44fc.zip
No need to keep track of mouse position ourselves. Also put default startup
mode to windowed.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 7e67bafd..99458bad 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -166,7 +166,8 @@ void init_engine() {
// Fill tmw.ini with defaults
config.setValue("host", "animesites.de");
config.setValue("port", 6901);
- config.setValue("screen", 1);
+ config.setValue("hwaccel", 0);
+ config.setValue("screen", 0);
config.setValue("sound", 1);
#ifdef __USE_UNIX98
char *chatlogFilename = new char[400];
@@ -309,12 +310,6 @@ int main(int argc, char *argv[]) {
case SDL_QUIT:
state = EXIT;
break;
-
- case SDL_MOUSEMOTION:
- // Update the known mouse position
- mouseX = event.motion.x;
- mouseY = event.motion.y;
- break;
}
guiInput->pushInput(event);