Commit Graph

5244 Commits

Author SHA1 Message Date
Ruediger Hanke
12a04c8e52 Implement new interface functions
svn-id: r8765
2003-07-05 09:08:38 +00:00
Travis Howell
c1002b4ad2 Fix multiple debug level messages, when debug level is set in the config file.
svn-id: r8764
2003-07-05 08:42:50 +00:00
Paweł Kołodziejski
1ed639aedb hack for proper compile for vc6, why I need this ?
svn-id: r8763
2003-07-05 05:31:04 +00:00
Paweł Kołodziejski
521cc8117b updated file
svn-id: r8762
2003-07-05 05:23:54 +00:00
Paweł Kołodziejski
d1fcc77a95 revert to previous targets
svn-id: r8761
2003-07-05 05:11:27 +00:00
Robert Göffringmann
e22e3438e2 fixed cursor and allowed pressing enter for loading and saving, too.
svn-id: r8760
2003-07-05 03:32:41 +00:00
Robert Göffringmann
9f277f1ed0 hope this fixes problems about cut-off speech.
svn-id: r8759
2003-07-05 03:05:54 +00:00
Joost Peters
2abe6a9126 better mouse hotspot, seems the same as in the original now...only tested on first few scenes & control panel though
svn-id: r8758
2003-07-05 03:00:26 +00:00
Joost Peters
a476409d81 added hufftext.o
svn-id: r8757
2003-07-05 02:52:11 +00:00
Robert Göffringmann
2a33eb6cbe fixed control panel palette for v. 0.0348
svn-id: r8756
2003-07-05 02:33:56 +00:00
Robert Göffringmann
989d67951c corrected all huffman trees and moved them out of text.cpp
svn-id: r8755
2003-07-05 02:21:19 +00:00
Jonathan Gray
37bc055000 add --floppy-intro option
svn-id: r8754
2003-07-05 01:45:28 +00:00
Joost Peters
934611c348 applied eriktorbjorn's floppy-intro-with-cd-version patch (#765885)
svn-id: r8753
2003-07-05 00:57:03 +00:00
Joost Peters
39509be92c fixed warning
svn-id: r8752
2003-07-05 00:29:16 +00:00
Robert Göffringmann
5854c6a7de make sky detect v.0.0348 (even though not existing ;)
svn-id: r8751
2003-07-04 23:26:46 +00:00
Robert Göffringmann
a4bd31578b support text and speech at the same time
svn-id: r8750
2003-07-04 22:39:10 +00:00
Robert Göffringmann
67ba28170f don't let user enter too long save names
svn-id: r8749
2003-07-04 20:31:41 +00:00
Robert Göffringmann
f24ca1fcdc removed some useless lines
svn-id: r8748
2003-07-04 20:17:26 +00:00
Robert Göffringmann
484d0a84c5 SFX is working correctly now. also implemented queued fx and fx saving.
The bass version is now included in the savegames, too.

