Commit Graph

36534 Commits

Author SHA1 Message Date
Max Horn
a88b2639f5 SCI: empty() checks whether the map is empty... removing useless line of code :)
svn-id: r47294
2010-01-13 23:57:53 +00:00
Eugene Sandulenko
286d18b423 Fix bug #2924680: "Large file support" with patch from same bugreport. Thanks to wjp.
svn-id: r47293
2010-01-13 20:56:21 +00:00
Walter van Niftrik
b59eebfea8 SCI: DoSound: when setting volume return previous value, fixes KQ6CD intro.
svn-id: r47292
2010-01-13 17:34:42 +00:00
Joost Peters
29302d172b fix comparison for platforms where char is unsigned
svn-id: r47291
2010-01-13 15:17:22 +00:00
Filippos Karapetis
24d1db6155 The pitch wheel is now properly reset when a song is unloaded
svn-id: r47290
2010-01-13 14:46:45 +00:00
Fabio Battaglia
6c6604d589 N64: if user has inserted a rumble-pak, rumble with shaking screen
svn-id: r47289
2010-01-13 13:53:31 +00:00
Martin Kiewitz
7db58ae29e SCI: fix kernel signature for kDrawCel (fixes island of dr. brain), added debugging output for kernel_matches_signature
svn-id: r47288
2010-01-13 11:14:04 +00:00
Filippos Karapetis
b44a56aa92 Documented MidiParser_SCI, mentioning that it's an extension to the MidiParser_SMF parser
svn-id: r47287
2010-01-13 08:14:16 +00:00
Fabio Battaglia
587bbf4b3f N64: further commenting/cleanup
svn-id: r47286
2010-01-12 21:52:38 +00:00
Martin Kiewitz
ef5c9f62d7 SCI: implemented mouse interaction while being in keyboard mode, also ignore disabled entries/separator lines within mouse mode
svn-id: r47285
2010-01-12 21:49:43 +00:00
Johannes Schickel
af1ba42298 Fix some memory leaks.
svn-id: r47284
2010-01-12 21:46:50 +00:00
Fabio Battaglia
62a87101d5 N64: forgot to disable some debug code
svn-id: r47283
2010-01-12 21:24:37 +00:00
Fabio Battaglia
3138ac98ba N64: some cleanup and optimization of video code
svn-id: r47282
2010-01-12 21:18:28 +00:00
Eugene Sandulenko
ac668291ac Fix bug #2930306: "MANIAC - Italian NES version (extracted) not recognized"
svn-id: r47280
2010-01-12 21:13:01 +00:00
Johannes Schickel
0d995c5920 Rename all "Adlib" uses to "AdLib" to match the real name of the sound card / company.
Check this for reference:
http://en.wikipedia.org/wiki/Ad_Lib,_Inc.
http://www.crossfire-designs.de/images/articles/soundcards/adlib.jpg (note the upper left of the card)

This commit does not touch "adlib" and "ADLIB" uses!

Also it does not update all the SCUMM detection entries, which still use "Adlib".

