Commit Graph
86814 Commits
Author SHA1 Message Date
Eugene Sandulenko 7b1e93b596 Implement CLIP() routine used to put arbitrary value in specified range.
svn-id: r22079
2006-04-22 02:49:27 +00:00
Travis Howell 1a605b2760 Cleanup use of different filenames in different versions
svn-id: r22078
2006-04-22 02:14:42 +00:00
Lars Persson 76ba8122a6 Changed loadVGAFile dstSize datatype from uint to uint32 so it matches the data type which loadOffsets takes.
svn-id: r22077
2006-04-21 22:10:50 +00:00
Lars Persson a3661c158a Updated Symbian Actions and SDL Symbian interface for latest backend changes so it all works properly again.
svn-id: r22076
2006-04-21 21:15:05 +00:00
Lars Persson 5b776e3e28 Return of void value is not valid for all platforms. Changed to call function and then plain return;
svn-id: r22075
2006-04-21 20:59:05 +00:00
Lars Persson aec70b0bb2 Implementation and declartion in intern.h differed. Changed so both is using the same datatype.
svn-id: r22074
2006-04-21 20:56:53 +00:00
Lars Persson 7b80324c6d Use SetInt to set the Keymapping version, instead of Set.
svn-id: r22073
2006-04-21 20:51:29 +00:00
Lars Persson fb905751c7 Conflicting domains for String definition. Added Common:: to String to clarify domain.
svn-id: r22072
2006-04-21 20:50:28 +00:00
Lars Persson 86bc1d4923 Add creation of Symbian SDL backend instead of plain SDL
svn-id: r22071
2006-04-21 20:49:06 +00:00
Torbjörn Andersson 312e49b6eb Adjust buffer sizes for conversation options, even for sprite id 1. This
doesn't seem to match the original, but there are cases where even the first
string is long enough to cause text corruption.

For whatever reason, I have not been able to reproduce this text corruption
with the original interpreter, though, so maybe we're missing some detail. Or
maybe the original interpreter just gets lucky.

svn-id: r22070
2006-04-21 10:47:43 +00:00
Torbjörn Andersson 8740bc0134 Fixed silly bug in --save-slot handling: Don't try to restore a savegame unless
the specified save slot is > 0. (The default value is -1, which shouldn't be
restored either.)

I thought I had fixed that already, but I guess I made a last-minute change...

svn-id: r22069
2006-04-21 10:24:22 +00:00
Travis Howell 9bcdecec28 Add FF differences in chance script opcode
svn-id: r22068
2006-04-21 07:42:40 +00:00
Travis Howell 061063189f Split bitArrays into three separate arrays, like original. Also fixing load/save issue with bitArrayThree been off by one
svn-id: r22067
2006-04-21 06:37:28 +00:00
Travis Howell 6b7a37d71c Move _variableArrayPtr changes to match original code, in case it is triggered outside video opcodes
svn-id: r22066
2006-04-21 04:36:26 +00:00
Travis Howell d474595629 Fix valgrind warning
svn-id: r22065
2006-04-21 04:06:44 +00:00
Travis Howell 6ea936c41f Add animate sprites by Y function for FF
svn-id: r22064
2006-04-21 03:09:21 +00:00
Travis Howell fc3284efce Add back debug function
svn-id: r22063
2006-04-21 00:26:18 +00:00
Travis Howell b80ef2cd8f Add some code for PanEvent in FF and cleanup
svn-id: r22062
2006-04-21 00:18:23 +00:00
Won Star 564727be2c Add used memory counter.
svn-id: r22061
2006-04-20 14:55:27 +00:00
Won Star 95c134c9a8 Fix compile with DISABLE_FANCY_THEME.
svn-id: r22060
2006-04-20 12:25:25 +00:00
Travis Howell 5482ec5db6 Add F9 key in FF, which toggles hitbox names
svn-id: r22059
2006-04-20 12:23:20 +00:00
Travis Howell baca89c9be Revert that delay change when scrolling inventory in FF, causes glitches
svn-id: r22058
2006-04-20 12:04:49 +00:00
Travis Howell e951870642 Enable virtual keyboard, when entering saved game name in FF
svn-id: r22057
2006-04-20 12:01:53 +00:00
Travis Howell 31ae5e09e8 Fix constant scrolling in oracle in FF, when mouse button is pressed
svn-id: r22056
2006-04-20 11:57:23 +00:00
Travis Howell c07f314b1f getPathPosn script opcode needs to use int16 to get correct position, fixes entering teleporter in village in FF
svn-id: r22055
2006-04-20 10:45:51 +00:00
Travis Howell 948301faaf Add timer difference in FF
svn-id: r22054
2006-04-20 08:58:30 +00:00
Travis Howell 25ca897466 Fix typo in switchVoiceFile() for FF
svn-id: r22053
2006-04-20 08:46:46 +00:00
Torbjörn Andersson b6783677b5 If I understand things correctly, this should fix the caret drawing in list
widgets. (The glitch was most noticeable in the modern theme.)

