7090 Commits

Author SHA1 Message Date
Johannes Schickel
12d7a5e679 Cleanup.
svn-id: r32751
2008-06-22 12:36:38 +00:00
Florian Kagerer
3be9449e67 this should fix bug #1997149: KYRA2: no text in spellbook
svn-id: r32750
2008-06-22 12:31:05 +00:00
Nicola Mettifogo
446f66807f Circular references between Zone/Animation and Command are now manually removed, to allow the objects - which are stored into SharedPtr's - to be deallocated.
svn-id: r32744
2008-06-22 05:42:22 +00:00
Christopher Page
8ce5dcc8e8 Merged revisions 31992,32088,32094,32129,32203,32208,32219,32236,32329,32332-32333,32357,32504,32519,32525,32566,32578,32641-32642,32673,32675,32677,32679-32680,32718-32719,32721,32739 via svnmerge from
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/branches/gsoc2008-rtl

........
  r31992 | cpage88 | 2008-05-10 18:44:46 -0500 (Sat, 10 May 2008) | 1 line
  
  Modified game loop to return to launcher, codeblocks layouts update 1.5->1.6
........
  r32088 | cpage88 | 2008-05-13 11:09:57 -0500 (Tue, 13 May 2008) | 1 line
  
  used memmove() instead of memcpy() to fix memory overlap error
........
  r32094 | cpage88 | 2008-05-13 17:59:19 -0500 (Tue, 13 May 2008) | 1 line
  
  Fixed memory leak by deallocating memory used by window->iconPtr
........
  r32129 | cpage88 | 2008-05-14 18:26:32 -0500 (Wed, 14 May 2008) | 1 line
  
  Fixed memory leak when returning to launcher in AGOS engine by properly creating and deleting midi driver pointer
........
  r32203 | cpage88 | 2008-05-20 16:40:53 -0500 (Tue, 20 May 2008) | 1 line
  
  AGOS Engine: Began implementation for a new quit event which will cleanly return to the launcher.  This replaces the old shutdown() method within delay()
........
  r32208 | cpage88 | 2008-05-21 13:52:27 -0500 (Wed, 21 May 2008) | 1 line
  
  AGOS: Fixed two memory leaks when returning to the launcher (_mouseData and _zoneBuffers)
........
  r32219 | cpage88 | 2008-05-22 18:40:36 -0500 (Thu, 22 May 2008) | 1 line
  
  AGOS: Fixed a memory leak from earlier in a better way
........
  r32236 | cpage88 | 2008-05-23 19:08:13 -0500 (Fri, 23 May 2008) | 1 line
  
  AGI: Fixed two memory leaks when returning to launcher from AGI Engine
........
  r32329 | cpage88 | 2008-05-27 15:15:36 -0500 (Tue, 27 May 2008) | 1 line
  
  AGI: Modified AGI Engine to shutdown without using system->quit
........
  r32332 | cpage88 | 2008-05-27 18:26:48 -0500 (Tue, 27 May 2008) | 1 line
  
  CINE: Fixed two memory leaks when shutting down the CINE engine
........
  r32333 | cpage88 | 2008-05-27 19:52:45 -0500 (Tue, 27 May 2008) | 1 line
  
  CINE: Initialize exitEngine to 0 in mainLoop() to allow replay after returning to the launcher
........
  r32357 | cpage88 | 2008-05-28 18:28:11 -0500 (Wed, 28 May 2008) | 1 line
  
  LURE: Fixed some memory leaks when returning to the launcher from the LURE engine
........
  r32504 | cpage88 | 2008-06-02 16:08:49 -0500 (Mon, 02 Jun 2008) | 1 line
  
  PARA: Got rid of calls to system->quit() so that the Parallaction engine can return to the launcher.  Also fixed a couple of memory leaks.
........
  r32519 | cpage88 | 2008-06-03 13:24:54 -0500 (Tue, 03 Jun 2008) | 1 line
  
  PARA: Fixed some memory leaks