svn-id: r47279
2010-01-12 21:07:56 +00:00
Martin Kiewitz
1ebe047972 SCI: using _menuRect inside Menu::mouseFindMenuItemSelection for easier code, also fixed stupid oversight that made the code crash in e.g. lsl6
svn-id: r47278
2010-01-12 20:51:45 +00:00
Martin Kiewitz
a62bf2528f SCI: interactive menu with mouse fully implemented, mouse within keyboard menu not yet done
svn-id: r47277
2010-01-12 20:38:57 +00:00
Johannes Schickel
dd39b64ce4 Fix memory leak in MidiPlayer_Adlib.
svn-id: r47276
2010-01-12 20:26:49 +00:00
Johannes Schickel
3578f8d091 Fix some memory leaks caused by never freeing the allocated memory, which is pointed at by KernelFuncWithSignature::signature.
svn-id: r47275
2010-01-12 20:19:45 +00:00
Johannes Schickel
36444740b3 Fix some memory leaks caused by never deleting the objects inside SoundCommandParser::_soundCommands.
svn-id: r47274
2010-01-12 20:08:17 +00:00
Martin Kiewitz
7ed2146977 SCI: changed interactive with mouse menu code (still not finished)
svn-id: r47273
2010-01-12 19:52:43 +00:00
Johannes Schickel
003c62fee8 A null pointer can be safely passed to "delete", thus there is no need to check against the pointer being non-zero in advance.
svn-id: r47272
2010-01-12 19:07:03 +00:00
Martin Kiewitz
c1e4156587 SCI: added comment about "not behaving like sierra here", also added TODO on mouse state change
svn-id: r47270
2010-01-12 18:46:42 +00:00
Martin Kiewitz
a14f044daa SCI: deleting _font when changing active font
svn-id: r47269
2010-01-12 18:43:10 +00:00
Martin Kiewitz
73bacd5d3a SCI: deleting _music in destructor
svn-id: r47268
2010-01-12 18:40:43 +00:00
Martin Kiewitz
52eb58a3e5 SCI: View::getCelCount now validates input
svn-id: r47267
2010-01-12 18:24:37 +00:00
Willem Jan Palenstijn
e4aed638b0 Fix loop alignment check
svn-id: r47264
2010-01-12 12:58:48 +00:00
Martin Kiewitz
6a5dbf6db7 SCI: continue when kPortrait is called with no sync resource existant for mouth movement, prints warning() instead
svn-id: r47263
2010-01-12 12:00:00 +00:00
Fabio Battaglia
f2318e5fe4 N64: Icrease analog sensibility a little
svn-id: r47262
2010-01-12 10:23:16 +00:00
Walter van Niftrik
1a570df5dc SCI: Handle master volume inside music drivers
svn-id: r47261
2010-01-12 00:51:37 +00:00
Filippos Karapetis
dc45c729a9 Added mouse click handling for top menus (mouse clicks on menu items of each menu are not handled yet)
svn-id: r47260
2010-01-12 00:18:40 +00:00
Max Horn
65f11afe89 Patch from tracker item #2909981 which documents the various MSVC warnings we disabled, and why
svn-id: r47259
2010-01-11 21:45:48 +00:00
Eugene Sandulenko
80ee1de8e4 Move Mac Binary resource loader to common class. Plug tons of memory leaks along the way.
svn-id: r47258
2010-01-11 20:41:07 +00:00
Martin Kiewitz
3145ee5379 SCI: changed displaceY and displaceX for cels to int16, also inserted cast to signed char for sci1 displaceX - should fix wii flickering and incorrect cel placement problems
svn-id: r47257
2010-01-11 20:31:12 +00:00
Eugene Sandulenko
59d4f14f39 Fix bug #2929619: "IHNM: Small problem detecting German version"
svn-id: r47255
2010-01-11 19:22:19 +00:00
Filippos Karapetis
61e792319d Don't update the screen twice while waiting
svn-id: r47254
2010-01-11 16:33:00 +00:00
Filippos Karapetis
33db6acd7f Changed all kGraph calls which handle rectangles to use kGraphCreateRect(). Also, changed kGraphCreateRect() to return a rect, rather than update a rect pointer
svn-id: r47253
2010-01-11 16:28:46 +00:00
Filippos Karapetis
70694f9858 New music code: Implemented sound stopping after fading, and disabled MIDI sound volume fading, till we figure out what's wrong with fading in the Sierra logo screen in GK1
svn-id: r47252
2010-01-11 14:26:13 +00:00
Filippos Karapetis
6d53dfe917 Some portrait-related changes, to be used when portrait loading/unloading is done. Also, added a comment on where the class is used
svn-id: r47251
2010-01-11 14:12:52 +00:00
Filippos Karapetis
6a07bbd5f4 Moved all the cache limits inside helpers.h and removed an obsolete TODO
svn-id: r47250
2010-01-11 12:23:04 +00:00
Fabio Battaglia
4400bac9ad N64: optimizations in cursor drawing code
svn-id: r47249
2010-01-11 11:37:11 +00:00
Paul Gilbert
002310f8c0 Added MSVC warning 4355 ignore for the M4 project
svn-id: r47248
2010-01-11 11:34:43 +00:00
Filippos Karapetis
51afa7b0b6 - Set the palette inside doit() again
- Removed a now obsolete TODO
- Portrait animations are now stopped when the Esc key is pressed, or when the engine should quit

svn-id: r47247
2010-01-11 10:59:52 +00:00
Filippos Karapetis
fc8fc3a664 The portrait file data is now freed after the portrait animation is done
svn-id: r47246
2010-01-11 10:37:32 +00:00
Filippos Karapetis
4996b7a7d4 Cleanup, fixed a memory leak
svn-id: r47245
2010-01-11 10:31:40 +00:00
Max Horn
590481b12d Improve support for negative Timestamps, and add + and - operators
svn-id: r47244
2010-01-11 10:17:55 +00:00
Max Horn
87cdc86580 MADE: Use Mixer::getElapsedTime and Audio::Timestamp instead of Mixer::getSoundElapsedTime
svn-id: r47243
2010-01-11 10:17:23 +00:00
Fabio Battaglia
5b043140ff N64: a few optimizations in framebuffer drawing code
svn-id: r47242
2010-01-11 09:34:20 +00:00
Filippos Karapetis
009b86e8cb - Don't set the palette per portrait frame - setting the whole screen palette is a very expensive operation, and shouldn't be done on each frame, especially when all of the frames use the same palette
- Cleanup

svn-id: r47241
2010-01-11 09:30:41 +00:00
Filippos Karapetis
8c4e0de67d Hide the mouse cursor while a video is being played
svn-id: r47240
2010-01-11 09:28:00 +00:00