Joost Peters
9fadfae98d
Fix potential OOB read
...
svn-id: r14643
2004-08-19 11:16:55 +00:00
Max Horn
b8ad54b3af
Reversed param order of File::open() -- this allowed me to get rid of a few more getGameDataPath() calls
...
svn-id: r14090
2004-06-27 22:14:35 +00:00
Joost Peters
641277fd16
some cleanup
...
svn-id: r13263
2004-03-13 22:58:50 +00:00
Max Horn
033ff78ae9
updated copyright notice
...
svn-id: r12176
2004-01-06 12:45:34 +00:00
Max Horn
14f28d58f1
remove 'Sky' name prefix for most stuff (not needed anymore since we are in namespace 'Sky' now)
...
svn-id: r12114
2004-01-03 15:57:57 +00:00
Max Horn
b0e23e35ee
Introduce namespace 'Sky'
...
svn-id: r12099
2004-01-03 01:58:58 +00:00
Paweł Kołodziejski
b99af18bd5
cleanup whitespaces
...
svn-id: r11213
2003-11-08 20:27:27 +00:00
Max Horn
5301edc383
some cleanup
...
svn-id: r10720
2003-10-10 13:55:08 +00:00
Max Horn
ed5948272d
constness
...
svn-id: r10714
2003-10-10 10:42:37 +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
Torbjörn Andersson
cee745dbf9
Whitespace changes
...
svn-id: r10516
2003-10-01 09:40:28 +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
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
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
Torbjörn Andersson
2e38b49d27
Replaced printf()s with debug() and warning().
...
svn-id: r9710
2003-08-15 15:17:02 +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
Max Horn
963ecad362
debug/warning/error all automatically output a newline
...
svn-id: r8991
2003-07-13 16:22:17 +00:00
Jonathan Gray
97b67117d3
add some stuff for v0.0109
...
svn-id: r8936
2003-07-12 10:02:12 +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
226543582e
big endian fix
...
svn-id: r8912
2003-07-11 18:56:57 +00:00
Robert Göffringmann
3d9b20bb86
fixed file loading bugs for v.0.0331, control panel works now
...
svn-id: r8868
2003-07-08 22:08:29 +00:00
Robert Göffringmann
2ad7b1e796
applied patch #766979 (BASS: Possible fix for problem with cut-off speech).
...
added small change to SFX samplerate, sparky doesn't sound like a bird now, either.
svn-id: r8840
2003-07-07 14:58:53 +00:00
Robert Göffringmann
2a334f176c
fixed M$VC++ warnings in text.cpp and added code to disk.cpp which may or may not fix graphics problems in hobbins' room on big endian systems (can't test that).
...
svn-id: r8830
2003-07-07 02:54:59 +00:00
Max Horn
41912bc685
use our standard cast style
...
svn-id: r8824
2003-07-07 00:14:16 +00:00
Max Horn
4e373ffb8e
endian fix, cleanup
...
svn-id: r8819
2003-07-06 22:52:15 +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
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
Robert Göffringmann
1785e0e305
some more loading & saving work (still unfinished)
...
svn-id: r8663
2003-06-27 02:54:05 +00:00
Robert Göffringmann
1f6a8b4fb8
fixed issue about file decompression.
...
svn-id: r8421
2003-06-09 20:41:08 +00:00
Robert Göffringmann
68bb844d63
some talk-related bugs fixed
...
svn-id: r8412
2003-06-09 02:33:27 +00:00
Robert Göffringmann
98b3712163
fixed caching routines
...
svn-id: r8334
2003-06-05 19:45:27 +00:00
Robert Göffringmann
3ac5b4ccfa
added some functions to SkyLogic, -Screen, -Talk and -Disk, moved SkyGrid out of SkyState
...
svn-id: r8266
2003-06-02 06:42:42 +00:00
Robert Göffringmann
d67c53d756
basic ingame speech support
...
svn-id: r8220
2003-06-01 03:44:07 +00:00
Oliver Kiehl
9c98000f25
cleanup
...
svn-id: r8138
2003-05-30 13:35:34 +00:00
Robert Göffringmann
d4ac1044ba
fixes gcc compiler warning
...
svn-id: r8061
2003-05-28 21:09:52 +00:00
Robert Göffringmann
765366df6c
Screen *kinda* works now.
...
Though I wonder what the menu sprite is doing on the mainscreen, now. ;)
svn-id: r8059
2003-05-28 20:55:25 +00:00
Robert Göffringmann
b4fd14f2d0
fixed prefetching bug
...
svn-id: r7751
2003-05-20 19:37:17 +00:00
Robert Göffringmann
d0e5d1f44c
restructured some things (mainly the screen routines), moved things out from SkyState. (not yet complete)
...
svn-id: r7516
2003-05-14 22:33:39 +00:00
Joost Peters
6a28523cea
added detection for v0.0303
...
svn-id: r7061
2003-04-21 14:12:19 +00:00
Joost Peters
b93b9dc6a0
applied eriktorbjorn's patch, removed unnecessary cast and renamed CD text decoder
...
svn-id: r6939
2003-04-08 12:19:15 +00:00
Oliver Kiehl
77e97053d0
new class SkyDisk
...
svn-id: r6932
2003-04-07 20:43:47 +00:00
Joost Peters
d667453e0f
changed warning() to error()
...
svn-id: r6915
2003-04-05 19:16:00 +00:00
Joost Peters
1b4818662e
Added text decoders + various other bits of code
...
svn-id: r6913
2003-04-05 18:01:29 +00:00
Joost Peters
12c0a6834a
Some more cleanup, loadFile now returns a uint8*/byte* so no casting is needed anymore.
...
svn-id: r6854
2003-03-24 10:55:58 +00:00
Joost Peters
5af41d1bc6
added timers, full cd-intro and fixed some minor issues
...
svn-id: r6797
2003-03-11 18:32:58 +00:00
Jonathan Gray
d7f21b46e8
add dumpFile(), as per rest of scummvm dumps dir must exist etc missed a file..
...
svn-id: r6796
2003-03-11 07:19:16 +00:00
Joost Peters
488ff8846e
Added voice support, and more (cd_)intro stuff + added myself to the README :)
...
svn-id: r6768
2003-03-08 12:46:51 +00:00
Joost Peters
e7cb6ddb2e
Some cleanup, now follows the ScummVM coding guidelines more closely, also added initialiseGrids()
...
svn-id: r6741
2003-03-07 14:52:24 +00:00
Joost Peters
730d528a54
Major cleanup in rnc_deco.cpp, is now a seperate RncDecoder class, modified disk.cpp to use the class + added rnc_deco.h
...
svn-id: r6712
2003-03-06 15:35:07 +00:00
Joost Peters
7b518d05e6
Some more cleanup + fixed the bug pertaining v0.0288 of the bass datafiles, should now work with _ALL_ bass versions
...
svn-id: r6709
2003-03-06 13:04:13 +00:00