summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--The Mana World.dev2
-rw-r--r--docs/INSTALL/debian.txt8
-rw-r--r--src/game.cpp12
-rw-r--r--src/main.cpp2
4 files changed, 18 insertions, 6 deletions
diff --git a/The Mana World.dev b/The Mana World.dev
index 40b73ef6..951db15c 100644
--- a/The Mana World.dev
+++ b/The Mana World.dev
@@ -33,7 +33,7 @@ CompilerSettings=0000001001001000001101
Major=0
Minor=0
Release=8
-Build=187
+Build=188
LanguageID=1033
CharsetID=1252
CompanyName=The Mana World Development Team
diff --git a/docs/INSTALL/debian.txt b/docs/INSTALL/debian.txt
index 146a84c9..50fdbd1e 100644
--- a/docs/INSTALL/debian.txt
+++ b/docs/INSTALL/debian.txt
@@ -1,7 +1,7 @@
How to install TMW on my GNU/Debian Box
==================================================
-Author: FERREIRA Yohann (Bertram)
+Author: FERREIRA Yohann (Bertram)
Email: Bertram25@hotmail.com
Homepage: http://www.behemoth.fr.fm (Take a tour on it with mozilla !)
@@ -21,11 +21,11 @@ The Mana World Debian Package can be installed under the Debian Testing and Unst
In order to have Mana World working, you'll need the following packages that are situed in :
- JGMod :
-http://themanaworl.sourceforge.net/files/jgmod_0.99_i386.deb
+http://themanaworld.sourceforge.net/files/jgmod_0.99_i386.deb
- AlFont :
-http://themanaworl.sourceforge.net/files/libalfont_1.9.2_i386.deb
+http://themanaworld.sourceforge.net/files/libalfont_1.9.2_i386.deb
-Note : If the packages names mismatches, check the page : http://themanaworl.sourceforge.net/files/
+Note : If the packages names mismatches, check the page : http://themanaworld.sourceforge.net/files/
to look for the latest version of these packages.
When you've grabbed them, install them (as root) with the commands :
diff --git a/src/game.cpp b/src/game.cpp
index 84aa85d3..a1fb7a54 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -49,6 +49,7 @@ unsigned char keyb_state;
volatile int tick_time;
volatile bool refresh = false, action_time = false;
int current_npc, server_tick;
+extern unsigned char screen_mode;
#define MAX_TIME 10000
@@ -228,6 +229,17 @@ void do_input() {
action_time = false;
//alert("","","","","",0,0);
}
+ if(key[KEY_F12] && action_time==true) {
+ if(screen_mode==2) {
+ screen_mode = 1;
+ } else {
+ screen_mode = 2;
+ }
+ if(set_gfx_mode(screen_mode, 800, 600, 0, 0)) {
+ error(allegro_error);
+ }
+ action_time = false;
+ }
if(key[KEY_ENTER]) {
if(strcmp(speech, "")!=0) {
diff --git a/src/main.cpp b/src/main.cpp
index f354a435..b9c501d3 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -90,7 +90,7 @@ unsigned char state;
unsigned short x, y;
unsigned char direction;
//unsigned short job, hair, hair_color;
-unsigned char stretch_mode;
+unsigned char stretch_mode, screen_mode;
// new sound-engine /- kth5
TmwSound sound;