Commit Graph

28215 Commits

Author SHA1 Message Date
Einar Johan Trøan Sømåen
764ca7a51a WINTERMUTE: Fix some of the clang++ warnings listed by LordHoto 2012-08-31 14:21:33 +02:00
Einar Johan Trøan Sømåen
2039ea6b8d WINTERMUTE: Fix g++ warnings listed by LordHoto 2012-08-31 14:01:18 +02:00
Einar Johan Trøan Sømåen
16b27090b1 WINTERMUTE: Update to use new TGA-decoder and new Video-system 2012-08-31 13:49:38 +02:00
Einar Johan Trøan Sømåen
3fe7f2cbe2 Merge remote-tracking branch 'origin/master' into wintermute 2012-08-31 13:11:31 +02:00
Strangerke
56c5961fb4 TONY: Translate some variables in findPath, reduce some variable scopes 2012-08-30 08:06:10 +02:00
Strangerke
825e0896dc TONY: Replace C-style comments by C++-style ones.
Also translate some more Italian comments
2012-08-29 23:25:14 +02:00
Strangerke
766eadeef9 TONY: Translate some remaining Italian comments 2012-08-29 22:47:33 +02:00
Alyssa Milburn
985151fe13 TONY: Limit effect of cursor workaround.
This avoids incorrect hotspot offsets.
2012-08-29 09:13:43 +02:00
Alyssa Milburn
a6673aaf90 TONY: Remove useless/commented music code. 2012-08-29 09:12:53 +02:00
Strangerke
a29f1fb04c TONY: Remove some dead code 2012-08-29 08:14:41 +02:00
Strangerke
92a9820f33 TONY: Translate some remaining italian comments 2012-08-29 08:11:52 +02:00
Strangerke
b12ccad994 TONY: Reduce scope of some variables 2012-08-29 00:30:07 +02:00
Strangerke
d2b33ca4cc TONY: Janitorial - remove trailing spaces 2012-08-28 23:25:50 +02:00
Strangerke
56f4bc0225 TONY: Fix some for and if statements with bad coding style 2012-08-28 23:05:48 +02:00
Willem Jan Palenstijn
cdeecf1521 TONY: Replace overlapping memcpy with memmove 2012-08-28 22:50:32 +02:00
Matthew Hoops
f61146f327 PEGASUS: Remove g_allItems global construction 2012-08-28 16:50:15 -04:00
Matthew Hoops
81e7c9a0c1 PEGASUS: Remove g_allHotspots global construction 2012-08-28 16:36:50 -04:00
Alyssa Milburn
142ac7600f TONY: Remove most of the remaining global functions. 2012-08-28 22:28:44 +02:00
Alyssa Milburn
3c986af9ce TONY: Remove unnecessary mainloop mutex.
Also, all the related freeze functions/members.
2012-08-28 22:10:12 +02:00
Alyssa Milburn
9ebbeda949 TONY: Implement some forgotten sound/music functions. 2012-08-28 20:25:48 +02:00
Alyssa Milburn
23638a07d3 TONY: Fix crash with TA_PERORATE. 2012-08-28 17:19:00 +02:00
Alyssa Milburn
31801137b5 Merge remote-tracking branch 'origin/master' into tony
Conflicts:
	common/coroutines.cpp
	common/coroutines.h
	devtools/create_project/msbuild.cpp
	devtools/create_project/visualstudio.cpp
2012-08-28 15:54:12 +02:00
Alyssa Milburn
35fd91793b TONY: Get rid of RMDataStream. 2012-08-28 14:26:00 +02:00
Alyssa Milburn
18b1f6d7c6 TONY: Remove unused data dumping code. 2012-08-28 13:33:24 +02:00
Alyssa Milburn
fbf771ea55 TONY: Fix stringLen for empty strings. 2012-08-28 10:09:13 +02:00
Alyssa Milburn
e6bd426398 TONY: Rename curDialog to g_curDialog. 2012-08-28 09:47:21 +02:00
Alyssa Milburn
3570a0153d TONY: Improve Take/ReleaseOwnership.
This releases all held 'mutexes' when processes die, and keeps
track of the lock count too, just in case.
2012-08-28 09:26:04 +02:00
Littleboy
6ab8db638e LASTEXPRESS: Implement more savegame loading
- Rename existing function to load the last saved game
 - Remove loadgame debugger command
2012-08-27 23:30:23 -04:00
Littleboy
ee8581b778 LASTEXPRESS: Cleanup savegame
- Check for valid stream in readValue/writeValue functions
 - Properly initialize/clear members
