Commit Graph

26073 Commits

Author SHA1 Message Date
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
Strangerke
1c441062a0 MORTEVIELLE: Add namespace and standard header 2012-04-06 08:18:25 +02:00
Eugene Sandulenko
4edebbe111 MORTEVIELLE: Converted more arrays into C style arrays 2012-04-06 08:18:24 +02:00
Eugene Sandulenko
cc3573bc01 MORTEVIELLE: str* -> Common::String 2012-04-06 08:18:22 +02:00
Eugene Sandulenko
fa3738db32 MORTEVIELLE: Transformed some array to C arrays 2012-04-06 08:18:21 +02:00
Eugene Sandulenko
b36a336203 MORTEVIELLE: real -> float 2012-04-06 08:18:20 +02:00
Eugene Sandulenko
321b86339f MORTEVIELLE: Register engine at engines.mk 2012-04-06 08:18:18 +02:00
Eugene Sandulenko
56d8f2b39c MORTEVIELLE: integer -> int 2012-04-06 08:18:17 +02:00
Eugene Sandulenko
b193c92a6e MORTEVIELLE: Plug the engine into makefiles 2012-04-06 08:18:16 +02:00
Eugene Sandulenko
e6a0c23d2c MORTEVIELLE: Rename *.h -> *.cpp where they really belong 2012-04-06 08:18:14 +02:00
Eugene Sandulenko
9b6a4264dc MORTEVIELLE: Ran astyle over generated files 2012-04-06 08:18:13 +02:00
Eugene Sandulenko
816e53c1f8 MORTEVIELLE: Initial ptoc output 2012-04-06 08:18:12 +02:00
Johannes Schickel
8c57c71e3a KYRA: Silence const away cast warning by using non-const versions of strpbrk and strchr. 2012-04-05 00:40:30 +02:00
Johannes Schickel
f7d2cd7331 GROOVIE: Do not cast away const qualifier. 2012-04-05 00:40:30 +02:00
Johannes Schickel
0e17497110 SWORD25: Do not cast away const qualifier. 2012-04-05 00:40:30 +02:00
Johannes Schickel
56e8268073 SCI: Do not cast away const qualifier. 2012-04-05 00:40:25 +02:00
Johannes Schickel
d8aecf006a Merge pull request #221 from klusark/const
Fix casting away const
2012-04-04 15:27:42 -07:00
Willem Jan Palenstijn
a6ba9f150a SCUMM/ARM: Fix crashes in ARM asm costume renderer
It was possible to bypass the initialization of r11, and
mask was being read before the corresponding bounds check.

Thanks to fuzzie for analysis and LordHoto for testing.

