aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2003-09-28Fix problem of verbs areas always been shown after reload in V1-V2 games.Travis Howell
Seems to fix problem of distaff highlights after reload in loom [ega]. Could cause regression in fm towns games. svn-id: r10455
2003-09-28don't try to pass NULL when there is an int argumentJonathan Gray
svn-id: r10454
2003-09-28Added music.hJamieson Christian
svn-id: r10453
2003-09-28Added terminate() to the MusicEngine and publicizedJamieson Christian
the iMuse implementation. This allows the termination sequence to be done BEFORE object destruction, so that the destructor is not making calls that may not be appropriate during object destruction. (Virtual functions were the concern, although I'm not sure any of that was happening anyway. Oh well, better to be safe than sorry.) I implemented an empty terminate() in the base class, but the other MusicEngine derivatives may have stuff in their destructors that should be moved to this method. I didn't check. svn-id: r10452
2003-09-27get rid of explicit redMask/blueMask and use redBlueMask instead (this will ↵Max Horn
be useful should we choose to templatize the scalers for 555/565 mode optimizations) svn-id: r10451
2003-09-27Timer services are now available through g_timer, soJamieson Christian
you don't have to go through the Engine to get to them. svn-id: r10450
2003-09-27Fixed program crash when trying to switch to aJamieson Christian
video mode that isn't supported (such as going to fullscreen under COMI with a 3x scaler and a video card that doesn't like 1920x1440 LOL). The program still terminates when this happens, due to the suboptimal way we make the switch to another video mode. (By the time we find out that we can't make the switch, it's too late to revert back). But at least it doesn't crash. svn-id: r10449
2003-09-27cheak doxygen commentsMax Horn
svn-id: r10448
2003-09-27cleanupMax Horn
svn-id: r10447
2003-09-27Fixed template function compile quirks under MSVC6.Jamieson Christian
Apparently MSVC6 does not like overloading of template functions when the template arguments vary between versions of the overloaded function. I replaced interpolate16 with functions that have two different names, so MSVC6 won't see them as being the same function with [it insists] the same number of template arguments. svn-id: r10446
2003-09-27cleanupMax Horn
svn-id: r10445
2003-09-27merged in some more changes/improvements by _Q; cleanupMax Horn
svn-id: r10444
2003-09-27fix for bug #813136Max Horn
svn-id: r10443
2003-09-27proposal for revised scaler keyboard shortcutsMax Horn
svn-id: r10442
2003-09-27updated NEWS a bitMax Horn
svn-id: r10441
2003-09-27don't use tabs in the READMEMax Horn
svn-id: r10440
2003-09-27added hq2x scalerMax Horn
svn-id: r10439
2003-09-27added hq2x scaler (no, I am not going to add hq4x anytime soon. It would be ↵Max Horn
another 4-5000 lines of code, and scaler.cpp already takes far too long to compile. Maybe we should seperate the scalers into several files in common/scaler/ ?) svn-id: r10438
2003-09-27some minor cleanupMax Horn
svn-id: r10437
2003-09-27add some descumm TODOsMax Horn
svn-id: r10436
2003-09-27some cleanup / removed some code duplication (more should be done, but I ↵Max Horn
don't have the time right now). Since I lack data files to test this, I'd be grateful if somebody could check whether I broke something svn-id: r10435
2003-09-27don't use delete to free memory allocated by mallocMax Horn
svn-id: r10434
2003-09-27added a FIXME (regarding optimization) to INTERPOLATE; added new template ↵Max Horn
function interpolate16 which is used by hq3x (advantage of the old trick which abused Q_INTERPOLATE: smaller & better optimized code; very easy to adapt the function for other uses, like for hq2x/hq3x. Drawback: scaler.cpp takes even longer to compile now :-) svn-id: r10433
2003-09-27cleanupTorbjörn Andersson
svn-id: r10432
2003-09-27Began unifying the function documentation in driver96.h with the one in theTorbjörn Andersson
individual files, into what I hope are doxygen ones. svn-id: r10431
2003-09-27OSystem changes: removed create_thread() method (not needed anymore; 'pure' ↵Max Horn
threads aren't very portable anyway, better we only use timers); introduced OSystem::TimerProc type svn-id: r10430
2003-09-27Save enough information about the currently playing music before theTorbjörn Andersson
credits so that it can be properly resumed afterwards. svn-id: r10429
2003-09-27Removed inaccurate commentTorbjörn Andersson
svn-id: r10428
2003-09-27Removed CopyScreenBuffer() since it was a no-op anyway.Torbjörn Andersson
svn-id: r10427
2003-09-27cleanupTorbjörn Andersson
svn-id: r10426
2003-09-27I don't think UpdatePaletteMatchTable() has to write the table to file. InTorbjörn Andersson
fact, I'm not even sure the !data case ever happens. svn-id: r10425
2003-09-27cleanupTorbjörn Andersson
svn-id: r10424
2003-09-27add alternate sword2 target for people who want to use the gui for game ↵Jonathan Gray
detection when the game is either a) on CD b) in a bunch of seperate directories in a structure like that of the CD. Of course pointing ScummVM at such things with the normal target via command line or config file work fine. As everyone awake at the moment only has the sold out version, this is specific to that. I don't know what files are at the root of the original CD we can use for detection purposes svn-id: r10423
2003-09-27More cleanup, and I've replaced most - not quite all - of BS2's debugTorbjörn Andersson
message functions with our own. We still need to go through them and assign sensible debug levels to them. svn-id: r10422
2003-09-27updates from _QJonathan Gray
svn-id: r10421
2003-09-27Removed RTTI except where requiredJamieson Christian
(i.e. scummvm/scumm/mixer.cpp) svn-id: r10420
2003-09-26a little betterPaweł Kołodziejski
svn-id: r10419
2003-09-26added v6 version of stamp object opcodePaweł Kołodziejski
svn-id: r10418
2003-09-26stop gcc complainingJonathan Gray
svn-id: r10417
2003-09-26now more match dissassemblyPaweł Kołodziejski
svn-id: r10416
2003-09-26cleanupTorbjörn Andersson
svn-id: r10415
2003-09-26Converted the MPU-401 timer to use the Timer class.Jamieson Christian
Since this was the only place where we were using create_thread, that method should be removable now. I also removed the midi_driver_thread overrides for the MorphOS and YPA1 (Palm) backends. These need to be tested by their respective porters. svn-id: r10414
2003-09-26Some more reformatting / cleanup, and removal of comments that did nothingTorbjörn Andersson
but say who added what when. (No disrespect intended, but this information means very little to us.) svn-id: r10413
2003-09-26Ok, I'm stupid.Torbjörn Andersson
The initial sample is, indeed, two bytes, just like the rest of them, but it really, really helps if you read it from the correct position in the file. After fixing that, it turned out that my changing of signedness of the sample was also wrong. Funny how those two bugs almost cancelled each other out. Almost. I've made a few other changes as well, but they're just to clean things up a bit. The credits music works for me, and I've played the game up to arriving in Quaramonte, with no obvious music-related problems. svn-id: r10412
2003-09-26Small correction for simon1/2 HebrewTravis Howell
svn-id: r10411
2003-09-26Add optional define for no consoleTravis Howell
svn-id: r10410
2003-09-25Fix for Bug [810564] ALL: missing instruments with native MT-32Jamieson Christian
As defined in Patch [811623] MT-32 patch for Bug 810564 Added a channel mask to MPU-401 devices so that --native-mt32 may force the device to use only the subset of MIDI channels actually supported by the MT-32. Also added a best-guess interpretation of iMuse Part priority in the SysEx 0x00 msg, since part priorities become more of an issue when the channel count is cramped. svn-id: r10409
2003-09-25Really clear the screen during the credits.Torbjörn Andersson
svn-id: r10408
2003-09-25Reverted part of the previous change. Control panel music should work againTorbjörn Andersson
but the credits music is still broken. I'll have to take a closer look at this later. svn-id: r10407
2003-09-25Some minor fixes. Unfortunately I've noticed that there is some major soundTorbjörn Andersson
distortion in the credits music, and I haven't yet figured out what's causing this. svn-id: r10406