Gregory Montoir
232a709fd4
added a class to manage banks, Queen::Graphics cleanup
...
svn-id: r12157
2004-01-05 13:40:28 +00:00
Jonathan Gray
fbc4168a8e
add a few things
...
svn-id: r12156
2004-01-05 12:15:26 +00:00
David Eriksson
c21e5d797c
At last - credits!
...
svn-id: r12155
2004-01-05 11:58:20 +00:00
Torbjörn Andersson
8dabcaaef1
Changed some memmove()s to memcpy(), since the memory areas were not
...
overlapping.
Enabled some sanity-checking code.
Fixed clearWalkGridList() so that it clears the entire walk grid list. That
was a really stupid bug of mine, and I hope it had at least some bearing on
the rare (for me, at least) walk problems I've seen.
svn-id: r12154
2004-01-05 11:09:33 +00:00
Torbjörn Andersson
55167e392e
Tiny cleanup.
...
svn-id: r12153
2004-01-05 11:02:00 +00:00
Torbjörn Andersson
9ea89568da
Fixed some debugging messages so they refer to the correct function.
...
svn-id: r12152
2004-01-05 11:01:12 +00:00
Torbjörn Andersson
5f9cfba548
Slowed down the credits slightly. With the recent optimizations, the music
...
lasted longer than the text. Now the text lasts longer than the music.
svn-id: r12151
2004-01-05 11:00:12 +00:00
Travis Howell
b65ca3db3d
Add partial support for ignoreTurns, fixes some glitches in putt putt games.
...
svn-id: r12150
2004-01-05 06:53:03 +00:00
Max Horn
5a3aa023b6
'proper' fix for V1 MM problem; added a FIXME
...
svn-id: r12149
2004-01-05 00:45:17 +00:00
Max Horn
181bb0baa5
fix bug #870433 (DIG: Scrolling regression with the lander game)
...
svn-id: r12148
2004-01-05 00:03:18 +00:00
Gregory Montoir
143b5bea80
- added code to only redraw changed blocks in order to avoid full screen refresh
...
- minor code cleanup in Graphics/Display
svn-id: r12147
2004-01-04 20:25:21 +00:00
Robert Göffringmann
9d547b183b
fixed screen updating
...
svn-id: r12146
2004-01-04 17:40:51 +00:00
Robert Göffringmann
4ca49386ed
fixed cd changing code
...
svn-id: r12145
2004-01-04 17:19:17 +00:00
Torbjörn Andersson
92561301ac
Deal gracefully with missing music files.
...
svn-id: r12144
2004-01-04 16:19:15 +00:00
Travis Howell
1e6512d2d2
Add comment
...
svn-id: r12143
2004-01-04 15:31:34 +00:00
Torbjörn Andersson
8a91ae3257
Adapted LavosSpawn's idea for more efficient screen updating. It still
...
renders the entire screen every frame, but it tries to update (i.e. copy to
the backend) only the parts of the screen that actually changed. At least
approximately so.
svn-id: r12142
2004-01-04 15:11:30 +00:00
Torbjörn Andersson
5607f41e2d
Some cleanup and Valgrind warning fixes.
...
svn-id: r12141
2004-01-04 15:05:54 +00:00
Torbjörn Andersson
14acddb167
Update a comment to reflect that some functions have different names now.
...
svn-id: r12140
2004-01-04 14:59:36 +00:00
Max Horn
1081c789a2
cleanup
...
svn-id: r12139
2004-01-04 14:49:14 +00:00
Max Horn
2ce4d13c04
split out cursor/palette code into separate source files
...
svn-id: r12138
2004-01-04 14:35:46 +00:00
Travis Howell
694f02155c
Allow subtitles to be disabled in games using imuse digital again.
...
svn-id: r12137
2004-01-04 14:32:26 +00:00
Travis Howell
dacbe84029
Fix a few subtitles glitches in loomcd during cutscenes.
...
svn-id: r12136
2004-01-04 14:10:06 +00:00
Max Horn
e049e24a2c
no need to specify game data path here: File::setDefaultDirectory() took care of that
...
svn-id: r12135
2004-01-04 14:06:06 +00:00
Max Horn
d1e6c6059e
renamed global var _debugLevel to g_debugLevel; let Engine constructor init it (this way all engines get it for free, allows further cleanup); removed some useless/duplicate member vars in SwordEngine
...
svn-id: r12134
2004-01-04 14:00:58 +00:00
Max Horn
d16ac3e88f
turns out we always had VirtScreen::backBuf but didn't use it... change that (helps readability of the code, IMO); added Gdi::getMaskBuffer (again, helps understanding the code, I think); regrouped some functions in gfx.cpp
...
svn-id: r12133
2004-01-04 13:49:03 +00:00
Max Horn
b8a260c967
removed setFeatures (not needed anymore)
...
svn-id: r12132
2004-01-04 13:46:53 +00:00
Max Horn
805f512452
replaced many instances of _screenWidth by VirtScreen::width, where approriate (there are cases, like when dealing with the camera, where _screenWidth is correct; in other places we still use it, because the VirtScreen is not available in that place at this time, will be fixed later). Reason for all this: eventually a clean seperation will allow us to use a main screen which is wider than the real screen width -> useful for V7+ smooth scrolling
...
svn-id: r12131
2004-01-04 13:09:02 +00:00
Max Horn
14cf65c0ab
uhm? I don't see why VC 2003 would complain about this, but not about the many equal instances of this code (which, BTW, is perfectly valid C...)
...
svn-id: r12130
2004-01-04 12:35:51 +00:00
Robert Göffringmann
cfcb22939f
nothing.
...
svn-id: r12129
2004-01-04 06:38:14 +00:00
Robert Göffringmann
a9a84aee22
added control panel confirmation dialog.
...
svn-id: r12128
2004-01-04 06:31:29 +00:00
Robert Göffringmann
f0d0e4d4b3
removed speed button from control panel and made the game do a full screen refresh after leaving the control panel
...
svn-id: r12127
2004-01-04 05:21:22 +00:00
Joost Peters
7cc9727916
respond to 'alter'-type overrides
...
svn-id: r12126
2004-01-04 03:37:12 +00:00
Max Horn
1ac275e20b
I don't see why this would be needed (my guess is that the hack in initVirtScreen (to use _roomHeight) already covers this, and more)
...
svn-id: r12125
2004-01-04 01:20:26 +00:00
Max Horn
87abee70c1
remove this HACK workaround - I think I may have fixed the true cause (we'll see)
...
svn-id: r12124
2004-01-04 01:11:23 +00:00
Max Horn
b9292bafe1
cleanup (mostly moved stuff around, and replaced the fadeOut call)
...
svn-id: r12123
2004-01-04 00:44:40 +00:00
Max Horn
bceb48f5e0
renamed updateDirtyRect to markRectAsDirty (because that's what it really does); used virtual screen id constants in more places
...
svn-id: r12122
2004-01-03 22:45:23 +00:00
Max Horn
105895da46
cleanup
...
svn-id: r12121
2004-01-03 22:21:56 +00:00
Max Horn
acc4aa0fc2
oops
...
svn-id: r12120
2004-01-03 21:29:17 +00:00
Max Horn
22248a548f
removed unused param in initScreens
...
svn-id: r12119
2004-01-03 21:26:44 +00:00
Max Horn
34db2e793a
added & renamed some constants; fixed & added some doxygen comments; cleaned up the dirty screen code a bit (this should also fix a bug in V1/V2 games where part of the screen was not redrawn properly)
...
svn-id: r12118
2004-01-03 21:22:07 +00:00
Max Horn
d49082065a
TODO
...
svn-id: r12117
2004-01-03 20:42:18 +00:00
Max Horn
cf6a5c0a04
cleanup
...
svn-id: r12116
2004-01-03 19:12:23 +00:00
Max Horn
ee3558b748
fix for BE systems
...
svn-id: r12115
2004-01-03 19:02:18 +00:00
Max Horn
14f28d58f1
remove 'Sky' name prefix for most stuff (not needed anymore since we are in namespace 'Sky' now)
...
svn-id: r12114
2004-01-03 15:57:57 +00:00
Torbjörn Andersson
c1cddedca8
Fixed bug that made ScummVM crash when loading a savegame where the main
...
character was walking. (I had missed a case where pointers were cast to
integers.)
svn-id: r12113
2004-01-03 15:52:05 +00:00
Torbjörn Andersson
fa523f7f7e
It was pointed out to me that we can't use the DEMO variable here, because
...
the missing file may be the one with the resource for the global variables.
svn-id: r12112
2004-01-03 14:49:52 +00:00
Max Horn
069c21310f
oops
...
svn-id: r12111
2004-01-03 14:11:11 +00:00
Max Horn
bfea71b0c4
renamed AudioInputStream -> AudioStream
...
svn-id: r12110
2004-01-03 14:10:13 +00:00
Robert Göffringmann
2a6745a986
changed screen drawing code to only redraw blocks that changed.
...
svn-id: r12109
2004-01-03 12:29:21 +00:00
Torbjörn Andersson
bb8ff0cd90
Made the music code more like the one in BS1, i.e. the fade time is longer
...
and it now fades both up and down.
Plenty of cleanups, simplifications and just moving code around to group it
in what I hope is a more logical fashion.
Fixed a long-standing bug where spot effects would eventually use up all
available sound effect handles. (I may have introduced this when I removed
the expiration of sound effects from FxServer().)
svn-id: r12108
2004-01-03 11:24:39 +00:00