aboutsummaryrefslogtreecommitdiff
path: root/simon
AgeCommit message (Collapse)Author
2005-04-22Only modify gDebugLevel, not the transient configMax Horn
svn-id: r17754
2005-04-22* Added new virtual base class 'Stream', ReadStream andMax Horn
WriteStream are now subclasses of it. * Added new methods eos(), ioFailed(), clearIOFailed() to all streams. This allows better error checking. * SaveFile classes take advantage of these new standard stream APIS * Removed File::gets() * Added SeekableReadStream::readLine() (replaces File::gets) * Added WriteStream::writeString, for convenience svn-id: r17752
2005-04-19Add tempo fix for simon1demo music, from bug #1164263.Travis Howell
svn-id: r17677
2005-04-13Get rid of errno; add some (optional) error checking facilities to SaveFile ↵Max Horn
classes (they are ugly, and to simple, but better than nothing) svn-id: r17589
2005-04-10split SaveFileManager::openSavefile and class SaveFile into two, each, one ↵Max Horn
for loading and one for saving svn-id: r17517
2005-04-09Remove usage of vsprintf in favour of vsnprintf and makeJonathan Gray
more use of STRINGBUFLEN. Some ports may need a new stub for this, discussed with Chrilith. svn-id: r17463
2005-04-07WhitespaceTorbjörn Andersson
svn-id: r17438
2005-04-03Committed patch #1168149 (Shared GM/MT-32 mapping) by eriktorbjorn as-is. ↵Jerome Fisher
This does the following: - Replaces multiple identical MT-32-to-General MIDI mapping tables with a common one in MidiDriver. - Changes Sky's GmChannel class to allow NULL instrument and velocity mapping tables, giving a 1-to-1 mapping without creating a dummy table. svn-id: r17361
2005-03-31Add another French versionTravis Howell
svn-id: r17310
2005-03-26Quit game with 'Action key' on WinCE SmartphonesNicolas Bacca
svn-id: r17246
2005-03-25Patch #1117443 (Experimental plugin code revision)Max Horn
svn-id: r17231
2005-03-12PlayingSoundHandle -> SoundHandle; also, turned the handle activity check ↵Max Horn
into a mixer method svn-id: r17106
2005-03-09changing AudioDataType -> SoundType, so now the constant names match the ↵Max Horn
name of the data type / the SoundMixer method names svn-id: r17052
2005-01-28Use class Mutex instead of MutexRefMax Horn
svn-id: r16679
2005-01-22Set SFX volume correctlyTravis Howell
svn-id: r16612
2005-01-22Set SFX volume correctly.Travis Howell
svn-id: r16611
2005-01-14Change SIMON to use makeWAVStream - patch #1101740Travis Howell
svn-id: r16555
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-01Updated copyrightMax Horn
svn-id: r16398
2004-12-27Reducing header dependencies a bitMax Horn
svn-id: r16347
2004-12-27Fix for bug #1091748 (DIG: Starting new games takes a long time); turns out ↵Max Horn
querying the debuglevel from the config-manager very often is too slow svn-id: r16345
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-25Get rid of g_debugLevel (this fixes bug #1091142)Max Horn
svn-id: r16318
2004-12-20Move this tooChris Apers
svn-id: r16162
2004-12-18A little more cleanup (the Simon code really is a big mess :-)Max Horn
svn-id: r16107
2004-12-18constify simon engine; turned global var vc_get_out_of_code into a member of ↵Max Horn
class SimonEngine svn-id: r16106
2004-12-17This file no longer needs to include <errno.h>, and from what I understandTorbjörn Andersson
we already got the appropriate include for time() through stdafx.h, so we don't need to include <time.h> either. svn-id: r16093
2004-12-16Using errno isn't really portable; don't have time to fix this properly ↵Max Horn
right now svn-id: r16086
2004-12-16Split simon.cpp more for PalmOS port.Travis Howell
svn-id: r16078
2004-12-15TypoTravis Howell
svn-id: r16067
2004-12-15memory leakGregory Montoir
svn-id: r16063
2004-12-11change loadVOCFromStream to take a reference instead of a pointer (to a stream)Max Horn
svn-id: r16035
2004-12-09Pass subdirectories to gamedetector functionsRobert Göffringmann
svn-id: r16002
2004-12-05Clean up OSystem::EventMax Horn
svn-id: r15990
2004-12-02Moved MidiDriver creation code into the MidiDriver class (as static ↵Max Horn
methods), same for some other MIDI related stuff svn-id: r15968
2004-11-29Go on safe side by getting music volume from config managerEugene Sandulenko
svn-id: r15958
2004-11-29Fix music volume.Eugene Sandulenko
svn-id: r15957
2004-11-28No longer sets pass-through for MT-32 emulator.Jerome Fisher
svn-id: r15953
2004-11-27Added some more mixer doxygen docs; cleaned up Mixer API a bit, removing ↵Max Horn
some very specialised methods svn-id: r15914
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-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-10when calling SimonEngine::shutdown(), _itemheap_ptr and _tablesheap_ptr ↵Gregory Montoir
don't point to the beginning of the malloc'd buffer anymore. So use the offsets to do the free() call ; maybe it will fix the palmos issue. svn-id: r15780
2004-11-09More PalmOS related cleanupChris Apers
svn-id: r15774
2004-11-09Fixed crashChris Apers
svn-id: r15740
2004-11-09CleanupChris Apers
svn-id: r15739
2004-10-23oopsEugene Sandulenko
svn-id: r15660