........
  r32525 | cpage88 | 2008-06-04 00:21:47 -0500 (Wed, 04 Jun 2008) | 1 line
  
  QUEEN: Modified engine to use a quit flag instead of system->quit() in order to return to the launcher
........
  r32566 | cpage88 | 2008-06-05 19:34:47 -0500 (Thu, 05 Jun 2008) | 1 line
  
  TOUCHE: Fixed a memory leak
........
  r32578 | cpage88 | 2008-06-06 11:40:39 -0500 (Fri, 06 Jun 2008) | 1 line
  
  SKY: Fixed a memory leak in SKY engine
........
  r32641 | cpage88 | 2008-06-09 17:26:05 -0500 (Mon, 09 Jun 2008) | 1 line
  
  TOUCHE: Reverted some comments that were used for testing purposes
........
  r32642 | cpage88 | 2008-06-09 18:15:17 -0500 (Mon, 09 Jun 2008) | 1 line
  
  Implemented popAllCursors() in CursorManager to ensure that all unnecessary cursors are removed from the cursor stack when returning to the launcher
........
  r32673 | cpage88 | 2008-06-12 11:58:02 -0500 (Thu, 12 Jun 2008) | 1 line
  
  SAGA: Fixed memory leaks in the SAGA engine
........
  r32675 | cpage88 | 2008-06-12 13:11:09 -0500 (Thu, 12 Jun 2008) | 1 line
  
  LURE: Fixed memory leaks in the LURE engine
........
  r32677 | cpage88 | 2008-06-12 13:52:43 -0500 (Thu, 12 Jun 2008) | 1 line
  
  CINE: Fixed memory leaks in the CINE engine
........
  r32679 | cpage88 | 2008-06-12 14:34:32 -0500 (Thu, 12 Jun 2008) | 1 line
  
  AGOS: Fixed a memory leak in the AGOS engine
........
  r32680 | cpage88 | 2008-06-12 14:43:54 -0500 (Thu, 12 Jun 2008) | 1 line
  
  SCUMM: Fixed a memory leak in the SCUMM engine
........
  r32718 | cpage88 | 2008-06-16 12:34:58 -0500 (Mon, 16 Jun 2008) | 1 line
  
  AGOS: Found a system->quit(), changed to _quit=true
........
  r32719 | cpage88 | 2008-06-16 13:47:32 -0500 (Mon, 16 Jun 2008) | 1 line
  
  Fixed a problem where the function that I previously implemented, popAllCursors(), was causing the mouse cursor to disapear
........
  r32721 | cpage88 | 2008-06-16 14:55:59 -0500 (Mon, 16 Jun 2008) | 1 line
  
  Cleaned up some unnecessary comments
........
  r32739 | cpage88 | 2008-06-20 14:38:38 -0500 (Fri, 20 Jun 2008) | 1 line
  
  Reverting changes to codeblocks layouts made in revision 31992
........

svn-id: r32742
2008-06-20 20:20:46 +00:00
Sven Hesse
0c6c7de355 Fixed a palette issue in Lost in Time
svn-id: r32738
2008-06-19 22:54:17 +00:00
Sven Hesse
f1b0e379d1 Only try playing object videos when the game version supports that (only Woodruff, for now)
svn-id: r32737
2008-06-19 16:27:49 +00:00
Max Horn
07bcb5179c Renamed M4Surface::empty() to clear() (two reason: empty is not a verb, and in class String it is used for a bool property)
svn-id: r32733
2008-06-18 21:02:52 +00:00
Benjamin Haisch
7bceafb3f2 - Fixed sprite drawing in Rodney's Funscreen
- Handle mouse button up events and event number fixes in MadeEngine::handleEvents()
- Use milliseconds -> game ticks calculation based on Windows version of the original engine
- "Rodney's Fun Screen" -> "Rodney's Funscreen"

