Commit Graph

11917 Commits

Author SHA1 Message Date
Max Horn
44ab7ce0be whitespaces
svn-id: r15845
2004-11-20 01:55:53 +00:00
Eugene Sandulenko
e5cc4c629a o Restore cursor after walkthrough
o Add cursor events
o Hide cursor during intro

svn-id: r15844
2004-11-20 00:05:50 +00:00
Paweł Kołodziejski
5748227adc missed destroy object after last changes
svn-id: r15843
2004-11-19 22:53:20 +00:00
Paweł Kołodziejski
a7b7a281f1 changed file constructor to dymanic
svn-id: r15842
2004-11-19 22:43:20 +00:00
Paweł Kołodziejski
309108430c init walkthrough dialog later
svn-id: r15841
2004-11-19 22:33:24 +00:00
Paweł Kołodziejski
734a7d3102 fixed missed ctrl key handle, and missed create() walklthrough call
svn-id: r15840
2004-11-19 22:30:18 +00:00
Paweł Kołodziejski
8dc5c9843c fixed additional not needed white space char
svn-id: r15839
2004-11-19 22:09:23 +00:00
Paweł Kołodziejski
1f6bcee124 not needed chech for unsigned type
svn-id: r15838
2004-11-19 22:02:59 +00:00
Paweł Kołodziejski
b08b04b550 fixed not defined MAX_PATH
svn-id: r15837
2004-11-19 21:58:24 +00:00
Paweł Kołodziejski
dc7a20ccc3 ops, commited before older version
svn-id: r15836
2004-11-19 20:30:26 +00:00
Paweł Kołodziejski
20e9cf6f20 added walkthrough
svn-id: r15835
2004-11-19 19:50:22 +00:00
Paweł Kołodziejski
c4a8b3c8b5 ops
svn-id: r15834
2004-11-19 18:13:05 +00:00
Paweł Kołodziejski
f02b07d6d0 update
svn-id: r15833
2004-11-19 18:08:02 +00:00
Robert Göffringmann
0bda71fa39 a little cleanup
svn-id: r15832
2004-11-19 07:55:33 +00:00
Torbjörn Andersson
d173491acc Added music to the partial IHNM intro. I think I picked the correct tune,
but I can't be absolutely sure.

I'm also not sure if I'm using the correct music data. I'm fairly sure that
the MUSICGM.RES file is the appropriate choice for "General MIDI", but I
have no way of verifying that the MUSICFM.RES is really the right choice
for MT-32. (Is either of them a good choice for Adlib, or are they both
equally bad?)

svn-id: r15831
2004-11-19 07:41:59 +00:00
Jerome Fisher
ea79c9c5e7 - Don't compile inline asm on versions of GCC < 3 (it uses MMX registers, which don't seem to be supported).
svn-id: r15830
2004-11-19 01:39:16 +00:00
Eugene Sandulenko
f930782098 Make IHNM default be 1x scaler.
svn-id: r15829
2004-11-18 22:54:15 +00:00
Robert Göffringmann
589ce6d6aa fixes a crash when closing BS1 while speech menu is open.
svn-id: r15828
2004-11-18 17:48:50 +00:00
Torbjörn Andersson
f80bdba62f Partial support for WAV sound playback, which apparently will be needed for
IHNM support. I used the partial IHNM intro as my test case, and it seems
to work that far at least.

svn-id: r15827
2004-11-18 17:34:54 +00:00
Torbjörn Andersson
7adc1f419f Cleanup
svn-id: r15826
2004-11-16 09:15:25 +00:00
Max Horn
525df7cff0 const const const
svn-id: r15825
2004-11-15 23:33:06 +00:00
Joost Peters
503da27188 This commit has been brought to you by the commit first, compile/test later association.
svn-id: r15824
2004-11-15 20:51:14 +00:00
Joost Peters
bd40d25a68 Move initialisation from constructor to initialise().
svn-id: r15823
2004-11-15 20:44:56 +00:00
Gregory Montoir
a1867735a3 change engine initialization as suggested on -devel
svn-id: r15822
2004-11-15 19:38:57 +00:00
Jerome Fisher
f08482d0ce - Now uses playInputStream to add a channel to the mixer, instead of setting the premixer. There can be only one, and this conflicted with Adlib in multi_midi mode.
svn-id: r15821
2004-11-15 12:39:08 +00:00
Robert Göffringmann
6b68feb360 nothing...
svn-id: r15820
2004-11-15 08:26:32 +00:00
Robert Göffringmann
17f23ad3d5 BS1 demo is basically fully supported now.
only some SFX are flipped.

