9629 Commits

Author SHA1 Message Date
Travis Howell
56189fcf30 Clarify several errors messages.
svn-id: r39219
2009-03-08 10:08:09 +00:00
Travis Howell
a630759d6d Don't attempt to load save game slot in PN, if no match found.
svn-id: r39218
2009-03-08 09:53:52 +00:00
Travis Howell
6b76f72f32 Re-use save game slot, if the name matches, when saving in PN.
svn-id: r39217
2009-03-08 09:31:35 +00:00
Travis Howell
2620d6836c Add initial support for Personal Nightmare.
Thanks to dreammaster for file decompression and icon decoding code.

NOTE: setjmp/longjmp code will require conversion for portability.

svn-id: r39216
2009-03-08 08:45:21 +00:00
Max Horn
7bfab75a08 SCI: Fixed regression in new_fast_forward_iterator
svn-id: r39215
2009-03-08 08:17:59 +00:00
Max Horn
efa5493b2d SCI: Changed suffix list to be stored as a Common::List; also fixed spelling: suffices -> suffixes
svn-id: r39214
2009-03-08 08:17:43 +00:00
Max Horn
7cf72e8a17 SCI: Renamed vocab.cpp to vocabulary.cpp, to match the name of the header file
svn-id: r39213
2009-03-08 08:17:18 +00:00
Max Horn
877629cb2e SCI: replaced get_int_16 by READ_LE_UINT16, and got rid of inverse_16
svn-id: r39212
2009-03-08 08:16:08 +00:00
Max Horn
aad0ad3fa6 SCI: Added new header gfx/font.h and removed some dead code
svn-id: r39211
2009-03-08 08:15:56 +00:00
Florian Kagerer
edc18a2299 LOL: some opcodes for the library room (so that the game will at least not freeze when clicking one of the books)
svn-id: r39210
2009-03-08 03:26:21 +00:00
Florian Kagerer
e23fd08dfb LOL: fixed bug reported by MD5 (crashes and freezes caused by calls to non-existent sub scripts)
svn-id: r39209
2009-03-08 02:17:14 +00:00
Travis Howell
cc89a46a0e Fix compile of SAGA2 game engine.
svn-id: r39208
2009-03-07 22:11:38 +00:00
Torbjörn Andersson
c73740f2c0 Added comment about a possible FIXME.
svn-id: r39207
2009-03-07 21:38:34 +00:00
Filippos Karapetis
e7defa3820 Fixed bug #2665117 - "ITE: Italian Floppy version wrong size"
svn-id: r39205
2009-03-07 20:54:34 +00:00
Max Horn
f9ecd95d69 Whitespace cleanup: Convert space followed by tab to just tab
svn-id: r39203
2009-03-07 19:24:31 +00:00
Max Horn
2dfae035ac SCI: Reduced header interdependencies some more
svn-id: r39202
2009-03-07 19:23:47 +00:00
Max Horn
0a99cfb4ed SCI: Moved scummvm_get_event to operations.cpp (the only place where it is used), to ease future refactoring of the event handling code
svn-id: r39201
2009-03-07 19:23:32 +00:00
Filippos Karapetis
5c8ea3ccf4 Updated savegame.cfsml
svn-id: r39198
2009-03-07 18:43:15 +00:00
Filippos Karapetis
73a4664552 Replaced getInt15 in intstrument-map.cpp as well
svn-id: r39196
2009-03-07 17:55:00 +00:00
Filippos Karapetis
cdb4cdf070 The ScummVM debug console is now working (though only the "version" command is assigned, for now)
svn-id: r39195
2009-03-07 17:32:11 +00:00
Torbjörn Andersson
041af01f7d Don't show a warning dialog for missing cutscenes in the demo. As noted in bug
#2669360, the demo tries to play cutscenes which really aren't there.

