aboutsummaryrefslogtreecommitdiff
path: root/backends
AgeCommit message (Collapse)Author
2004-12-05Clean up OSystem::EventMax Horn
svn-id: r15990
2004-12-04getFeatureState should only be allowed when we are *not* in a GFX ↵Max Horn
transaction (and not vice versa) svn-id: r15982
2004-12-03don't assert if no mouse buffer hasn't been setupGregory Montoir
svn-id: r15980
2004-12-03ParanoiaMax Horn
svn-id: r15973
2004-12-02Synched with upstream (Munt 0.1.1).Jerome Fisher
Memory timbres are now loaded into the correct location again, and reaching the end of a PCM sample has been improved. The latter change is probably the only one relevant to ScummVM, and even that is unlikely to be audible. svn-id: r15972
2004-12-01renamed a few things to match our coding guidelinesGregory Montoir
simplified OSystem_SDL destructor and move all the SDL uninitialization stuff to the quit() method made saveScreenshot() returning false on fail svn-id: r15967
2004-11-29Allow the file browser to get back to the "pseudo root" under Windows. ThisTorbjörn Andersson
fixes bug #1074919. svn-id: r15963
2004-11-29- Fixed uninitialised reverb level. This bug took embarrassingly long to find...Jerome Fisher
svn-id: r15962
2004-11-29- Now actually read and write the 4 bytes of tuning frequency info in the ↵Jerome Fisher
header. svn-id: r15961
2004-11-28Changed parameter order of SoundMixer::playInputStream to match that of playRawMax Horn
svn-id: r15950
2004-11-28- Now sets the palette earlier, and only once.Jerome Fisher
svn-id: r15948
2004-11-28- Now sets itself as a "permanent" mixer channel.Jerome Fisher
svn-id: r15947
2004-11-28Initialize palette for the progress barEugene Sandulenko
svn-id: r15945
2004-11-28- Cleanup.Jerome Fisher
- Signedness fix. - Changed partial age to 32-bit... They don't exactly run until the heat-death of the universe. svn-id: r15943
2004-11-28Fixed various warningsMax Horn
svn-id: r15939
2004-11-28fixed an unsigned comparision warning (does this code really do what you ↵Max Horn
intended it to do?) svn-id: r15938
2004-11-28const correctness fixMax Horn
svn-id: r15937
2004-11-28- More cleanup.Jerome Fisher
- Another tuning tweak. Sounds better to my ear, but still guesswork. svn-id: r15934
2004-11-28- Now really use g_scummfont everywhere.Jerome Fisher
svn-id: r15933
2004-11-28- Now uses g_scummfont instead of g_sysfont.Jerome Fisher
- Added default case to event switch to eliminate compiler warning. svn-id: r15932
2004-11-28- Cleanup. Still waiting for a real MT-32 to check PCM tuning.Jerome Fisher
svn-id: r15931
2004-11-28- Tweaked tuning.Jerome Fisher
svn-id: r15930
2004-11-28- Added graphical representation of initialisation progress. This is quite ↵Jerome Fisher
hacky. - Initialisation is now interruptible. - All data is now loaded from MT32_CONTROL.ROM. drumpat.rom, Preset1.syx, Preset2.syx and patchlog.cfg are no longer used. - Major cleanup. In particular, separated Rhythm part into a new class, instead of dealing with it as a special case everywhere. - Improved accuracy of pitch key-follow. - Recaching now happens lazily. - Changed some right-shifts to divs, due to the former not being arithmetic on some architectures. - Setting "MT32EMU_ACCURATENOTES" to 1 will generate lookup tables for the exact frequency of every note played. Not recommended. - Several small bugs fixed. svn-id: r15929
2004-11-27AudioStream::read() has been removed quite some time ago, now making sure ↵Max Horn
that change is reflected everywhere svn-id: r15911
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-26Another one...Max Horn
svn-id: r15898
2004-11-26Trying to fix the WinCE/DC port breakage -- blindfolded, though, hence it ↵Max Horn
probably isn't enough to get things compiling again :-/ svn-id: r15897
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-23Next step in transaction implementation. Now it postpones all calls.Eugene Sandulenko
NOTE: This breaks most ports, and they will not pass assertions. If you will fix it (by moving violating OSystem calls to go() method), I'll be grateful. If you don't bother to fix it, there is a workaround. Just comment out beginGFXTransaction() and endGFXTransaction() in backends/sdl/graphics.cpp. This will tunr it off and will use default transaction-less implementation. svn-id: r15870
2004-11-21Since we do ref counting on the nodes now, we can re-use the root nodes nowMax Horn
svn-id: r15851
2004-11-20Changed the FilesystemNode implementation to make it easier to use (client ↵Max Horn
code doesn't have to worry about the memory managment anymore, it's all 'automatic' now). May have introduced a mem leak or two, please check :-) svn-id: r15848
2004-11-19- Don't compile inline asm on versions of GCC < 3 (it uses MMX registers, ↵Jerome Fisher
which don't seem to be supported). svn-id: r15830
2004-11-15const const constMax Horn
svn-id: r15825
2004-11-15- Now uses playInputStream to add a channel to the mixer, instead of setting ↵Jerome Fisher
the premixer. There can be only one, and this conflicted with Adlib in multi_midi mode. svn-id: r15821
2004-11-14This has to be a typo.Torbjörn Andersson
svn-id: r15809
2004-11-14Make #pragma pack really multiplatform. Old code didn't work onEugene Sandulenko
non-Win32 platforms. svn-id: r15805
2004-11-14- Huge cleanup of LUT stuff.Jerome Fisher
- No longer stores a sawtooth waveform twice, once with each sample negated. - More graceful handling of truncated waveformcache files. - Fixed tuning of patterns for non-32KHz sample rates (needs checking). - Note: Waveform cache format changed, will automatically be rebuilt. svn-id: r15804
2004-11-14- Prettied up, fixed sign-extension bug.Jerome Fisher
svn-id: r15803
2004-11-14- More cleanup.Jerome Fisher
- Note-on MIDI commands outside the range 12-108 are now raised/lowered by octaves until in range (instead of being ignored). svn-id: r15802
2004-11-14MT32 MidiDriver:Jerome Fisher
- Cleanup MT32Emu: - Lots more cleanup. - Properly implemented pitch bending (not fast, but theoretically perfect). - Full position delta is now calculated before PCM interpolation/decimation is performed, so that pitch modifiers will be considered. - Now reports when using SSE or 3DNow, and when the samplerate is invalid. svn-id: r15801
2004-11-13MT32 MidiDriver:Jerome Fisher
- Channels now ignore effectLevel() and chorusLevel(), instead of sending unsupported control change messages to MT32Emu (they're not supported in a real MT-32, either, according to docs). - Implemented setPitchBendRange() by sending a sysex write command to adjust the patch. - _outputRate is now hard-coded at 32000, until tuning can be fixed for other sample rates. MT32EMu: - Extended File interface to deal with reading/writing 16/32-bit values endian-independently (they're always big-endian on file). - Improved usage of packing-related pragmas. - Should now be endian-agnostic (without depending on #defines for the endianness). svn-id: r15800
2004-11-13Add new clearScreen OSystem call. Currently only implemented in SDL backend. ↵James Brown
This call is currently only used for clearing the launcher screen to remove garbage from the main screen before reentering. svn-id: r15799
2004-11-12renamed file mt32Paweł Kołodziejski
svn-id: r15794
2004-11-12renamed file mt32Paweł Kołodziejski
svn-id: r15793
2004-11-10- Minor improvement to failure handling.Jerome Fisher
svn-id: r15777
2004-11-10Use the actual output rate of the sound mixer when producing MT32 audio ↵Max Horn
samples -> by default only does 22.5 kHz -> it's now actually almost usable on my machine ;-). Alternative approach might be to hard code 32000 here svn-id: r15775
2004-11-09Updated prefix fileChris Apers
svn-id: r15771
2004-11-09Major update :Chris Apers
- now modular - modules are located on memory card and imported to storage memory when needed - renamed AddArgs(..) -> ArgsAdd - args related fucntions moved to args.* source files - make some args passed even if no game was selected - modules management stuffs svn-id: r15770
2004-11-09Init stuffsChris Apers
svn-id: r15769
2004-11-09Updated based on last changesChris Apers
svn-id: r15768