Strangerke
3f60cd79fe
MORTEVIELLE: More renaming
2012-10-14 21:59:27 +02:00
Strangerke
ad3c7febd7
MORTEVIELLE: Some more renaming
2012-10-14 10:28:03 +02:00
Strangerke
d7a9cfb80f
MORTEVIELLE: rework _openObjects use, rename resetOpenObjects
2012-10-13 12:41:27 +02:00
Strangerke
c33462da12
MORTEVIELLE: More renaming
2012-10-13 12:10:48 +02:00
Strangerke
121039101d
MORTEVIELLE: Remove dead code.
...
m was computed to in order to display a message while loading the next
resource. As there are no more delays, the message isn't displayed anymore,
thus it's useless to compute the message id.
2012-10-12 07:46:58 +02:00
Strangerke
957c220556
MORTEVIELLE: Some more renaming
2012-10-12 07:31:30 +02:00
Strangerke
6238c034fd
MORTEVIELLE: Some more renaming
2012-10-11 00:45:46 +02:00
Strangerke
b2f2f8d7b0
MORTEVIELLE: Some renaming
2012-10-10 08:19:54 +02:00
Strangerke
e0ca30ad3d
MORTEVIELLE: Get rid of some magic values
2012-10-08 08:00:00 +02:00
Strangerke
1274c02d1d
MORTEVIELLE: Fix a couple of Valgrind warnings
2012-06-15 20:39:03 +02:00
Strangerke
39e2f21bae
MORTEVIELLE: Initialize some more variables
2012-06-15 00:34:19 +02:00
Strangerke
200436dc60
MORTEVIELLE: Initialize some more variables
2012-06-15 00:31:48 +02:00
Strangerke
47a9db86a1
MORTEVIELLE: Fix recurrent Valgrind warnings (thanks DrMcCoy for reporting)
2012-06-14 18:47:03 +02:00
Strangerke
025d3a9eee
MORTEVIELLE: Some renaming
2012-05-30 23:28:11 +02:00
Strangerke
d31151eb55
MORTEVIELLE: Fix regression in 2c73b82b8ee95f9809af5e0d9893245f2c57247e
2012-04-06 08:24:10 +02:00
Strangerke
c7eba15ee7
MORTEVIELLE: Fix regression in 4edc3bff94b4cb27b32f46a4934bf486ab834e1c
2012-04-06 08:24:08 +02:00
Strangerke
b27b77b354
MORTEVIELLE: Modify copyright string to include 1987.
2012-04-06 08:24:07 +02:00
Strangerke
410f803e91
MORTEVIELLE: Get rid of the hardcoded size of _cfiecBuffer
2012-04-06 08:24:05 +02:00
Strangerke
d8b8f93c4c
MORTEVIELLE: Start updating tools to add support to German DOS version
2012-04-06 08:24:04 +02:00
Strangerke
f91e909afa
MORTEVIELLE: Start adding German DOS version
2012-04-06 08:24:02 +02:00
Strangerke
1619441215
MORTEVIELLE: Remove var_mor
2012-04-06 08:24:00 +02:00
Strangerke
64ef9378a2
MORTEVIELLE: Enlarge Inventory menu display to match Depl menu.
2012-04-06 08:23:59 +02:00
Strangerke
76bf72ce69
MORTEVIELLE: Fix invert in Dep menu. Still a bit short due to Inventory width too small. Also add some ingame same/load slots
2012-04-06 08:23:57 +02:00
Strangerke
cdea613e51
MORTEVIELLE: Remove trailing spaces
2012-04-06 08:23:56 +02:00
Strangerke
a1c268e082
MORTEVIELLE: Fix regression in previous commit
2012-04-06 08:23:54 +02:00
Strangerke
67c95912f6
MORTEVIELLE: rename Rect
2012-04-06 08:23:53 +02:00
Strangerke
26a38fb1e6
MORTEVIELLE: rename some constants
2012-04-06 08:23:51 +02:00
Strangerke
4b9e71952c
MORTEVIELLE: More renaming and refactoring
2012-04-06 08:23:50 +02:00
Strangerke
7b94de6408
MORTEVIELLE: Get rid of mor.cpp
2012-04-06 08:23:48 +02:00
Strangerke
a87b992e8d
MORTEVIELLE: Move functions out of mor.cpp
2012-04-06 08:23:46 +02:00
Strangerke
cdcb8d3645
MORTEVIELLE: More renaming, add a piece of code to improve CGA/EGA switching
2012-04-06 08:23:45 +02:00
Strangerke
0111cea7d7
MORTEVIELLE: More renaming
2012-04-06 08:23:43 +02:00
Strangerke
09e8c82e8f
MORTEVIELLE: More renaming
2012-04-06 08:23:42 +02:00
Strangerke
1a9183e0ba
MORTEVIELLE: More renaming
2012-04-06 08:23:40 +02:00
Strangerke
c1e8ff3ada
MORTEVIELLE: Rename more globals and move functions to MortevielleEngine. Remove ovd1 files.
2012-04-06 08:23:38 +02:00
Strangerke
76f7858096
MORTEVIELLE: More renaming
2012-04-06 08:23:36 +02:00
Strangerke
d09561e0c4
MORTEVIELLE: More renaming
2012-04-06 08:23:35 +02:00
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
Paul Gilbert
85df261941
MORTEVIELLE: Removed boite() stab and remap calls to ScreenSurface::drawBox
2012-04-06 08:21:02 +02:00
Paul Gilbert
e9c5437c3b
MORTEVIELLE: Removed redundant gfx functions, and moved others into ScreenSurface class.
2012-04-06 08:21:01 +02:00
Paul Gilbert
46427cb618
MORTEVIELLE: Removed text screen output, and fixed copyright to display on title screen.
...
Note: The original used Pascal text display functions to show the copyright on the title screen. To avoid a lot of code needing to be added for just that line, I'm using the existing graphic text display code. The resulting copyright text isn't identical to the original, but I consider it close enough.
2012-04-06 08:21:00 +02:00
Paul Gilbert
c81b81692b
MORTEVIELLE: Added support for using the static string list added to mort.dat
2012-04-06 08:20:59 +02:00
Paul Gilbert
231315420b
MORTEVIELLE: Renamed main loop methods, along with quit/end/lose variables
2012-04-06 08:20:56 +02:00
Paul Gilbert
bae25fc2aa
MORTEVIELLE: Implemented ScummVM savegame functionality with metadata
2012-04-06 08:20:55 +02:00
Paul Gilbert
80302552e8
MORTEVIELLE: Moved the game detection entries to detection_tables.h
2012-04-06 08:20:53 +02:00
Paul Gilbert
3d9da88539
MORTEVIELLE: Merged mort.cpp into mortevielle.cpp, and split up intro from main game
2012-04-06 08:20:52 +02:00
Paul Gilbert
4a34f40365
MORTEVIELLE: Replace timer chip frequency values with a constant
2012-04-06 08:20:51 +02:00
Paul Gilbert
3a2cd5a223
MORTEVIELLE: In progress implementation of PC Speaker music player
2012-04-06 08:20:50 +02:00
Paul Gilbert
82381d6a19
MORTEVIELLE: Fix for erasing alert dialogs when done
2012-04-06 08:20:46 +02:00
Paul Gilbert
08b3b91f0f
MORTEVIELLE: Converted the demus assembly code to C++
2012-04-06 08:20:45 +02:00
Paul Gilbert
02f2088d43
MORTEVIELLE: Added extra quit checks to event loops
2012-04-06 08:20:44 +02:00
Paul Gilbert
f875622ef6
MORTEVIELLE: Fix sizes of several arrays
2012-04-06 08:20:42 +02:00
Paul Gilbert
85b7c1cef7
MORTEVIELLE: Add extra parenthesis to defines for operation safety
2012-04-06 08:20:41 +02:00
Paul Gilbert
9ae61553d4
MORTEVIELLE: Visual fix for the inventory menu
2012-04-06 08:20:40 +02:00
Paul Gilbert
5fb491070e
MORTEVIELLE: Bugfixes for saving/loading savegames
2012-04-06 08:20:38 +02:00
Paul Gilbert
e4a9586d74
MORTEVIELLE: Change float parameters in chardes/charani to int32
...
The original used this to handle 32-bit values. So it's cleaner to use int32 explicitly.
2012-04-06 08:20:37 +02:00
Paul Gilbert
e9f59153db
MORTEVIELLE: Correct synchronisation of savegame data
2012-04-06 08:20:36 +02:00
Paul Gilbert
73834c7563
MORTEVIELLE: Changed readclock() method to use ScummVM functionality
2012-04-06 08:20:35 +02:00
Paul Gilbert
6205e89e50
MORTEVIELLE: Fix some string indexing
2012-04-06 08:20:34 +02:00
Paul Gilbert
e578c4d648
MORTEVIELLE: Fix for displaying savegame menus correctly
2012-04-06 08:20:32 +02:00
Paul Gilbert
3fa59e9519
MORTEVIELLE: Bugfix for image block decoding method #0
2012-04-06 08:20:31 +02:00
Paul Gilbert
90e076a36a
MORTEVIELLE: Merge the _mouseButtons and clic variables
...
The original separate implementation was causing problems with the mouse click variable remaining set too long.
2012-04-06 08:20:30 +02:00
Paul Gilbert
35b502612b
MORTEVIELLE: Added missing variable to savegame synchronization
2012-04-06 08:20:28 +02:00
Paul Gilbert
37386cdf7c
MORTEVIELLE: Properly implement get_random_number method
2012-04-06 08:20:27 +02:00
Paul Gilbert
962069f937
MORTEVIELLE: Fix conversion of string to integer in room changes
2012-04-06 08:20:26 +02:00
Paul Gilbert
6ee67ca7b7
MORTEVIELLE: Remove old drive boot sector read code in game startup.
...
I presume that this may have been part of original game copy protection.
2012-04-06 08:20:24 +02:00
Paul Gilbert
84ef8f5a7f
MORTEVIELLE: Formatting fix for savegame list
2012-04-06 08:20:23 +02:00
Paul Gilbert
f5af2b407c
MORTEVIELLE: Restore background area when a menu is removed
2012-04-06 08:20:22 +02:00
Paul Gilbert
1017159802
MORTEVIELLE: More game menu formatting fixes
2012-04-06 08:20:21 +02:00
Paul Gilbert
9a79a5e059
MORTEVIELLE: Formatting fixes for game menu display
2012-04-06 08:20:19 +02:00
Paul Gilbert
e9b10db262
MORTEVIELLE: Fix display of action tabs
2012-04-06 08:20:18 +02:00
Paul Gilbert
6c97ac2e43
MORTEVIELLE: Correctly handle keyboard keys for moving mouse
2012-04-06 08:20:17 +02:00
Paul Gilbert
7d6b859df5
MORTEVIELLE: Added explicit quit checks to the main game loops
2012-04-06 08:20:15 +02:00
Paul Gilbert
412124baa6
MORTEVIELLE: Fix compiler warnings and added assert
2012-04-06 08:20:14 +02:00
Paul Gilbert
5c628fedd2
MORTEVIELLE: Expand on the mouse/keyboard handling code
2012-04-06 08:20:13 +02:00
Paul Gilbert
3caa20a618
MORTEVIELLE: Set up default mouse cursor
2012-04-06 08:20:11 +02:00
Paul Gilbert
5ecb0d4eea
MORTEVIELLE: Changed deprecated warnings to use debugC instead
2012-04-06 08:20:10 +02:00
Paul Gilbert
e3308ce3b5
MORTEVIELLE: Correct ScreenSurface::fillBox to use the passed colour
2012-04-06 08:20:08 +02:00
Paul Gilbert
1c1f58ec5d
MORTEVIELLE: Fixed data reading in adzon()
2012-04-06 08:20:07 +02:00
Paul Gilbert
8f32aa48aa
MORTEVIELLE: Fix loading of data in charge_bruit5()
2012-04-06 08:20:06 +02:00
Paul Gilbert
0790b3f24a
MORTEVIELLE: Fix savegame loading to allow to read from the data folder
...
This is needed so that the initial game state can be correctly read from slot 0.
2012-04-06 08:20:04 +02:00
Paul Gilbert
64c0600c3c
MORTEVIELLE: Add ScreenSurface::clearScreen method
2012-04-06 08:20:03 +02:00
Paul Gilbert
1244e3c7ad
MORTEVIELLE: Reduce the decoding lookup buffer sizes
2012-04-06 08:20:02 +02:00
Paul Gilbert
18e1193d70
MORTEVIELLE: Fix seeking in chardes and charani
2012-04-06 08:20:01 +02:00
Paul Gilbert
1bc0028ab9
MORTEVIELLE: Fix another graphic glitch in the image decoder
2012-04-06 08:19:59 +02:00
Paul Gilbert
32a16af052
MORTEVIELLE: Started some notes of the original memory map
2012-04-06 08:19:58 +02:00
Paul Gilbert
c2ce0cff44
MORTEVIELLE: Fix the calculation in the animof method
2012-04-06 08:19:57 +02:00
Paul Gilbert
78a653b245
MORTEVIELLE: Implement ScreenSurface::fillBox method
2012-04-06 08:19:56 +02:00
Paul Gilbert
45083e7c94
MORTEVIELLE: Added needed palette remapping to drawPicture()
...
The remapping allows the first image to now display using the correct colours.
2012-04-06 08:19:54 +02:00
Paul Gilbert
55f5adeff3
MORTEVIELLE: Give generic variables in image decoder proper names
2012-04-06 08:19:53 +02:00
Paul Gilbert
3d667ba670
MORTEVIELLE: Fix decoding glitch in the first image
2012-04-06 08:19:52 +02:00
Paul Gilbert
1d8ec4c372
MORTEVIELLE: Properly handle image offsets when drawing images
2012-04-06 08:19:50 +02:00
Paul Gilbert
d0129ad88b
MORTEVIELLE: Implemented a basic event handler.
2012-04-06 08:19:49 +02:00
Paul Gilbert
8c423fd790
MORTEVIELLE: Create a basic palette manager class
2012-04-06 08:19:48 +02:00
Paul Gilbert
6ac925fb1f
MORTEVIELLE: Correct horizontal display of images
2012-04-06 08:19:46 +02:00
Paul Gilbert
33f70da53c
MORTEVIELLE: Added an optimised drawBox routine
2012-04-06 08:19:45 +02:00
Paul Gilbert
c33f25cffb
MORTEVIELLE: Fix remaining issues when decoding first image
2012-04-06 08:19:44 +02:00
Paul Gilbert
2416583449
MORTEVIELLE: Implemented a screen surface class to hold all the graphics functionality.
...
This includes moving the already created pixel and character functions into it, as well as a new method for drawing decoded graphic images.
2012-04-06 08:19:43 +02:00
Paul Gilbert
833e46d18a
MORTEVIELLE: Completed the diag() method used in image decoding.
...
The first image now completely decodes.
2012-04-06 08:19:41 +02:00
Paul Gilbert
7698c8c523
MORTEVIELLE: Implemented the remaining image decoding mode 11
2012-04-06 08:19:40 +02:00
Paul Gilbert
6c6c0f0ce5
MORTEVIELLE: Bugfixes for image decoding.
...
Decoding types 1 and 7 are now working, so the first scene is partially decoding correctly.
2012-04-06 08:19:39 +02:00
Paul Gilbert
abc2f60edf
MORTEVIELLE: Implemented more of the image decompression code
2012-04-06 08:19:37 +02:00
Paul Gilbert
e183f9f055
MORTEVIELLE: Beginnings of code for picture decoding
2012-04-06 08:19:36 +02:00
Paul Gilbert
41ddc9958a
MORTEVIELLE: Fix data loading in charani() method
2012-04-06 08:19:35 +02:00
Paul Gilbert
fd490f3aeb
MORTEVIELLE: Fixed loading in chardes() method
2012-04-06 08:19:34 +02:00
Eugene Sandulenko
cd1c72cd9b
MORTEVIELLE: Fix memory offsets in rest of the places
2012-04-06 08:19:32 +02:00
Paul Gilbert
ca55d928b6
MORTEVIELLE: Fixed compiler warning
2012-04-06 08:19:31 +02:00
Paul Gilbert
c72eed7980
MORTEVIELLE: Converted memw[] usage to use mem[] array with endian macros
...
This is better for now, since mem and memw share the same memory space.
2012-04-06 08:19:30 +02:00
Paul Gilbert
c45e7c5d94
MORTEVIELLE: Change mem array to be 640Kb, and correct segment offsets using the array
2012-04-06 08:19:28 +02:00
Paul Gilbert
1727798a8e
MORTEVIELLE: Implemented loading of the font data, and rewrote drawing routines to use it.
2012-04-06 08:19:27 +02:00
Paul Gilbert
2e95ac70b2
MORTEVIELLE: Fix character indexing in writeg()
2012-04-06 08:19:24 +02:00
Paul Gilbert
de974c908f
MORTEVIELLE: Initialise graphics, and hardcode game mode to EGA graphics with mouse enabled
2012-04-06 08:19:23 +02:00
Paul Gilbert
2a6ec0eaa6
MORTEVIELLE: Correct loading of the text data index, and fixed decoding of text lines
2012-04-06 08:19:22 +02:00
Paul Gilbert
9957819311
MORTEVIELLE: Bugfix for loading data in init_lieu method
2012-04-06 08:19:20 +02:00
Paul Gilbert
3e0b4d3774
MORTEVIELLE: Cleaned up the init_nbrepm method
2012-04-06 08:19:19 +02:00
Paul Gilbert
39190ac009
MORTEVIELLE: Fixed some compiler warnings
2012-04-06 08:19:18 +02:00
Paul Gilbert
45f75c901c
MORTEVIELLE: Reimplemented the loading of cfiec.mor more cleanly
...
This includes changing the absolute memory address loading to an array buffer, and changing calls to the zzuul method to use the reimplemented version.
2012-04-06 08:19:17 +02:00
Paul Gilbert
2277f8f122
MORTEVIELLE: Reimplemented the zzuul assembly routine in C code
2012-04-06 08:19:15 +02:00
Strangerke
1d24605239
MORTEVIELLE: Add some comments with translated strings
2012-04-06 08:19:14 +02:00
Paul Gilbert
e3facc3f6c
MORTEVIELLE: Bugfix for loading data in charge_cfiph()
2012-04-06 08:19:13 +02:00
Paul Gilbert
e76460e362
MORTEVIELLE: Bugfix for loading data in charpal()
2012-04-06 08:19:11 +02:00
Paul Gilbert
015565677c
MORTEVIELLE: Bugfix for loading data in chartex()
2012-04-06 08:19:10 +02:00
Strangerke
fb216b263c
MORTEVIELLE: Add a couple of detection entries
2012-04-06 08:19:05 +02:00
Paul Gilbert
44002e9293
MORTEVIELLE: Fix data loading in chartex method
2012-04-06 08:19:04 +02:00
Paul Gilbert
0766140a4e
MORTEVIELLE: Added stub engine implementation. Engine is now compilable.
2012-04-06 08:19:02 +02:00
Paul Gilbert
09928318f5
MORTEVIELLE: Added stubs for remaining functions needed by the project
2012-04-06 08:19:01 +02:00
Paul Gilbert
ef3c271544
MORTEVIELLE: Lots of compilation fixes
2012-04-06 08:19:00 +02:00
Paul Gilbert
ab089af889
MORTEVIELLE: More compilation fixes
2012-04-06 08:18:58 +02:00
Paul Gilbert
4dd8bce651
MORTEVIELLE: Converted string() usage to Common::String
2012-04-06 08:18:57 +02:00
Paul Gilbert
4837636386
MORTEVIELLE: Converted some of the file accesses to use Common::File
2012-04-06 08:18:55 +02:00
Paul Gilbert
fd243358d3
MORTEVIELLE: More addition of needed #include lines and other compilation fixes
2012-04-06 08:18:54 +02:00
Paul Gilbert
c7a1bd48bd
MORTEVIELLE: Replaced all set::of forms with proper C if statements
2012-04-06 08:18:53 +02:00
Paul Gilbert
6998d530dc
MORTEVIELLE: Further bugfixes to include files and added includes
2012-04-06 08:18:52 +02:00
Paul Gilbert
1a0e3b571a
MORTEVIELLE: Compilation fixes based on adding appropriate #include files
2012-04-06 08:18:50 +02:00
Paul Gilbert
b4934ea1bf
MORTEVIELLE: Compilation fixes and extern prefixes to header file method declarations
2012-04-06 08:18:49 +02:00
Paul Gilbert
c1ead19c5d
MORTEVIELLE: cardinal -> uint
2012-04-06 08:18:48 +02:00
Paul Gilbert
c8774837ef
MORTEVIELLE: Fixed variable usage in var_mor.h and var_mor.cpp
2012-04-06 08:18:46 +02:00
Paul Gilbert
98ea43b7c5
MORTEVIELLE: Converted remaining varying_string instances to Common::String
2012-04-06 08:18:45 +02:00
Eugene Sandulenko
38b1cc4739
MORTEVIELLE: More compilation fixes
2012-04-06 08:18:44 +02:00
Eugene Sandulenko
34f9d30245
MORTEVIELLE: COnvert more arrays and data types
2012-04-06 08:18:42 +02:00
Eugene Sandulenko
a61fb2cf25
MORTEVIELLE: long_int -> float
2012-04-06 08:18:41 +02:00
Strangerke
cd596ffb9b
MORTEVIELLE: Fix some more errors by adding includes
2012-04-06 08:18:40 +02:00
Strangerke
3cefe69994
MORTEVIELLE: Enlarge two arrays in order to fix pascal access
2012-04-06 08:18:38 +02:00
Strangerke
646408bb38
MORTEVIELLE: Fix several errors, add some includes
2012-04-06 08:18:37 +02:00
Strangerke
4281423abb
MORTEVIELLE: Fix some errors by including str.h
2012-04-06 08:18:36 +02:00
Strangerke
2792e4069d
MORTEVIELLE: use bool instead of boolean
2012-04-06 08:18:34 +02:00
Strangerke
6e171f7de1
MORTEVIELLE: fix several old includes
2012-04-06 08:18:31 +02:00
Strangerke
d7a64060ca
MORTEVIELLE: Start including header files
2012-04-06 08:18:30 +02:00
Strangerke
911d136f9f
MORTEVIELLE: Add header files
2012-04-06 08:18:29 +02:00
Strangerke
7571d4e186
MORTEVIELLE: rename namespace
2012-04-06 08:18:28 +02:00
Strangerke
674e35d14a
MORTEVIELLE: Add an an include for string, move boolean to bool
2012-04-06 08:18:26 +02:00