This fixes bug #3500023 and a crash in the DOTT ending.
2012-04-04 08:54:58 +02:00
Filippos Karapetis
793dcda650 SCI: Bugfix for the GetAngle workarounds
Return a fake value instead of leaving random values in the accumulator
2012-04-04 07:41:44 +03:00
Joel Teichroeb
8dfa33ff1f SCUMM: Fix casting away const 2012-04-03 16:53:54 -07:00
Travis Howell
d50e34c1bd AGOS: Expand fix for bug #3512776 - SIMON1DOS French: Subtitle glitch in introduction. 2012-04-02 23:08:31 +10:00
Travis Howell
2388477355 AGOS: Fix bug #3512776 - SIMON1DOS French: Subtitle glitch in introduction. 2012-04-01 11:15:10 +10:00
D G Turner
639c54a306 SCI: Add workaround for SQ1SCI to fix engine abort in bug #3513765.
This occurs while Roger is trying to move around the Pilot Droid in
Ulence Flats.
2012-04-01 01:50:08 +01:00
Filippos Karapetis
95fb73bcc5 SCI: Change the fix for the SQ1 PAvoider call to apply in all rooms again
This bad call can be made in all rooms in Ulence Flats, after getting the
Pilot Droid. Properly fixes script bug #3513207
2012-04-01 01:32:03 +03:00
Filippos Karapetis
6a49d3eadd ENGINES: Return all available custom GUI options if no target is specified
This is used to set default settings for all custom game options when an
engine starts
2012-03-31 13:55:03 +03:00
Filippos Karapetis
7f9c63239b SCI: Make sure that the disable_dithering key exists 2012-03-31 05:54:30 +03:00
Filippos Karapetis
21e8f2f441 SCI: Fix workaround for bug #3513207
The associated call contains too few parameters, thus it shouldn't be made
at all
2012-03-31 05:53:29 +03:00
D G Turner
5bbfd008b6 SCI: Minor formatting fix to workarounds table. 2012-03-31 02:25:20 +01:00
D G Turner
834e9184e5 SCI: Add workaround for SQ1SCI to fix engine abort in bug #3513207.
This occurs while Roger is trying to move around the Pilot Droid in
various narrow cases.
2012-03-31 01:39:03 +01:00
Sven Hesse
8a4da1e6b0 GOB: Add a Spanish Amiga version of Gobliins 2
As supplied by aldozx in the forums.
2012-03-30 11:35:18 +02:00
D G Turner
3acc3837e1 SKY: Minor formatting fix. 2012-03-30 01:57:56 +01:00
Eric Culp
2fe60082e8 SKY: Allow game to be loaded from main menu dialog while in-game control panel is open. Fixes bug #3448294 2012-03-28 19:09:12 -04:00
D G Turner
b01d712a63 CGE: Close memory leak in savegame loading. 2012-03-28 01:51:56 +01:00
D G Turner
6523a32334 CGE: Close memory leak in sound Fx caching.. 2012-03-28 01:11:41 +01:00
D G Turner
83d4eeadc6 CGE: Close memory leak in savegame thumbnail loading. 2012-03-28 00:10:56 +01:00
Filippos Karapetis
5e10737015 AGI: Add played time information to saved games 2012-03-27 00:50:29 +03:00
Filippos Karapetis
85ca13db4b AGI: Use the ScummVM dialogs for saving/loading
An option has been added to use the original ones, if needed
2012-03-27 00:21:50 +03:00
Filippos Karapetis
98b60f1af8 DREAMWEB: Slight cleanup of DreamWebEngine::animPointer() 2012-03-27 00:21:48 +03:00
D G Turner
bbe686c507 AGI: Fix compilation on NDS, broken due to predictive text changes. 2012-03-26 01:09:15 +01:00
Filippos Karapetis
6a6831014c QUEEN: Implement saving/loading during runtime from the GMM 2012-03-26 01:02:04 +03:00
Eugene Sandulenko
f9c4504ec0 Merge pull request #214 from BenCastricum/master
SCUMM: More HE games detection fixes
2012-03-25 11:42:44 -07:00
Eugene Sandulenko
fe414c862c Merge pull request #216 from bluegr/gui_undither_move
GUI: Change the undithering checkbox to be an engine-specific option
2012-03-25 11:39:24 -07:00
Filippos Karapetis
d801186185 SCI: Fix cursor coordinates for SCI01. Fixes a crash in KQ1 (bug #3503932) 2012-03-25 19:22:31 +03:00
Filippos Karapetis
346c1fe461 GUI: Change the undithering checkbox to be an engine-specific option 2012-03-25 18:51:23 +03:00
Filippos Karapetis
fb5aa3ccbb DREAMWEB: Rename the dreamweb_originalsaveload option to originalsaveload
This changes its naming to be like the rest of the game options
2012-03-25 17:50:22 +03:00
Filippos Karapetis
1938d95c4e SCI: Rename the sci_originalsavedload option to originalsaveload
This changes its naming to be like the rest of the game options
2012-03-25 17:48:38 +03:00
Filippos Karapetis
2325b8ce24 KYRA: Fix game option comments 2012-03-25 17:05:23 +03:00