svn-id: r8747
2003-07-04 20:14:11 +00:00
Robert Göffringmann
3aa048d710 make SoundMixer::playRaw only check sound IDs if you actually pass one
svn-id: r8746
2003-07-04 20:08:02 +00:00
James Brown
c419e8d3dc Make 80 column people happy. Sheesh, it's only an egg.
svn-id: r8745
2003-07-04 15:14:47 +00:00
James Brown
bb267e7191 Remove homage to original's misspelling of pseudo. Honest.
svn-id: r8744
2003-07-04 15:10:49 +00:00
James Brown
ca3eb3f9d0 Because I can.
svn-id: r8743
2003-07-04 15:03:54 +00:00
James Brown
a4b61ddaba Prevent apparantly possible race condition. I don't get this stuff, and I don't see why the next call to insertChannel is immune to the same theoretical problem :)
svn-id: r8742
2003-07-04 14:49:51 +00:00
James Brown
093a31839b Insert preliminary Zak256 sound looping support. It's not perfect, as some Zak256 sounds only loop a part of the sample - which our mixer API doesn't yet support.
svn-id: r8741
2003-07-04 14:10:44 +00:00
Max Horn
0ed8e1ef36 prevent (or rather: make much less likely) some sound output related race conditions
svn-id: r8740
2003-07-04 13:17:56 +00:00
Max Horn
85c467c6a0 fixed two leaks
svn-id: r8739
2003-07-04 13:16:48 +00:00
Max Horn
470b406587 oops
svn-id: r8738
2003-07-04 12:35:08 +00:00
Max Horn
fb16fb3e24 added some very limited support for Mac Loom (text is now properly centered around x:160 instead of x:0); added (commented out) copyprot bypass (but since I am not sure if there was ever a Mac Loom w/o codes, am not sure if this ever should be enabled); added comment regarding the Mac Loom sound format
svn-id: r8737
2003-07-04 12:34:09 +00:00
Max Horn
1d93949167 added some more warnings (taken from pentagram)
svn-id: r8736
2003-07-04 11:19:44 +00:00
Max Horn
fbb9bc7834 fixed warning regarding overloaded virtual methods
svn-id: r8735
2003-07-04 11:19:25 +00:00
Joost Peters
8d4c6d7999 show detected game version at startup. (hopefully this will stop the wave of 'how do I find out what version I have' questions. we still need to alter the detection to allow 0.0348 to be the detected since it can't be uniquely identified by the number of dnr-entries (i.e. it has the same amount as v0.0331)
svn-id: r8734
2003-07-04 10:19:39 +00:00
Torbjörn Andersson
f5f9061d86 Allow "no-" prefix to long command-line options, e.g. --no-aspect-ratio,
to invert their meanings. This is useful for overriding settings in the
config file.

svn-id: r8733
2003-07-04 06:54:47 +00:00
Max Horn
ea3b77e3a6 rewrote desaturatePalette using integer arithmetics only
svn-id: r8732
2003-07-03 23:59:35 +00:00
Max Horn
0e2767e354 const
svn-id: r8731
2003-07-03 23:44:28 +00:00
Max Horn
097a2bc9d1 fixed warning
svn-id: r8730
2003-07-03 22:52:17 +00:00
Robert Göffringmann
16031e1b00 whoops
svn-id: r8729
2003-07-03 22:36:45 +00:00
Robert Göffringmann
396c34d44b fixed showGameQuitMsg() and temporarily disabled sfx looping
svn-id: r8728
2003-07-03 22:32:18 +00:00
Max Horn
3ed9aae095 const correctness
svn-id: r8727
2003-07-03 22:06:13 +00:00
Max Horn
c60e1aeb86 cleanup for -Wundef
svn-id: r8726
2003-07-03 22:05:22 +00:00
Max Horn
30d985afb9 const correctness
svn-id: r8725
2003-07-03 21:45:04 +00:00
Max Horn
6b7e12faed fix for bug #765402: no shaking with 1x scaler
svn-id: r8724
2003-07-03 19:12:24 +00:00
Robert Göffringmann
2ea85c6d4e Compact data for v. 0.0288, works as well as 0.0368 now.
svn-id: r8723
2003-07-03 17:17:32 +00:00
Max Horn
8f0c739f87 Timer now uses a mutex, which should make it thread safe (it wasn't before, particuarly bad if timers are implemented via threads), plus this should help in fixing race conditions in classes using class Timer
svn-id: r8722
2003-07-03 11:18:07 +00:00
Torbjörn Andersson
7404d5662d Made read() return the number of bytes that were actually read, rather than
the number that was requested. A lot of our code obviously assumes this
behaviour, and the MP3 file player depends on it because otherwise, when
reaching the end of the file, it will think it read a full buffer, when in
fact it only got part of it and the rest is the remains from the previous
read.

This would cause a brief note from earlier in the track at the end of the
MI1 chapter one screen. Probably other cases as well.

Of course, this may cause regressions but only - I think - if the code was
buggy to begin with.

svn-id: r8721
2003-07-03 07:03:18 +00:00
Torbjörn Andersson
cd04361fb7 Removed the calls to SDL_SetGamma(). No one could understand what they were
doing there in the first place when it was discussed yesterday, and they
screw up the colours for me. (Possibly because I have the gamma correction
set even higher by default, so this attempt to brighten the image actually
made it *darker* for me.)

svn-id: r8720
2003-07-03 06:58:08 +00:00
Max Horn
a0133fdbc6 code transformation on setScaleItem: this shows that rtScaleTable's are actually (almost) the same as scale slots in V8.
svn-id: r8719
2003-07-03 01:24:50 +00:00
Max Horn
6598673ac3 cleanup
svn-id: r8718
2003-07-02 23:24:05 +00:00
Max Horn
e1ca5552dd cleanup; made mutex protection of graphics code a little bit tighter by protecting all of method property(); moved set_palette to OSystem_SDL_Common (it was identical in both normal and GL backend)
svn-id: r8717
2003-07-02 15:08:46 +00:00
James Brown
5b71113dcb Finish a thought I started about the OpenGL filter
svn-id: r8716
2003-07-02 14:51:00 +00:00