2012-08-27 21:49:43 -04:00
Littleboy
6ab3b903d4 LASTEXPRESS: Identify more Verges functions 2012-08-27 21:49:42 -04:00
Littleboy
8fa617556c LASTEXPRESS: Fix typo in Verges chapter 3 function 2012-08-27 21:49:41 -04:00
Littleboy
81c6016e8f LASTEXPRESS: Identify several Verges functions 2012-08-27 21:49:40 -04:00
Littleboy
275aded0b0 LASTEXPRESS: Remove unnecessary casts 2012-08-27 21:49:40 -04:00
Littleboy
bc4e10dabc LASTEXPRESS: Remove some unreachable code 2012-08-27 21:49:39 -04:00
Littleboy
2c0033c7ba LASTEXPRESS: Add const modifiers 2012-08-27 21:49:38 -04:00
Littleboy
ab4c47c584 LASTEXPRESS: Update Debug::loadArchive() to reduce casts 2012-08-27 21:49:37 -04:00
Littleboy
cec57e0918 LASTEXPRESS: Reduce header interdependency 2012-08-27 21:49:37 -04:00
Littleboy
86febf3d1d LASTEXPRESS: Check for valid data in Beetle::invertDirection() 2012-08-27 21:49:36 -04:00
Littleboy
6f18ec2104 LASTEXPRESS: Identify some Abbot Chapter 3 functions 2012-08-27 21:49:35 -04:00
Littleboy
17c051b58c LASTEXPRESS: Check for invalid cd number in debugger commands 2012-08-27 21:49:35 -04:00
Littleboy
47fa7abbe0 LASTEXPRESS: Fix playsnd debugger command 2012-08-27 21:49:34 -04:00
Littleboy
cd5e750a7f LASTEXPRESS: Fix analysis warnings 2012-08-27 21:49:33 -04:00
Alyssa Milburn
28681a32ee TONY: Remove more unused bits. 2012-08-27 23:41:23 +02:00
Willem Jan Palenstijn
6805c2cec2 TONY: Translate some minor Italian comments 2012-08-27 13:07:34 +02:00
Alyssa Milburn
7b4dd0a682 TONY: Remove various bits of unused code. 2012-08-27 12:50:33 +02:00
Alyssa Milburn
037920bf76 TONY: Fix width of flipped dirty rects. 2012-08-27 12:30:02 +02:00
Strangerke
addca5d856 TONY: _rgb buffer is no longer static 2012-08-27 06:51:29 +02:00
Strangerke
72604fa3a6 TONY: USe default fonts (Italian/English) when the language is unhandled instead of erroring out 2012-08-27 00:17:28 +02:00
Strangerke
2ce6576515 TONY: Add English in loadTonyDat 2012-08-26 23:58:06 +02:00
Strangerke
7cb29f1522 TONY: Move font related arrays to a DAT file 2012-08-26 23:33:46 +02:00
Matthew Hoops
bb1e60e8b2 Merge remote branch 'upstream/master' into pegasus
Conflicts:
	AUTHORS
	devtools/credits.pl
	gui/credits.h
