36576 Commits

Author SHA1 Message Date
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
Walter van Niftrik
403c2f31bb SCI: Fix default optimization level in AvoidPath
svn-id: r47239
2010-01-10 23:55:15 +00:00
Fabio Battaglia
9a18bfc22f Nintendo64: use newlines when printing assert messages, to avoid wrapping
svn-id: r47238
2010-01-10 22:30:12 +00:00
Filippos Karapetis
a637f50862 Silenced warnings ("this" isn't defined on object instantiation, and commented out some unused variables)
svn-id: r47237
2010-01-10 21:13:38 +00:00
Joost Peters
2ae12749a9 fix #2926655: "Teenagent: Inventory problems on BE systems"
svn-id: r47236
2010-01-10 20:58:59 +00:00
Fabio Battaglia
ecff81544c remove unneeded workaround for #47233
svn-id: r47234
2010-01-10 18:11:36 +00:00
Johannes Schickel
52fb0c59da Fix bug in Engine::pauseEngine (this should fix #2912148 "Using virtual keyboard in menu mutes audio")
svn-id: r47233
2010-01-10 18:09:49 +00:00
Fabio Battaglia
8703b6929f Mark the 'fix' in r47231 as a workaround for a probably deeper problem.
svn-id: r47232
2010-01-10 17:58:44 +00:00
Fabio Battaglia
09a2694f6f Check if game engine is already paused before pausing it again to show virtual keyboard. Fixes #2912148
svn-id: r47231
2010-01-10 17:49:05 +00:00