svn-id: r15819
2004-11-15 08:23:09 +00:00
Torbjörn Andersson
38baf0a0d3 I think this is the kind of constructor/go changes _sev was talking about
in his mail to scummvm-devel. (Though "a discussed a while ago change"
sounds like sort of thing Robert Jordan writes whenever there is danger of
anything actually happening in any of his more recent books. Tantalizing,
yet non-informative. ;-)

It's still rather messy. I'll look into cleaning it up later.

svn-id: r15818
2004-11-15 08:22:16 +00:00
Torbjörn Andersson
455d2a127a GCC doesn't like "const int" in a struct apparently.
svn-id: r15817
2004-11-15 08:11:02 +00:00
Eugene Sandulenko
71a2c36fa1 Add global extrapath to GUI and to default directories list.
svn-id: r15816
2004-11-15 04:41:51 +00:00
Eugene Sandulenko
df4d3fe47a Move most heavy initialization from engine constructor to mainInit()
method which is called from go(). This ensures that extrapath is added
to list od default directories after all other paths.

svn-id: r15815
2004-11-15 03:57:22 +00:00
Eugene Sandulenko
4295a17c23 o Make GAME_GetFileContext() more object-like
o Font::loadFont() now normally survives zero-length fonts as used in demos
o Removed unused SndRes::ITEVOC_Resample()
o Fixed playing of voice #4 on old DOS targets
o Implemented playing voices in VOX (Oki ADPCM) format
o Support of Win32 and Linux demos. There was old-style Win32 demo, which
  is not supported yet, same is with DOS demo.

svn-id: r15814
2004-11-15 03:03:48 +00:00
Robert Göffringmann
183a11153e BS1 demo's speech and logic work now.
But there's something wrong with the SFX, which can lead to crashes.

svn-id: r15813
2004-11-15 02:48:30 +00:00
Eugene Sandulenko
0b3949389e Extend fopenNoCase with probe of capitalized files, such as Cave.mid.
svn-id: r15812
2004-11-14 21:10:50 +00:00
Eugene Sandulenko
ddda67753e Patch #1066256. Mostly indentation fixes and some debug messages removed.
svn-id: r15811
2004-11-14 20:11:22 +00:00
Torbjörn Andersson
0cfd573951 Cleanup
svn-id: r15810
2004-11-14 15:00:01 +00:00
Torbjörn Andersson
73afa3165b This has to be a typo.
svn-id: r15809
2004-11-14 14:58:39 +00:00
Eugene Sandulenko
71cac5a32e For MT-32 emu graphics should be initialized before Midi, as it prints
ScummVM version on OSD. Now it works with the emu.

svn-id: r15808
2004-11-14 14:46:56 +00:00
James Brown
8f1307ff6c Patch #1066150 from eriktorbjorn - Enable adlib emulated midi as fallback where hardware synth is unavailable.
svn-id: r15807
2004-11-14 14:11:54 +00:00
Oliver Kiehl
61efd5ff0e Fix stub a bit. Might garble rest of script otherwise.
svn-id: r15806
2004-11-14 13:15:26 +00:00
Eugene Sandulenko
2fb46f1b95 Make #pragma pack really multiplatform. Old code didn't work on
non-Win32 platforms.

svn-id: r15805
2004-11-14 11:46:29 +00:00
Jerome Fisher
504d54e8ab - Huge cleanup of LUT stuff.
- 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 08:04:56 +00:00
Jerome Fisher
0ed79dfad7 - Prettied up, fixed sign-extension bug.
svn-id: r15803
2004-11-14 07:54:43 +00:00
Jerome Fisher
a158e884a0 - More cleanup.
- 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-14 04:40:12 +00:00
Jerome Fisher
1aeca6838b MT32 MidiDriver:
- 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-14 04:13:15 +00:00
Jerome Fisher
5e442766e5 MT32 MidiDriver:
- 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-13 19:24:37 +00:00
James Brown
2ae3166f2d Add new clearScreen OSystem call. Currently only implemented in SDL backend. 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-13 04:33:33 +00:00
Gregory Montoir
628b02a9e8 minor Wiz stuff update
svn-id: r15798
2004-11-13 04:05:35 +00:00
Robert Göffringmann
d4a4727553 use message window instead of console printf if user wants to load a savegame from a different BASS version
svn-id: r15797
2004-11-12 18:12:41 +00:00
Torbjörn Andersson
057cec5a05 Slight renaming
svn-id: r15796
2004-11-12 15:32:42 +00:00