Commit Graph

49 Commits

Author SHA1 Message Date
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
Max Horn
89335008e9 lots of cleanup to the graphics code; removed various global states (makes it easier to understand the code)
svn-id: r5831
2002-12-04 13:36:27 +00:00
Paweł Kołodziejski
85c7c9ffe6 applied patch: #634326, and changed strip ranges for after and before scumm v7,
added comments to saveload

svn-id: r5448
2002-11-06 17:55:44 +00:00
Max Horn
63e1069ec1 removed more unused variables; cleaned up some spaces
svn-id: r5442
2002-11-06 15:29:49 +00:00
Paweł Kołodziejski
a125d1cc1a changed number strips to dynamic and increased arrays tdirty and bdirty to 80
svn-id: r5296
2002-10-24 06:28:54 +00:00
Max Horn
b5f0fa4c8b cleanup; fix for room 88 in The Dig (Ender, I was right, only the place was another :-)
svn-id: r5191
2002-10-20 01:02:52 +00:00
James Brown
1388814706 Patch 616144: Sam and Max layering fix (drawMaskOnBoth rewrite)
svn-id: r5036
2002-09-29 15:20:02 +00:00
Max Horn
b46b35b544 renamed unk3/unk4 to scaleX/scaleY
svn-id: r4970
2002-09-19 11:06:10 +00:00
Paweł Kołodziejski
0559f7a6aa and more fixes
svn-id: r4889
2002-08-31 19:26:04 +00:00
Max Horn
ce46866403 Initial revision
svn-id: r4785
2002-08-21 16:07:07 +00:00