59 Commits

Author SHA1 Message Date
Max Horn
04b002bbaa move the charset mask to the charset renderer class; some other related changes
svn-id: r12263
2004-01-08 21:21:40 +00:00
Max Horn
d852e2855a cleanup (make some more use of class Common::Rect)
svn-id: r12232
2004-01-08 03:10:16 +00:00
Max Horn
033ff78ae9 updated copyright notice
svn-id: r12176
2004-01-06 12:45:34 +00:00
Max Horn
2ecf66d561 get rid of VirtScreen::scrollable
svn-id: r12173
2004-01-06 12:16:28 +00:00
Max Horn
01c29eabf3 typo
svn-id: r12170
2004-01-06 11:52:12 +00:00
Max Horn
cc67301791 renamed VirtScreen::alloctwobuffers to hasTwoBuffers; added lots of doxygen comments to VirtScreen; cleanup
svn-id: r12168
2004-01-06 11:47:34 +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
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
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
5acafb15c2 cleanup; got rid of Gdi::_palette_mod in favor of Gdi::_roomPalette
svn-id: r10778
2003-10-13 12:56:53 +00:00
Max Horn
d7660a2662 introduced namespace Scumm; made #include statements use scumm/ prefix explicitly
svn-id: r10571
2003-10-03 18:33:57 +00:00
Max Horn
3f55f2669d renamed class Scumm to ScummEngine (consisten with other engine names; also makes room for a potential 'Scumm' namespace)
svn-id: r10549
2003-10-02 22:42:03 +00:00
Max Horn
0e645f88ae renamed namespace ScummVM to Common
svn-id: r10544
2003-10-02 17:43:02 +00:00
Max Horn
a60526baba fixed a warning from the IBM C++ compiler
svn-id: r10013
2003-09-05 20:18:20 +00:00
Max Horn
953e4216b8 implemented V1/C64 object masking, and simplified drawStripC64Mask a bit
svn-id: r9859
2003-08-25 14:27:29 +00:00
Paweł Kołodziejski
788bcb26b5 added initial form of v1 costume codec (NOT WORKING, i think)
svn-id: r8551
2003-06-19 10:45:21 +00:00
Paweł Kołodziejski
00288b07f8 fixed almost object drawing for v1 games, (ugly hack for drawBitmap)
svn-id: r8345
2003-06-06 05:27:45 +00:00
Paweł Kołodziejski
94bbf1b9a0 added v1 gfx codec, (not working)
svn-id: r8329
2003-06-05 17:22:15 +00:00
Max Horn
870572ca49 there are a few places in maniac and zakdemo where we *do* have to store the run & color <grmbl>
svn-id: r8306
2003-06-05 00:18:15 +00:00
Max Horn
ffef453d1a cache room strip offsets (this should help performance on PalmOS)
svn-id: r8300
2003-06-04 21:45:29 +00:00
Max Horn
cb5fb5d403 added a getMaskBuffer method (makes it easier to read some of the code); merged setVirtscreenDirty() into updateDirtyRect(); made setDirtyRange a method of struct VirtScreen
svn-id: r8241
2003-06-01 14:30:26 +00:00
Max Horn
e63dec5f56 clearUpperMask -> clearCharsetMask
svn-id: r8206
2003-06-01 01:02:35 +00:00
Max Horn
eb039ec554 some cheap doxygen docs; cleanup
svn-id: r8154
2003-05-30 20:13:29 +00:00
Max Horn
3d28cfaf82 cleanup
svn-id: r8145
2003-05-30 15:06:29 +00:00
Max Horn
1db0f749ca moved camera stuff to own file
svn-id: r8099
2003-05-29 12:55:28 +00:00
Max Horn
48ccc623ac removed obsolete
svn-id: r8098
2003-05-29 12:34:14 +00:00
Max Horn
89a6ebb867 removed obsolete
svn-id: r8095
2003-05-29 11:48:44 +00:00
Max Horn
1f70da0155 const as const can!
svn-id: r8058
2003-05-28 20:01:47 +00:00
Max Horn
8eec984eb7 more const qualifiers
svn-id: r8002
2003-05-26 13:14:57 +00:00
Max Horn
f4c7f37743 Make use of ScummVM::Rect
svn-id: r7546
2003-05-15 22:30:32 +00:00
Max Horn
8b419944ee ScummPoint -> ScummVM::Point
svn-id: r7543
2003-05-15 21:57:38 +00:00
Max Horn
82e2d852f1 cleanup
svn-id: r7538
2003-05-15 21:31:03 +00:00
Max Horn
134c32bc98 cleanup
svn-id: r7428
2003-05-11 00:28:43 +00:00
Max Horn
114af3159e added a 'width' parameter to drawBitmap (contrary to 'numstrips', it specifies the full width of the image passed in, not how much we shoul draw of it) - this will be used for the new V2 drawBitmap code; renamed drawBitmap parameter 'h' to 'height'
svn-id: r7412
2003-05-10 12:59:32 +00:00
Paweł Kołodziejski
39f85f7aac added gfx bitmap and zbuffer codec for v2 games
svn-id: r7209
2003-04-30 05:48:55 +00:00
Paweł Kołodziejski
c9b56af48b a little improved ega support
svn-id: r6946
2003-04-09 19:14:05 +00:00
Paweł Kołodziejski
aa3766018f updated copyrights headers
svn-id: r6726
2003-03-06 21:46:56 +00:00
Paweł Kołodziejski
093428ae9a and more cleanup
svn-id: r6718
2003-03-06 17:58:13 +00:00
Max Horn
7f15b5d08b more cleanup
svn-id: r6292
2002-12-31 14:59:06 +00:00
Max Horn
66b3d2f91a getting rid of _currentX
svn-id: r6290
2002-12-31 04:45:21 +00:00
James Brown
a6e9f3b65d Increase allowed zbuffers for CMI (One room, 16, uses at least 6.. add a few spare just in case).
svn-id: r6174
2002-12-26 18:10:14 +00:00
Max Horn
74dd2479c9 640*480 = 307200 > 65536: uin16 not sufficient to store the VirtScreen size
svn-id: r6156
2002-12-26 01:15:09 +00:00
Max Horn
1b0963dd76 added (broken) cursor support for V8; enabled bomp drawing
svn-id: r6113
2002-12-25 03:48:27 +00:00
Max Horn
50f7ffbeb6 got rid of _curVirtScreen and VirtScreen::unk1; added some comments to gfx.cpp; added a hack to enable smooth scrolling in V7 games (note: when I say hack, I mean it, it is buggy as hell and not enabled by default, use at your own risk and don't report problems with it, it's disabled by default)
svn-id: r6037
2002-12-21 01:11:42 +00:00
Jonathan Gray
3bf603dbfc remove unused VideoMode struct
svn-id: r5992
2002-12-16 07:13:47 +00:00
Max Horn
48a9679c19 forgot to remove _numLinesToProcess
svn-id: r5987
2002-12-16 01:25:55 +00:00
Max Horn
54f3dc23a5 cleanup
svn-id: r5986
2002-12-16 01:25:21 +00:00
Max Horn
20c501ea58 cleanup; reordering stuff in gfx.cpp, trying to group code into logical groups (cursor, bomp, camera, palette, fades)
svn-id: r5985
2002-12-15 23:40:37 +00:00
Max Horn
77a64e0217 more cleanup; fixes out of bound access to _charsetData (but I am not sure if that will be visible anywhere
svn-id: r5833
2002-12-04 15:00:35 +00:00