Commit Graph

104 Commits

Author SHA1 Message Date
Max Horn
5d5a13eec7 Moved MidiDriver creation code into the MidiDriver class (as static methods), same for some other MIDI related stuff
svn-id: r15968
2004-12-02 00:33:42 +00:00
Gregory Montoir
f2fb63ffd9 enabled savegame loading on startup
svn-id: r15964
2004-11-30 21:01:25 +00:00
Jerome Fisher
9df1a8ea2f Fingolfin, I see what you mean about the volume control mess :)
This fixes Adlib playback, which was previously always mixed at volume 0.

svn-id: r15956
2004-11-28 23:57:33 +00:00
Jerome Fisher
5c6a1fcb2d - MIDI messages are now pre-processed and go through normal channel allocation, rather than being passed through directly.
svn-id: r15951
2004-11-28 23:03:32 +00:00
Max Horn
876e738dce Moved Engine::getSavePath() to class SaveFileManager; removed the 'directory' parameter from SaveFileManager::openSavefile and listSavefiles (they always use getSavePath() now, which is what we did anyway)
svn-id: r15901
2004-11-27 00:26:11 +00:00
Eugene Sandulenko
31e434dcf1 Fix a`ll engines. They work, though current fix is just temporary.
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-24 00:14:21 +00:00
Gregory Montoir
6414ec92a2 cleanup, follow code conventions
svn-id: r15872
2004-11-23 22:21:45 +00:00
Gregory Montoir
9c317c95c3 sync queen engine with latest OSystem changes
svn-id: r15871
2004-11-23 21:51:30 +00:00
Max Horn
aad9f122c0 Added Engine::init() method; added return value to Engine::go()
svn-id: r15865
2004-11-23 00:03:25 +00:00
Max Horn
fa97d4ad89 Removing walkthrough stuff again (talked to aquadran about this, he had no objections)
svn-id: r15849
2004-11-20 23:49:11 +00:00
Paweł Kołodziejski
20e9cf6f20 added walkthrough
svn-id: r15835
2004-11-19 19:50:22 +00:00
Gregory Montoir
a1867735a3 change engine initialization as suggested on -devel
svn-id: r15822
2004-11-15 19:38:57 +00:00
Eugene Sandulenko
2c76a8e024 Support MT-32 emu.
svn-id: r15657
2004-10-22 23:44:08 +00:00
Gregory Montoir
bbf1de48d5 make queen engine returning to the launcher when finished (next step: plug all the memory leaks, mainly in Logic class)
svn-id: r15511
2004-10-10 17:12:50 +00:00
Gregory Montoir
45d8b3b002 Rewrote the way strings are extracting from the datafiles, now it should be 'alignment safe'. Maybe it will fix bugs #923570 and #1013886, too.
svn-id: r14734
2004-08-24 16:31:46 +00:00
Gregory Montoir
8b0e9502ec cleanup and simplify Resource class a bit more
svn-id: r14488
2004-08-06 17:01:58 +00:00
Gregory Montoir
79f235ef26 minor cleanup
svn-id: r14484
2004-08-06 11:28:33 +00:00
Gregory Montoir
a1480ba068 forgot that
svn-id: r14473
2004-08-05 18:17:39 +00:00
Gregory Montoir
aaf6da02db simplified some code
svn-id: r14472
2004-08-05 18:10:34 +00:00
Max Horn
6b722ff11b Added Engine::_saveFileMan; thus was able to get rid of auto_ptr usage again
svn-id: r14058
2004-06-25 22:39:21 +00:00
Joost Peters
1020f97cea Enable music volume slider in Journal
svn-id: r13222
2004-03-09 00:52:07 +00:00
Max Horn
d158280425 the OSystem changes we discussed on the ML (note: renaming of the existing OSystem API is not yet finished); porters will have to fix their ports to get them to compile again
svn-id: r13036
2004-02-24 22:39:42 +00:00
Max Horn
f59eb3b219 renamed (Const)Iterator to (const_)iterator; changed size() to return an uint
svn-id: r12722
2004-02-05 00:19:57 +00:00
Joost Peters
c3a5b9abf7 Match new[] with delete[]
svn-id: r12698
2004-02-01 13:50:44 +00:00
Travis Howell
f5b5d863c0 Interview has no speech iether.
svn-id: r12655
2004-01-28 09:10:07 +00:00
Joost Peters
63be7c1323 Allow using a real MT-32 (can someone with one please test this?)
svn-id: r12641
2004-01-27 23:05:02 +00:00
Joost Peters
2bd86191a0 demos never have speech
svn-id: r12591
2004-01-25 14:10:29 +00:00
Joost Peters
5fa9dfa87e The Floppy version has speech in the intro. (it doesn't hurt if speechToggle is set for the floppy version)
svn-id: r12588
2004-01-25 11:47:22 +00:00
Gregory Montoir
968436767c got rid of timer stuff to handle display sync
svn-id: r12416
2004-01-15 21:07:17 +00:00
Gregory Montoir
2f85714c60 - wrong sentence was spoken when Joe was trying to 'pick up' a person
- clear command before switching rooms
- clear texts at the end of cutaway (fix minor glitch in interview intro)

svn-id: r12361
2004-01-13 14:43:13 +00:00
Gregory Montoir
95de2117a2 New save/load code, this *breaks* compatiblity with the previous
savefile format. Use the 'qsc' tool to convert your old files
(http://0x.7fc1.org/fotaq/qsc.[cpp|exe]).

svn-id: r12339
2004-01-12 13:40:02 +00:00
Gregory Montoir
6dc8407297 cleanup
svn-id: r12318
2004-01-11 14:11:36 +00:00
Gregory Montoir
634df6923d renamed some methods and moved some code to Display
svn-id: r12276
2004-01-09 13:36:37 +00:00
Gregory Montoir
85f8b442f2 - new Grid class to handle all zones / areas stuff
- adapted Logic/Walk code to use it

svn-id: r12250
2004-01-08 14:10:32 +00:00
Gregory Montoir
74829245d9 mostly cleanup :
- moved main update() method to QueenEngine
- merged update() & checkPlayer()
- added a method in Logic class to handle the CUTAWAY_SPECIAL stuff
- Journal remembers last seen page
- no need to call loadPanel() to restore panel palette, use palSetPanel() instead

svn-id: r12240
2004-01-08 10:25:18 +00:00
Gregory Montoir
e90f846df9 - enabled debugger in QueenEngine::errorString
- initialise Cutaway::_personCount* when the Cutaway starts
- minor tweaks in BankManager

svn-id: r12185
2004-01-06 16:53:35 +00:00
Max Horn
033ff78ae9 updated copyright notice
svn-id: r12176
2004-01-06 12:45:34 +00:00
Gregory Montoir
5e413ceb5c - enabled debugger in QueenEngine::errorString
- initialise Cutaway::_personCount* when the Cutaway starts
- minor tweaks in BankManager

svn-id: r12163
2004-01-05 20:46:37 +00:00
Gregory Montoir
232a709fd4 added a class to manage banks, Queen::Graphics cleanup
svn-id: r12157
2004-01-05 13:40:28 +00:00
Gregory Montoir
143b5bea80 - added code to only redraw changed blocks in order to avoid full screen refresh
- minor code cleanup in Graphics/Display

svn-id: r12147
2004-01-04 20:25:21 +00:00
Max Horn
d1e6c6059e renamed global var _debugLevel to g_debugLevel; let Engine constructor init 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-04 14:00:58 +00:00
Joost Peters
5f85df5ed6 Allow queen to use adlib driver as well (that was surprisingly easy :))
svn-id: r12100
2004-01-03 02:08:04 +00:00
Joost Peters
e5ba3b172e Tell adlib people they won't hear music
svn-id: r12089
2004-01-02 14:21:14 +00:00
Gregory Montoir
bd23a44f49 cleanup & follow code conventions
svn-id: r12019
2003-12-29 20:18:31 +00:00
Gregory Montoir
ffbfe8922a new debugging code, using Common::Debugger
svn-id: r11940
2003-12-26 12:58:27 +00:00
Max Horn
859a9c0129 o Added SoundMixer::isReady()
o Removed SoundMixer::bindToSystem()
o In scumm, replaced _silentMixer, _silentDigitalImuse and _noDigitalSamples by SoundMixer::isReady()

svn-id: r11893
2003-12-24 17:42:22 +00:00
Max Horn
f19f73eb50 Make it possible for game detection functions to detect language/platform (not yet done by any detector, but will come with the MD5 detection code)
svn-id: r11811
2003-12-21 15:29:52 +00:00
Gregory Montoir
b7a5d97207 put all 'bam' related stuff in a class and allow load/save during a 'bam' scene
svn-id: r11759
2003-12-19 09:22:20 +00:00
Joost Peters
1de28a2931 Initial (Roland) Music support; a lot of stuff is still missing and/or incomplete.
svn-id: r11621
2003-12-14 00:33:21 +00:00
Gregory Montoir
32d044d302 some refactoring in Command code (removed/commented unused code, renamed some methods)
svn-id: r11619
2003-12-13 20:05:28 +00:00