David Turner
e395aeff05
MOHAWK: Removed direct OSystem Quit calls from Myst Mohawk Interpreter.
...
This avoids the same issue that caused leakage in other engines.
svn-id: r55584
2011-01-28 08:37:27 +00:00
David Turner
96174d6842
DRASCULA: Fixed Code to allow Quit/RTL Function and avoid Memory Leakage.
...
A memory leakage was traced down to a failure to call the engine destructor.
This was due to the engine directly calling OSystem quit() i.e. _system->quit(), rather than
just allowing engine::run() to return.
Have removed this code and implemented the changes required to allow graceful Quit/RTL to occur.
svn-id: r55583
2011-01-28 08:07:50 +00:00
David Turner
f7e1ed3762
COMMON: Fixed memory leakage in unarj readHeader().
...
This manifested in Drascula.
svn-id: r55582
2011-01-28 02:56:07 +00:00
David Turner
44035c3033
DRASCULA: Remove unecessary destructor from ArchiveMan.
...
svn-id: r55581
2011-01-28 02:30:25 +00:00
David Turner
c17e3d38bd
DRASCULA: Fix for Duplicate Registering of Archive.
...
A warning occurs that the archive, Packet.001 has been added twice.
This is due to a hack to get the detector priority listing correct.
This fix prevents this causing a multiple add of the same archive.
svn-id: r55580
2011-01-28 01:09:27 +00:00
David Turner
e2abf3b000
DRASCULA: Fix minor cut and paste error in Console "room" command.
...
svn-id: r55579
2011-01-28 01:05:17 +00:00
David Turner
590ce4762e
DRASCULA: Fix uninitialized reads of mouse position variables.
...
svn-id: r55578
2011-01-28 01:04:42 +00:00
Bastien Bouclet
7baf4d2ed3
MOHAWK: Implement Stoneship chest puzzle
...
svn-id: r55577
2011-01-27 21:13:34 +00:00
Bastien Bouclet
67c057dc15
MOHAWK: Allow videos to be paused individually
...
svn-id: r55576
2011-01-27 21:12:34 +00:00
Sven Hesse
03adf7fdf6
GOB: Only draw text when coordinates are within the surface
...
svn-id: r55575
2011-01-27 21:12:27 +00:00
Sven Hesse
261a640a93
GOB: Stop drawing a letter on surface boundaries
...
svn-id: r55574
2011-01-27 20:50:43 +00:00
Sven Hesse
6513748c46
GOB: Add Pixel::isValid() and ConstPixel::isValid()
...
svn-id: r55573
2011-01-27 20:50:18 +00:00
Filippos Karapetis
b25a5d1862
HUGO: Fixed crash when an incorrect hugo.dat file is found
...
svn-id: r55572
2011-01-27 20:42:19 +00:00
Sven Hesse
ecd2e0f3a0
GOB: Add sanity checks to Pixel and ConstPixel
...
svn-id: r55571
2011-01-27 20:38:58 +00:00
Matthew Hoops
57dc8f6fc2
MOHAWK: Add detection for the LB sampler
...
svn-id: r55570
2011-01-27 19:20:27 +00:00
Arnaud Boutonné
fb8b4e1016
HUGO: Handle mouse 'UP' events instead of 'DOWN'.
...
This fixes the multiple clicks on object + message reported by D.Gray
svn-id: r55569
2011-01-27 18:43:02 +00:00
Filippos Karapetis
5b958eb0d1
TOON: Check for the state of modifier keys (control/alt/shift) when handling game hotkeys
...
Fixes bug #3166522 at engine level (fix 2/2)
svn-id: r55568
2011-01-27 14:20:16 +00:00
Filippos Karapetis
2126aa588f
SDL: Don't send key up events for special keys that are handled by handleKeyDown()
...
Fixes bug #3166522 at the SDL level (fix 1/2)
svn-id: r55567
2011-01-27 14:17:59 +00:00
David Turner
0760c92908
DRASCULA: Fix Memory Leak in drascula.dat Loading.
...
svn-id: r55566
2011-01-27 14:07:45 +00:00
Sven Hesse
eb3667d7c9
GOB: Implement backuping of sprites, sounds, fonts in totSub
...
svn-id: r55565
2011-01-27 13:27:58 +00:00
Sven Hesse
95ed10adde
GOB: Add SoundDesc::swap()
...
svn-id: r55564
2011-01-27 13:27:29 +00:00
Sven Hesse
20d74edf8b
GOB: Add o7_draw0x59 stub
...
svn-id: r55563
2011-01-27 13:27:04 +00:00
Sven Hesse
e237ff3628
GOB: Some Addy gameflow stubs
...
svn-id: r55562
2011-01-27 13:26:34 +00:00
Filippos Karapetis
a6e9fe69c3
SCI: Set the printLang and parseLang selectors again when restarting, if necessary.
...
This sets the language again correctly to the language selected in the launcher when
restarting multilingual games.
svn-id: r55561
2011-01-27 10:49:11 +00:00
David Turner
73a440cfe2
DRASCULA: Fix Memory Leaks in Rooms Table.
...
Minor whitespace fixes as well.
svn-id: r55560
2011-01-27 07:58:57 +00:00
David Turner
861fab3fb1
AGOS: Fix Memory Leaks in Feeble Files.
...
Found with Valgrind.
svn-id: r55559
2011-01-27 04:13:10 +00:00
David Turner
d55626722e
AGOS: Fix Memory Leaks when playing Simon 2 Win.
...
These were identified with Valgrind.
svn-id: r55558
2011-01-27 02:57:07 +00:00
Arnaud Boutonné
b7a8444992
HUGO: As requested by D. Gray, use 'exit' (DOS) command in Win versions
...
svn-id: r55557
2011-01-26 23:18:26 +00:00
Arnaud Boutonné
dc31f4b3e2
HUGO: Cleanup: Suppress an obsolete warning and a comment
...
svn-id: r55556
2011-01-26 22:50:36 +00:00
Arnaud Boutonné
b0def10892
HUGO: Ensure savegames are not impacted by unexpected ANULL actions, by replacing delEventType() and delQueue() in H1 Dos
...
svn-id: r55555
2011-01-26 20:03:12 +00:00
Matthew Hoops
214d8f1e3e
MOHAWK: Introduce a new CursorManager for LB v2+ (they do not use exe cursors)
...
svn-id: r55554
2011-01-26 19:13:53 +00:00
Sven Hesse
437a3eb63b
GOB: Add 2 Addy 4 base fake save handlers
...
svn-id: r55553
2011-01-26 19:05:36 +00:00
Sven Hesse
1d59d3ecb0
GOB: Another fake Addy 4 save handler
...
svn-id: r55552
2011-01-26 19:05:04 +00:00
Sven Hesse
efdcf921ea
GOB: Another fake file path
...
svn-id: r55551
2011-01-26 19:04:42 +00:00
Sven Hesse
d71125dc21
GOB: Use a fake cursor for Addy for now :P
...
svn-id: r55550
2011-01-26 19:04:24 +00:00
Sven Hesse
7a41cd7fa9
GOB: Add stub save handlers for Addy 4 (Grundschule)
...
svn-id: r55549
2011-01-26 19:04:03 +00:00
Sven Hesse
f23b4af682
GOB: Increase kFontCount for Addy
...
svn-id: r55548
2011-01-26 19:03:37 +00:00
Sven Hesse
a2afc0f4d1
GOB: Check font index for kFontCount
...
svn-id: r55547
2011-01-26 19:03:13 +00:00
Sven Hesse
2c2476b203
GOB: Add a small playTot change for Addy
...
svn-id: r55546
2011-01-26 19:02:39 +00:00
Sven Hesse
1686ecdf83
GOB: Increase kEnvironmentCount to 20 for Addy
...
svn-id: r55545
2011-01-26 19:02:20 +00:00
Sven Hesse
e5f9eb30d3
GOB: o7_draw0x93 is o7_setVolume
...
svn-id: r55544
2011-01-26 19:01:42 +00:00
Alyssa Milburn
b13d6026c7
MOHAWK: Detect "The Cat in the Hat".
...
svn-id: r55543
2011-01-26 18:40:28 +00:00
Willem Jan Palenstijn
190bd60505
SCI: Make SCI3 propertyId endianness hack a bit cleaner
...
svn-id: r55542
2011-01-26 16:51:18 +00:00
Julien Templier
04f971370c
LASTEXPRESS: Add some more error handling to Savegame and Sound classes
...
- Add some const modifiers where applicable
- Add some missing casts
svn-id: r55541
2011-01-26 10:43:38 +00:00
Sylvain Dupont
177b656edf
HUGO: Fix some save/restore issues
...
Invalidates current savegames! (now version 3)
svn-id: r55540
2011-01-26 00:21:54 +00:00
Max Horn
fec516e2b0
SCI: cleanup
...
svn-id: r55539
2011-01-25 20:21:57 +00:00
Alyssa Milburn
b79743b221
MOHAWK: Read kLBEventNotified data after commands.
...
This fixes some pages in Maggie's Farmyard Adventure, at least.
Thanks to clone2727 for testing this.
svn-id: r55538
2011-01-25 17:35:53 +00:00
Sven Hesse
a3baa1874a
GOB: Add a sanity check to o1_freeFont
...
svn-id: r55537
2011-01-25 15:14:07 +00:00
Sven Hesse
e3f1d02044
GOB: Add o7_zeroVar and partially implement draw0x89
...
svn-id: r55536
2011-01-25 15:13:37 +00:00
Sven Hesse
330acb2168
GOB: Add a sanity check assert()
...
svn-id: r55535
2011-01-25 14:20:47 +00:00