Commit Graph

489 Commits

Author SHA1 Message Date
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
Robert Göffringmann
a857771521 implemented dialog skipping and cleaned up mouse code
svn-id: r8919
2003-07-12 01:12:00 +00:00
Robert Göffringmann
24be1e1682 fix endian specific color palette bugs.
svn-id: r8917
2003-07-11 23:56:28 +00:00
Robert Göffringmann
fa921ad6d6 fixed screen blit during fnDrawScreen
svn-id: r8916
2003-07-11 22:59:56 +00:00
Robert Göffringmann
f89c68c6f1 added autosaving every 5 minutes
svn-id: r8915
2003-07-11 22:19:16 +00:00
Robert Göffringmann
021aa93c6c removed useless additional mapping tables and fixed crash in LINC section
svn-id: r8914
2003-07-11 22:09:21 +00:00
Robert Göffringmann
693ea1d6f2 fixed item descriptions
svn-id: r8913
2003-07-11 19:41:37 +00:00
Robert Göffringmann
226543582e big endian fix
svn-id: r8912
2003-07-11 18:56:57 +00:00
Nicolas Bacca
333ea0e300 Avoid deadlock
svn-id: r8911
2003-07-11 15:52:46 +00:00
Jamieson Christian
378856a693 Post FMOPL-reversion cleanup.
svn-id: r8906
2003-07-11 10:23:13 +00:00
Jamieson Christian
8b8b964aad Reverted to "old" YM3812 (FMOPL) emulator code.
Until specific information regarding the benefits
of migrating to the new emulator can be made
available, the "old" code will remain in effect
for the benefit of slower hardware platforms such
as some WinCE-based devices.

svn-id: r8903
2003-07-11 07:14:21 +00:00
Oliver Kiehl
85ef932330 fix compile
svn-id: r8901
2003-07-10 20:22:26 +00:00
Robert Göffringmann
49cd3bdfff forgot a #endif
svn-id: r8900
2003-07-10 20:15:11 +00:00
Robert Göffringmann
b3247c5e5f fixed endian specific palette bugs for restarting game and control panel
svn-id: r8899
2003-07-10 20:09:19 +00:00
Jonathan Gray
71ca768c67 abide by command line request for no subtitles if running the cd version
svn-id: r8898
2003-07-10 10:36:24 +00:00
Robert Göffringmann
a9ae95a64e implemented fnOpenHand/fnCloseHand, added debug cheats
svn-id: r8896
2003-07-10 08:24:16 +00:00
Robert Göffringmann
6ae8144929 whoops.
svn-id: r8895
2003-07-10 07:56:35 +00:00
Torbjörn Andersson
989b155044 Slight cleanup. Fixes a few minor memory leaks, I believe.
svn-id: r8894
2003-07-10 07:09:25 +00:00
Robert Göffringmann
1bedb9ebbf forgot to allow restarting from control panel
svn-id: r8887
2003-07-10 02:13:53 +00:00
Robert Göffringmann
5aba29ae2d this fixes bug #768724 (text width exceeded in LINC terminal).
I wonder though, if this isn't in fact a bug in the huffman tree.

svn-id: r8886
2003-07-10 01:55:48 +00:00
Robert Göffringmann
96f442923c implemented fnRestartGame() and skipping of 2nd intro part
svn-id: r8885
2003-07-10 00:08:07 +00:00