Filippos Karapetis
36cdd09223
Init _opl to 0. This prevents a crash on exit when the Adlib driver is closed, if the game music driver doesn't support music for the currently playing game (e.g. Christmas 1998)
...
svn-id: r41339
2009-06-07 16:44:57 +00:00
Torbjörn Andersson
0999534749
The error() and warning() functions add ! and newline automatically. (I didn't
...
look at debug() and debugC(), since I'm really bored with this now. :-)
svn-id: r41061
2009-05-31 10:02:16 +00:00
Max Horn
1e2c539e42
SCI: Removing obsolete soft sequencer files
...
svn-id: r40914
2009-05-26 14:43:47 +00:00
Walter van Niftrik
fcc45186a5
SCI: Adlib: fix crash in SQ4.
...
svn-id: r40886
2009-05-25 12:38:20 +00:00
Walter van Niftrik
8adc948001
SCI: Adlib: added support for rhythm channel
...
svn-id: r40874
2009-05-24 22:32:21 +00:00
Walter van Niftrik
248f415fac
SCI: Added partial support for SCI1.1 adlib music
...
svn-id: r40800
2009-05-23 01:41:09 +00:00
Filippos Karapetis
87e8f94fde
- Moved all the files out of /sci/scicore and into /sci
...
- Moved /scicore/sciconsole.h into /engine, and renamed /engine/scriptconsole.cpp to /engine/sciconsole.cpp
svn-id: r40608
2009-05-15 14:07:45 +00:00
Filippos Karapetis
e940bcff23
- Simplified SCI version detection a bit and clarified the different version feature flags (not used yet)
...
- Removed the version verification functions (they were only used for two specific cases, but the SCI executable reader is able to detect the exact SCI game version anyway, so there is no point in having these)
- Removed the empty GameFlags structure and replaced it with a 32-bit integer instead
svn-id: r40524
2009-05-13 16:52:41 +00:00
Max Horn
05c3c6ccb3
SCI: Replaced SFX_OK/SFX_ERROR by Common::Error, and got rid of sfx/sfx.h
...
svn-id: r40517
2009-05-12 23:31:55 +00:00
Max Horn
0255cd0213
SCI: Removed sci_memory.h/.cpp
...
svn-id: r40514
2009-05-12 23:30:10 +00:00
Johannes Schickel
a586017bea
Fall back to plain OPL2 emulation, when Dual OPL2 isn't available.
...
svn-id: r40497
2009-05-12 18:45:17 +00:00
Johannes Schickel
4f0768b909
- Add support for selecting the OPL emulator being used (config entry: "opl_driver")
...
- Make MAME FM OPL the default emulator again
- Add GUI support for selecting the active OPL emulator
- Update themes
svn-id: r40496
2009-05-12 18:42:44 +00:00
Filippos Karapetis
1b8c5f483f
Silenced MSVC warning about unsafe mix of byte and boolean
...
svn-id: r40471
2009-05-12 07:19:49 +00:00
Paul Gilbert
25e844655e
Sync with adlib.cpp rename
...
svn-id: r40358
2009-05-06 11:11:44 +00:00
Walter van Niftrik
563c6d59d3
SCI: Modified the new adlib driver for the dosbox adlib emulator, and enabled the new player.
...
svn-id: r40343
2009-05-06 01:18:12 +00:00
Walter van Niftrik
bd82af01c2
SCI: Removed stereo support from the soon-to-be-removed old SCI adlib driver
...
in order to get it working with the new adlib emulator.
svn-id: r40336
2009-05-05 22:07:50 +00:00
Johannes Schickel
ad38e0def0
Update SCI code for the upcoming AdLib emulator changes:
...
- Switch old 'opl2' code to use less of the MAME specific API.
- Since 'interleave' parameter on "YM3812UpdateOne" will be dropped, work around that in SCI code by hand.
svn-id: r40332
2009-05-05 21:34:32 +00:00
Walter van Niftrik
274d890f5b
SCI: Support for 0x4e control changes in new adlib driver, and some cleanup.
...
svn-id: r40312
2009-05-05 01:51:39 +00:00
Walter van Niftrik
c7a5a17acf
SCI: adlib support (work-in-progress) for the new music player.
...
svn-id: r40287
2009-05-03 21:11:09 +00:00
Walter van Niftrik
695bc36b9a
SCI: Added a new song player (work-in-progress).
...
svn-id: r39953
2009-04-15 10:45:59 +00:00
Filippos Karapetis
c4e054848e
Changed some references from "FreeSCI" to "SCI" or "ScummVM"
...
svn-id: r39807
2009-04-03 08:10:58 +00:00
Max Horn
642bad22d8
SCI: Removed most uses of the 'inline' keyword. It is usually better to let the compiler figure out what to inline. As it is, most of these looked as if they were randomly placed ;)
...
svn-id: r39352
2009-03-12 03:26:47 +00:00
Max Horn
ce5c6f3a95
SCI: Added FIXME about Opl2 driver hardcoding sample rate. well, we probably should ditch that one and use our fmopl...
...
svn-id: r39117
2009-03-04 07:46:27 +00:00
Max Horn
7ee049ab8f
SCI: Forgot to commit a couple files after renaming sfx headers
...
svn-id: r39010
2009-03-01 06:17:52 +00:00
Andre Heider
aff4aeae14
set the correct OPL2 frequency for Wii
...
svn-id: r38964
2009-02-28 13:39:56 +00:00
Eugene Sandulenko
d53c75fc8f
Fix code formatting
...
svn-id: r38930
2009-02-27 12:59:02 +00:00
Max Horn
170916201c
SCI: Moved almost all files from include/ to other dirs; only include/engine.h remains
...
svn-id: r38920
2009-02-27 02:23:00 +00:00
Paweł Kołodziejski
91ee9a3eb8
not needed this includes anymore
...
svn-id: r38857
2009-02-24 21:13:32 +00:00
Max Horn
1e4db221e5
SCI: Moved engines/sci/include/sci_memory.h and engines/sci/scicore/sci_memory.cpp into engines/sci/; moved macros from the header into the source file
...
svn-id: r38832
2009-02-24 05:39:10 +00:00
Max Horn
8997a45773
SCI: Replaced two uses of sci_fopen by Common::File; moved is_print_str() to the only spot it is used
...
svn-id: r38791
2009-02-22 19:45:53 +00:00
Jordi Vilalta Prat
b5ce8d9320
Whitespace cleanup
...
svn-id: r38783
2009-02-22 13:11:43 +00:00
Max Horn
8430b662a9
SCI: Changed typedef struct -> struct
...
svn-id: r38752
2009-02-21 22:06:42 +00:00
Max Horn
ff17899d8e
SCI: Got rid of include/scitypes.h
...
svn-id: r38746
2009-02-21 21:16:41 +00:00
Max Horn
eb37789f6f
SCI: Renamed include/gfx_*.h to gfx/gfx_*.h and likewise for sfx header files
...
svn-id: r38735
2009-02-21 19:33:01 +00:00
Max Horn
0d41ca8d38
SCI: Moved scicore/tools.cpp to tools.cpp, and include/resource.h to tools.h
...
svn-id: r38720
2009-02-21 18:28:38 +00:00
Filippos Karapetis
426def4f44
Turned back all fprintf/exit(1) bits into error()
...
svn-id: r38716
2009-02-21 18:16:17 +00:00
Paweł Kołodziejski
a5cf6bfd85
cleanup
...
svn-id: r38712
2009-02-21 17:29:03 +00:00
Paweł Kołodziejski
f18d5500b1
formating
...
svn-id: r38709
2009-02-21 17:23:28 +00:00
Willem Jan Palenstijn
34f90ac043
revert large parts of r38621. error() is for fatal errors and does not return. warning() is not for debugging status messages.
...
svn-id: r38696
2009-02-21 14:11:41 +00:00
Oystein Eftevaag
25f7c37171
Wrapped the SCI engine in the Sci namespace.
...
svn-id: r38676
2009-02-21 10:23:36 +00:00
Filippos Karapetis
2ddce51a56
Changed more messages to warnings/errors
...
svn-id: r38621
2009-02-20 20:39:02 +00:00
Travis Howell
422ebda3ba
Add change from Quietust, to fix MSVC 7.1 compile.
...
svn-id: r38574
2009-02-20 03:46:00 +00:00
Max Horn
88bb21f9e1
Removed unused file
...
svn-id: r38482
2009-02-18 14:49:24 +00:00
Sven Hesse
2ef866690d
Fixing compilation for me
...
svn-id: r38421
2009-02-17 15:54:15 +00:00
Eugene Sandulenko
2a68f8c1cb
Remove unneeded files
...
svn-id: r38414
2009-02-17 15:21:38 +00:00
Eugene Sandulenko
b0abacf7cd
Update headers. sfx/
...
svn-id: r38410
2009-02-17 15:07:44 +00:00
Filippos Karapetis
d39d83e525
Replaced sci_free() with free() - it's OK to free a NULL pointer, so the checking that sci_free() performed is not necessary
...
svn-id: r38406
2009-02-17 13:51:52 +00:00
Max Horn
296686e812
SCI: Header cleanup (avoid #include <> where possible)
...
svn-id: r38330
2009-02-15 23:39:31 +00:00
Max Horn
29611bc7ea
SCI: Run astyle to make the code be more compliant with our Code Formatting Guidelines: sfx dir
...
svn-id: r38322
2009-02-15 22:34:41 +00:00
Max Horn
e90eed4ff3
SCI: Changed _WIN32 -> WIN32; _DREAMCAST -> __DC__; removed _DOS stuff
...
svn-id: r38305
2009-02-15 21:27:42 +00:00