Commit Graph
8933 Commits
Author SHA1 Message Date
Max Horn 5d9b35510d Changed the FilesystemNode implementation to make it easier to use (client 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-20 21:35:49 +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
Max Horn 525df7cff0 const const const
svn-id: r15825
2004-11-15 23:33:06 +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
Torbjörn Andersson 73afa3165b This has to be a typo.
svn-id: r15809
2004-11-14 14:58:39 +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
Paweł Kołodziejski 22afdfc5c9 renamed file mt32
svn-id: r15794
2004-11-12 11:32:35 +00:00
Paweł Kołodziejski 6f8f614893 renamed file mt32
svn-id: r15793
2004-11-12 11:09:47 +00:00
Jerome Fisher e4f600ee48 - Minor improvement to failure handling.
svn-id: r15777
2004-11-10 10:50:47 +00:00
Max Horn cbfa7e3b5c Use the actual output rate of the sound mixer when producing MT32 audio 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-10 00:25:58 +00:00
Chris Apers e92da96760 Updated prefix file
svn-id: r15771
2004-11-09 11:56:45 +00:00
Chris Apers 28682e6d09 Major update :
- 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-09 11:54:16 +00:00
Chris Apers fd2bde21d3 Init stuffs
svn-id: r15769
2004-11-09 11:50:04 +00:00
Chris Apers c9c862989a Updated based on last changes
svn-id: r15768
2004-11-09 11:49:07 +00:00
Chris Apers 27449a3254 - ARM call functions moved to init_arm.cpp
- Added new operators
- cleanup

svn-id: r15767
2004-11-09 11:48:12 +00:00
Chris Apers 5fd488b7a0 - operator new moved to extend.h
- bLauched var : to know if we have launched an engine
- new info panel
- sysAppLaunchCustomDeleteEngine : if the back to launcher option is disabled

svn-id: r15766
2004-11-09 11:46:50 +00:00
Chris Apers 2f6670bfcd New options
svn-id: r15765
2004-11-09 11:44:28 +00:00
Chris Apers c7653da156 Split main resource file into two parts :
- one with launcher only resource
- one with engine only resource
+ new info panel
+ updated game panel

svn-id: r15764
2004-11-09 11:39:34 +00:00
Chris Apers 5fc9d34542 Moved to init_arm.h
svn-id: r15763
2004-11-09 11:35:17 +00:00
Chris Apers 4fb01fd0fd Added Audio button
svn-id: r15762
2004-11-09 11:33:30 +00:00
Chris Apers 0f1a0f80b2 Use the new init stuffs
svn-id: r15761
2004-11-09 11:32:00 +00:00
Chris Apers 48c3ae226c New info panel (formsystem is now part of it)
svn-id: r15760
2004-11-09 11:30:52 +00:00
Chris Apers e40f30e81a Cleanup
svn-id: r15759
2004-11-09 11:27:15 +00:00
Chris Apers 6854c86eb2 Fixed potential crash
svn-id: r15758
2004-11-09 11:23:49 +00:00
Chris Apers d890d56502 Cleanup + sword1 support
svn-id: r15757
2004-11-09 11:17:45 +00:00
Chris Apers 54d55f2efd New options :
- lightspeed integration
- return to launcher on exit
+ cleanup

svn-id: r15756
2004-11-09 11:13:50 +00:00
Chris Apers ef2cc66363 New info panel + new audio skin button
svn-id: r15755
2004-11-09 11:12:59 +00:00
Chris Apers 3bed649682 Added engine selection
svn-id: r15754
2004-11-09 11:11:55 +00:00
Chris Apers 681159971c New folder
svn-id: r15753
2004-11-09 11:11:05 +00:00
Chris Apers 1232eb18dc Cleanup
svn-id: r15752
2004-11-09 11:08:32 +00:00
Chris Apers 9c7d87e710 New info panel handler
svn-id: r15751
2004-11-09 11:07:43 +00:00
Chris Apers 628d369c43 Adlib
svn-id: r15750
2004-11-09 11:07:07 +00:00
Chris Apers efb7ffe22f Added pre-init capability
svn-id: r15749
2004-11-09 11:06:40 +00:00
Chris Apers 8068fd40d4 Added Sword1 support
svn-id: r15748
2004-11-09 10:57:22 +00:00
Chris Apers 77618b5974 Check width instead of height, and use newly added header files
svn-id: r15747
2004-11-09 10:54:45 +00:00
Chris Apers 05da0f8eb8 Only with 320x[x] games
svn-id: r15746
2004-11-09 10:53:25 +00:00
Chris Apers 923e53724c New module code
svn-id: r15745
2004-11-09 10:50:30 +00:00
Chris Apers 58557e6457 Move common palm definitions
svn-id: r15744
2004-11-09 10:49:08 +00:00
Chris Apers 618971dd2f Gathered common functions into new source files
svn-id: r15743
2004-11-09 10:45:47 +00:00
Chris Apers 2abe17e594 Cleanup
svn-id: r15739
2004-11-09 10:26:33 +00:00
Max Horn daee2edcfe oops
svn-id: r15734
2004-11-08 10:17:47 +00:00
Max Horn 79509f9383 cleanup
svn-id: r15733
2004-11-08 10:16:07 +00:00
Eugene Sandulenko 6d38776da0 Fix it on LE systems. SCUMM_LITTLE_ENDIAN is defined in common/scummsys.h,
so it's a good idea to have that included before check :)

svn-id: r15732
2004-11-08 01:17:55 +00:00
Max Horn e759cf5522 Re-apply endian fix
svn-id: r15731
2004-11-07 18:25:32 +00:00