7122 Commits

Author SHA1 Message Date
Florian Kagerer
3f878008da - implement music fading for Hof FM-Towns
svn-id: r32829
2008-06-28 15:36:50 +00:00
Florian Kagerer
09247e7e5a hof: remove debug code
svn-id: r32821
2008-06-28 13:40:03 +00:00
Nicola Mettifogo
e6e56feb1c Added comment for fix for bug #2001193.
svn-id: r32820
2008-06-28 13:31:58 +00:00
Florian Kagerer
e97dff9f33 - HOF: bug fix for music driver
- KYRA1 PC98: fix music file selection

svn-id: r32819
2008-06-28 13:13:37 +00:00
Benjamin Haisch
b6ad2b0035 - Fixed umlauts in printText
- Don't exit when a pmv video couldn't be found

svn-id: r32817
2008-06-27 09:57:38 +00:00
Kari Salminen
8cd03780f6 Implemented Operation Stealth's version of addOverlay(objectIndex, overlayType).
svn-id: r32816
2008-06-26 23:30:45 +00:00
Florian Kagerer
0bea51974e fix bad const casts
svn-id: r32812
2008-06-26 20:43:23 +00:00
Florian Kagerer
b695cb74ca more cleanup
svn-id: r32811
2008-06-26 20:30:43 +00:00
Florian Kagerer
6cdb04f940 cleanup
svn-id: r32810
2008-06-26 20:13:04 +00:00
Sven Hesse
41dfebc532 Fixing compilation for me. There are still lots of "cast casts away constness" warnings, though
svn-id: r32809
2008-06-26 19:56:18 +00:00
Florian Kagerer
7b30081be2 - improved hof music support for fm-towns (driver for *.twn tracks) (still needs quite some work)
- some PC-98 music support since it uses a very similar driver, but this can't be considered working yet)
- Kyra 1 PC-98 music doen't work at all since I haven't figured out yet how to turn track numbers into the corresponding music file names (might require a hard coded track map)

svn-id: r32807
2008-06-26 19:42:59 +00:00
Kari Salminen
971f27beb2 Fixed opcode:
- 0x83: o2_isSeqRunning (Should it be named o2_isSeqNotRunning?)
-- Added previously missing test part
-- Negated the result (It was backwards before!)

svn-id: r32804
2008-06-26 17:29:21 +00:00
Lars Persson
fafda89d0c Fixed Symbian buildsystem for new defines. Fixed ARM asm syntax for Symbian build.
svn-id: r32803
2008-06-26 16:51:02 +00:00
Kari Salminen
d7051a8ef7 Comments update.
svn-id: r32802
2008-06-26 15:44:26 +00:00
Kari Salminen
68c598a3f3 Comments update.
svn-id: r32801
2008-06-26 15:16:15 +00:00
Gregory Montoir
358d2ec44a fix possible oob access
svn-id: r32799
2008-06-26 10:12:47 +00:00
Gregory Montoir
b6adcca897 moved midi driver object creation to MidiPlayer class (to match delete call)
svn-id: r32798
2008-06-26 10:12:12 +00:00
Kari Salminen
1d71ab7e1f Fix for GCC warning (Warned about testing x >= 0 when x is unsigned and therefore the test is always true).
svn-id: r32791
2008-06-25 22:13:18 +00:00
Kari Salminen
1339a55389 Implemented support for zoneQuery (Operation Stealth specific).
Fixed opcodes (related to zoneQuery):
- 0x08: o1_checkCollision
- 0x9A: o2_wasZoneChecked
NOTE: Savegame support for the zoneQuery data is broken

svn-id: r32790
2008-06-25 21:57:08 +00:00
Kari Salminen
dee147eebf Added FIXME about the broken implementation of opcode 0x9A (o2_wasZoneChecked).
svn-id: r32789
2008-06-25 18:51:44 +00:00
Kari Salminen
d5d09208b4 Implemented opcode:
- 0x82: o2_modifySeqListElement (Was o2_op82)
Seeks a matching element from the seqList and modifies its values.

svn-id: r32786
2008-06-25 17:14:44 +00:00
Kari Salminen
a2e6f35310 Implemented opcode:
- 0x8D: o2_op8D (Didn't come up with a descriptive name yet)
Compares ranges of x, y and mask parameters between two objects.
Possibly some kind of an intersection testing function?

svn-id: r32785
2008-06-25 15:09:24 +00:00
Filippos Karapetis
ef07d7e8a7 Added patch from bug report #2001189 - "DRASCULA: Wrong intro music in Spanish version"
svn-id: r32783
2008-06-25 12:02:34 +00:00
Filippos Karapetis
9654ee4fa3 Possible fix for (for the drascula engine) for bug #2001583 - "WINCE: CRUISE and DRASCULA engines can not be compiled"
svn-id: r32777
2008-06-25 08:36:07 +00:00
Kari Salminen
f1cacafc46 Fixed opcodes:
- 0xA0: o2_addGfxElementType20 (Was o2_addGfxElementA0)
Implemented opcodes:
- 0xA1: o2_removeGfxElementType20 (Was o2_removeGfxElementA0)
- 0xA2: o2_addGfxElementType21 (Was o2_opA2)
- 0xA3: o2_removeGfxElementType21 (Was o2_opA3)
NOTE: Drawing of type 21 overlay elements isn't coded yet.

svn-id: r32769
2008-06-24 20:44:37 +00:00
Johannes Schickel
df1aa7809a Added const to some static data.
svn-id: r32763
2008-06-24 13:59:48 +00:00
Nicola Mettifogo
28e32bb7cb Fix for bug #2001193. Character confirmation screen didn't appear and game crashed because too many strings were added to the draw list.
svn-id: r32762
2008-06-24 13:21:22 +00:00
Filippos Karapetis
9194f39185 Fixed 2 MSVC warnings (potentially undefined behavior and possibly uninitialized variable used)
svn-id: r32758
2008-06-22 17:36:14 +00:00
Nicola Mettifogo
d2609258cc Added constructor and destructor to Dialogue, thus fixing a long standing leak.
svn-id: r32757
2008-06-22 14:46:08 +00:00
Nicola Mettifogo
4e2e46f16c Fixed leak when loading sounds for Amiga version of Nippon Safes.
svn-id: r32756
2008-06-22 14:31:45 +00:00
Johannes Schickel
51000de162 Cleanup.
svn-id: r32754
2008-06-22 12:43:32 +00:00
Florian Kagerer
6360c392f2 missed this in last commit (bug fix for #1997149)
svn-id: r32753
2008-06-22 12:41:46 +00:00
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