svn-id: r32731
2008-06-18 11:01:51 +00:00
Kari Salminen
9b910eedba Fixed a small discrepancy in Delphine unpacker's command 00b's documentation (Parameter range is 1..8, not 1..9).
svn-id: r32730
2008-06-18 03:31:13 +00:00
Filippos Karapetis
8541fb5148 Possible fix for bug #1979086 - "DRASCULA: Wrong language detection(?) and crash"
svn-id: r32728
2008-06-17 21:52:58 +00:00
Filippos Karapetis
cca355acd7 Removed duplicate code
svn-id: r32727
2008-06-17 18:27:03 +00:00
Christopher Page
8cb11a808a Cleaned up some unnecessary comments
svn-id: r32721
2008-06-16 19:55:59 +00:00
Christopher Page
37a7a572cf Merged revisions 32668-32669,32676,32687-32689,32693,32695,32698-32701,32705 via svnmerge from
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk

svn-id: r32720
2008-06-16 19:06:48 +00:00
Christopher Page
23fc803dad AGOS: Found a system->quit(), changed to _quit=true
svn-id: r32718
2008-06-16 17:34:58 +00:00
Travis Howell
91d3ea3135 Revert last commit.
svn-id: r32700
2008-06-14 11:23:29 +00:00
Travis Howell
2e3077b3cb Disable drawObject type 0x41, which is currently causing frequent crashes.
svn-id: r32699
2008-06-14 11:17:16 +00:00
Kari Salminen
2b94f21744 Small cleanup (uint16 -> uint where still applicable).
svn-id: r32689
2008-06-13 08:37:03 +00:00
Kari Salminen
1a6841c92f More documentation for CineUnpacker-class (Practically done documenting now). Also changed parameter and return value types to a more uniform style (uint16 -> uint, int -> uint where applicable etc).
svn-id: r32688
2008-06-13 08:28:14 +00:00
Kari Salminen
d7d9348243 Made CineUnpacker::unpack more robust & secure. It shouldn't crash now with any input (Before making reading or writing operations they are checked to be in bounds). Also updated some comments and added some error message(s).
svn-id: r32687
2008-06-13 05:57:07 +00:00
Christopher Page
45525e7d18 SCUMM: Fixed a memory leak in the SCUMM engine
svn-id: r32680
2008-06-12 19:43:54 +00:00
Christopher Page
ad99e9b249 AGOS: Fixed a memory leak in the AGOS engine
svn-id: r32679
2008-06-12 19:34:32 +00:00
Christopher Page
101105315e CINE: Fixed memory leaks in the CINE engine
svn-id: r32677
2008-06-12 18:52:43 +00:00
Sven Hesse
46681407ab Fixing compilation
svn-id: r32676
2008-06-12 18:33:34 +00:00
Christopher Page
a596879c8e LURE: Fixed memory leaks in the LURE engine
svn-id: r32675
2008-06-12 18:11:09 +00:00
Christopher Page
dd423f803b SAGA: Fixed memory leaks in the SAGA engine
svn-id: r32673
2008-06-12 16:58:02 +00:00
Benjamin Haisch
fb31c62ad8 - Added support for Rodney's Fun Screen
- Added audio cd playback (still kinda broken though)
- Renamed getObjectPropertyPtr to findObjectProperty

svn-id: r32669
2008-06-12 11:09:04 +00:00
Benjamin Haisch
555ddf9f95 Updated script dumper to show opcode offset.
svn-id: r32668
2008-06-12 11:01:08 +00:00
Christopher Page
e86a422e25 Merged revisions 32564-32565,32567-32575,32577,32579-32594,32596-32603,32605-32639,32644-32646,32648-32666 via svnmerge from
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk

