[Scummvm-cvs-logs] scummvm master -> b4a0fd13ef28ec8a6d8e60b5ab90539620ee9ee1

digitall dgturner at iee.org
Wed Jul 31 02:07:00 CEST 2013


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
b4a0fd13ef MORTEVIELLE: Another fix for WinCE compilation.


Commit: b4a0fd13ef28ec8a6d8e60b5ab90539620ee9ee1
    https://github.com/scummvm/scummvm/commit/b4a0fd13ef28ec8a6d8e60b5ab90539620ee9ee1
Author: D G Turner (digitall at scummvm.org)
Date: 2013-07-30T17:07:48-07:00

Commit Message:
MORTEVIELLE: Another fix for WinCE compilation.

S_OK is a system define in the WinCE toolchain library headers, so this
conflicts. Renamed to S_OKAY in the engine code to avoid this.

Changed paths:
    engines/mortevielle/mortevielle.h
    engines/mortevielle/utils.cpp



diff --git a/engines/mortevielle/mortevielle.h b/engines/mortevielle/mortevielle.h
index 388abbc..795bac5 100644
--- a/engines/mortevielle/mortevielle.h
+++ b/engines/mortevielle/mortevielle.h
@@ -83,7 +83,7 @@ enum {
 	S_YES_NO = 0, S_GO_TO = 1, S_SOMEONE_ENTERS = 2, S_COOL = 3, S_LOURDE = 4,
 	S_MALSAINE = 5, S_IDEM = 6,	S_YOU = 7, S_ARE = 8, S_ALONE = 9,
 	S_HEAR_NOISE = 10, S_SHOULD_HAVE_NOTICED = 11, S_NUMBER_OF_HINTS = 12,
-	S_WANT_TO_WAKE_UP = 13, S_OK = 14, S_SAVE_LOAD = 15, S_RESTART = 18, S_F3 = 19,
+	S_WANT_TO_WAKE_UP = 13, S_OKAY = 14, S_SAVE_LOAD = 15, S_RESTART = 18, S_F3 = 19,
 	S_F8 = 20, S_HIDE_SELF = 21, S_TAKE = 22, S_PROBE = 23, S_RAISE = 24, S_SUITE = 25,
 	S_STOP = 26, S_USE_DEP_MENU = 27, S_LIFT = 28, S_READ = 29,
 	S_LOOK = 30, S_SEARCH = 31, S_OPEN = 32, S_PUT = 33, S_TURN = 34, S_TIE = 35, S_CLOSE = 36,
diff --git a/engines/mortevielle/utils.cpp b/engines/mortevielle/utils.cpp
index 2316d1e..8fa6089 100644
--- a/engines/mortevielle/utils.cpp
+++ b/engines/mortevielle/utils.cpp
@@ -2315,7 +2315,7 @@ void MortevielleEngine::prepareRoom() {
 		_hintPctMessage += '0';
 		_hintPctMessage += getEngineString(S_NUMBER_OF_HINTS);
 		_hintPctMessage += "][";
-		_hintPctMessage += getEngineString(S_OK);
+		_hintPctMessage += getEngineString(S_OKAY);
 		_hintPctMessage += ']';
 	}
 	if (minute > _minute) {






More information about the Scummvm-git-logs mailing list