9444 Commits

Author SHA1 Message Date
Willem Jan Palenstijn
ced40b2266 Use new Palette class to manager pixmap palettes.
There are some remaining regressions with text colour in SCI1 games,
but overall it should fix more than it breaks.

svn-id: r39242
2009-03-08 20:17:01 +00:00
Max Horn
85f6f20419 some cleanup
svn-id: r39241
2009-03-08 18:58:09 +00:00
Filippos Karapetis
0c51a5f393 Added game object data files for dino and FTA2
svn-id: r39237
2009-03-08 16:05:49 +00:00
Filippos Karapetis
9d7111006d - Reworked the different file types a bit
- Some initial work on Dinotopia's intro sequence

svn-id: r39234
2009-03-08 15:39:19 +00:00
Travis Howell
468f9c43b7 Correct more errors in hitBox8().
svn-id: r39233
2009-03-08 14:39:04 +00:00
Johannes Schickel
de6f1ec597 Oops, fix size argument to memset call.
svn-id: r39230
2009-03-08 14:33:18 +00:00
Filippos Karapetis
ca2c1b35b4 Variable _oneClick is a byte, so we can't compare it to boolean true/false
svn-id: r39229
2009-03-08 14:28:05 +00:00
Willem Jan Palenstijn
52f3b24668 Restore potentially useful info deleted in r39188
svn-id: r39228
2009-03-08 14:27:35 +00:00
Travis Howell
e5e9797d9c Cleanup.
svn-id: r39227
2009-03-08 14:15:59 +00:00
Willem Jan Palenstijn
feabf9d33f Fix boxes not blocking control/priority map.
This is a regression from r39089 and caused text to be hidden behind
trees in the KQ5 introduction and missing text in longbow.

svn-id: r39226
2009-03-08 13:43:11 +00:00
Johannes Schickel
8318750f41 - Cleanup
- Add FIXME

svn-id: r39225
2009-03-08 13:32:27 +00:00
Johannes Schickel
3524032314 Cleanup.
svn-id: r39224
2009-03-08 13:28:22 +00:00
Travis Howell
e8a00262ed Correct error in hitBox8().
svn-id: r39223
2009-03-08 13:19:19 +00:00
Travis Howell
1937dca584 Cleanup.
svn-id: r39222
2009-03-08 13:18:07 +00:00
Johannes Schickel
275cf8a383 Cleanup.
svn-id: r39221
2009-03-08 13:11:06 +00:00
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