Commit Graph

12723 Commits

Author SHA1 Message Date
Max Horn
43da40996b SCI: Change kAnimate to actually tail recurse
svn-id: r44238
2009-09-21 21:37:47 +00:00
Max Horn
57dfb9bafd SCI: Rename Object::flags and pos to _flags and _pos; tweak scriptObjInit0 and scriptObjInit11 to be more similar
svn-id: r44234
2009-09-21 21:35:43 +00:00
Johannes Schickel
cb41cea6f1 Changed AMIGA menu code to closer match the original. (The menu item highlight selection is still wrong though.)
svn-id: r44231
2009-09-21 01:15:34 +00:00
Johannes Schickel
756659b00e Add more shouldQuit checks in event loops.
svn-id: r44230
2009-09-21 01:15:11 +00:00
Johannes Schickel
94e359d3fb Fix box outline color for FW Amiga.
svn-id: r44229
2009-09-21 01:14:50 +00:00
Johannes Schickel
9eabcb7baa Cleanup.
svn-id: r44228
2009-09-20 23:56:42 +00:00
Johannes Schickel
df4978b776 Fix valgrind warning.
svn-id: r44227
2009-09-20 23:56:21 +00:00
Johannes Schickel
c9d8146c64 Fix compilation under Linux.
svn-id: r44226
2009-09-20 23:38:35 +00:00
Johannes Schickel
44359cd920 Add some shouldQuit() checks in event loops. This makes it possible to easily quit ScummVM (or doing an RTL), when failing the copy protection in Future Wars for example.
svn-id: r44225
2009-09-20 23:35:10 +00:00
Johannes Schickel
8daf7fbba8 Changed some type names to match our coding guidelines.
svn-id: r44224
2009-09-20 23:34:48 +00:00
Florian Kagerer
4d9258d3e5 LOL/PC-98: start fixing color issues (still not working correctly though)
svn-id: r44223
2009-09-20 23:25:39 +00:00
Johannes Schickel
e062a56c31 Implement support for transparent dialgue boxes in the Amiga version of Future Wars.
svn-id: r44222
2009-09-20 23:00:08 +00:00
Johannes Schickel
6b9299e863 Implement more precise palette conversion in Palette::save. This makes the output look more like the original (compared against E-UAE), but still not perfect.
svn-id: r44221
2009-09-20 22:59:30 +00:00
Johannes Schickel
a9f1063ae1 Some more paranoia asserts.
svn-id: r44217
2009-09-20 16:56:44 +00:00
Johannes Schickel
af553f33fa Implement yet another slight palette handling difference in Kyrandia 1 Amiga, which caused a palette glitch in Kyrandia 1 Amiga German.
svn-id: r44216
2009-09-20 16:54:44 +00:00
Johannes Schickel
5bed17efa9 - Add support for Kyrandia 1 German Amiga in create_kyradat.
- Increase kyra.dat version.
- Rebuilt kyra.dat.
- Some slight adaptions for Kyrandia 1 German in the ScummVM source.