2012-08-26 16:12:25 -04:00
Matthew Hoops
857b92f8ff Merge pull request #268 from clone2727/video-rewrite
VideoDecoder upgrade & partial rewrite
2012-08-26 15:41:56 -04:00
Alyssa Milburn
5cc63df513 TONY: Fix exiting from the save menu.
We have to copy _nState before it gets reset in closeState.
2012-08-25 14:46:47 +02:00
Alyssa Milburn
ca82454d74 TONY: Reset _hEndOfBuffer when restarting sounds. 2012-08-25 14:09:02 +02:00
Alyssa Milburn
8b0dca3862 TONY: Fix Take/ReleaseOwnership. 2012-08-25 13:32:08 +02:00
Torbjörn Andersson
659436739f TONY: Make the verb menu sound effects play
At least for now, preloading utility sound effects *is* needed in
ScummVM. And since we now have preloading of both normal and utility
sound effects, I've unstubbed the unloading functions as well.
2012-08-25 12:56:02 +02:00
Alyssa Milburn
a9828c8818 TONY: Replace copyMemory with memcpy. 2012-08-25 10:08:10 +02:00
Alyssa Milburn
b14a616f3f TONY: Get rid of RMString. 2012-08-25 10:08:10 +02:00
Alyssa Milburn
b77306bfcc TONY: Convert more strings to Common::String. 2012-08-25 08:41:22 +02:00
Alyssa Milburn
ff9569572a TONY: Store savegame names with Common::String. 2012-08-25 08:41:22 +02:00
Alyssa Milburn
ba20f1d90d TONY: Remove unused members of RMTextItemName. 2012-08-25 08:41:21 +02:00
Alyssa Milburn
f917a4beab TONY: Use Common::String in writeText.
This uses an array of lines rather than trying to stick nulls into
the string, and so fixes wrapping on hyphens (which overwrote the
character before the hyphen). Thanks to eriktorbjorn for both
finding the bug and working out what was going wrong.
2012-08-25 08:41:21 +02:00
Alyssa Milburn
af134e0244 TONY: Animate mouse cursors.
This restores the forgotten doFrame code for RMPointer, which fixes
the bird mouse cursor. Thanks to eriktorbjorn for noticing it.
2012-08-25 08:41:21 +02:00
Alyssa Milburn
aa603bc208 TONY: Mark screen dirty in RMGfxClearTask.
This fixes the "A LONG TIME AFTER..." screen when talking to the old
woman in the booth. Thanks to eriktorbjorn for noticing it.
2012-08-25 08:41:21 +02:00
Alyssa Milburn
7815c05220 TONY: Use the right dirty rects for drawAA.
This makes it match the relevant non-AA code, and fixes problems
due to the invalid rects. (Perhaps we don't need dirty rects here
at all though, since all the callers seem to call the non-AA code
first with the same parameters?)
2012-08-25 08:41:21 +02:00
Alyssa Milburn
68c6109e76 TONY: Draw the dirty rectangle debugging last.
Otherwise the rects are overwritten by the actual drawing.
2012-08-25 08:41:21 +02:00
Alyssa Milburn
0163bd38e8 TONY: Fix background dirty rect handling.
Reset the scrolling state on load, so that when a new scene is
loaded, the background is redrawn. Also, revert the workaround
in d0d15af9, since this (hopefully) fixes the underlying problem.
2012-08-25 08:41:21 +02:00
Alyssa Milburn
61b11037c3 TONY: Ignore draw attempts with non-positive width/height.
This avoids an invalid dirty rect (width -1) during the
introduction scene inside Halloween Park.
2012-08-25 08:41:21 +02:00
Paul Gilbert
bad6ec8388 TONY: Fixed problem with spoken voices being clipped when timed text mode is on. 2012-08-23 22:05:23 +10:00
Paul Gilbert
93e10b5210 TONY: Removed some debug warnings which aren't needed any longer 2012-08-23 22:05:22 +10:00
Alyssa Milburn
b1486aa5fe TONY: Fix spelling of setStretch. 2012-08-22 21:56:12 +02:00
Alyssa Milburn
93f145773e TONY: Fix saveSoundSettings to use setInt for talkspeed. 2012-08-22 21:52:22 +02:00
Alyssa Milburn
c340739001 TONY: Replace _vm with g_vm. 2012-08-22 21:51:51 +02:00
Paul Gilbert
482c1a71b0 TONY: Removed some TODO warnings that aren't needed any longer 2012-08-22 22:28:08 +10:00
Filippos Karapetis
a391599403 SCI: Update a comment 2012-08-21 11:55:21 +03:00
Matthew Hoops
7a49b3669a PEGASUS: Optimize the nearest neighbor frame scaling a bit
Hopefully should improve performance on lower end systems
2012-08-20 20:42:22 -04:00
Filippos Karapetis
7d436622a8 SCI: More work on kRemapColors
This implements some more color remap-based palette effects, found in QFG4
2012-08-21 03:32:23 +03:00
Filippos Karapetis
1a61056b06 SCI: Extend a workaround for the dream sequence in QFG4 2012-08-21 03:32:21 +03:00
Filippos Karapetis
9568b78bab SCI: Use a simpler atan implementation for kGetAngle in SCI1 and newer games
SCI1 games (QFG2 and newer) use a simpler and more accurate atan implementation
for kGetAngle. This properly fixes bug #3540976.
2012-08-21 03:32:18 +03:00
upthorn
f34924bc39 SWORD25: Fix loading savegames on 64-bit archs. 2012-08-20 21:15:46 +02:00
Alyssa Milburn
b1af75f2c3 SWORD25: Improve sound persistence.
Keep track of volume/panning state, and don't restart sounds which already
finished playing.
2012-08-20 21:14:10 +02:00
Vincent Hamm
bd6751cb4a CINE: Fix drawing of sprite with mask.
Protects against cases where a non-existing script is referenced.
2012-08-20 01:48:20 +01:00
Filippos Karapetis
23db3cd9f2 SAGA: Remove incorrect free() in loadShortenFromStream()
This removes a warning and fixes bug #3558052 - "SAGA: use-after-free warning"
2012-08-20 03:28:02 +03:00
Filippos Karapetis
b19ccb9d1e SCI: Set the correct audio type for SCI1.1 sound effects, fixing bug #3554709
Now, sound effects in SCI1.1 games will no longer be incorrectly using the speech
sound volume. This avoids them being silenced in floppy games that are flagged
as not having speech. Fixes bug #3554709 - "SCI: Digital SFX don't play when
Override Global Audio set"
2012-08-20 03:22:56 +03:00
Filippos Karapetis
8524ebd699 SCI: Fix script bug #3555404 - "SCI: KQ6 Spider Scene Game Freeze" 2012-08-20 02:58:37 +03:00
Einar Johan Trøan Sømåen
246109839b WINTERMUTE: Be case-insensitive when testing for sound-format. 2012-08-19 23:49:29 +02:00
Matthew Hoops
7af4e40304 AGOS: Fix regression with sound in Smacker OmniTV videos 2012-08-18 10:23:19 -04:00
Matthew Hoops
da9695ddc6 AGOS: Fix regressions in the feeble demo 2012-08-17 23:31:26 -04:00
Matthew Hoops
18823198ad VIDEO: Merge AdvancedVideoDecoder into VideoDecoder 2012-08-16 14:00:14 -04:00
Matthew Hoops
7569ec7dc0 VIDEO: Rename setStopTime() to setEndTime()
To better differentiate with stop()
2012-08-16 13:34:28 -04:00
Matthew Hoops
fb35c7f46f VIDEO: Remove setSystemPalette() 2012-08-16 13:30:32 -04:00
Matthew Hoops
7294a1cbcf VIDEO: Remove the Coktel video code from using the VideoDecoder API
After discussing with DrMcCoy, we felt this the best way to proceed. A wrapper class that implements AdvancedVideoDecoder is still around for use in SCI.
2012-08-16 12:17:23 -04:00
Alyssa Milburn
067db748e4 AGI: Replace detector printf usage with logMessage. 2012-08-15 09:51:55 +02:00
Alyssa Milburn
92bcb1801a SCUMM: Replace detector printf usage with logMessage. 2012-08-15 09:48:50 +02:00
Einar Johan Trøan Sømåen
eacb0b1698 WINTERMUTE: Make use of the wday-field in dates, instead of a wrong mday-value. 2012-08-15 02:36:08 +02:00
Einar Johan Trøan Sømåen
10ca0f136d WINTERMUTE: Clear out some commented-out code. 2012-08-15 02:35:11 +02:00
Einar Johan Trøan Sømåen
e01dc47414 WINTERMUTE: Fill the screen with fillRect for now. 2012-08-14 18:20:12 +02:00
Einar Johan Trøan Sømåen
f37e8fbdb1 WINTERMUTE: Clean out some comments in the theora player 2012-08-14 18:19:10 +02:00
Einar Johan Trøan Sømåen
83344a5aef WINTERMUTE: Adjust a few warnings. 2012-08-14 17:27:28 +02:00
Einar Johan Trøan Sømåen
209488c6cf WINTERMUTE: Save the loop-state of sounds properly. 2012-08-14 17:26:46 +02:00
Torbjörn Andersson
629d55cdfa CINE: Apply some ScummVM formatting conventions 2012-08-14 09:09:08 +02:00
yaz0r
8fff7e29de Merge pull request #266 from yaz0r/master
Fix system menu in OS
2012-08-13 23:59:59 -07:00
Vincent Hamm
92df76fbb3 CINE: Fix system menu sometimes not appearing in OS 2012-08-13 23:58:32 -07:00
Travis Howell
54e6283cfa CINE: Fix compile error caused by excess ; 2012-08-14 16:46:19 +10:00
Vincent Hamm
478be5f07a CINE: Fix regression in savegame system 2012-08-13 23:20:10 -07:00
Vincent Hamm
ca54d69add Cine: Fix swimming sequence by allowing mouse click to be held down 2012-08-13 21:38:24 -07:00
Vincent Hamm
2fd8bae319 CINE: Fix restoring of savegame in cave 2012-08-13 20:12:07 -07:00
Einar Johan Trøan Sømåen
fb566386c7 WINTERMUTE: Write alpha properly on big-endian platforms. 2012-08-13 22:33:35 +02:00
Matthew Hoops
92432a136b VIDEO: Convert TheoraDecoder to the new AdvancedVideoDecoder API 2012-08-13 16:25:03 -04:00
Einar Johan Trøan Sømåen
c96ccaa1c3 WINTERMUTE: Add detection for Italian, English and Russian Dead City. 2012-08-13 04:59:17 +02:00
Einar Johan Trøan Sømåen
589094e63a WINTERMUTE: Clean out commented-out code from detection 2012-08-13 04:43:14 +02:00
Einar Johan Trøan Sømåen
101ad689c5 WINTERMUTE: Add language-filtering for Czech, Italian, Polish and Russian.
No detection-support is added for those languages at this point though.
2012-08-13 04:37:07 +02:00
Einar Johan Trøan Sømåen
a370350691 WINTERMUTE: Readd support for save/load-images. 2012-08-13 03:54:34 +02:00
Einar Johan Trøan Sømåen
fed19cb66a WINTERMUTE: WinterMute -> Wintermute 2012-08-13 03:42:30 +02:00
Einar Johan Trøan Sømåen
ddfa227b93 WINTERMUTE: Cleanup in TransparentSurface. 2012-08-13 02:24:15 +02:00
Einar Johan Trøan Sømåen
4168b50fc3 WINTERMUTE: Remove BPkgFile, as wrapCompressedStream can handle that job now. 2012-08-13 02:19:41 +02:00
Einar Johan Trøan Sømåen
61ddc77804 WINTERMUTE: Use the correct DPI for TTF-fonts, and don't display overshooting lines. 2012-08-13 02:13:26 +02:00
Einar Johan Trøan Sømåen
bca8ce861a Merge remote-tracking branch 'origin/master' into wintermute 2012-08-13 02:09:09 +02:00
Einar Johan Trøan Sømåen
c1b5626bca WINTERMUTE: Apply color-key to RGB-images, and upconvert them to RGBA. 2012-08-13 01:14:05 +02:00
Einar Johan Trøan Sømåen
30f35c4c3f WINTERMUTE: Use 64k-tables for alpha-blitting. 2012-08-13 01:13:16 +02:00
Einar Johan Trøan Sømåen
2c44f3f5fa WINTERMUTE: Make a few noisy warnings into debug-calls. 2012-08-13 01:06:56 +02:00
Johannes Schickel
90bb7a0f3f CINE: Slight formatting fixes in gfx.cpp.
Powered by astyle.
2012-08-12 19:50:00 +02:00
Matthew Hoops
7831225b28 VIDEO: Move TheoraDecoder to video/ 2012-08-12 08:58:00 -04:00
Matthew Hoops
5db42076b8 VIDEO: Convert FlicDecoder to the new AdvancedVideoDecoder API
The video no longer automatically loops (unused in-tree) and must have rewind() called manually
2012-08-12 08:43:32 -04:00
Paul Gilbert
dfb0e4f700 TONY: Fix dirty rect refresh glitch in the introduction sequence 2012-08-12 19:47:48 +10:00
Matthew Hoops
0817a02a7d MOHAWK: Use setStopTime() 2012-08-12 01:22:47 -04:00
Travis Howell
61af435d8a AGOS: Improve the quick load/save code. 2012-08-12 15:00:58 +10:00
D G Turner
78b8fa31ca CINE: Fix typo in OS palette restore code.
This fixes most cases of incorrect palette on savegame loading.
Thanks to yaz0r for this fix.
2012-08-11 21:12:35 +01:00
D G Turner
21c057ce75 CINE: Fix lockup in Scene 5 when "operate Girl" underwater.
Traced with gdb to sound.cpp:792 i.e. _fadeOutTimer infinite loop.

