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
Johannes Schickel
1c65f3417a
Fixes problems with wrong colors on the overlay in scumm engine.
...
svn-id: r22024
2006-04-19 06:00:34 +00:00
Johannes Schickel
af8b2d83f7
Oops again. removed unneeded entry.
...
svn-id: r22023
2006-04-19 05:50:03 +00:00
Johannes Schickel
87c6abdd68
Oops forgot to commit changes here with last commit.
...
svn-id: r22022
2006-04-19 05:48:08 +00:00
Johannes Schickel
7f0c8883ad
Merges SaveLoadChooser and SaveLoadChooserEx.
...
svn-id: r22021
2006-04-19 05:46:57 +00:00
Johannes Schickel
ff421d5adc
Prepairs merge of SaveLoadChooser and SaveLoadChooserEx of the scumm engine.
...
svn-id: r22020
2006-04-19 05:46:21 +00:00
Johannes Schickel
0a767b6467
Implements custom cursor support for the new theme and includes a standard cursor (it should be replaced though).
...
svn-id: r22019
2006-04-19 03:17:00 +00:00
Johannes Schickel
8828daba84
Updates scumm dialogs for runtime overlay resolution changes.
...
svn-id: r22018
2006-04-19 01:07:16 +00:00
Johannes Schickel
30787714d3
Started to prepare the gui for runtime resolution switches.
...
(some little things could be missing yet though)
svn-id: r22017
2006-04-19 01:05:28 +00:00
Travis Howell
ec7e734adb
Fix sound memory leak in FF
...
svn-id: r22016
2006-04-18 23:08:41 +00:00
Johannes Schickel
58af73b344
Restores background before drawing a popupwidget.
...
svn-id: r22015
2006-04-18 19:52:12 +00:00
Johannes Schickel
1e15027885
Fixes "aspect ratio" text in the options with --force-1x-overlay.
...
svn-id: r22014
2006-04-18 19:04:15 +00:00
Johannes Schickel
96d23871b6
Oops forgot to use shadows for the PopUpWidget.
...
svn-id: r22013
2006-04-18 18:57:43 +00:00
Johannes Schickel
a9431edca2
- Fixed popup widget for --force-1x-overlay with new theme
...
- adds support for highlightened popupwidgets
svn-id: r22012
2006-04-18 18:50:07 +00:00
Johannes Schickel
1ae205a241
- adds own drawing function for (not expanded) popup widgets
...
- adds pixmaps, colorfades, and gradient factor for the (not expanded) popup widget in new theme
- bumps themeconfig version
svn-id: r22011
2006-04-18 18:40:33 +00:00
Torbjörn Andersson
646a40b09b
I guess the BS1 --save-slot option may be newsworthy...
...
svn-id: r22010
2006-04-18 18:25:44 +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
Eugene Sandulenko
5daa835cc7
- PopUpWidget (drop down list) does not shadow underlying dialog anymore
...
- Remove reduntant code in drawing pipeline. Topmost dialog was drawn
up to 4 times
svn-id: r21998
2006-04-18 00:37:04 +00:00
Eugene Sandulenko
1c9c14011b
Tame colors a bit to match GUI mock-ups
...
svn-id: r21997
2006-04-18 00:34:57 +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
Johannes Schickel
0eee3fe591
- Implements copyRegion without transparency checking
...
- Uses copyRegion without transparency checking to fix credits drawing bugs
svn-id: r21989
2006-04-17 19:52:31 +00:00
Johannes Schickel
2fb0ce8c57
Simplifies credits.txt loading.
...
svn-id: r21988
2006-04-17 19:39:31 +00:00
Johannes Schickel
592e37accd
Fixes bug #1471895 ("KYRA1: Kyragem goes black at the very end").
...
svn-id: r21987
2006-04-17 19:33:08 +00:00
Torbjörn Andersson
6e2a18e28d
Rewrote the timing of the Kyra end credits so that it doesn't matter that the
...
variables are signed. Otherwise the credits may hang on a slow system.
svn-id: r21986
2006-04-17 19:31:05 +00:00
Max Horn
a76689ed71
Make use of triple-interpolation function in SuperEagel (should save a few cycles... not that it really matters :)
...
svn-id: r21985
2006-04-17 18:54:20 +00:00