aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2004-01-04Adapted LavosSpawn's idea for more efficient screen updating. It stillTorbjörn Andersson
renders the entire screen every frame, but it tries to update (i.e. copy to the backend) only the parts of the screen that actually changed. At least approximately so. svn-id: r12142
2004-01-04Some cleanup and Valgrind warning fixes.Torbjörn Andersson
svn-id: r12141
2004-01-04Update a comment to reflect that some functions have different names now.Torbjörn Andersson
svn-id: r12140
2004-01-04cleanupMax Horn
svn-id: r12139
2004-01-04split out cursor/palette code into separate source filesMax Horn
svn-id: r12138
2004-01-04Allow subtitles to be disabled in games using imuse digital again.Travis Howell
svn-id: r12137
2004-01-04Fix a few subtitles glitches in loomcd during cutscenes.Travis Howell
svn-id: r12136
2004-01-04no need to specify game data path here: File::setDefaultDirectory() took ↵Max Horn
care of that svn-id: r12135
2004-01-04renamed global var _debugLevel to g_debugLevel; let Engine constructor init ↵Max Horn
it (this way all engines get it for free, allows further cleanup); removed some useless/duplicate member vars in SwordEngine svn-id: r12134
2004-01-04turns out we always had VirtScreen::backBuf but didn't use it... change that ↵Max Horn
(helps readability of the code, IMO); added Gdi::getMaskBuffer (again, helps understanding the code, I think); regrouped some functions in gfx.cpp svn-id: r12133
2004-01-04removed setFeatures (not needed anymore)Max Horn
svn-id: r12132
2004-01-04replaced many instances of _screenWidth by VirtScreen::width, where ↵Max Horn
approriate (there are cases, like when dealing with the camera, where _screenWidth is correct; in other places we still use it, because the VirtScreen is not available in that place at this time, will be fixed later). Reason for all this: eventually a clean seperation will allow us to use a main screen which is wider than the real screen width -> useful for V7+ smooth scrolling svn-id: r12131
2004-01-04uhm? I don't see why VC 2003 would complain about this, but not about the ↵Max Horn
many equal instances of this code (which, BTW, is perfectly valid C...) svn-id: r12130
2004-01-04nothing.Robert Göffringmann
svn-id: r12129
2004-01-04added control panel confirmation dialog.Robert Göffringmann
svn-id: r12128
2004-01-04removed speed button from control panel and made the game do a full screen ↵Robert Göffringmann
refresh after leaving the control panel svn-id: r12127
2004-01-04respond to 'alter'-type overridesJoost Peters
svn-id: r12126
2004-01-04I don't see why this would be needed (my guess is that the hack in ↵Max Horn
initVirtScreen (to use _roomHeight) already covers this, and more) svn-id: r12125
2004-01-04remove this HACK workaround - I think I may have fixed the true cause (we'll ↵Max Horn
see) svn-id: r12124
2004-01-04cleanup (mostly moved stuff around, and replaced the fadeOut call)Max Horn
svn-id: r12123
2004-01-03renamed updateDirtyRect to markRectAsDirty (because that's what it really ↵Max Horn
does); used virtual screen id constants in more places svn-id: r12122
2004-01-03cleanupMax Horn
svn-id: r12121
2004-01-03oopsMax Horn
svn-id: r12120
2004-01-03removed unused param in initScreensMax Horn
svn-id: r12119
2004-01-03added & renamed some constants; fixed & added some doxygen comments; cleaned ↵Max Horn
up the dirty screen code a bit (this should also fix a bug in V1/V2 games where part of the screen was not redrawn properly) svn-id: r12118
2004-01-03TODOMax Horn
svn-id: r12117
2004-01-03cleanupMax Horn
svn-id: r12116
2004-01-03fix for BE systemsMax Horn
svn-id: r12115
2004-01-03remove 'Sky' name prefix for most stuff (not needed anymore since we are in ↵Max Horn
namespace 'Sky' now) svn-id: r12114
2004-01-03Fixed bug that made ScummVM crash when loading a savegame where the mainTorbjörn Andersson
character was walking. (I had missed a case where pointers were cast to integers.) svn-id: r12113
2004-01-03It was pointed out to me that we can't use the DEMO variable here, becauseTorbjörn Andersson
the missing file may be the one with the resource for the global variables. svn-id: r12112
2004-01-03oopsMax Horn
svn-id: r12111
2004-01-03renamed AudioInputStream -> AudioStreamMax Horn
svn-id: r12110
2004-01-03changed screen drawing code to only redraw blocks that changed.Robert Göffringmann
svn-id: r12109
2004-01-03Made the music code more like the one in BS1, i.e. the fade time is longerTorbjörn Andersson
and it now fades both up and down. Plenty of cleanups, simplifications and just moving code around to group it in what I hope is a more logical fashion. Fixed a long-standing bug where spot effects would eventually use up all available sound effect handles. (I may have introduced this when I removed the expiration of sound effects from FxServer().) svn-id: r12108
2004-01-03Delete the mutex when we're done with it.Torbjörn Andersson
svn-id: r12107
2004-01-03eriktorbjorn's fix for a crash when sprite were completely outside of the screenRobert Göffringmann
svn-id: r12106
2004-01-03Should be enabled for all GF_NEW_COSTUMES games.Travis Howell
Fixes missing actors in craters section of puttmoon svn-id: r12105
2004-01-03Add last fewTravis Howell
svn-id: r12104
2004-01-03simplification (possible since read() doesn't have to be efficient anymore)Max Horn
svn-id: r12103
2004-01-03replace read() by readBuffer() in CopyRateConverterMax Horn
svn-id: r12102
2004-01-03UpdateTravis Howell
svn-id: r12101
2004-01-03Allow queen to use adlib driver as well (that was surprisingly easy :))Joost Peters
svn-id: r12100
2004-01-03Introduce namespace 'Sky'Max Horn
svn-id: r12099
2004-01-03renamed SimonSound class back to just Sound (now that we use namespaces that ↵Max Horn
is just fine) svn-id: r12098
2004-01-03more MAD MP3 / Ogg Vorbis cleanup: try not to expose anything about the libs ↵Max Horn
used for MP3/Vorbis support -> this eases changing the implementations, and reduces header dependencies (and thus compile time) :-) svn-id: r12097
2004-01-03re-enabled .sog and .so3 support for FTMax Horn
svn-id: r12096
2004-01-03removed SoundMixer::playMP3CDTrack; simplified makeMP3Stream (special ↵Max Horn
variant with mad_timer_t was really only needed for MP3TrackInfo class) svn-id: r12095
2004-01-03added makeVOCStream() (convenience function)Max Horn
svn-id: r12094
2004-01-02- added missing MOVE_SPEAK code (only CHEF.DOG seems to use that)Gregory Montoir
- clear Talk::_dialogueTree[0] to avoid problems when accessing oldLevel / level 0 svn-id: r12093