Commit Graph

857 Commits

Author SHA1 Message Date
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
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
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
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
7f0c8883ad Merges SaveLoadChooser and SaveLoadChooserEx.
svn-id: r22021
2006-04-19 05:46:57 +00:00
Johannes Schickel
8828daba84 Updates scumm dialogs for runtime overlay resolution changes.
svn-id: r22018
2006-04-19 01:07:16 +00:00
Travis Howell
ec7e734adb Fix sound memory leak in FF
svn-id: r22016
2006-04-18 23:08:41 +00:00
Torbjörn Andersson
6b034b66d8 Added support for the --save-slot option for Broken Sword 1. (Feature request
#1460977.)

svn-id: r22009
2006-04-18 18:23:57 +00:00
Travis Howell
40b74d5182 Correct increment for checkPaths script opcode in FF
svn-id: r22008
2006-04-18 13:32:51 +00:00
Travis Howell
1d12b3ef29 Add code for vc84_stopSoundLoop in FF
svn-id: r22007
2006-04-18 13:28:42 +00:00
Sven Hesse
b4e5e18201 Fixed portability issue
svn-id: r22006
2006-04-18 12:55:01 +00:00
Sven Hesse
4d2f4a9f79 - Closed the stub in Draw_v2::printText()
- Added a language field in GameSettings, so that the texts in
  Gob2 work for other languages than EN_GRB as well

svn-id: r22005
2006-04-18 12:39:02 +00:00
Travis Howell
18cf15ffc3 Add missing timer adjustment when saving game in FF
svn-id: r22004
2006-04-18 11:51:08 +00:00
Travis Howell
506cdd9054 Fix time events continuing, when using the oracle in FF
svn-id: r22003
2006-04-18 11:38:18 +00:00
Sven Hesse
ab48280f73 - I misunderstood Draw::initBigSprite(); fixed
- Changed Draw::spriteOperation() for blitting from/to/between and
  fillrecting to big sprites
- Enabled drawing of text

svn-id: r22001
2006-04-18 09:59:18 +00:00
Travis Howell
4b59f6fbda Correct box numbers when scrolling text in oracle of FF
svn-id: r22000
2006-04-18 02:20:46 +00:00
Johannes Schickel
b756c3e899 Fixes use of textspeed settings if voice+text mode is enabled. (thanks to salty-horse)
svn-id: r21999
2006-04-18 02:08:51 +00:00
Torbjörn Andersson
e22f1c64c5 Call updateScreen() from delay functions for smoother mouse cursor movement.
svn-id: r21996
2006-04-18 00:20:07 +00:00
Travis Howell
b4c8b498de Scrolling comparisons should always be signed, fixes scrolling issue in maze of FF
svn-id: r21995
2006-04-18 00:15:25 +00:00
Torbjörn Andersson
614fc253a9 Moved updateScreen() into delay() for smoother mouse cursor movement. This may
possibly make some other calls to updateScreen() unnecessary, but it's the
backend's responsibility to ignore unnecessary calls.

svn-id: r21994
2006-04-17 23:55:42 +00:00
Torbjörn Andersson
d137204772 Call updateScreen() from waitForTimer() (instead of usually right before it)
for smoother mouse cursor movement.

svn-id: r21993
2006-04-17 23:45:48 +00:00
Torbjörn Andersson
72906f2508 Made the Lure engine call updateScreen() more often - particularly when using
the menu bar at the top of the window - for smoother mouse movement. (After a
discussion with sev.)

svn-id: r21992
2006-04-17 23:37:22 +00:00
Travis Howell
c17350958d Split screenTextPObj script opcode into game specific versions
svn-id: r21991
2006-04-17 22:47:12 +00:00
Travis Howell
5244d481e6 Add FF difference in addBox script opcode, fixes x position of some boxes
svn-id: r21990
2006-04-17 22:35:33 +00:00