Age | Commit message (Collapse) | Author | |
---|---|---|---|
2004-01-08 | Allow quitting during cutscenes and credits again. This is getting a bit | Torbjörn Andersson | |
hackish... svn-id: r12247 | |||
2004-01-07 | Valgrind fixes. Mostly about memory not being freed when the engine is | Torbjörn Andersson | |
deleted. svn-id: r12211 | |||
2004-01-06 | Never call _system->quit() directly. Let ScummVM handle that so that the | Torbjörn Andersson | |
engine can be properly deleted first. Apart from being the nice thing to do, this should make it easier to Valgrind for memory leaks. svn-id: r12184 | |||
2004-01-06 | It's a new year in BS2 land, too! | Torbjörn Andersson | |
svn-id: r12181 | |||
2004-01-06 | Made sure the screen is really cleared when drawing a dialog window, plus | Torbjörn Andersson | |
some other cleanups. (This was a regression caused by the less stupid screen updates implemented recently.) svn-id: r12180 | |||
2004-01-05 | Marked some more structs as packed. I don't know if it makes any | Torbjörn Andersson | |
difference, as they contain only 32-bit integers, but I also believe it does no harm. svn-id: r12159 | |||
2004-01-05 | Changed some memmove()s to memcpy(), since the memory areas were not | Torbjörn Andersson | |
overlapping. Enabled some sanity-checking code. Fixed clearWalkGridList() so that it clears the entire walk grid list. That was a really stupid bug of mine, and I hope it had at least some bearing on the rare (for me, at least) walk problems I've seen. svn-id: r12154 | |||
2004-01-05 | Tiny cleanup. | Torbjörn Andersson | |
svn-id: r12153 | |||
2004-01-05 | Fixed some debugging messages so they refer to the correct function. | Torbjörn Andersson | |
svn-id: r12152 | |||
2004-01-05 | Slowed down the credits slightly. With the recent optimizations, the music | Torbjörn Andersson | |
lasted longer than the text. Now the text lasts longer than the music. svn-id: r12151 | |||
2004-01-04 | Adapted LavosSpawn's idea for more efficient screen updating. It still | Torbjö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-04 | Some cleanup and Valgrind warning fixes. | Torbjörn Andersson | |
svn-id: r12141 | |||
2004-01-04 | Update a comment to reflect that some functions have different names now. | Torbjörn Andersson | |
svn-id: r12140 | |||
2004-01-04 | renamed 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-03 | cleanup | Max Horn | |
svn-id: r12116 | |||
2004-01-03 | fix for BE systems | Max Horn | |
svn-id: r12115 | |||
2004-01-03 | Fixed bug that made ScummVM crash when loading a savegame where the main | Torbjörn Andersson | |
character was walking. (I had missed a case where pointers were cast to integers.) svn-id: r12113 | |||
2004-01-03 | It was pointed out to me that we can't use the DEMO variable here, because | Torbjörn Andersson | |
the missing file may be the one with the resource for the global variables. svn-id: r12112 | |||
2004-01-03 | renamed AudioInputStream -> AudioStream | Max Horn | |
svn-id: r12110 | |||
2004-01-03 | Made the music code more like the one in BS1, i.e. the fade time is longer | Torbjö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-01 | Oops, that was the wrong data type. (Not that it should matter, but...) | Torbjörn Andersson | |
svn-id: r12069 | |||
2003-12-31 | Some tweaking of the new credits code. It is no longer necessary to have | Torbjörn Andersson | |
to have the credits.bmp file, though if you don't you won't see the "Smacker" logo. (Whether or not this is a feature is open to debate.) Happy New Year! svn-id: r12062 | |||
2003-12-31 | oops, forgot one case | Torbjörn Andersson | |
svn-id: r12056 | |||
2003-12-31 | When saving the music state, remember the name of the music file that was | Torbjörn Andersson | |
open so that it can be re-opened afterwards. It's not so much that it may have changed, but it may have been closed. This should fix a crash when escaping the credits. svn-id: r12055 | |||
2003-12-31 | I still don't know how to draw the credits like the original did, but at | Torbjörn Andersson | |
least the credits text is showing now. svn-id: r12053 | |||
2003-12-31 | Don't allow the credits to be displayed while in conversation mode. | Torbjörn Andersson | |
svn-id: r12052 | |||
2003-12-31 | Enable the line that increases _gameCycle. There's a debugger command that | Torbjörn Andersson | |
will display it, and it's so much more interesting this way. :-) svn-id: r12051 | |||
2003-12-29 | tiny cleanup | Torbjörn Andersson | |
svn-id: r12017 | |||
2003-12-29 | The game sets its own DEMO variable, so we might as well check that one as | Torbjörn Andersson | |
checking the GF_DEMO flag. (There's still one "unnecessary" reference to GF_DEMO in functions.cpp, but I plan on rewriting that function soon so I don't want to touch it right now.) svn-id: r12009 | |||
2003-12-28 | Hopefully the last big renaming. Now the datatypes have names like | Torbjörn Andersson | |
"StandardHeader" instead of "_standardHeader". svn-id: r11997 | |||
2003-12-24 | o Added SoundMixer::isReady() | Max Horn | |
o Removed SoundMixer::bindToSystem() o In scumm, replaced _silentMixer, _silentDigitalImuse and _noDigitalSamples by SoundMixer::isReady() svn-id: r11893 | |||
2003-12-24 | turned PlayingSoundHandle into an 'opaque' (well not really :-) data type, ↵ | Max Horn | |
mainly because people kept (accidentally and sometimes on purpose :-) misusing them svn-id: r11881 | |||
2003-12-21 | Make it possible for game detection functions to detect language/platform ↵ | Max Horn | |
(not yet done by any detector, but will come with the MD5 detection code) svn-id: r11811 | |||
2003-12-20 | Make VC6/EVC happier | Nicolas Bacca | |
svn-id: r11764 | |||
2003-12-19 | Fixed bug with looping music. It must have been there all along, but maybe | Torbjörn Andersson | |
the recent mixer changes made it more audible. Or maybe I just didn't listen until now. svn-id: r11763 | |||
2003-12-19 | Implemented scroll wheel handling for save/load dialogs. (This turned up a | Torbjörn Andersson | |
few other hitherto harmless bugs, which I've hopefully managed to fix.) svn-id: r11762 | |||
2003-12-19 | distinguish between end of stream and end of data | Max Horn | |
svn-id: r11756 | |||
2003-12-19 | unregister the premix proc when you go away | Max Horn | |
svn-id: r11755 | |||
2003-12-19 | I am going to remove the default implementation of readBuffer() ↵ | Max Horn | |
(AudioInputStream subclasses really really should implement readBuffer() for good performance) svn-id: r11753 | |||
2003-12-17 | My last commit didn't work on big-endian. Maybe this one does... | Torbjörn Andersson | |
svn-id: r11711 | |||
2003-12-17 | The mixer handles little-endian samples now. Take advantage of that. | Torbjörn Andersson | |
svn-id: r11707 | |||
2003-12-17 | fixed warning | Paweł Kołodziejski | |
svn-id: r11705 | |||
2003-12-17 | cleanup | Torbjörn Andersson | |
svn-id: r11704 | |||
2003-12-17 | Made sure that *all* AudioInputStream 'know' their sample rate; removed ↵ | Max Horn | |
pointless MusicStream class; removed various specific Channel subclasses and instead generalized the base class some more svn-id: r11699 | |||
2003-12-15 | Tiny whitespace change. (No, as a matter of fact I don't have anything | Torbjörn Andersson | |
better to do. :-) svn-id: r11649 | |||
2003-12-14 | Mostly cleanups, but I believe this also fixes an endian problem in the | Torbjörn Andersson | |
"restart script" opcode. To actually verify this, though, I'd need to find a case where any other script than script 0 at offset 0 is restarted... svn-id: r11638 | |||
2003-12-14 | Fixed a potential crash bug where an audio buffer would be freed at the end | Torbjörn Andersson | |
of an animated cutscene while the mixer was still using it. Oddly enough, I didn't encounter this bug when I played through the game recently, but today it happened every time at the end of the cutscene where Nico finds the jaguar stone. svn-id: r11637 | |||
2003-12-13 | removed GameSettings::detectname and GameSettings::midi; renamed ↵ | Max Horn | |
GameSettings::gameName to name; added temporary experimental MD5 hack svn-id: r11603 | |||
2003-12-11 | cleanup | Torbjörn Andersson | |
svn-id: r11581 | |||
2003-12-10 | Restored some relevant information to a comment that was removed by my | Torbjörn Andersson | |
previous commit. svn-id: r11551 |