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
Robert Göffringmann
5f9845b2cb
added toggling music on/off
...
svn-id: r8884
2003-07-09 18:12:58 +00:00