svn-id: r32667
2008-06-11 17:36:21 +00:00
Kari Salminen
7186c3bd1b Documented CineUnpacker class.
svn-id: r32665
2008-06-11 11:06:07 +00:00
Max Horn
fefad79249 No need to specify CaseSensitiveString_Hash explicitly anymore
svn-id: r32663
2008-06-11 06:00:56 +00:00
Filippos Karapetis
6fa6a2fbca Pressing enter when entering the name of a save game should save that game
svn-id: r32661
2008-06-10 22:41:41 +00:00
Kari Salminen
efc4fd7ae0 A little Delphine unpacker documentation addition and variable renaming.
svn-id: r32660
2008-06-10 22:37:55 +00:00
Filippos Karapetis
b652c20114 Fixed regression in the pendulum room, preventing the player from selecting John's hands (new version of drascula.dat needed)
svn-id: r32657
2008-06-10 22:14:47 +00:00
Kari Salminen
009e26f813 Changed unpackHelper1(numBits, addCount) to unpackBytes(numBytes).
svn-id: r32655
2008-06-10 21:44:59 +00:00
Kari Salminen
420d29932b unpackerHelper2(numBits) -> copyRelocatesBytes(offset, numBytes) and some revising of the unpacking routine.
svn-id: r32653
2008-06-10 21:34:26 +00:00
Filippos Karapetis
bdfdf0e7b3 The static arrays in drascula.dat contain signed integers as well
svn-id: r32651
2008-06-10 21:07:11 +00:00
Filippos Karapetis
985903a071 Use the array sizes loaded from drascula.dat, instead of ARRAYSIZE
svn-id: r32650
2008-06-10 21:06:39 +00:00
Kari Salminen
fdf3f36bc6 Properly renamed some of the functions in the Delphine unpacker after understanding what they really do.
svn-id: r32649
2008-06-10 20:57:22 +00:00
Filippos Karapetis
e03bd801d6 Fixed character walking in room 14 (the bar, right after BJ is kidnapped). This should fix the issues with the pianist in bug report #1979989 - "DRASCULA : Lip sync error when talking to pianist"
svn-id: r32648
2008-06-10 20:19:44 +00:00
Kari Salminen
3823a23b70 Objectified the Delphine decompression routine (i.e. delphineUnpack).
svn-id: r32646
2008-06-10 19:08:53 +00:00
Filippos Karapetis
c51b11e862 verbo -> verb
svn-id: r32645
2008-06-10 18:56:59 +00:00
Filippos Karapetis
930ba6d02d drawSurface1 -> bgSurface
svn-id: r32644
2008-06-10 18:54:32 +00:00
Christopher Page
4d7798825c TOUCHE: Reverted some comments that were used for testing purposes
svn-id: r32641
2008-06-09 22:26:05 +00:00
Filippos Karapetis
aac3270de1 endianess fixes
svn-id: r32639
2008-06-09 18:03:11 +00:00
Filippos Karapetis
a9c93a4be9 Fixed regression from commit #32636, leading to a crash
svn-id: r32638
2008-06-09 18:02:09 +00:00
Torbjörn Andersson
339874f6c0 Fixed warnings. (Mainly, GCC 4.3 doesn't want you to use "char" as an array
index. Probably because it's undefined whether or not it's signed.)

svn-id: r32637
2008-06-09 17:50:52 +00:00
Eugene Sandulenko
50c62c7eac Properly initialize and free memory for texts
svn-id: r32636
2008-06-09 14:45:45 +00:00
Filippos Karapetis
661e507772 Properly initialize and destroy the different arrays read from drascula.dat. Also, fixed a crash that occurred from the last commit
svn-id: r32635
2008-06-09 14:36:58 +00:00
Filippos Karapetis
9e9c38c689 Bugfix to read the first array element correctly by sev
svn-id: r32634
2008-06-09 14:23:04 +00:00
Filippos Karapetis
a353776f2f - drascula.dat is now read completely
- Removed the rest of the game static data (staticdata.h)
- Some naming convention fixes (added underscore to some shared variables)
- Renamed objeto -> object

svn-id: r32628
2008-06-09 10:11:42 +00:00