This bug was introduced by the addition of the MT-32 output driver for
Future Wars and associated mutex changes.
The _fadeOutTimer increment is done by the timer callback occuring
during the load method call, but this was excluded by the mutex.

Fixed by moving the mutex in the load method.
2012-08-11 20:08:03 +01:00
D G Turner
1f91cc1aa0 SCI: Add PQ3 Spanish DOS detection entry from bug #3555647. 2012-08-11 17:55:31 +01:00
D G Turner
2d1a63c930 SCI: Add KQ5 Spanish DOS detection entry from bug #3555646. 2012-08-11 17:37:14 +01:00
Einar Johan Trøan Sømåen
5b3389672b WINTERMUTE: Silence a few float-cast warnings. 2012-08-11 03:15:51 +02:00
Einar Johan Trøan Sømåen
5ecc1fd7f0 WINTERMUTE: Format platform_osystem.cpp, wintermute.cpp and detection_tables.h 2012-08-11 02:46:08 +02:00
Einar Johan Trøan Sømåen
089920377f WINTERMUTE: Make RTL skip any "are you sure?"-dialogs.
The user has already quite intentionally opened the GMM and clicked "return to launcher"
additionally the GMM can be launched at any time, but the "are you sure"-message can't
always be shown, for instance if the user is already in some in-game menu, or a video is
playing.
2012-08-11 02:42:37 +02:00
Einar Johan Trøan Sømåen
9a5f363972 WINTERMUTE: Make missing-file warnings a debugC
The sound-system attempts to open files in various formats, some of which may not exist, no reason for these to fill the console with output.
2012-08-11 02:34:06 +02:00
Einar Johan Trøan Sømåen
c422ae9d8a WINTERMUTE: Get rid of strncpy+manual termination. 2012-08-11 02:30:07 +02:00
Vincent Hamm
c6c7b16089 CINE: Slight cleanup. 2012-08-11 00:11:21 +01:00
Vincent Hamm
92b5ee0a48 CINE: Fix masking in Operation Stealth. 2012-08-10 14:38:31 +01:00
Johannes Schickel
571fa94310 TESTBED: Fix "if" formatting. 2012-08-09 03:27:21 +02:00
Johannes Schickel
18ab9a1ef1 TSAGE: Fix "if" formatting. 2012-08-09 03:26:55 +02:00
Willem Jan Palenstijn
546e2086e3 SCI: Remove duplicate detection entry
There is no indication in the corresponding bug report this was for
an Amiga version.
2012-08-07 21:06:04 +02:00
D G Turner
d83382a9ef SCI: Add extra comments to new detection entries. No functional changes. 2012-08-07 19:27:22 +01:00
Strangerke
78310d0f4b TSAGE: Apply naming conventions to surfaceGetArea(). Thanks to somaen for reporting it. 2012-08-07 19:07:01 +02:00
Einar Johan Trøan Sømåen
d95a2ddef8 WINTERMUTE: Use only one scaler for blitting, the faster one. 2012-08-07 16:49:20 +02:00
Einar Johan Trøan Sømåen
688f792c9f WINTERMUTE: Cache scaled images, to avoid having to rescale every frame. 2012-08-07 16:28:44 +02:00
Einar Johan Trøan Sømåen
8883a9ffd5 WINTERMUTE: Optimize blitting (Do opaque blits for opaque images, and do fill with memcpy) 2012-08-07 16:05:36 +02:00
Einar Johan Trøan Sømåen
3abccb2e33 WINTERMUTE: Change PixelFormat to ARGB (same as Sword25)
Mainly a workaround for the OpenGL-backend.
2012-08-07 14:56:06 +02:00
Einar Johan Trøan Sømåen
52aeaf4ece WINTERMUTE: Move dcscript.h into the proper folder. 2012-08-07 14:06:42 +02:00
Einar Johan Trøan Sømåen
6b159d71ab WINTERMUTE: Remove g_wintermute. 2012-08-07 13:51:22 +02:00
Einar Johan Trøan Sømåen
e32b79bff1 WINTERMUTE: Save the random-seed as well. 2012-08-07 13:32:26 +02:00
D G Turner
611905aa97 SCI: Add missing QFG1 detection entries from bug #3554611. 2012-08-07 11:28:10 +01:00
D G Turner
aedd0d2a16 SCI: Add missing QFG2 detection entry from bug #3554614. 2012-08-07 10:23:31 +01:00
Paul Gilbert
2dee92a908 TINSEL: Fixed portability issue with earlier savegames 2012-08-06 20:03:56 +10:00
Strangerke
5c522575c7 CGE: Keep Soltys' position when saving 2012-08-05 22:24:32 +02:00
Johannes Schickel
745ef462fc KYRA: Add source of detection entires for LoL French floppy. 2012-08-05 17:10:49 +02:00
Sven Hesse
ef8e15255d GOB: Add a Spanish/Italian DOS version of Geisha
As supplied by einstein95 in bug report #3544449.
2012-08-05 10:43:41 +02:00
Strangerke
de752a5336 CGE: Fix bug #3547274 - missing travel buttons after save 2012-08-04 23:51:27 +02:00
D G Turner
52a1a6e60b TEENAGENT: Fix for bug #3428161 "PSP: No music in TeenAgent".
This could occur on other platforms too and was a race hazard between
mixer thread startup and music being valid i.e. If the music doesn't
already exist, when the mixer callback is done, this deletes the channel
as idle. Reordered the calls to fix this.