svn-id: r44215
2009-09-20 16:54:23 +00:00
Johannes Schickel
d1acdaeb59 Slightly changed unsupported effect level handling in native MT-32 mode.
svn-id: r44214
2009-09-20 15:24:08 +00:00
Johannes Schickel
7c2e3aaa44 Fix removal of SJIS characters in LoL PC98 menu.
svn-id: r44213
2009-09-20 15:01:50 +00:00
Johannes Schickel
156f9d4899 Fix language settings in LoL PC98, this fixes the ingame menu usage.
svn-id: r44212
2009-09-20 14:44:15 +00:00
Johannes Schickel
6236a88ac2 This hopefully fixes threading issues in PC98 sound driver.
svn-id: r44210
2009-09-20 14:29:08 +00:00
Johannes Schickel
566ea2f57e Implement slight differences for PC98 version in TextDisplayer_LoL::printDialogueText and TextDisplayer_LoL::preprocessString.
svn-id: r44209
2009-09-20 14:16:31 +00:00
Johannes Schickel
46b3779ae5 Fix bug in LoLEngine::decodeSjis.
svn-id: r44208
2009-09-20 13:21:18 +00:00
Travis Howell
5d79d748a4 Correct error in load code for PC version of Waxworks.
svn-id: r44206
2009-09-20 13:17:07 +00:00
Johannes Schickel
59f72d111f Add checks for half-width katakana, which are currently unsupported.
svn-id: r44204
2009-09-20 12:44:35 +00:00
Andre Heider
44ce4edeaa Fixed endian bug when using inventory items on objects.
svn-id: r44201
2009-09-20 11:31:11 +00:00
Florian Kagerer
5acbc3c482 LOL/PC-98: fixed block drawing (colors are still wrong)
svn-id: r44198
2009-09-19 23:51:19 +00:00
Florian Kagerer
ea2b6d12dc LOL/PC-98: fix some asserts
svn-id: r44197
2009-09-19 17:39:31 +00:00
Florian Kagerer
6e4f1482c1 LOL: fix warning/error
svn-id: r44196
2009-09-19 13:29:21 +00:00
Florian Kagerer
8f4bba878f LOL: start on pc98 support (still messed up and not working though)
svn-id: r44195
2009-09-19 13:17:55 +00:00
Andre Heider
a81ae427a5 Fixed warning about missing newline
svn-id: r44191
2009-09-18 21:34:34 +00:00
Joost Peters
e1ad748f0d SWORD2: Don't show a pop-up if the 'eye' movie is missing - it was omitted in later re-releases.
svn-id: r44187
2009-09-18 16:39:14 +00:00
Johannes Schickel
066d748c95 Cleanup.
svn-id: r44186
2009-09-18 15:54:39 +00:00
Johannes Schickel
0864394748 Implement proper reverb setting in native MT-32 mode (as desribed in bug report #1088045 "MI2: Minor problems in native MT-32 mode").
svn-id: r44185
2009-09-18 15:54:12 +00:00
Johannes Schickel
c20bc5ea99 Implement proper pan reversal for Roland MT-32 in iMuse (as desribed in bug report #1088045 "MI2: Minor problems in native MT-32 mode").
svn-id: r44184
2009-09-18 15:12:27 +00:00
Johannes Schickel
39b071bed5 Call updateScreen after setScreenPalette in olol_restoreMagicShroud, so that the palette is updated correctly.
svn-id: r44182
2009-09-18 12:38:11 +00:00
Johannes Schickel
e4fd4e827c Fix some memory leaks, caused by a recent regression in StaticResource::unloadId.
svn-id: r44180
2009-09-18 11:38:01 +00:00
Florian Kagerer
559f1f087b LOL: cleanup (replaced some uint8 arrays with new palette objects)
svn-id: r44179
2009-09-17 22:22:25 +00:00
Florian Kagerer
35de9e6e3e LOL/Floppy: fix king richard healing sequence
svn-id: r44178
2009-09-17 20:56:25 +00:00
Johannes Schickel
bb7463638e - Add preliminary support for Lands of Lore PC98 in create_kyradat
- Increase kyra.dat version
- Rebuilt kyra.dat

svn-id: r44177
2009-09-17 19:51:16 +00:00
Johannes Schickel
cfd6d4722c Changed olol_restoreMagicShroud to be a bit more talkative on errors.
svn-id: r44174
2009-09-17 17:14:38 +00:00
Max Horn
5f440854b7 SCI: Add EngineState::_kernel member for convenience
svn-id: r44173
2009-09-17 17:00:36 +00:00
Max Horn
c2455aad87 SCI: Move CallsStruct into vm.cpp, the only place it is being used
svn-id: r44172
2009-09-17 16:56:36 +00:00
Max Horn
f2d2276c4a SCI: Move some selector related function into a new file selector.cpp
svn-id: r44171
2009-09-17 16:53:58 +00:00
Max Horn
eb77efda78 SCI: Add a global getSciVersion() function and make use of it
svn-id: r44170
2009-09-17 16:50:53 +00:00
Max Horn
9651562e72 SCI: Rename WAS_FUNCT_NR to FAKE_FUNCT_NR; turn some #defines into enums
svn-id: r44169
2009-09-17 16:49:31 +00:00
Johannes Schickel
cbf0ca2f6d Typo.
svn-id: r44165
2009-09-17 16:08:27 +00:00
Johannes Schickel
d9ea1fd3d5 Enable delay for Ninteno DS in all occasions in o2_isAnySoundPlaying.
svn-id: r44164
2009-09-17 16:03:48 +00:00
Johannes Schickel
d98b1472ca Add workaround in "o2_isAnySoundPlaying", which will hopefully make Kyra2 work on the Nintendo DS.
svn-id: r44163
2009-09-17 16:01:21 +00:00
Max Horn
c38f150d56 SCI: Moved Kernel::findSelector from vocabulary.cpp to engine/kernel.cpp
svn-id: r44161
2009-09-17 14:54:11 +00:00
Max Horn
e3e1c0754f SCI: Properly hook up (I hope) CantBeHere instead of CanBeHere in SCI versions that need it
svn-id: r44160
2009-09-17 14:53:57 +00:00
Max Horn
15652675b2 SCI: Removed dead code
svn-id: r44159
2009-09-17 14:53:42 +00:00
Filippos Karapetis
5e12132550 Added alternate versions for iceman, lsl2, qfg1, sq3 and sq4 from bug report #2612718. Still many to go, that bug report is huge
svn-id: r44158
2009-09-17 14:41:27 +00:00
Johannes Schickel
f0ccad5bbd - Increase kyra.dat version
- Fix language settings of some game entries

svn-id: r44157
2009-09-17 13:46:01 +00:00
Max Horn
e40cbe574e SCI: Rename engine/memobj.* to engine/segment.*
svn-id: r44155
2009-09-17 13:22:46 +00:00
Max Horn
23c64c1fd6 SCI: Simplify code in Kernel::checkStaticSelectorNames a bit (don't treat nodePtr & cantBeHere special)
svn-id: r44154
2009-09-17 13:22:15 +00:00
Max Horn
730c7c9641 SCI: Get rid of the not_register() hack
svn-id: r44153
2009-09-17 13:22:00 +00:00
Max Horn
364640cfd5 SCI: Rename selector_map_t -> SelectorCache and _selectorMap -> _selectorCache
svn-id: r44152
2009-09-17 13:21:42 +00:00
Max Horn
b2c386ed00 SCI: Move parts of struct ScriptState into a new struct DebugState
svn-id: r44151
2009-09-17 13:21:19 +00:00
Max Horn
d861f5c854 SCI: cleanup
svn-id: r44150
2009-09-17 13:20:58 +00:00
Filippos Karapetis
51dc72d49c Corrected the size of one of the Italian fan-translated versions of ITE (bug report #2845399)
svn-id: r44141
2009-09-17 09:40:39 +00:00
Filippos Karapetis
dce185ba8b Made script_lookup_export() a method of SegManager
svn-id: r44140
2009-09-17 09:36:52 +00:00
Filippos Karapetis
4c82477559 Added the CD version of Jones (bug report #2813795) and another version of RAMA (bug report #2850645)
svn-id: r44139
2009-09-17 09:08:54 +00:00
Filippos Karapetis
f890a69428 Changed the way object selectors are accessed, by removing the relevant defines and adding appropriate methods to the Object structure
svn-id: r44138
2009-09-17 08:51:38 +00:00
Max Horn
280bee663e SCI: Change SegmentId from int to uint16; consistently use segment 0 to indicate an invalid segment
svn-id: r44131
2009-09-17 00:46:01 +00:00
Max Horn
10f898c90e SCI: Rename MemObject -> SegmentObj
svn-id: r44130
2009-09-17 00:45:12 +00:00
Max Horn
1f0e8ef470 SCI: More cleanup
svn-id: r44129
2009-09-17 00:44:22 +00:00
Max Horn
b26f744e23 SCI: cleanup
svn-id: r44128
2009-09-16 23:55:11 +00:00
Max Horn
68dfdce043 SCI: Turn some SegManager methods into Script methods
svn-id: r44127
2009-09-16 23:32:48 +00:00
Max Horn
a277123f54 SCI: Rename Script class members, change Script from struct to class
svn-id: r44126
2009-09-16 23:32:27 +00:00
Arnaud Boutonné
6976bc87b7 Playtoons - Add patterns to drawCircle
svn-id: r44122
2009-09-16 22:19:54 +00:00
Arnaud Boutonné
ee48b944f7 Playtoons - Add 3 DRAW_PIXEL patterns, fix some conditions.
svn-id: r44120
2009-09-16 21:13:12 +00:00
Johannes Schickel
f8f776364e Increase kyra.dat version.
svn-id: r44119
2009-09-16 21:07:14 +00:00
Florian Kagerer
361fd53ef3 Kyra/LoL: fix pc98 audio driver destructor
svn-id: r44117
2009-09-16 20:42:10 +00:00
Florian Kagerer
811596fde2 LOL/Floppy: fixed outro
svn-id: r44116
2009-09-16 20:05:12 +00:00
Vladimir Menshakov
65eeeffe70 reviewed all callbacks from the first part of the game, added missing sounds, synchronized dialog animation and colors.
svn-id: r44115
2009-09-15 22:35:19 +00:00
Vladimir Menshakov
0ec948e867 commented out noisy debug
svn-id: r44114
2009-09-15 22:34:32 +00:00
Vladimir Menshakov
6fcf8adb04 allowed actor animation be visible even if actor was not, minor cleanups
svn-id: r44113
2009-09-15 22:34:08 +00:00
Johannes Schickel
eec86941f2 Add link to gcc bug report, in the comment for the gcc aimed workaround for AMD64.
svn-id: r44112
2009-09-15 22:16:55 +00:00
Vladimir Menshakov
62ea7be0cf fixed animation pausing/restarting when only one of animations present
svn-id: r44111
2009-09-15 20:58:30 +00:00
Vladimir Menshakov
fc125a5abb allow processing one more render cycle when walk ends (fixed wait animations glitches)
svn-id: r44110
2009-09-15 20:57:49 +00:00
Vladimir Menshakov
6db034a1db renamed constants to comply with the code convention.
svn-id: r44109
2009-09-15 20:21:18 +00:00
Vladimir Menshakov
76ea1fbb64 implemented proper dialog positioning
svn-id: r44108
2009-09-15 20:08:28 +00:00
Vladimir Menshakov
e78bd81ac0 return bounding boxes from the render(), slightly changed internal events arguments.
svn-id: r44107
2009-09-15 19:21:45 +00:00
Arnaud Boutonné
6a9cc3b1e0 - Implement _pattern variable
- Add oPlaytoons_putPixel and Playtoons specific spriteOperation (using _pattern)

svn-id: r44103
2009-09-15 12:15:22 +00:00
Vladimir Menshakov
28e09b9292 capitalized game title
svn-id: r44102
2009-09-15 10:36:50 +00:00
Max Horn
a8e5df433f TEEN: More code formatting & whitespace changes (automatically generated with astyle)
svn-id: r44101
2009-09-15 08:54:06 +00:00
Max Horn
9369d6b772 CINE: Turn some methods into const methods
svn-id: r44100
2009-09-15 08:51:16 +00:00
Filippos Karapetis
e1de3d0f3f Removed some unused variables from the engine state
svn-id: r44099
2009-09-15 07:59:48 +00:00
Vladimir Menshakov
7cbbc0ad25 adapted code to comply code formatting conventions.
svn-id: r44098
2009-09-15 07:41:05 +00:00
Filippos Karapetis
5605e8b74d Slight cleanup of the resource palette modification code
svn-id: r44097
2009-09-15 07:18:16 +00:00
Johannes Schickel
4e4074f393 Fix valgrind warning inside "saturatedAddColor", when using the same palette object as both source and destination.
svn-id: r44094
2009-09-15 00:03:21 +00:00
Max Horn
bfe1538715 SCI: Misc cleanup
svn-id: r44093
2009-09-14 22:34:53 +00:00
Florian Kagerer
8a29adab6f LOL: fix some regressions
svn-id: r44092
2009-09-14 22:24:30 +00:00
Vladimir Menshakov
a13b03e4d9 added PauseAnimation/ClearAnimations event, fixed dialogue animations in intro.
svn-id: r44091
2009-09-14 22:23:35 +00:00
Vladimir Menshakov
90eabcc885 rewrote dialog parser, fixed color swapping.
svn-id: r44090
2009-09-14 21:07:01 +00:00
Vladimir Menshakov
c2ece5dc2b fixed RGB chief face animation in intro
svn-id: r44089
2009-09-14 21:06:08 +00:00
Vladimir Menshakov
9ee6e958bd added color argument to displayMessage()
svn-id: r44088
2009-09-14 21:05:43 +00:00
Johannes Schickel
1b68bf76ac Wording.
svn-id: r44086
2009-09-14 19:30:46 +00:00
Johannes Schickel
5ed03fcd3a Fix valgrind warning.
svn-id: r44084
2009-09-14 18:40:05 +00:00
Max Horn
8ac3db0801 SCI: Rename SegManager::kernelDeref*() methods to SegManager::deref*()
svn-id: r44083
2009-09-14 13:27:09 +00:00
Max Horn
0e834d0b87 SCI: kernelDeref*() functions are now seSegmentManager methods
svn-id: r44082
2009-09-14 13:13:20 +00:00
Max Horn
c00edfb64f SCI: Merge kernelDerefCharPtr and kernelDerefString and change it from a macro to a function
svn-id: r44081
2009-09-14 12:59:42 +00:00
Johannes Schickel
53450cc2e1 FW Amiga distributed via Interplay should be a US version according to mobygames.
svn-id: r44079
2009-09-14 12:50:44 +00:00
Johannes Schickel
346ce3f3da Add preliminary support for German Amiga version.
svn-id: r44077
2009-09-14 12:24:23 +00:00
Johannes Schickel
cfc82d660a Add md5 sum of FW Amiga distributed by "Interplay".
svn-id: r44076
2009-09-14 12:23:17 +00:00
Johannes Schickel
b6d33f1667 - Cleanup
- Fix mismatching new[]/delete

svn-id: r44075
2009-09-13 21:48:02 +00:00
Florian Kagerer
b73f9ab41e KYRA: - add sfx support for PC98-Version
svn-id: r44074
2009-09-13 21:41:29 +00:00
Torbjörn Andersson
9cc0dc3d91 Fixed bug #2847910, "Loss of background audio loop". It would probably be safe
to backport this to the 1.0 branch, but I'm not 100% sure, and it's getting
pretty late here. (On the other hand, the missing sound effects are pretty
faint, at least in the cases I've seen, so we haven't been missing much. That's
probably why it's gone unnoticed until now.)

svn-id: r44073
2009-09-13 21:38:47 +00:00
Torbjörn Andersson
b21b200a95 Clarify things a bit by using the constant name rather than zero.
svn-id: r44072
2009-09-13 21:12:05 +00:00
Johannes Schickel
16305d3b29 Preliminary support for German Kyrandia 1 Amiga.
svn-id: r44071
2009-09-13 21:05:52 +00:00
Johannes Schickel
6488cdc4fc Fix gcc warning.
svn-id: r44070
2009-09-13 20:21:08 +00:00
Johannes Schickel
072aca05dc Modify Kyrandia 1 Amiga detection entry to allow the detector to differentiate between different languages.
svn-id: r44069
2009-09-13 20:10:56 +00:00
Johannes Schickel
7cc0ff23a0 Proper fix for bug #2835715 "KYRA: GFX glitch at the bridge". The old fix broke saves, which were made in front of the castle door.
svn-id: r44065
2009-09-13 19:54:41 +00:00
Johannes Schickel
0af418e7ea Fix regression caused by OSystem::updateScreen call limitation, which caused certain animations not to display at all.
svn-id: r44063
2009-09-13 18:37:19 +00:00
Johannes Schickel
a2900bf246 Fix bug when skipping Kyrandia 1 Intro, when no restart save game file is present.
svn-id: r44062
2009-09-13 18:35:42 +00:00
Florian Kagerer
525c084456 LOL/Floppy: fixed size of menu boxes
svn-id: r44061
2009-09-13 14:44:37 +00:00
Vladimir Menshakov
a0808e58ba fixed double-taking of the captain's key
svn-id: r44060
2009-09-13 14:12:39 +00:00
Vladimir Menshakov
1d8b2b8877 fixed flickering by restarting render cycle
svn-id: r44059
2009-09-13 13:59:55 +00:00
Vladimir Menshakov
1ce0f84084 return event status from the nextEvent()
svn-id: r44058
2009-09-13 13:22:35 +00:00
Vladimir Menshakov
38e5817c34 removed invalid 0xff character handler, added fixme
svn-id: r44057
2009-09-13 13:10:05 +00:00
Vladimir Menshakov
4079a4d1b6 fixed sounds for the earlier callbacks
svn-id: r44056
2009-09-13 12:58:35 +00:00
Vladimir Menshakov
ba9c347d93 added hide/showActor, fixed intro, reverted straight animation order
svn-id: r44055
2009-09-13 12:48:57 +00:00
Florian Kagerer
6d24808bc2 LOL: add missing opcode
svn-id: r44053
2009-09-13 11:04:52 +00:00
Torbjörn Andersson
bcc840c95c Fixed crash when reaching the end of the movie, riggered by recent Stream
changes.

svn-id: r44052
2009-09-13 11:02:39 +00:00
Paul Gilbert
31585ebac0 Added workaround fix for Amazon conversation being cut off in Act 2
svn-id: r44050
2009-09-13 10:58:31 +00:00
Vladimir Menshakov
6c9ab139af added intro support
svn-id: r44049
2009-09-13 10:50:29 +00:00
Torbjörn Andersson
e7469479ce Removed unnecessary semi-colons.
svn-id: r44048
2009-09-13 10:32:55 +00:00
Vladimir Menshakov
e53de46b4f added simple credits support for the intro.
svn-id: r44047
2009-09-13 09:54:53 +00:00
Vladimir Menshakov
94d7dad3af added shadow_color, height and packed width parameters for fonts.
svn-id: r44046
2009-09-13 09:54:03 +00:00
Vladimir Menshakov
e9303da636 fixed animation slot in first trial
svn-id: r44045
2009-09-13 09:53:14 +00:00
Filippos Karapetis
8bf80d9584 Always disable the "Change Directory" button in the save/load menus, as we don't allow the engine to change the directory where saved games will be placed
svn-id: r44044
2009-09-13 00:08:17 +00:00
Filippos Karapetis
18b24da384 Removed the INST_LOOKUP_CLASS define
svn-id: r44043
2009-09-12 18:22:32 +00:00
Filippos Karapetis
15cb36a7ee Made is_object() a method of the segment manager
svn-id: r44042
2009-09-12 17:42:04 +00:00
Filippos Karapetis
358b5649ce Removed the unused ASSERT()-related code and changed a warning where BREAKPOINT() was used to an error
svn-id: r44041
2009-09-12 17:31:29 +00:00
Florian Kagerer
5e57474eb9 LOL: fix bug that would sometimes accidently swap the freeze palette and the normal palette in the ghorka swamp
svn-id: r44040
2009-09-12 13:16:47 +00:00
Filippos Karapetis
90ae20c3ea - Made obj_get and obj_get_name methods of SegManager (getObject and getObjectName, respectively)
- Renamed alloc_List -> allocateList, alloc_Node->allocateNode, alloc_hunk_entry->allocateHunkEntry, free_hunk_entry->freeHunkEntry, for consistency

svn-id: r44039
2009-09-12 00:10:07 +00:00
Florian Kagerer
5c2f872ba4 LOL: added another missing opcode
svn-id: r44037
2009-09-11 21:31:14 +00:00
Florian Kagerer
4e34275af1 LOL: add missing opcode
svn-id: r44036
2009-09-11 21:15:48 +00:00
Florian Kagerer
68ae279aff LOL/Floppy: fixed gfx tables generation
svn-id: r44034
2009-09-11 17:38:36 +00:00
Paul Gilbert
4fc8fe8023 Added an experimental screen transition dirty rect calculation code which should make background changes faster on slower devices or when scalers are active
svn-id: r44032
2009-09-11 11:36:16 +00:00
Paul Gilbert
bb94053960 Bugfix for the boundaries of changing objects used for dirty rect calculations
svn-id: r44031
2009-09-11 11:02:15 +00:00
Travis Howell
8d2482813a Remove excess spaces.
svn-id: r44030
2009-09-11 10:22:32 +00:00
Travis Howell
122ff32d75 Remove excess spaces.
svn-id: r44029
2009-09-11 10:13:54 +00:00
Travis Howell
eb0b61976d Fix compile of M4 game engine.
svn-id: r44028
2009-09-11 09:31:57 +00:00
Max Horn
1011508325 Slightly modified version of Patch #2838562: Improve endian.h and stream.h
svn-id: r44027
2009-09-11 08:55:47 +00:00
Max Horn
7cf23a2c4d M4: Seems that s1_cos and s1_sin are either misnamed, or buggy ?
svn-id: r44026
2009-09-11 08:43:32 +00:00
Max Horn
c6d2441db3 Don't abuse FORCEINLINE
svn-id: r44025
2009-09-11 08:39:09 +00:00
Paul Gilbert
6fa68445c4 Removed incorrect German Neon Edition MD5
svn-id: r44023
2009-09-10 11:38:04 +00:00
Sven Hesse
ae3cc2ca5f Really fixing searchHotspot, syntax-wise at least. (Note: Hotspots::Hotspot::left is unsigned, so a comparison with -1 will always yield false. And for left == 0xFFFF a method already exists, Hotspots::Hotspot::isEnd())
svn-id: r44022
2009-09-09 23:10:53 +00:00
Florian Kagerer
3259a6f0b5 LOL/Floppy: - fix spell book animation
svn-id: r44021
2009-09-09 22:12:21 +00:00
Arnaud Boutonné
686739fc5b Playtoons - Fix searchHotspot and suppress a forgotten debug warning
svn-id: r44020
2009-09-09 21:47:26 +00:00
Vladimir Menshakov
153eba4fcf moved away actor animation from the "lan" animations. added better handling for the asynchronous events.
svn-id: r44019
2009-09-09 20:42:44 +00:00
Arnaud Boutonné
6f6d4df529 Playtoons - Add oPlaytoons_printText
svn-id: r44018
2009-09-09 20:10:16 +00:00
Filippos Karapetis
5cd538a1b3 Removed/replaced the gfx_pixmap_color struct
svn-id: r44017
2009-09-09 08:19:16 +00:00
Max Horn
37e51f1575 Fixed some (pedantic) warnings
svn-id: r44015
2009-09-08 22:03:07 +00:00
Fabio Battaglia
f1683ae5fe tinsel: correct mac cd checksums, made on files extracted as raw data
svn-id: r44014
2009-09-08 20:08:29 +00:00
Vladimir Menshakov
a466f1dcfd added actor-walkbox position correction
svn-id: r44013
2009-09-08 19:24:20 +00:00
Vladimir Menshakov
908e6b857d removed ann's house music hack from scene.
svn-id: r44012
2009-09-08 14:26:14 +00:00
Fabio Battaglia
cbdb0dcdfa Tinsel: added (disabled) Discworld 1 MAC detection entry
svn-id: r44011
2009-09-08 12:14:17 +00:00
Scott Thomas
52cf649a65 T7G: Fix bug #2853185 where card puzzle doesn't clean up, resulting in a blank menu in special instances
svn-id: r44009
2009-09-08 06:23:50 +00:00
Vladimir Menshakov
12e1b5ec0d removed junk, added warning about unimplemented callback
svn-id: r44008
2009-09-07 22:53:42 +00:00
Vladimir Menshakov
89b6c87f50 made game completable
svn-id: r44007
2009-09-07 22:52:51 +00:00
Vladimir Menshakov
278171126f added quit event
svn-id: r44006
2009-09-07 22:47:50 +00:00
Vladimir Menshakov
776d5183fd play animation only when hovered
svn-id: r44005
2009-09-07 20:38:02 +00:00
Vladimir Menshakov
3a1c347da6 fixed invalid text length calculation
svn-id: r44004
2009-09-07 20:12:17 +00:00
Filippos Karapetis
8fa0b431ee Merged xfact and yfact into scaleFactor - it doesn't really make sense to multiply one dimension with an integer multiplier which is different to the multiplier of the other dimension, otherwise we'll end up with funny looking and squashed resolutions like 640x200 or 320x400. Also, removed the now-unused pixelFormat member variable of the graphics driver struct
svn-id: r44003
2009-09-07 16:18:05 +00:00
Paul Gilbert
bebc76b4d8 Added second German Neon Edition detection entry
svn-id: r44001
2009-09-07 11:07:19 +00:00
Filippos Karapetis
e3a733f2e2 Fixed a regression from commit #43999 (segment ID 1 is valid)
svn-id: r44000
2009-09-07 08:27:49 +00:00
Max Horn
44b60d2750 SCI: Replace GET_SEGMENT_ANY and GET_OBJECT_SEGMENT macros by new segman methods
svn-id: r43999
2009-09-07 06:07:18 +00:00
Filippos Karapetis
9d13de7f88 Removed some unused variables
svn-id: r43998
2009-09-06 23:04:06 +00:00
Florian Kagerer
7e3616f3a5 LOL/Floppy: implemented missing opcode
svn-id: r43997
2009-09-06 23:02:52 +00:00
Filippos Karapetis
8e36d06c4c Cleanup
svn-id: r43996
2009-09-06 23:01:33 +00:00
Filippos Karapetis
10dd604d0a Fixed compilation on BE systems
svn-id: r43995
2009-09-06 23:00:49 +00:00
Filippos Karapetis
876a7b657f Removed the hi-color code (16bpp & 24bpp). All SCI games use up to 256 colors, so hi-color isn't really used anywhere, and it only makes the overall code more complex for no reason
svn-id: r43994
2009-09-06 22:27:29 +00:00
Filippos Karapetis
f98dc19f71 Removed some leftover debug code, and turned p0printf messages into debug messages, introducing a new debug level
svn-id: r43993
2009-09-06 21:56:49 +00:00
Florian Kagerer
c5b2840f98 LOL: add message to load/delete menus when no save files are present
svn-id: r43992
2009-09-06 18:39:03 +00:00
Florian Kagerer
25429b6605 LOL: fixed bug in delete menu code
svn-id: r43991
2009-09-06 17:04:58 +00:00
Max Horn
eb8cf07db2 SCI: Rename SegManager::exports_wide to _exportsAreWide and changed it to a bool, and rename setExportWidth() to setExportAreWide()
svn-id: r43988
2009-09-06 13:01:26 +00:00
Max Horn
fdaa3d423c SCI: Script::obj_indices is now protected
Add new methods init, allocateObject and getObject to class Script, and use them instead of directly accessing Script::obj_indices. Replace RAW_GET_CLASS_INDEX with Script::getObject()

svn-id: r43987
2009-09-06 13:01:00 +00:00
Max Horn
a550e2ea10 SCI: Replace "IntMapper *id_seg_map" in SegManager with a Common::HashMap<int,int>
This simplifies the code considerably. Also changed the savegame format
accordingly, which required me to bump the format version to 10. Old
saves should still load fine.

svn-id: r43986
2009-09-06 13:00:30 +00:00
Max Horn
1d075291da SCI: Convert saveload code to use the versioning feature of Common::Serializer
svn-id: r43985
2009-09-06 12:59:56 +00:00
Max Horn
029e3a5703 SCI: cleanup
svn-id: r43984
2009-09-06 12:59:34 +00:00
Max Horn
b51e9988e6 SCI: cleanup
svn-id: r43982
2009-09-06 12:58:43 +00:00
Max Horn
fdbb167ea3 SCI: Cleanup for some SegManager internals
- rename segGet and getSegment to getScriptSegment; the two can be
  distinguished by the parameter count.
- rename type SCRIPT_GET to ScriptLoadType to conform with our code
  formatting conventions
- rename get_class_address to getClassAddress
- some cleanup

svn-id: r43981
2009-09-06 12:58:16 +00:00
Max Horn
d04b5d2c9b SCI: Rename resManager -> resMan; segManager -> segMan
svn-id: r43980
2009-09-06 12:57:42 +00:00
Max Horn
c0ff500b0a SCI: Rename player -> s_player and made it static; allocate MemoryReadStream in two cases on the stack, for simplicity
svn-id: r43979
2009-09-06 12:56:50 +00:00
Max Horn
cd7a32eed0 SCI: Change script_lookup_export to use SegManager::validateExportFunc
svn-id: r43978
2009-09-06 12:56:28 +00:00
Bertrand Augereau
eda081173b Constness fix
svn-id: r43975
2009-09-06 11:37:15 +00:00
Bertrand Augereau
d454c9b379 Minor constness fixes
svn-id: r43974
2009-09-06 10:51:20 +00:00
Vladimir Menshakov
0d4cbea620 start sound positioning with 1 as in original engine.
svn-id: r43973
2009-09-06 09:43:06 +00:00
Vladimir Menshakov
05201a2e9c implemented mansion drawers-book puzzle and fake chili.
svn-id: r43972
2009-09-06 09:40:14 +00:00
Florian Kagerer
0c6aa2ef0d LOL: fixed warning
svn-id: r43971
2009-09-06 01:30:45 +00:00
Florian Kagerer
79228dbd45 LOL/Floppy: fix menus
svn-id: r43970
2009-09-06 01:24:54 +00:00
Vladimir Menshakov
6f98b044d4 more callbacks from the third episode
svn-id: r43969
2009-09-05 23:01:03 +00:00
Florian Kagerer
5d8453b09d LOL/Floppy: fix compass
svn-id: r43968
2009-09-05 22:28:18 +00:00
Florian Kagerer
a4cf9a39e5 LOL/Floppy: fix bug in dialogue displayer
svn-id: r43967
2009-09-05 22:00:17 +00:00
Vladimir Menshakov
a2c28b0a8f made second chapter completable.
svn-id: r43966
2009-09-05 20:58:25 +00:00
Vladimir Menshakov
549e2b0540 more callbacks, removed anotherMansionTry()
svn-id: r43964
2009-09-05 17:15:28 +00:00
Vladimir Menshakov
6ed62584ed added actor_animation for the dialog
svn-id: r43963
2009-09-05 17:14:20 +00:00
Florian Kagerer
295f432b87 LOL: fix floppy version static data
svn-id: r43962
2009-09-05 15:57:41 +00:00