Max Horn
d177364715
new config manager. not everything is completed, and some things will still be changed, but it seems to work well enough to put it into CVS
...
svn-id: r10687
2003-10-08 21:59:23 +00:00
Jamieson Christian
69964cda56
Corrected MT-32 master volume SysEx
...
svn-id: r10671
2003-10-07 15:13:39 +00:00
Max Horn
bfce5e500a
renamed SkyState to SkyEngine; cleaned the #include dependency mess a bit (try to only #include files when you *have* to -> this reduces compilation time to a minimum when header file changes are made)
...
svn-id: r10622
2003-10-05 20:21:20 +00:00
Max Horn
b4e5d97994
factor out common gfx_mode/fullscreen setup code from the game engines into the main code (maybe putting this into the Engine constructor would be better, though?)
...
svn-id: r10611
2003-10-05 14:37:16 +00:00
Max Horn
d4734bd4f2
use namespace Common a bit more; don't zero the RNG in scumm (else the seed gets reset); remove obsolete 256 color blending code
...
svn-id: r10592
2003-10-04 11:50:21 +00:00
Jamieson Christian
056974821a
Fix OOB SysEx checksums
...
svn-id: r10572
2003-10-03 18:59:48 +00:00
Torbjörn Andersson
cee745dbf9
Whitespace changes
...
svn-id: r10516
2003-10-01 09:40:28 +00:00
Torbjörn Andersson
920c11972e
Whitespace changes
...
svn-id: r10515
2003-10-01 07:29:27 +00:00
Nicolas Bacca
6c94765972
Improve intro timing a tiny bit on WinCE
...
svn-id: r10472
2003-09-28 22:23:59 +00:00
Jamieson Christian
a7dfe35706
Fix for Bug [805923] BASS: Notes left on when quitting game
...
Explicitly send All Notes Off messages on every
channel when shutting down music driver. This
fixes hanging notes on exit when using external
synths or some less intelligent internal synths.
svn-id: r10398
2003-09-24 09:32:38 +00:00
Torbjörn Andersson
570e60a487
Whitespace changes
...
svn-id: r10390
2003-09-24 06:33:59 +00:00
Max Horn
34b5cd99c3
fixed warning on systems with 64bit pointers
...
svn-id: r10317
2003-09-19 21:15:13 +00:00
Max Horn
6a4663824e
added initial support for building our 4 adventure engines as loadable modules; right now only work on OS X; once we add more build rules, other systems with dlopen() should work, too (e.g. Linux); Windows support may come later. This is still very much WIP
...
svn-id: r10304
2003-09-18 18:23:53 +00:00
Max Horn
7fd732f5bb
cleanup
...
svn-id: r10301
2003-09-18 18:19:23 +00:00
Max Horn
9470c9f661
changed & documented the premixer semantics
...
svn-id: r10294
2003-09-18 16:01:33 +00:00
Max Horn
a15fdcea21
plugin work: right now, only with build rules for OS X. Once I can get it to work here, I'll add more build rules. Work in progress, a lot ain't work, but the plugin stuff is disabled by default, so no harm should arise
...
svn-id: r10292
2003-09-18 13:03:56 +00:00
Max Horn
be9d4066e1
moved engine.* to base; this fixes some linking issues when building a barebone ScummVM (or maybe I just want to increase our CVS stats? <g>)
...
svn-id: r10287
2003-09-18 02:07:18 +00:00
Max Horn
c1a678afeb
new module 'base'; moved gameDetector.*, main.cpp and base/plugins.* there (this removes the need for an ugly hack in the build system, and is also conceptionally cleaner)
...
svn-id: r10282
2003-09-17 22:41:01 +00:00
Max Horn
231cb16b5b
some tweaks to the build system (work toward plugin support)
...
svn-id: r10279
2003-09-17 21:53:13 +00:00
Max Horn
468275bb94
added a static method setDefaultDirectory to class File; used this to simplify some code; added a global g_sound pointer in bs2, this cuts down on uses of g_sword2 (of course both should be removed on the long run); some other minor tweaks/fixes
...
svn-id: r10278
2003-09-17 21:06:16 +00:00
Joost Peters
d517558b10
proper fix for bug #791207
...
svn-id: r10202
2003-09-13 01:45:12 +00:00
Joost Peters
befc7ed3db
workaround for bug #791207
...
svn-id: r10200
2003-09-13 01:08:45 +00:00
Max Horn
080128d748
removed superfluous #include
...
svn-id: r10157
2003-09-10 12:45:42 +00:00
Max Horn
afe56a4aeb
added refCon parameter to timer class
...
svn-id: r10156
2003-09-10 12:43:54 +00:00
Max Horn
65a6bcb90b
moved declaration of error/warning/debug from engine.h to util.h
...
svn-id: r10154
2003-09-10 12:40:41 +00:00
Travis Howell
c832c55f90
Fxo sky module compile
...
svn-id: r10153
2003-09-10 12:35:29 +00:00
Robert Göffringmann
083be33f1a
fix sfx routine
...
svn-id: r10120
2003-09-09 06:37:01 +00:00
Max Horn
f23a34c9e5
renamed VersionSettings -> TargetSettings and also renamed some of its members; added GameDetector::findTarget; made launcher use that new method; some initial preparations for Plugin code
...
svn-id: r10092
2003-09-08 15:38:34 +00:00
Travis Howell
ffe7cd3feb
Actually make these game version message shown by default, so users can better report bugs.
...
svn-id: r10037
2003-09-06 03:48:08 +00:00
Max Horn
3aa8454efa
moved the sound ID param in playRaw before volume/pan
...
svn-id: r10023
2003-09-05 22:09:56 +00:00
Max Horn
11193b0746
cleaned up sound/mixer.h a bit; renamed some mixer methods for consistency
...
svn-id: r10018
2003-09-05 20:48:32 +00:00
Paweł Kołodziejski
5a6bce590b
changed sounds volume to original volume level, and fixed sounds in bass intro
...
svn-id: r9963
2003-09-02 07:49:40 +00:00
Paweł Kołodziejski
2533b23a60
added mixer features: volume and pan control per channel
...
svn-id: r9944
2003-08-31 20:26:21 +00:00
Jonathan Gray
ce42f4d3dd
patch #791738 g++ 3.4 compile fix, from Falk Hueffner and a few minor local bits in my tree
...
svn-id: r9807
2003-08-21 13:39:21 +00:00
Robert Göffringmann
af17c1ac51
copied some fixes which only were in 0.5.1 branch.
...
svn-id: r9799
2003-08-20 12:12:11 +00:00
Robert Göffringmann
e7fb69e3d9
added MDT_PREFER_NATIVE flag to BASS VersionSettings
...
svn-id: r9772
2003-08-18 23:20:27 +00:00
Robert Göffringmann
cc7700f01d
fix sfx restart after restoring a savegame
...
svn-id: r9770
2003-08-18 20:36:55 +00:00
Torbjörn Andersson
2e38b49d27
Replaced printf()s with debug() and warning().
...
svn-id: r9710
2003-08-15 15:17:02 +00:00
Jamieson Christian
e1bc6493d8
Replaced ADLIB_ALWAYS and ADLIB_PREFERRED with a more flexible
...
list of music types supported. This was done because now
PC speaker support must be treated separately, along with
Adlib and native (GM/MT32) support.
This fixes a problem with games that don't support PC speaker
(including V5 games that don't parse SPK resources yet)
being run with -epcspk or -epcjr. Those games now properly
switch to -enull so that music resources still get parsed
and music/script synchronization mechanisms don't break.
svn-id: r9703
2003-08-15 10:19:24 +00:00
Torbjörn Andersson
a02fe9e46e
I didn't realize it at first, but LINC-space uses the same character data
...
as the LINC terminals, so our patched characters looked very out of place
since they didn't have the black outline the other characters had.
I've fixed that, and tweaked the character data for "�" slightly.
svn-id: r9657
2003-08-13 15:29:44 +00:00
Robert Göffringmann
27e65a29c6
remove meaningless warning
...
svn-id: r9642
2003-08-11 17:47:44 +00:00
Marcus Comstedt
2ed0eee711
Replaced use of File with use of SaveFileManager where appropriate.
...
svn-id: r9627
2003-08-10 20:50:50 +00:00
Robert Göffringmann
ee3b2ffbfd
don't allow loading of messy 0.5.1 savegames.
...
svn-id: r9609
2003-08-09 19:40:55 +00:00
Robert Göffringmann
3e211794a2
makes use of SoundMixer::pauseChannels() now.
...
svn-id: r9608
2003-08-09 19:20:10 +00:00
Nicolas Bacca
7d19b48670
Fix intro timing on WinCE ... guess everybody could use it but I'll leave the engine mainteners decide :p
...
svn-id: r9583
2003-08-06 23:49:50 +00:00
Nicolas Bacca
7e2ff83e70
Fix #783732 : freeze on Pocket PC
...
svn-id: r9550
2003-08-06 10:06:19 +00:00
Max Horn
0c3c609442
get rid of some g_system usage
...
svn-id: r9529
2003-08-06 00:28:00 +00:00
Robert Göffringmann
7e3d4b34f2
fixed dialog skipping
...
svn-id: r9447
2003-08-04 01:16:11 +00:00
Robert Göffringmann
31a143dcd4
new compacts, new loading + saving code (not compatible to old one)
...
svn-id: r9439
2003-08-03 17:17:24 +00:00
Robert Göffringmann
d6937ec256
new compact data
...
svn-id: r9438
2003-08-03 17:16:32 +00:00
Torbjörn Andersson
3e3366f521
Added "fast mode" (Ctrl-F/Ctrl-G) like the one we have for SCUMM and Simon.
...
It does not change the game speed setting, because the most likely use (I
think) is to toggle it on briefly, e.g. while travelling the walkways.
svn-id: r9434
2003-08-03 15:50:39 +00:00
Marcus Comstedt
fa45a69614
Added GCC bugtracking id to workaround for future reference.
...
svn-id: r9431
2003-08-03 14:49:10 +00:00
Marcus Comstedt
3e42d8972f
GCC bug workaround... (merge from branch-0-5-0)
...
svn-id: r9429
2003-08-03 14:28:58 +00:00
Torbjörn Andersson
32ad85807a
Removed introimg.cpp. Apparently Foster's don't want to be associated with
...
gap-toothed doddering old fools, so we should just go with whatever image
is in the game data files.
svn-id: r9427
2003-08-02 19:55:17 +00:00
Robert Göffringmann
83450bef27
fix autoroute return codes.
...
svn-id: r9426
2003-08-02 19:37:00 +00:00
Robert Göffringmann
d82969b376
correct sound looping, thanks to our new mixer. :)
...
svn-id: r9418
2003-08-02 16:53:46 +00:00
Max Horn
103112dd3d
removed OSystem::set_mouse_pos (I hope I didn't break any backends, but if I did it should be trivial to get them working again)
...
svn-id: r9391
2003-08-02 00:36:38 +00:00
Robert Göffringmann
64e14fd4ed
changed loading & saving code to fix the bug discribed in the general forum. This bug applies to all platforms, it just seems to cause a crash only on Mac OS X.
...
svn-id: r9352
2003-08-01 00:15:05 +00:00
Robert Göffringmann
9702826aa0
added patched messages for BASS's mistranslations.
...
(also fixed bug about italian menu glitch)
svn-id: r9349
2003-07-31 21:26:27 +00:00
Paweł Kołodziejski
e5e117006a
back disable warnings into stdafx.h, vc6 is lack of warnings support
...
svn-id: r9337
2003-07-31 18:35:01 +00:00
Torbjörn Andersson
bb8d0361e7
More LINC terminal font adjustments: Patch the "j" character for all
...
versions, and make the "1" a bit wider so that menus line up nicely.
svn-id: r9336
2003-07-31 17:24:51 +00:00
Jonathan Gray
a8b5e40c2b
remove unused variable
...
svn-id: r9322
2003-07-31 08:06:40 +00:00
Robert Göffringmann
c9f060573f
cleaned up autoroute code
...
svn-id: r9318
2003-07-31 02:09:24 +00:00
Robert Göffringmann
e5343ac038
applied slightly modified patch #772112 (BASS: Correcting (?) the LINC terminal font)
...
svn-id: r9317
2003-07-31 02:08:00 +00:00
Robert Göffringmann
847c702500
deactivated loading/(auto-)saving at places where it's not allowed
...
svn-id: r9315
2003-07-31 01:57:05 +00:00
Torbjörn Andersson
f4f63d71db
Partial fix for bug #779013 . It no longer crashes, but the config file
...
setting still overrides the command-line option.
svn-id: r9283
2003-07-29 21:03:25 +00:00
Max Horn
5e7988ae6f
checkin for LavosSpawn: 'work around bug #778105 (line width exceeded)'
...
svn-id: r9262
2003-07-28 20:59:53 +00:00
Joost Peters
fa2d02ce6d
applied eriktorbjorn's patch ( #776225 - 'BASS CD intro fixes')
...
svn-id: r9150
2003-07-23 19:33:34 +00:00
Travis Howell
dc25058c3e
Add game specific scaler override to sky
...
Add game specific scaler and full screen override to simon
svn-id: r9067
2003-07-18 15:37:06 +00:00
Robert Göffringmann
76de27e097
fix additional array read
...
svn-id: r9054
2003-07-17 00:35:32 +00:00
Robert Göffringmann
301f1cdf08
reprogrammed sky intros.
...
svn-id: r9053
2003-07-17 00:17:42 +00:00
Joost Peters
91ee8e1c10
Quick-Fix for the OOB access in RNC decoder.
...
Obviously this should be fixed in the decoder itself,
but for some reason I couldn't get it to work in a short period of time.
(before every offending READ_UINT16(), I had a call to function that was like this: "if ((_srcPtr - _startPtr) >= _packLen) { _srcPtr -= 2; }", note that _srcPtr is the current position in the buffer, _startPos is the starting position of the buffer and _packLen is the (supposed?) size.
but I would still get "Invalid Read of 2" with this in Valgrind ..maybe someone knows what I did wrong?)
svn-id: r9050
2003-07-16 13:55:18 +00:00
Travis Howell
2b7227679a
Use debug output instead of warnings for simon
...
Fix debug output in sky
svn-id: r9039
2003-07-15 16:40:24 +00:00
Robert Göffringmann
66823befe2
maybe this fixed those random crashes...
...
svn-id: r9021
2003-07-14 20:01:54 +00:00
Robert Göffringmann
ffb65a9e04
fix bug #770784 : Talking characters stay at last frame
...
svn-id: r9010
2003-07-14 10:05:32 +00:00
Robert Göffringmann
e997d05b3c
fixed toggling music on/off after savegame restore
...
svn-id: r9007
2003-07-14 09:26:50 +00:00
Robert Göffringmann
d971845fab
fixed text drawing bug and made sure autosave doesn't save if engine is in logic_choose mode
...
svn-id: r9006
2003-07-14 09:16:12 +00:00
Max Horn
963ecad362
debug/warning/error all automatically output a newline
...
svn-id: r8991
2003-07-13 16:22:17 +00:00
Robert Göffringmann
3304c40f26
changed "sprite not loaded" printfs to debug()s.
...
svn-id: r8989
2003-07-13 15:38:59 +00:00
Robert Göffringmann
43ab712892
sound support for v.0.0109
...
svn-id: r8967
2003-07-13 06:04:39 +00:00
Robert Göffringmann
3b8a146152
music support for BASS floppy demo v.0.0109.
...
adlib doesn't really work, but the rest of the game doesn't either... so who cares, anyway.
svn-id: r8966
2003-07-13 06:04:11 +00:00
Robert Göffringmann
61b8b227c0
fix set-volume crash.
...
svn-id: r8964
2003-07-13 04:26:55 +00:00
Oliver Kiehl
a87fd1011d
fix intro
...
svn-id: r8960
2003-07-12 23:29:31 +00:00
Travis Howell
9e8dcf879d
Didn't help
...
svn-id: r8950
2003-07-12 17:07:53 +00:00
Travis Howell
6ea1d54f50
A few mino changes for pc gamer demo
...
svn-id: r8949
2003-07-12 16:54:30 +00:00
Robert Göffringmann
7c92fb40ae
try all languages, if selected one can't be found.
...
svn-id: r8946
2003-07-12 15:26:07 +00:00
Robert Göffringmann
5825d77e37
added khalek's huffman tree for 0.0109
...
svn-id: r8945
2003-07-12 15:21:34 +00:00
Nicolas Bacca
ad66be2b57
Add WinCE virtual keyboard
...
svn-id: r8944
2003-07-12 13:15:12 +00:00
Jonathan Gray
97b67117d3
add some stuff for v0.0109
...
svn-id: r8936
2003-07-12 10:02:12 +00:00
Oliver Kiehl
99cd9df6f7
add newline at end of file to make gcc happy
...
svn-id: r8933
2003-07-12 08:55:23 +00:00
Robert Göffringmann
2ccaa6f1af
fix Swedish quit message
...
svn-id: r8932
2003-07-12 06:39:55 +00:00
Robert Göffringmann
8e776dea07
fixed mt32 key velocities
...
svn-id: r8931
2003-07-12 06:20:40 +00:00
Robert Göffringmann
3e578daa01
get music volume from command line
...
svn-id: r8930
2003-07-12 06:12:54 +00:00
Robert Göffringmann
4e406387ad
one more small fix
...
svn-id: r8929
2003-07-12 05:57:53 +00:00
Robert Göffringmann
fbb0ddcc34
keep virgin logo from flashing up when using -x
...
svn-id: r8928
2003-07-12 05:52:28 +00:00
Robert Göffringmann
67a760d10c
floppy versions don't seem to have all languages in their datafiles.
...
svn-id: r8927
2003-07-12 05:38:04 +00:00
Robert Göffringmann
cb48b4fca0
implemented -x command line option
...
svn-id: r8926
2003-07-12 05:26:23 +00:00
Robert Göffringmann
b241be004d
removed useless _backScreen from SkyScreen
...
svn-id: r8923
2003-07-12 04:21:20 +00:00
Robert Göffringmann
8b36d14696
added support for different languages and fixed memory leak and screen refreshes in load/save dialogs
...
svn-id: r8921
2003-07-12 03:40:44 +00:00
Robert Göffringmann
4dd927f1cf
added dialog skipping by pressing '.'
...
svn-id: r8920
2003-07-12 02:07:37 +00:00