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
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
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
bfea71b0c4
renamed AudioInputStream -> AudioStream
...
svn-id: r12110
2004-01-03 14:10:13 +00:00
Travis Howell
74f958fdf1
Should be enabled for all GF_NEW_COSTUMES games.
...
Fixes missing actors in craters section of puttmoon
svn-id: r12105
2004-01-03 06:38:34 +00:00
Travis Howell
8d9d0fed3f
Add last few
...
svn-id: r12104
2004-01-03 02:30:35 +00:00
Travis Howell
1b706d3564
Update
...
svn-id: r12101
2004-01-03 02:20:01 +00:00
Max Horn
56eae68e8b
re-enabled .sog and .so3 support for FT
...
svn-id: r12096
2004-01-03 00:55:40 +00:00
Max Horn
bf23fe5fea
sync with data
...
svn-id: r12092
2004-01-02 16:02:49 +00:00
Travis Howell
6a25db94dc
Add comments for HE specific opcodes
...
Update hack for PuttPutt
Add another small fix.
svn-id: r12091
2004-01-02 15:07:14 +00:00
Travis Howell
f7642601fe
Ooops
...
svn-id: r12085
2004-01-02 13:30:03 +00:00
Travis Howell
bfd8549739
Add another HE games opcode and case.
...
svn-id: r12084
2004-01-02 13:21:13 +00:00
Travis Howell
dfc9ac50df
Fix missing sfx in puttputt
...
svn-id: r12081
2004-01-02 04:58:39 +00:00
Travis Howell
4043db7d63
Fix some masking issue in Putt Putt games
...
svn-id: r12080
2004-01-02 04:29:04 +00:00
Max Horn
ae4b459521
Fix for bug #869045 (DIG: Crash in bundle decoder); t'was a buffer overflow
...
svn-id: r12079
2004-01-02 03:20:07 +00:00
Travis Howell
635239d966
Can be used for The Dig too, lander mini-games works again.
...
svn-id: r12077
2004-01-02 00:36:20 +00:00
Travis Howell
01427a2d76
Bypass Monkey Island 1 CD copy protection on restart.
...
svn-id: r12076
2004-01-01 23:42:46 +00:00
Max Horn
c06b1af619
be a bit more gentle to people typing in invalid box IDs :-)
...
svn-id: r12044
2003-12-30 23:05:34 +00:00
Max Horn
f23d990fda
improved box drawing in debugger (now also draws boxes of height 0
...
svn-id: r12042
2003-12-30 22:50:55 +00:00
Max Horn
3230a203e4
cleanup
...
svn-id: r12038
2003-12-30 21:18:29 +00:00
Max Horn
5593a635db
updated MD5 table
...
svn-id: r12036
2003-12-30 20:31:41 +00:00
Max Horn
cca644796e
hook up MD5 database (this is still kind of a hack, but at least it shows that the approach works :-)
...
svn-id: r12035
2003-12-30 19:08:45 +00:00
Max Horn
9cb5cc07ff
added generated MD5 table (not yet used)
...
svn-id: r12033
2003-12-30 16:53:28 +00:00
Travis Howell
195fcb0f46
Add missing case for HE games.
...
svn-id: r12030
2003-12-30 07:34:15 +00:00
Travis Howell
6d8d7518e9
This is dummy opcode in tentacle
...
svn-id: r12029
2003-12-30 06:43:15 +00:00
Travis Howell
f0c9f690e0
Ooops, duplicate code.
...
svn-id: r12028
2003-12-30 06:26:52 +00:00
Travis Howell
d8f657adc0
Add correct solution for drawObjectQue[] overflow in lawn mower mini games of puttputt
...
svn-id: r12027
2003-12-30 06:24:47 +00:00
Travis Howell
55e02b5b54
Give HE games their own IDs.
...
Add hack to allow puttputt to work for now.
Increase _drawObjectQue[] for law mower mini game in puttputt
svn-id: r12026
2003-12-30 05:39:57 +00:00
Torbjörn Andersson
6fe24ad40a
Emergency bugfix to keep Full Throttle from crashing as soon as someone
...
tries to speak. I don't know this code well enough to know if there is a
more appropriate way of fixing this...
svn-id: r12007
2003-12-29 13:41:20 +00:00
Travis Howell
7e388f2237
Add support for mp3 or ogg musics tracks for Monkey Island 1 for Amiga.
...
svn-id: r12005
2003-12-29 08:19:57 +00:00
Torbjörn Andersson
584f76ada6
This could be wrong so feel free to revert, but it does seem to fix crashes
...
in the Mine Road sequence of Full Throttle for me.
The crashes were always in proc64(), with 'en' being some ridiculously
large value. The function, as it was written, did not make any sense to me
so I rewrote it with the assumption that it's there to remove the "en"th
element of the _val216d[] (remaining enemies?) array.
I don't know how well it will work from proc63() if there's more than one
element to remove - at least if the elements to remove are neighbours - but
maybe that case never happens.
svn-id: r11999
2003-12-28 15:50:10 +00:00
Travis Howell
6c3e0134c2
Putt Putt games use old calculation
...
svn-id: r11994
2003-12-28 12:51:18 +00:00
Travis Howell
28199bc840
Putt Putt games use old calculation
...
svn-id: r11993
2003-12-28 10:39:39 +00:00
Eugene Sandulenko
47c698c8b8
Proper FLU files seeking. No more seek crashes
...
svn-id: r11991
2003-12-28 07:57:36 +00:00
Travis Howell
e91224589f
Add additional case for putt putt games
...
svn-id: r11990
2003-12-28 05:52:52 +00:00
Max Horn
e8cddcbda0
Fix for bug #866453 (MI1EGA: Background pushed to side at end of game)
...
svn-id: r11987
2003-12-28 02:08:13 +00:00