Also, removed unecessary music->start() as this is done by setMusic(n)
on successful load anyway.
2012-08-02 12:41:40 +01:00
Filippos Karapetis
259f262592 SCI: Add a workaround for a script bug in QFG4
Thanks to Charles for testing
2012-08-02 03:46:58 +03:00
Littleboy
272c1d87e4 LASTEXPRESS: Fix typo preventing playing NIS animations from the debugger 2012-08-01 17:56:56 -04:00
Torbjörn Andersson
846f9644dd TONY: Clip width to avoid crash when drawing flipped sprite
This fixes - or at least work around - a failed assertion when
Pantagruel leaves the office at the beginning of the game.
2012-08-01 22:34:00 +02:00
Littleboy
4ad7d48fe9 LASTEXPRESS: Remove unused code and move functor definition to only file using it 2012-08-01 13:55:55 -04:00
Littleboy
7f05e1413c LASTEXPRESS: Remove use of skip from savegame functions when loading
We cannot accurately skip over compressed data as it is not know before decoding how much data will be used
2012-08-01 02:58:55 -04:00
Littleboy
eb6c60cec0 LASTEXPRESS: Implement savegame read compression 2012-08-01 02:39:51 -04:00
athrxx
11cf6145cb KYRA: update kyra.dat to match the last commit (added support for French LOL floppy) 2012-08-01 01:07:41 +02:00
athrxx
411e3dec82 KYRA: fix "bug" #3552534 (LOL Floppy FR version unknown) 2012-07-31 21:52:00 +02:00
Torbjörn Andersson
fab814b774 TONY: Remove unused variable.
It wasn't used in the original engine either.
2012-07-31 21:29:25 +02:00
Torbjörn Andersson
3b40d14152 TONY: Whitespace changes. 2012-07-31 20:36:48 +02:00
Littleboy
acd4cf82e2 LASTEXPRESS: Implement savegame write compression 2012-07-31 01:19:05 -04:00
Einar Johan Trøan Sømåen
9bda50ef48 WINTERMUTE: Add a readme.txt for the engine. 2012-07-31 01:07:19 +02:00
Littleboy
4728505db2 LASTEXPRESS: Switch savegame reading to use new read method
- Disable savegame compression
2012-07-30 18:36:26 -04:00
Einar Johan Trøan Sømåen
b8b31c86d2 WINTERMUTE: Clean out some unused code. 2012-07-31 00:04:34 +02:00
Einar Johan Trøan Sømåen
2e636f29fb WINTERMUTE: Implement GMM-saving. 2012-07-30 23:55:11 +02:00
Einar Johan Trøan Sømåen
5a1fae94fb WINTERMUTE: Implement load from GMM. 2012-07-30 23:46:46 +02:00
Einar Johan Trøan Sømåen
6330c1e5fd WINTERMUTE: Fix a few memory-leaks 2012-07-30 20:39:04 +02:00
Einar Johan Trøan Sømåen
18409fe5c0 WINTERMUTE: Fix a memory leak in BaseScriptHolder 2012-07-30 19:43:55 +02:00
Einar Johan Trøan Sømåen
4361172444 WINTERMUTE: Redraw ONLY the indicator when saving/loading. 2012-07-30 19:41:44 +02:00
Littleboy
5df2bd8962 LASTEXPRESS: Fix regression with Logic::resetState() 2012-07-29 21:09:35 -04:00
Littleboy
65565c8914 LASTEXPRESS: Replace REDRAW_CURSOR macro by function 2012-07-29 21:09:34 -04:00
Littleboy
c8df89e6b2 LASTEXPRESS: Reorganize savegame code to prepare for compressed savegames support 2012-07-29 21:09:34 -04:00
Sven Hesse
b001168658 GOB: Implement the parents section in Once Upon A Time
The text lines are not drawn completely correct yet, because
apparently, GCTFile needs to wrap long lines.
2012-07-30 01:48:40 +02:00
Sven Hesse
dd2768a2e4 GOB: Reorder a few things 2012-07-30 01:44:46 +02:00
Sven Hesse
25bc7467b4 GOB: Use Sound::sampleLoad in PreGob 2012-07-30 01:44:46 +02:00
Sven Hesse
3189729c97 GOB: Don't leak in sampleLoad() when loading fails 2012-07-30 01:44:46 +02:00
Sven Hesse
850472f21e GOB: Implement the proper Once Upon A Time title sequence 2012-07-30 01:44:46 +02:00
Sven Hesse
f4cd726802 GOB: Add a class handling simple SEQ files 2012-07-30 01:44:46 +02:00
Sven Hesse
734329dcc1 GOB: Name the Once Upon A Time frame a bit more 2012-07-30 01:44:46 +02:00
Sven Hesse
4bc80cd881 GOB: Allow spaces in the Once Upon A Time character generator 2012-07-30 01:44:46 +02:00
Sven Hesse
943c6af82a GOB: Add the sounds in the Once Upon A Time character generator 2012-07-30 01:44:46 +02:00
Sven Hesse
9c32fd2360 GOB: Add PreGob::beep() 2012-07-30 01:44:46 +02:00
Sven Hesse
6533047514 GOB: Add the walking child in the character generator 2012-07-30 01:44:45 +02:00
Sven Hesse
20a96733a5 GOB: Add CMPFile::recolor() and ANIFile::recolor() 2012-07-30 01:44:45 +02:00
Sven Hesse
baec4d8778 GOB: Move recolor() into class Surface 2012-07-30 01:44:45 +02:00
Sven Hesse
57b1b7ad24 GOB: Implement the Once Upon A Time character generator
Still missing the little sprite bouncing around, though.
2012-07-30 01:44:45 +02:00
Sven Hesse
10b9be2851 GOB: Add Util::toCP850Lower() / toCP850Upper() 2012-07-30 01:44:45 +02:00
Sven Hesse
5b02192477 GOB: Add Font::hasChar() 2012-07-30 01:44:45 +02:00
Sven Hesse
75e7cca692 GOB: Add support for entering non-ASCII CP850 characters 2012-07-30 01:44:45 +02:00
Sven Hesse
90415cf083 GOB: Implement GCT text drawing in the end section
The end section is now complete.
2012-07-30 01:44:45 +02:00
Sven Hesse
d7c81c2755 GOB: Implement GCT text drawing in the Stork section
The only thing missing in the stork section now is the character
creator.
2012-07-30 01:44:45 +02:00
Sven Hesse
e17d4a5c0c GOB: Implement GCT drawing 2012-07-30 01:44:45 +02:00
Sven Hesse
0b030dd341 GOB: Implement parts of the Stork section in Once Upon A Time
No GCT texts yet ("The stork is bringing a sweet baby to $PLACE
where $PEOPLE live"), and the character creator is also still
missing.
2012-07-30 01:44:45 +02:00
Sven Hesse
a547633911 GOB: ANIObject can now predict the position/size of future frames 2012-07-30 01:44:44 +02:00
Sven Hesse
df18bc9583 GOB: Implement parts of the Once Upon A Time end sequence
We don't yet support GCT files, so texts are still missing.
2012-07-30 01:44:44 +02:00
Sven Hesse
60f52ab9a0 GOB: Add the frame for normal Once Upon A Time game play 2012-07-30 01:44:44 +02:00
Sven Hesse
305ab6847a GOB: Reorganize and clean up PreGob / Once Upon A Time 2012-07-30 01:44:44 +02:00
Sven Hesse
24644c0012 GOB: Implement the Once Upon A Time "Bye Bye" screen 2012-07-30 01:44:44 +02:00
Sven Hesse
9d564ecd26 GOB: Implement the animal names bit Once Upon A Time 2012-07-30 01:44:44 +02:00
Sven Hesse
9e997fea1b GOB: Add "long" PreGob language suffixes 2012-07-30 01:44:44 +02:00
Sven Hesse
4663ab2373 GOB: Fix some broken German text in Once Upon A Time 2012-07-30 01:44:44 +02:00
Sven Hesse
e477b7d2b9 GOB: Move the Once Upon A Time palettes into their own file 2012-07-30 01:44:44 +02:00
Sven Hesse
a98ba5f038 GOB: Play a click sound in the Once Upon A Time menus 2012-07-30 01:44:44 +02:00
Sven Hesse
34cf81a4b6 GOB: Add some PreGob sound utility functions 2012-07-30 01:44:44 +02:00
Sven Hesse
233a3f54fc GOB: Stubbily implement the Once Upon A Time menus 2012-07-30 01:44:43 +02:00
Sven Hesse
bccfdb559f GOB: Move the intro parts into OnceUpon::showIntro() 2012-07-30 01:44:43 +02:00
Sven Hesse
92bd9c864a GOB: Show the specific game title in Once Upon A Time 2012-07-30 01:44:43 +02:00
Sven Hesse
2f3aaf0e07 GOB: Show the Once Upon A Time fairytale quote 2012-07-30 01:44:43 +02:00
Sven Hesse
60cebba95c GOB: Show the Once Upon A Time wait/load screen 2012-07-30 01:44:43 +02:00
Sven Hesse
139b03c4bc GOB: Add a PreGob method to get a localized file name 2012-07-30 01:44:43 +02:00
Sven Hesse
4b3aa88c8a GOB: Add a simple class for PreGob TXT files 2012-07-30 01:44:43 +02:00
Sven Hesse
9af01cd584 GOB: Move the background saving into its own class BackBuffer 2012-07-30 01:44:43 +02:00
Sven Hesse
67d7c3f11f GOB: Show a mock-up of the Once Upon A Time title
The actual intro is described in a SEQ file. We don't support
those yet.
2012-07-30 01:44:43 +02:00
Sven Hesse
ef3b4af9d8 GOB: Implement the copy protection in Once Upon A Time 2012-07-30 01:44:43 +02:00
Sven Hesse
412ae53854 GOB: Add PreGob animation utility functions 2012-07-30 01:44:43 +02:00
Sven Hesse
aae8c60759 GOB: Verify the language in Once Upon A Time 2012-07-30 01:44:42 +02:00
Sven Hesse
3313302a15 GOB: Load the Once Upon A Time fonts 2012-07-30 01:44:42 +02:00
Sven Hesse
734fc767d2 GOB: Open the Once Upon A Time archives 2012-07-30 01:44:42 +02:00
Sven Hesse
4fc3a88c5f GOB: Add support for different methods of handling Endianness
The Once Upon A Time games handle endianness different in ANI, DEC
and RXY files than Geisha does. We need to support both approaches.
2012-07-30 01:44:42 +02:00
Sven Hesse
83896dea3e GOB: Add PreGob input/event utility functions 2012-07-30 01:44:42 +02:00
Sven Hesse
27782700a5 GOB: Add some PreGob and Once Upon A Time cursor functions 2012-07-30 01:44:42 +02:00
Sven Hesse
38fe3c3cd9 GOB: Add palettes for Once Upon A Time 2012-07-30 01:44:42 +02:00
Sven Hesse
8b19e10104 GOB: Add some generic PreGob graphics functions 2012-07-30 01:44:42 +02:00
Sven Hesse
4819468d9a GOB: Add PreGob stubs for the Once Upon A Time games 2012-07-30 01:44:42 +02:00
Sven Hesse
55c75756ea GOB: Add a more complex detection for Once Upon A Time titles
The hard-coded Once Upon A Time titles, Abracadabra and Baba Yaga,
are impossible to distinguish by file name alone. The same is true
for the each three platforms, DOS, Amiga and Atari ST.

We do need to know exactly which game and platform a specific path
holds, though, because they're
a) completely hard-coded
b) the data files have platform-specific endianness

