Commit Graph

821 Commits

Author SHA1 Message Date
Max Horn
abd12dd1b6 Use class Mutex instead of MutexRef
svn-id: r16679
2005-01-28 22:05:51 +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
Travis Howell
211ec4c32a Change SIMON to use makeWAVStream - patch #1101740
svn-id: r16555
2005-01-14 00:38:54 +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
7df70de2b1 Mark some places which probably should use loadWAVFromStream(); maybe some of the engine maintainers can look into using it
svn-id: r16503
2005-01-09 15:57:38 +00:00
Max Horn
47280d9433 Updated copyright
svn-id: r16398
2005-01-01 16:09:25 +00:00
Max Horn
d299f0601b Reducing header dependencies a bit
svn-id: r16347
2004-12-27 22:08:20 +00:00
Max Horn
d138a880bf Fix for bug #1091748 (DIG: Starting new games takes a long time); turns out querying the debuglevel from the config-manager very often is too slow
svn-id: r16345
2004-12-27 21:54:20 +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
Max Horn
ea80946978 Using errno isn't really portable; don't have time to fix this properly right now
svn-id: r16086
2004-12-16 19:18:17 +00:00
Travis Howell
55549cd3b2 Split simon.cpp more for PalmOS port.
svn-id: r16078
2004-12-16 12:49:25 +00:00
Travis Howell
a1934c99c6 Typo
svn-id: r16067
2004-12-15 23:52:45 +00:00
Gregory Montoir
c878e6cc4d memory leak
svn-id: r16063
2004-12-15 20:25:50 +00:00
Max Horn
3891c0fa39 change loadVOCFromStream to take a reference instead of a pointer (to a stream)
svn-id: r16035
2004-12-11 23:34:34 +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
ba74a8e7f6 Added some more mixer doxygen docs; cleaned up Mixer API a bit, removing some very specialised methods
svn-id: r15914
2004-11-27 15:58:18 +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
Chris Apers
2abe17e594 Cleanup
svn-id: r15739
2004-11-09 10:26:33 +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
Chris Apers
19e17b1c93 Fixed russian support
svn-id: r15027
2004-09-12 11:10:31 +00:00
Torbjörn Andersson
df9e6ef758 Fingolfin's suggested fix for bug #1004919.
svn-id: r14959
2004-09-08 09:24:18 +00:00
Max Horn
cc3a255c54 cleanup
svn-id: r14878
2004-09-04 00:04:36 +00:00
Travis Howell
3c23311625 Typo
svn-id: r14666
2004-08-21 09:51:01 +00:00
Travis Howell
db3e1b7b31 Fix
svn-id: r14664
2004-08-21 09:41:54 +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
b8a3a88daf Update
svn-id: r14651
2004-08-20 15:10:00 +00:00
Travis Howell
02c5ffb639 Update
svn-id: r14646
2004-08-20 13:06:50 +00:00
Travis Howell
7cce3cec83 Set _language before checking its value
svn-id: r14632
2004-08-16 04:19:43 +00:00