541 Commits

Author SHA1 Message Date
Travis Howell
c8b17da61c Auto detect music and voice types, where possible.
Use correct set of MIDI tracks for MT32 in Simon the Sorcerer 2.

svn-id: r17925
2005-05-06 03:09:53 +00:00
Max Horn
ce3cd9b194 Changed the semantics of debug level 0 from off back to something more similiar to how it used to be (default debug level now is -1)
svn-id: r17788
2005-04-24 12:21:53 +00:00
Max Horn
8fddaada1d Simplified debuglevel handling:
- it's only honored in the global level of the config file
 - all checks for it go through gDebugLevel now, which is made global
 - the '-d' switch is handled in a slightly saner and consistent way
 - removed 'debuglevel' from the config format documentation; we do
   not want to encourage the avarage user to use it

svn-id: r17769
2005-04-23 13:52:27 +00:00
Torbjörn Andersson
c7bb5eacda Whitespace
svn-id: r17438
2005-04-07 12:11:35 +00:00
Max Horn
9a4bc8ce16 Patch #1117443 (Experimental plugin code revision)
svn-id: r17231
2005-03-25 17:55:57 +00:00
Max Horn
0ec193b4be changing AudioDataType -> SoundType, so now the constant names match the name of the data type / the SoundMixer method names
svn-id: r17052
2005-03-09 18:12:54 +00:00
Travis Howell
1d86d0599d Set SFX volume correctly
svn-id: r16612
2005-01-22 02:01:22 +00:00
Travis Howell
3b637456aa Set SFX volume correctly.
svn-id: r16611
2005-01-22 01:47:07 +00:00
Max Horn
cffd917165 system.h was being included in tons of places, without any good reason; reduced this (total dependencies on system.h went down from 193 to 85 files)
svn-id: r16527
2005-01-10 22:06:49 +00:00
Max Horn
47280d9433 Updated copyright
svn-id: r16398
2005-01-01 16:09:25 +00:00
Max Horn
67b311713d Added 'sound types' to the mixer - for now, only plain (for the premixer), SFX and music; volume is now controlled based on the sound type
svn-id: r16330
2004-12-27 00:27:00 +00:00
Max Horn
d6872dba6b Get rid of g_debugLevel (this fixes bug #1091142)
svn-id: r16318
2004-12-25 19:04:18 +00:00
Chris Apers
67f803224c Move this too
svn-id: r16162
2004-12-20 16:45:17 +00:00
Max Horn
06315c1ce1 A little more cleanup (the Simon code really is a big mess :-)
svn-id: r16107
2004-12-18 02:08:32 +00:00
Max Horn
0ceb634fd4 constify simon engine; turned global var vc_get_out_of_code into a member of class SimonEngine
svn-id: r16106
2004-12-18 01:33:21 +00:00
Torbjörn Andersson
c61894ee65 This file no longer needs to include <errno.h>, and from what I understand
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-17 07:59:05 +00:00
Travis Howell
55549cd3b2 Split simon.cpp more for PalmOS port.
svn-id: r16078
2004-12-16 12:49:25 +00:00
Gregory Montoir
c878e6cc4d memory leak
svn-id: r16063
2004-12-15 20:25:50 +00:00
Robert Göffringmann
0d7ab01640 Pass subdirectories to gamedetector functions
svn-id: r16002
2004-12-09 15:06:49 +00:00
Max Horn
f09293b22c Clean up OSystem::Event
svn-id: r15990
2004-12-05 17:42:20 +00:00
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
Eugene Sandulenko
72cb985ee3 Go on safe side by getting music volume from config manager
svn-id: r15958
2004-11-29 00:13:17 +00:00
Eugene Sandulenko
5a8838ae17 Fix music volume.
svn-id: r15957
2004-11-29 00:09:35 +00:00
Jerome Fisher
750ce1fe4e No longer sets pass-through for MT-32 emulator.
svn-id: r15953
2004-11-28 23:11:37 +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
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
695667d934 when calling SimonEngine::shutdown(), _itemheap_ptr and _tablesheap_ptr 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-10 18:03:07 +00:00
Chris Apers
49c49a2a96 More PalmOS related cleanup
svn-id: r15774
2004-11-09 16:43:45 +00:00
Chris Apers
259896a4a1 Fixed crash
svn-id: r15740
2004-11-09 10:34:40 +00:00
Eugene Sandulenko
670d843625 oops
svn-id: r15660
2004-10-23 00:36:09 +00:00
Eugene Sandulenko
03df05bd96 Better support of MT-32.
svn-id: r15659
2004-10-23 00:02:38 +00:00
Travis Howell
95eb4e1131 Free some memory on exit
svn-id: r15606
2004-10-18 14:50:09 +00:00
Chris Apers
757f2fdcef Prevent double slash in path
svn-id: r15473
2004-10-08 16:09:52 +00:00
Max Horn
ce8c99bf62 Rename remaining OSystem methods to match our coding guidelines
svn-id: r15332
2004-09-28 20:19:37 +00:00
Travis Howell
3c23311625 Typo
svn-id: r14666
2004-08-21 09:51:01 +00:00
Travis Howell
25dbd3430e Small correction for filename different on some systems
svn-id: r14656
2004-08-21 00:47:29 +00:00
Travis Howell
7cce3cec83 Set _language before checking its value
svn-id: r14632
2004-08-16 04:19:43 +00:00
Travis Howell
910a390ae7 Remove pointless delays
svn-id: r14436
2004-08-02 11:53:33 +00:00
Travis Howell
e5a59beb82 Cleanup
svn-id: r14435
2004-08-02 11:37:07 +00:00
Travis Howell
aa62bc65ee Auto convert old Simon 1/2 targets
svn-id: r14392
2004-07-31 13:56:04 +00:00
Travis Howell
6d52fbe0b1 Add support for Russian Simon1.
svn-id: r14376
2004-07-31 10:14:05 +00:00
Travis Howell
e7d9bdbee3 Avoid gcc warning
svn-id: r14373
2004-07-31 08:55:08 +00:00
Oliver Kiehl
1e54e2471f fix subtitle alignment
svn-id: r14371
2004-07-30 20:05:24 +00:00
Travis Howell
b0c3b8838f Switch detect filename back to prevent conflict for now.
svn-id: r14368
2004-07-30 11:47:27 +00:00
Travis Howell
069f5f839a Re-use old md5 hack to gather checksums from users.
svn-id: r14366
2004-07-30 11:02:47 +00:00
Travis Howell
d89d729725 Add a few more.
svn-id: r14364
2004-07-30 10:23:14 +00:00
Travis Howell
130910a380 Ooops, make sure feature flags are updated.
svn-id: r14362
2004-07-30 09:15:18 +00:00