557 Commits

Author SHA1 Message Date
Max Horn
8b1d7b9166 When including files from common/, explicitly use the common/ prefix
svn-id: r18444
2005-06-24 15:23:51 +00:00
Lars Persson
1c69696a9a Patches needed to build for SYMBIAN32 WINS/GCC added.
Test built for Symbian and run on P910i without any major problems.
Test built for MSVC6. Changed parts seems to compile ok but there are some problems with MSVC6 and some of the targets which the EPOC build does n't support (KYRA,SAGA).

svn-id: r18430
2005-06-21 22:08:21 +00:00
Max Horn
1a615346ab Moved class SoundMixer to Audio::Mixer (didn't call the namespace 'Sound' because we already have many classes with that name)
svn-id: r18039
2005-05-10 23:48:48 +00:00
Max Horn
b75c969e66 Moved class File and the MD5 stuff to namespace Common
svn-id: r18037
2005-05-10 22:56:25 +00:00
Travis Howell
2f1ff2afec Use debugger for errors, where possible.
svn-id: r17998
2005-05-09 12:12:14 +00:00
Travis Howell
a0d6b39d9b Use debugger for errors.
svn-id: r17997
2005-05-09 11:39:31 +00:00
Travis Howell
9c80416334 re-order
svn-id: r17996
2005-05-09 10:54:24 +00:00
Travis Howell
3c225d4a1f Add a surprise.
svn-id: r17995
2005-05-09 10:51:00 +00:00
Max Horn
cca744f69a Comply to our coding conventions
svn-id: r17975
2005-05-08 21:49:52 +00:00
Travis Howell
21717273b4 No need to check for speech file in non-talkie versions.
svn-id: r17952
2005-05-08 05:56:09 +00:00
Travis Howell
169c85a19b Auto detect effect file type in Simon the Sorcerer 1.
svn-id: r17951
2005-05-08 05:23:31 +00:00
Travis Howell
d9b81f4ab8 Fix sound regressions.
svn-id: r17948
2005-05-08 02:50:43 +00:00
Travis Howell
3cbaf48932 Cleanup
svn-id: r17934
2005-05-06 13:22:48 +00:00
Travis Howell
1057d5fa69 Rename sprite field.
Cleanup.

svn-id: r17931
2005-05-06 12:23:19 +00:00
Travis Howell
076e42c302 Use ScummVM code formatting for names.
svn-id: r17930
2005-05-06 11:37:33 +00:00
Travis Howell
947be5edc2 Rename sprite field.
Cleanup

svn-id: r17928
2005-05-06 08:46:45 +00:00
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