aboutsummaryrefslogtreecommitdiff
path: root/sword2
AgeCommit message (Collapse)Author
2005-01-17Updated copyright header, as discussed on the mailing list.Torbjörn Andersson
svn-id: r16580
2005-01-11On Fingolfin's suggestion I put back the inclusion of util.h into Rect, forTorbjörn Andersson
MIN() and MAX(). I then removed util.h from a bunch of files which I don't think need it any more. (Please let me know if I got too blood-thirsty!) This reverts some of the changes I made this morning. svn-id: r16541
2005-01-11Use Fingolfin's new WAV code.Torbjörn Andersson
svn-id: r16540
2005-01-11This is probably not the optimal fix, but at least ScummVM compiles again.Torbjörn Andersson
svn-id: r16538
2005-01-10system.h was being included in tons of places, without any good reason; ↵Max Horn
reduced this (total dependencies on system.h went down from 193 to 85 files) svn-id: r16527
2005-01-09Mark some places which probably should use loadWAVFromStream(); maybe some ↵Max Horn
of the engine maintainers can look into using it svn-id: r16503
2005-01-06Fixed typo (in comment)Torbjörn Andersson
svn-id: r16441
2005-01-04Applied patch #1088948, with minor modificationsTorbjörn Andersson
svn-id: r16421
2005-01-01Updated copyright year.Torbjörn Andersson
svn-id: r16397
2004-12-27Use the mixer to handle sound volumesMax Horn
svn-id: r16349
2004-12-27Reducing header dependencies a bitMax Horn
svn-id: r16347
2004-12-27Don't use pointers to int. We don't know what size an "int" is.Torbjörn Andersson
Also, failing the script checksum test is no longer a fatal error. There has been a report that could mean there is a German version with incorrect checksums. Whether or not this change will make it playable is an entirely different matter, of course. svn-id: r16341
2004-12-27Fix volume regression my previous checkin causedMax Horn
svn-id: r16337
2004-12-27Use the same volume ranges as most of the rest of ScummVM (i.e. 0-255)Max Horn
svn-id: r16333
2004-12-27Added 'sound types' to the mixer - for now, only plain (for the premixer), ↵Max Horn
SFX and music; volume is now controlled based on the sound type svn-id: r16330
2004-12-21Added Russian narration message.Eugene Sandulenko
svn-id: r16227
2004-12-11Fix dumb CE compilerNicolas Bacca
svn-id: r16026
2004-12-09Pass subdirectories to gamedetector functionsRobert Göffringmann
svn-id: r16002
2004-12-05Clean up OSystem::EventMax Horn
svn-id: r15990
2004-11-29Fix music volumeEugene Sandulenko
svn-id: r15960
2004-11-28Changed parameter order of SoundMixer::playInputStream to match that of playRawMax Horn
svn-id: r15950
2004-11-27Make use of our String class instead of juggling with char pointers; added ↵Max Horn
File::exists method svn-id: r15913
2004-11-27AudioStream::read() has been removed quite some time ago, now making sure ↵Max Horn
that change is reflected everywhere svn-id: r15911
2004-11-27Moved Engine::getSavePath() to class SaveFileManager; removed the ↵Max Horn
'directory' parameter from SaveFileManager::openSavefile and listSavefiles (they always use getSavePath() now, which is what we did anyway) svn-id: r15901
2004-11-26SpellingMax Horn
svn-id: r15890
2004-11-24Fix a`ll engines. They work, though current fix is just temporary.Eugene Sandulenko
There are plans to add some brains to GameDetector class, which will let us avoid passing detector to init() method. svn-id: r15873
2004-11-23Added Engine::init() method; added return value to Engine::go()Max Horn
svn-id: r15865
2004-11-20Removing walkthrough stuff again (talked to aquadran about this, he had no ↵Max Horn
objections) svn-id: r15849
2004-11-19added walkthroughPaweł Kołodziejski
svn-id: r15835
2004-11-16CleanupTorbjörn Andersson
svn-id: r15826
2004-11-15I think this is the kind of constructor/go changes _sev was talking aboutTorbjörn Andersson
in his mail to scummvm-devel. (Though "a discussed a while ago change" sounds like sort of thing Robert Jordan writes whenever there is danger of anything actually happening in any of his more recent books. Tantalizing, yet non-informative. ;-) It's still rather messy. I'll look into cleaning it up later. svn-id: r15818
2004-11-14CleanupTorbjörn Andersson
svn-id: r15810
2004-11-11Fixed comment typo. It's the pyramid bug that's dreaded, not the pyramidTorbjörn Andersson
itself. :-) svn-id: r15789
2004-10-30Doxygen fixesMax Horn
svn-id: r15701
2004-10-19Use the same REDUCE_MEMORY_USAGE trick here as in scumm/intern.hTorbjörn Andersson
svn-id: r15612
2004-10-19Cleanup of the credits code. Use the new gets() function.Torbjörn Andersson
svn-id: r15609
2004-10-17Doxygen fixMax Horn
svn-id: r15594
2004-10-12Migration to the newer form of setupPremix().Torbjörn Andersson
svn-id: r15532
2004-10-12CleanupTorbjörn Andersson
svn-id: r15526
2004-10-08Prevent double slash in pathChris Apers
svn-id: r15473
2004-09-28Rename remaining OSystem methods to match our coding guidelinesMax Horn
svn-id: r15332
2004-09-26Removed obsolete comment about floating/locked memory.Torbjörn Andersson
svn-id: r15297
2004-09-25Fix doxygen warningsMax Horn
svn-id: r15277
2004-09-19Removed obsolete comment.Torbjörn Andersson
svn-id: r15193
2004-09-12As an experiment, expire SCREEN_FILE resources faster than other resources.Torbjörn Andersson
They're generally the largest resources in the cache by far (though some ANIMATION_FILE resources are about as big). I still don't know how much benefit there is to resource caching, but some of it is definitely needed, or the game won't work properly. Oh well, as long as no one complains about the extra memory usage... svn-id: r15079
2004-09-12Made the output from the "mem" debugger command a bit more informative, andTorbjörn Andersson
sorted it to output the biggest memory blocks first. svn-id: r15078
2004-09-08Fixed evil regression #2. Restarting the game, or using the "start" debugTorbjörn Andersson
command, would close the global script variables and player object resources, without reopening them again. This made them fair game for the resource expiration mechanism. The player object is probably referenced often enough to stay alive, but the variables died on me pretty quickly, causing ScummVM to crash. I've also added a "reslist" debug command to make this sort of things easier to spot. By default it only lists resources with refCount > 0. Use "reslist 0" to see all the cached resources as well. svn-id: r14958
2004-09-07Fixed debug output.Torbjörn Andersson
svn-id: r14951
2004-09-07Much like an early civilization with no concept of the number zero, theTorbjörn Andersson
new memory manager didn't have the concept of the NULL pointer. Now it does. If ScummVM ever crashed for you when using the phone early in the game, this patch hopefully fixes that bug. (If it didn't crash for you, memory block zero was still allocated, so 0 still decoded to a valid pointer.) svn-id: r14937
2004-09-04Fix compileTravis Howell
svn-id: r14898