svn-id: r39194
2009-03-07 17:27:18 +00:00
Filippos Karapetis
91f2553260 Merged all the different cursor drawing functions inside gfxr_interpreter_get_cursor()
svn-id: r39192
2009-03-07 17:08:31 +00:00
Filippos Karapetis
f7e980b56e Replaced gfxprintf
svn-id: r39190
2009-03-07 16:17:01 +00:00
Filippos Karapetis
1e29983d8e Replaced getInt16, getUInt16 and putInt16
svn-id: r39189
2009-03-07 16:14:20 +00:00
Filippos Karapetis
f05e49433c Removed unused code
svn-id: r39188
2009-03-07 15:48:54 +00:00
Florian Kagerer
826638d45b LOL: - implemented some opcodes(
svn-id: r39187
2009-03-07 15:46:21 +00:00
Torbjörn Andersson
c252147a40 Don't crash if a cutscene is missing. (Like they are in the demo, for instance.)
svn-id: r39186
2009-03-07 15:29:52 +00:00
Greg Frieger
309fb5f60b Fixed crash when reading some SCI1 resource map
svn-id: r39185
2009-03-07 14:40:58 +00:00
Willem Jan Palenstijn
7a88744b74 Patch #2671477: Fix wrong usage of strncat
svn-id: r39184
2009-03-07 13:40:00 +00:00
Travis Howell
32e49fe2cf Fix buffer overflow in matchSaveGame().
svn-id: r39182
2009-03-07 13:29:11 +00:00
Paul Gilbert
979c1e0f6a Fixed some method parameters, changed the main loop to a method of the engine class, and moved the frame delay code to the main loop to make the game more responsive to events
svn-id: r39180
2009-03-07 07:12:10 +00:00
Max Horn
18b3454280 SCI: Replaced linked list of Sci1Samples by a Common::List
svn-id: r39178
2009-03-07 06:57:17 +00:00
Max Horn
c2f08b10d2 SCI: More cleanup in the song iterator codebase
svn-id: r39177
2009-03-07 06:56:39 +00:00
Max Horn
4f555bf36e SCI: Removed resource_map.o and resource_patch.o from module.mk
svn-id: r39176
2009-03-07 05:55:42 +00:00
Greg Frieger
de20838804 Added detection of SCI1.1 and SCI32 resource volumes
svn-id: r39175
2009-03-07 05:44:36 +00:00
Greg Frieger
f1dd168aae Merged scicore/resource_map.cpp and scicore/resource_patch.cpp to scicore/resource.cpp because these remaining functions are members of ResourceManager
svn-id: r39172
2009-03-07 04:49:34 +00:00
Greg Frieger
7fe1dbdf16 Cleaned / reworked readResourceMapSCI0 and readResourceMapSCI1
Removed unused functions and #defines

svn-id: r39171
2009-03-07 04:42:59 +00:00
Greg Frieger
18efc44768 Use map/volume versions from detection.cpp if set
svn-id: r39170
2009-03-07 01:08:34 +00:00
Greg Frieger
f028f53d3e Map/volume loader and version detection functions cleaned and reworked.
Autodetection still misdetects some SCI1/SCI1.1 games though.

svn-id: r39169
2009-03-07 00:59:38 +00:00
Florian Kagerer
d262073193 LOL: - some opcodes for the first throne room sequence
svn-id: r39168
2009-03-06 23:59:12 +00:00
Filippos Karapetis
fc4df48e13 SongIterator is a class, not a struct
svn-id: r39167
2009-03-06 23:52:12 +00:00
Florian Kagerer
8639e34b41 LOL: - doors can now be opened and closed
- some more work on monster walk code

svn-id: r39166
2009-03-06 22:53:08 +00:00
Max Horn
54e1256b0e SCI: Reduce SFX header dependencies
svn-id: r39159
2009-03-06 18:11:12 +00:00
Max Horn
763275f269 SCI: Continued C++ification of SongIterator code
svn-id: r39158
2009-03-06 17:53:11 +00:00
Max Horn
e134281b5c SCI: Fixed (I hope) song iterator death listeners; and some cleanup
svn-id: r39157
2009-03-06 17:39:46 +00:00
Max Horn
e3ac2ecfaa SCI: Started to revamp the song iterator death notification system (which currently is mess :)
svn-id: r39156
2009-03-06 17:39:15 +00:00
Filippos Karapetis
c4a09af0af Cleanup and unification. Merged decryptinit3() inside decrypt3()
svn-id: r39155
2009-03-06 13:09:10 +00:00
Filippos Karapetis
b8a2b38e41 SongIterator is a class, not a struct
svn-id: r39154
2009-03-06 11:06:04 +00:00
Travis Howell
d16b4ef949 Switch pause key to Pause in AGOS engine, and drop the debug keys.
svn-id: r39153
2009-03-06 09:22:03 +00:00
Max Horn
0f3d67c1ac SCI: C++ifyed SongIterator and its subclasses
svn-id: r39152
2009-03-06 07:25:48 +00:00