Commit Graph

274 Commits

Author SHA1 Message Date
Strangerke
471b085feb MORTEVIELLE: Fix regression 2012-04-06 08:23:34 +02:00
Strangerke
2df7ebf160 MORTEVIELLE: Refactor mouse class 2012-04-06 08:23:32 +02:00
Strangerke
1c283507ee MORTEVIELLE: Some more renaming, introduce MouseHandler 2012-04-06 08:23:30 +02:00
Strangerke
fc14ffbcb5 MORTEVIELLE: Some more renaming 2012-04-06 08:23:28 +02:00
Strangerke
6e7118a8ef MORTEVIELLE: Remove dead code related to messint (display of loading message between rooms) 2012-04-06 08:23:26 +02:00
Strangerke
fb096b135b MORTEVIELLE: Some more renaming 2012-04-06 08:23:25 +02:00
Strangerke
01e899b965 MORTEVIELLE: Remove some useless g_vm uses, some more renaming 2012-04-06 08:23:23 +02:00
Strangerke
0919546917 MORTEVIELLE: Some more renaming 2012-04-06 08:23:21 +02:00
Strangerke
836b9513e6 MORTEVIELLE: More renaming 2012-04-06 08:23:20 +02:00
Strangerke
672e54efac MORTEVIELLE: Some more renaming 2012-04-06 08:23:18 +02:00
Strangerke
0f37695385 MORTEVIELLE: More renaming and moving 2012-04-06 08:23:17 +02:00
Strangerke
af9af49c34 MORTEVIELLE: get rid of several magic values, introduce SpeechManager, some more renaming 2012-04-06 08:23:15 +02:00
Strangerke
8bb6e92bc9 MORTEVIELLE: Remove extre usage of g_vm 2012-04-06 08:23:14 +02:00
Strangerke
aa184ef1b4 MORTEVIELLE: move couple of functions to menu class, more renaming 2012-04-06 08:23:12 +02:00
Strangerke
28eaf25703 MORTEVIELLE: Some more renaming 2012-04-06 08:23:11 +02:00
Strangerke
1ff2cb051d MORTEVIELLE: Move opcode functions to MortevielleEngine class 2012-04-06 08:23:09 +02:00
Strangerke
b5d2fa7e5f MORTEVIELLE: Merge prog and mor files 2012-04-06 08:23:08 +02:00
Strangerke
79dd918033 MORTEVIELLE: regroup several files 2012-04-06 08:23:06 +02:00
Strangerke
6073019083 MORTEVIELLE: Move some more globals, get rid of some others 2012-04-06 08:23:05 +02:00
Strangerke
78b3939168 MORTEVIELLE: Fix regression due to uninitialized variable, move remaining global booleans 2012-04-06 08:23:03 +02:00
Strangerke
2035dca6df MORTEVIELLE: Remove global variable zuul 2012-04-06 08:23:02 +02:00
Strangerke
61afdadcb6 MORTEVIELLE: Some more renaming, fix a couple of GCC warnings 2012-04-06 08:23:01 +02:00
Paul Gilbert
24866fe395 MORTEVIELLE: Fix crash in chartex method for French version 2012-04-06 08:22:59 +02:00
Strangerke
36a65ad3c9 MORTEVIELLE: Move (and rename) some more globals to MortevielleEngine 2012-04-06 08:22:57 +02:00
Strangerke
09c157b3b3 MORTEVIELLE: Some more renaming. Move globals to the MortevielleEngine class 2012-04-06 08:22:56 +02:00
Strangerke
6217fa5e3e MORTEVIELLE: some more renaming, match menu item size in setText() 2012-04-06 08:22:54 +02:00
Strangerke
9e21d04e26 MORTEVIELLE: Rename some more functions 2012-04-06 08:22:53 +02:00
Strangerke
8f2a33e292 MORTEVIELLE: Some more renaming and refactoring 2012-04-06 08:22:51 +02:00
Strangerke
f9b793126d MORTEVIELLE: Remove useless variables from gameLoaded() 2012-04-06 08:22:50 +02:00
Strangerke
b40b00b1c4 MORTEVIELLE: Some more renaming 2012-04-06 08:22:48 +02:00
Paul Gilbert
203dcdaf4a MORTEVIELLE: Added extra width to the Self menu for the English version 2012-04-06 08:22:46 +02:00
Paul Gilbert
ec71b9bfd6 MORTEVIELLE: Bugfix to ignore previous mouse click when waiting in tkey1 2012-04-06 08:22:45 +02:00
Paul Gilbert
83c32aeb2a MORTEVIELLE: Bugfixes for correctly displaying people present in a room 2012-04-06 08:22:43 +02:00
Paul Gilbert
d5c02ab69c MORTEVIELLE: Properly implement transparency when drawing images 2012-04-06 08:22:42 +02:00
Strangerke
1ee4429601 MORTEVIELLE: Rename some more functions and globals 2012-04-06 08:22:40 +02:00
Strangerke
5739256412 MORTEVIELLE: rename several globals 2012-04-06 08:22:39 +02:00
Strangerke
fd17d93919 MORTEVIELLE: rename variables and functions related to random number generation 2012-04-06 08:22:37 +02:00
Strangerke
0d814bba1f MORTEVIELLE: Start using place names (as enums) instead of magic values 2012-04-06 08:22:35 +02:00
Strangerke
e92369be21 MORTEVIELLE: Rename some variables and functions related to 'Search' action 2012-04-06 08:22:32 +02:00
Strangerke
47a00c8257 MORTEVIELLE: Properly remove protection checks 2012-04-06 08:22:31 +02:00
Strangerke
8948be3b2e MORTEVIELLE: Refactor KnowledgeCheck 2012-04-06 08:22:29 +02:00
Strangerke
2a32c9d1f4 MORTEVIELLE: Rename more globals 2012-04-06 08:22:28 +02:00
Strangerke
b2b16cefce MORTEVIELLE: rename more globals and constants, remove t_nhom usage 2012-04-06 08:22:26 +02:00
Strangerke
7764caaade MORTEVIELLE: Start renaming globals 2012-04-06 08:22:24 +02:00
Strangerke
1a70cee6a6 MORTEVIELLE: Silent a bunch of GCC warnings and errors 2012-04-06 08:22:23 +02:00
Strangerke
8d8bd8ec8c MORTEVIELLE: Add braces, silenting some GCC warnings 2012-04-06 08:22:21 +02:00
Strangerke
2eecba4db9 MORTEVIELLE: Replace an 1-based array by a 0-based one 2012-04-06 08:22:20 +02:00
Strangerke
06e54aaa67 MORTEVIELLE: Silent the remaining errors reported by CppCheck 2012-04-06 08:22:19 +02:00
Strangerke
38c9aa8b56 MORTEVIELLE: silent several warning reported by cppCheck 2012-04-06 08:22:17 +02:00
Strangerke
10132f3632 MORTEVIELLE: Double check all "in []" statements, fix a couple of errors 2012-04-06 08:22:16 +02:00
Strangerke
e26a93efdf MORTEVIELLE: Fix bug, this is a "in [1, 2]" in the original code 2012-04-06 08:22:15 +02:00
Strangerke
f2d7e57505 MORTEVIELLE: Rename remaining opcodes, remove a couple of GOTOs 2012-04-06 08:22:13 +02:00
Strangerke
2bdc20dc9b MORTEVIELLE: Use 0-based array instead of 1-based for menu constants, some renaming 2012-04-06 08:22:12 +02:00
Strangerke
f98a818c36 MORTEVIELLE: Rename menu entry type erroneously named 2012-04-06 08:22:11 +02:00
Strangerke
05848e5d2d MORTEVIELLE: remove error messages uselessly loaded 2012-04-06 08:22:08 +02:00
Strangerke
1384677991 MORTEVIELLE: clean up deline() 2012-04-06 08:22:07 +02:00
Strangerke
d3bbf213e9 MORTEVIELLE: Rename arrays used by menu 2012-04-06 08:22:06 +02:00
Strangerke
510cae8af1 MORTEVIELLE: Start removing deline() and delig 2012-04-06 08:22:04 +02:00
Strangerke
ce56512c99 MORTEVIELLE: First "English" version.
DAT file needs to be rebuilt
2012-04-06 08:22:03 +02:00
Strangerke
8072e9e97a MORTEVIELLE: Rename remaining Menu enums, rename _staticStrings into _engineStrings as a preliminar work on an English DOS version 2012-04-06 08:22:02 +02:00
Strangerke
b414beeff2 MORTEVIELLE: clean up while statements using separate 'not' 2012-04-06 08:22:00 +02:00
Strangerke
3a8a15e201 MORTEVIELLE: Some more cleanup, add alternate file names used by german and alternate french versions 2012-04-06 08:21:59 +02:00
Strangerke
735c7c3c64 MORTEVIELLE: Fix protection skip and avoid instant exit 2012-04-06 08:21:58 +02:00
Strangerke
7a6eca74b4 MORTEVIELLE: remove a couple of GOTOs 2012-04-06 08:21:57 +02:00
Paul Gilbert
0dea84d47b MORTEVIELLE: Convert some more char types to byte 2012-04-06 08:21:56 +02:00
Paul Gilbert
59eacf43c1 MORTEVIELLE: Changed some char fields in sav_chaine to byte
This fixes a problem with inventory display, because the original Pascal type was unsigned, whereas char is cigned
2012-04-06 08:21:54 +02:00
Strangerke
9efa50c6e4 MORTEVIELLE: rename variables in Ques::show(), fix remaining glitches 2012-04-06 08:21:53 +02:00
Strangerke
aeb9015713 MORTEVIELLE: Fix questions display when entering hidden passage 2012-04-06 08:21:52 +02:00
Strangerke
529b678885 MORTEVIELLE: cleanup decodeAlertDetails, rename parameters and variables 2012-04-06 08:21:51 +02:00
Strangerke
f4a8434d8f MORTEVIELLE: Fix a bug in decodeAlertDetails 2012-04-06 08:21:49 +02:00
Strangerke
c6f90f2d27 MORTEVIELLE: Add detection for another French version 2012-04-06 08:21:47 +02:00
Strangerke
ac71654b49 MORTEVIELLE: various cleanup and renaming 2012-04-06 08:21:46 +02:00
Strangerke
33106100f6 MORTEVIELLE: remove pred and succ 2012-04-06 08:21:45 +02:00
Strangerke
a988c467a4 MORTEVIELLE: Rename graphical mode constants 2012-04-06 08:21:44 +02:00
Strangerke
77f9e706e5 MORTEVIELLE: Rename F3F8 functions, rename everything related to Graphical Device 2012-04-06 08:21:42 +02:00
Strangerke
20e61b40d0 MORTEVIELLE: Rename Alert functions 2012-04-06 08:21:41 +02:00
Strangerke
a54dfa4845 MORTEVIELLE: Some more code formatting, rename sonoff 2012-04-06 08:21:40 +02:00
Strangerke
3904af5306 MORTEVIELLE: Rename some more variables and functions 2012-04-06 08:21:39 +02:00
Strangerke
acd636dc2c MORTEVIELLE: Some more cleanup, renaming, plus a couple of crash fixes in deline and writeg 2012-04-06 08:21:37 +02:00
Strangerke
d0ec6e9b32 MORTEVIELLE: rename verbs and associated opcodes, use enum for opcodes 2012-04-06 08:21:36 +02:00
Strangerke
6150e95838 MORTEVIELLE: Apply coding conventions to actions.cpp 2012-04-06 08:21:35 +02:00
Strangerke
b5cbc1b8a5 MORTEVIELLE: Some more code formatting in mouse 2012-04-06 08:21:33 +02:00
Strangerke
d868681976 MORTEVIELLE: Rename mouse functions, various formatting fixes 2012-04-06 08:21:32 +02:00
Strangerke
b12f8bf5ad MORTEVIELLE: Start cleaning taffich.cpp 2012-04-06 08:21:31 +02:00
Paul Gilbert
94d881b141 MORTEVIELLE: Fix the 'You Are Alone' to be properly justified with English text 2012-04-06 08:21:24 +02:00
Paul Gilbert
d738576f1c MORTEVIELLE: Convert f3/f8 dialog, alert dialog, and ques dialogs into classes 2012-04-06 08:21:23 +02:00
Paul Gilbert
a764471c4c MORTEVIELLE: Converted menu functions into it's own class 2012-04-06 08:21:22 +02:00
Paul Gilbert
c3a63e04ee MORTEVIELLE: Convert menu code to a class 2012-04-06 08:21:20 +02:00
Paul Gilbert
2fb94dfa01 MORTEVIELLE: Moved DROITE() into the ScreenSurface class 2012-04-06 08:21:19 +02:00
Paul Gilbert
b4bed3cba3 MORTEVIELLE: Replaced stub calls to mortevielle_exit with Engine::quitGame 2012-04-06 08:21:18 +02:00
Paul Gilbert
ce42caf57c MORTEVIELLE: Removed all the remaining text mode function stubs 2012-04-06 08:21:17 +02:00
Paul Gilbert
9f99fabaa8 MORTEVIELLE: Remove all the overlay comments 2012-04-06 08:21:15 +02:00
Paul Gilbert
0fa68f3406 MORTEVIELLE: Remove more code that had been commented out in the original source 2012-04-06 08:21:14 +02:00
Paul Gilbert
b1b7bd8501 MORTEVIELLE: Removed all the code that was commented out in the original source 2012-04-06 08:21:13 +02:00
Paul Gilbert
4cd9be9f2f MORTEVIELLE: Removed unused clear_box() and fill_box(), and renamed fillBox to fillRect 2012-04-06 08:21:12 +02:00
Paul Gilbert
a29bd180f7 MORTEVIELLE: Replaced all box() calls with ScreenSurface::fillBox 2012-04-06 08:21:10 +02:00
Paul Gilbert
459ef93339 MORTEVIELLE: Add comments to the deprecated s_char method 2012-04-06 08:21:09 +02:00
Paul Gilbert
ec2d9d6d77 MORTEVIELLE: Added CHECK_QUIT to afdes() event loop 2012-04-06 08:21:08 +02:00
Paul Gilbert
bbc8ba9ad6 MORTEVIELLE: Replace old calls to afff to use new decode/drawPicture methods 2012-04-06 08:21:06 +02:00
Paul Gilbert
5448664f8b MORTEVIELLE: Fixed the F3/F8 box width to adjust to the text size 2012-04-06 08:21:05 +02:00