Andrew Kurushin
1d31cd1223
fixed give verb
...
fixed occasional verbs redraw
svn-id: r18113
2005-05-15 17:45:59 +00:00
Andrew Kurushin
aedd11b353
add save game chunk
...
svn-id: r18108
2005-05-15 14:46:13 +00:00
Torbjörn Andersson
93e49f2234
Compilation fix.
...
svn-id: r18073
2005-05-12 17:00:08 +00:00
Andrew Kurushin
91ff7f7a31
fixed interpreter bug (negative address offset - may crush system)
...
implemented inventory save-load
svn-id: r18071
2005-05-12 15:11:32 +00:00
Andrew Kurushin
3386b6cdd1
fixed boar king crush
...
svn-id: r18067
2005-05-12 09:12:15 +00:00
Torbjörn Andersson
e0e27b0a09
Cleanup
...
svn-id: r18045
2005-05-11 06:57:58 +00:00
Torbjörn Andersson
9b4e452351
Fixed one part of the problem with Rif's encounter with Sist. Rif no longer
...
disappears, but he still won't respond to commands. And he appears to be
facing in the wrong direction.
svn-id: r18044
2005-05-11 06:57:44 +00:00
Max Horn
2de46dc8eb
Moved some more stuff to namespace Audio (enough for tonight)
...
svn-id: r18040
2005-05-11 00:01:44 +00:00
Max Horn
1a615346ab
Moved class SoundMixer to Audio::Mixer (didn't call the namespace 'Sound' because we already have many classes with that name)
...
svn-id: r18039
2005-05-10 23:48:48 +00:00
Max Horn
72f4c03b0b
Moved (In/Out)SaveFile(Manager) and Timer to namespace Common
...
svn-id: r18038
2005-05-10 23:17:38 +00:00
Max Horn
b75c969e66
Moved class File and the MD5 stuff to namespace Common
...
svn-id: r18037
2005-05-10 22:56:25 +00:00
Torbjörn Andersson
39852157fe
Forgot to remove debugging messages.
...
svn-id: r18035
2005-05-10 17:40:58 +00:00
Max Horn
fc5d0f2a9c
Small tweak to silence yet another Doxygen complaint
...
svn-id: r18030
2005-05-10 13:56:25 +00:00
Max Horn
c804ec2b67
small trick to avoid doxygen confusion (I hope...)
...
svn-id: r18006
2005-05-09 18:00:38 +00:00
Max Horn
a67144f72f
Either document all params or none, anything inbetween causes Doxygen to complain loudly
...
svn-id: r18001
2005-05-09 12:27:31 +00:00
Torbjörn Andersson
519c023e4b
Fixed failed assertion when entering the Elk King's court. It looks like a
...
hack - perhaps it *is* a hack - but it's what the original engine did too,
as far as I can tell.
svn-id: r17992
2005-05-09 06:36:27 +00:00
Max Horn
cca744f69a
Comply to our coding conventions
...
svn-id: r17975
2005-05-08 21:49:52 +00:00
Torbjörn Andersson
9d20c7e21f
Changed error() to warning() since it appears to be relatively harmless. Is
...
the 'start' field even used? Anyway, the entrance to the forest can now be
entered.
The animation code will produce an "Anim::play: Error decoding frame 40!"
warning in addition to the previous one, but I don't see any visible errors
in the scene.
svn-id: r17968
2005-05-08 16:27:16 +00:00
Andrew Kurushin
a81b093e65
fixed sfSceneEq bug
...
fixed load actors entrance
removed some orphans
svn-id: r17964
2005-05-08 14:04:06 +00:00
Eugene Sandulenko
575e94602c
o Fixed ADPCM decoder length bug
...
o Plugged IMA ADPCM into SCUMM engine so latter HE titles now have speech
though it is somewhat noisy don't know why as decoder is based on ADPCM
reference implementation.
svn-id: r17904
2005-05-03 22:12:23 +00:00
Eugene Sandulenko
a71d60686c
Moved Oki ADPCM aka VOX decoder from SAGA engine to common sound/ directory.
...
Implemented IMA ADPCM decoder.
svn-id: r17903
2005-05-03 20:36:07 +00:00
Andrew Kurushin
3b1f8da4be
save load preparetion
...
svn-id: r17852
2005-04-28 17:19:43 +00:00
Andrew Kurushin
2c01219791
some load-save preparetion
...
svn-id: r17836
2005-04-27 11:51:11 +00:00
Max Horn
da5f819cf9
You can safely delete/free null pointers
...
svn-id: r17792
2005-04-24 18:26:12 +00:00
Torbjörn Andersson
59f6002b03
Fixed warning. (Unused variables.)
...
svn-id: r17790
2005-04-24 15:35:03 +00:00
Andrew Kurushin
a909052c8d
fixed object frawing
...
implemented sfGetObjImage, sfSetObjImage, sfSetObjName
svn-id: r17789
2005-04-24 15:17:38 +00:00
Torbjörn Andersson
6f29b92a5f
I believe this is the correct fix for the sanctuary door bug.
...
svn-id: r17786
2005-04-24 12:08:27 +00:00
Max Horn
29d249c696
Remove StringMap class from map.h (at least for now)
...
svn-id: r17772
2005-04-23 14:28:59 +00:00
Torbjörn Andersson
78b340adfb
Whitespace
...
svn-id: r17771
2005-04-23 14:15:00 +00:00
Andrew Kurushin
edad36ee60
fixed sfDropObject implementation
...
svn-id: r17767
2005-04-23 12:34:35 +00:00
Max Horn
969ef3dac9
* Added new virtual base class 'Stream', ReadStream and
...
WriteStream are now subclasses of it.
* Added new methods eos(), ioFailed(), clearIOFailed() to
all streams. This allows better error checking.
* SaveFile classes take advantage of these new standard
stream APIS
* Removed File::gets()
* Added SeekableReadStream::readLine() (replaces File::gets)
* Added WriteStream::writeString, for convenience
svn-id: r17752
2005-04-22 17:40:09 +00:00
Andrew Kurushin
ca33ec4563
fixes sfEnableZone ( 'house' problem )
...
svn-id: r17751
2005-04-22 16:41:44 +00:00
Andrew Kurushin
f3049a41f4
fixed non assigned buttons in IHNM
...
svn-id: r17750
2005-04-22 15:43:42 +00:00
Torbjörn Andersson
2ea2b51ed5
Changed "BYTE" to "int".
...
svn-id: r17749
2005-04-22 15:26:50 +00:00
Andrew Kurushin
cdede6caa4
implemented inventory
...
todo: timeout catchup & capital 'U' & 'D' handling
svn-id: r17748
2005-04-22 14:11:04 +00:00
Eugene Sandulenko
65ade039ec
o Fix save/load. Now it restores game properly but still at exit #0 .
...
o Proper background for inset rooms. Crowd is gone now.
o Draw black border around inset rooms.
svn-id: r17744
2005-04-22 01:38:27 +00:00
Eugene Sandulenko
283a9f35ac
Add not yet correctly working save/load. Use key F7 for saving
...
and F8 for loading. Now works only within current scene and restores
to entrance #0 which is wrong.
svn-id: r17726
2005-04-21 01:30:07 +00:00
Eugene Sandulenko
bd5f93cece
Implement inventoryItemPosition()
...
svn-id: r17724
2005-04-20 23:42:19 +00:00
Andrew Kurushin
89c0e7a69c
fixed actors bug after all demo passed
...
svn-id: r17717
2005-04-20 19:38:04 +00:00
Eugene Sandulenko
d23878ab6c
Separate occaionally glued intro sentence words.
...
svn-id: r17696
2005-04-19 22:18:09 +00:00
Andrew Kurushin
d9bb4aae1d
fixed speech lock
...
svn-id: r17689
2005-04-19 11:07:06 +00:00
Torbjörn Andersson
90886d9506
Fixed warnings.
...
svn-id: r17682
2005-04-19 07:44:01 +00:00
Andrew Kurushin
d52032c75c
converse support improved (still has some bugs)
...
fixed: now protagonist can't be target object
fixed: statusbar color
added: *mouseButtonPressed in SagaEngine
svn-id: r17672
2005-04-18 20:03:14 +00:00
Eugene Sandulenko
769b2fed46
o Unstubbed sfPreDialog -- we have enough code for that
...
o Started to restore inventory functionality
svn-id: r17666
2005-04-18 10:26:43 +00:00
Eugene Sandulenko
1cce2fd366
Renamed 2 script functions which are correct.
...
Moved messages about missinf script functions to top level and made
them more visible
svn-id: r17651
2005-04-17 11:53:25 +00:00
Eugene Sandulenko
44acfd9467
Implement sfGetDeltaFrame and sfEnableZone. Fixes freeze when sanctuary
...
gates open and also used in world map.
Spelling and indentation fixes here and there.
svn-id: r17640
2005-04-16 20:59:24 +00:00
Andrew Kurushin
bffeb58d06
fixed: sprite hittest, speech draws in screen bounds
...
svn-id: r17635
2005-04-16 16:55:35 +00:00
Andrew Kurushin
f6d87c8689
fixed ram dialog crash
...
implemented: sfScriptSpecialWalk,sfScriptWalkRelative,sfScriptMoveRelative
svn-id: r17618
2005-04-16 11:03:34 +00:00
Torbjörn Andersson
20aeccc383
Slightly more informative error message. (I get this if I try to speak to
...
one of the faire animals. I believe it's the one the original source code
calls "FaireRam - 65", but I haven't verified that.)
svn-id: r17544
2005-04-11 15:34:13 +00:00
Torbjörn Andersson
224b2afbf1
Removed system includes.
...
svn-id: r17413
2005-04-06 12:19:15 +00:00