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
60f287c85d
MORTEVIELLE: New create_mortdat project to create a mort.dat data file
...
At the moment, this extracts needed font data from the mort.com executable.
2012-04-06 08:19:26 +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