svn-id: r22052
2006-04-20 08:14:55 +00:00
Travis Howell 04efb67f21 Fix mistake in vertical scrolling in FF
svn-id: r22051
2006-04-20 07:01:55 +00:00
Travis Howell 66cbf6c05d _rejectCount should only be incremented in checkNoOverWrite()
svn-id: r22050
2006-04-20 06:38:46 +00:00
Travis Howell 8121b8eebe Update resource managment, missed several changes from FF
svn-id: r22049
2006-04-20 05:54:25 +00:00
Travis Howell afb264a427 Fix freeze that can occur when scrolling inventory in oracle of FF
svn-id: r22048
2006-04-20 02:42:54 +00:00
Travis Howell 56d856cd20 Cleanup
svn-id: r22047
2006-04-20 02:23:17 +00:00
Travis Howell f9c3e7fd81 Add support for compressed speech files in PC verisons of FF
svn-id: r22046
2006-04-20 01:54:14 +00:00
Travis Howell 3917351a93 Minor cleanup
svn-id: r22044
2006-04-20 00:54:30 +00:00
Travis Howell 531a62939c Update resource managment for FF, this method is more efficent for Simon 1/2 too
svn-id: r22043
2006-04-20 00:42:54 +00:00
Travis Howell 1f01a52421 The next offset is only adjusted in renderString, when sprite id isn't 1
svn-id: r22042
2006-04-19 23:01:31 +00:00
Eugene Sandulenko 718532b386 Fix ASM HQ routines, because RGBtoYUV and LUT16to32 are on heap now.
svn-id: r22041
2006-04-19 22:53:37 +00:00
Max Horn b4c330ce07 Some more tweaks to the (still disabled) new detection / filename generation code
svn-id: r22040
2006-04-19 20:26:27 +00:00
Torbjörn Andersson 343dacdcf7 Fix text corruption with long FF conversation options. The renderString()
function has to adjust the buffer offsets, or a long string can spill over into
the next buffer. (Or, in the test case I used, into the next *two* buffers.)

It would probably be safe - but apparently unnecessary? - to make this change
for the Simon games as well.

svn-id: r22039
2006-04-19 20:04:53 +00:00
Max Horn 70d23ccf29 Added a small comment to ScummEngine::openRoom that explains why we check for room==0 instead of just using it as-is
svn-id: r22038
2006-04-19 18:14:28 +00:00
Max Horn c5507879fc Removed wrong platform values from gameVariantsTable
svn-id: r22037
2006-04-19 16:16:57 +00:00
Torbjörn Andersson 41afb2a996 Fixed a potential bug when calculating the width of conversation option in FF.
This bug appears to have been present in the original as well, though the
chances of triggering it are small. (We did in at least one place, before
adding the number prefix to the string.)

svn-id: r22036
2006-04-19 14:18:34 +00:00
Travis Howell 18d0afaafd Correct dummyItems in FF and cleanup
svn-id: r22035
2006-04-19 11:54:38 +00:00
Torbjörn Andersson e97476621d Number the FF conversation options.
svn-id: r22034
2006-04-19 11:05:47 +00:00
Travis Howell 75542e0f95 Add minor code differences in FF, might help corrupt graphics
svn-id: r22033
2006-04-19 11:01:03 +00:00
Travis Howell 0a71cc8377 Add FF difference in mouseOn script opcode
svn-id: r22030
2006-04-19 07:14:03 +00:00
Travis Howell 0351e979c1 Update debug tables
svn-id: r22029
2006-04-19 07:07:08 +00:00
Johannes Schickel 3f76984a41 Let scumm engine handle EVENT_SCREEN_CHANGED and let the gui know. (Needed for disabling overlay scaling)
svn-id: r22026
2006-04-19 06:23:49 +00:00
Johannes Schickel 9e734b0851 Adds handleScreenChanged() to NewGui, so (scumm) engine can call it when it recives a EVENT_SCREEN_CHANGED.
svn-id: r22025
2006-04-19 06:22:15 +00:00