Therefore, when the filename-based fallback detector finds one of
those games, we open the archives and look inside them.
We detect the specific game by looking at which animal names are
present; and the platform by inspecting the endianness of the
title screen's DEC file, in addition to the existence of a MOD
file to distinguish the Atari ST from the Amiga version.
2012-07-30 01:44:42 +02:00
Sven Hesse
4a380ce668 GOB: Add detection tables for Baba Yaga and Abracadabra 2012-07-30 01:44:41 +02:00
Sven Hesse
bba2028fba GOB: Move the method definitions out of the GobMetaEngine class definition 2012-07-30 01:26:58 +02:00
Sven Hesse
00fa997039 GOB: Move drawString into Font 2012-07-30 01:24:18 +02:00
Sven Hesse
b5fa752b78 GOB: Keep the mouse responsive while waiting for the frame to end 2012-07-30 01:24:18 +02:00
Sven Hesse
1cb6cc0218 GOB: Don't crash when drawPackedSprite() can't open the sprite 2012-07-30 01:24:18 +02:00
Sven Hesse
099a76ea20 GOB: Don't crash when there's no _inter object 2012-07-30 01:24:18 +02:00
Sven Hesse
945115f099 GOB: Don't crash when the engine wasn't fully initialized on exit 2012-07-30 01:24:18 +02:00
Sven Hesse
2d05974b5c GOB: const correctness in SoundBlaster::playComposition() 2012-07-30 01:24:18 +02:00
Sven Hesse
dd35e72a7e GOB: Return proper errors in GobEngine::run() 2012-07-30 01:24:17 +02:00
Johannes Schickel
e8fd51e56b Merge pull request #252 from DrMcCoy/detector_public_reportUnknown
DETECTOR: Make reportUnknown() accessible to inherited AdvancedMetaEngine classes
2012-07-29 16:19:00 -07:00
Einar Johan Trøan Sømåen
85ce9340bc WINTERMUTE: Separate out SaveGame-code from BaseGame 2012-07-29 21:37:24 +02:00
Matthew Hoops
e58724a180 MOHAWK: Remove Myst ME Macintosh "support"
The Mac version of Myst ME is actually not Mohawk and is instead closer to the engine used in Myst3.
2012-07-29 14:31:36 -04:00
Einar Johan Trøan Sømåen
80a67a70cd WINTERMUTE: Add header-guards to BaseEngine 2012-07-29 19:09:37 +02:00
Einar Johan Trøan Sømåen
6b07218eb2 WINTERMUTE: Remove statics and silence spam in debug console. 2012-07-29 18:24:08 +02:00
Einar Johan Trøan Sømåen
20e2ec4ff4 WINTERMUTE: Remove unused functions from StringUtil:: 2012-07-29 18:00:15 +02:00
Einar Johan Trøan Sømåen
2e7d21fc52 WINTERMUTE: Replace BaseRegistry with ConfMan 2012-07-29 17:53:44 +02:00
Einar Johan Trøan Sømåen
aa3467ddaa WINTERMUTE: Remove the debugger. 2012-07-29 15:30:44 +02:00