Commit Graph

92 Commits

Author SHA1 Message Date
Max Horn
f9cd78cedd Workaround for bug #864030 (COMI: ASCII 0xb (11) not handled)
svn-id: r13621
2004-04-25 13:34:19 +00:00
Max Horn
3dcd7bbfa8 Record on which virtual screen we last drew masked text
svn-id: r13507
2004-04-08 23:41:10 +00:00
Max Horn
bf0e879aa1 Semi-experimental change: revised _hasMask handling -> simpler code (after removing those FIXME's that is :-), which should still produce identical results (let's wait for the regressions rolling in :-)
svn-id: r13498
2004-04-08 01:38:07 +00:00
Max Horn
fa87f49784 cleanup
svn-id: r13490
2004-04-06 22:02:02 +00:00
Max Horn
d859bebb90 Fix for last part of bug #766749 (COMI: Text should not always have a shadow): do not draw shadow for charset 3
svn-id: r13460
2004-04-04 19:17:28 +00:00
Max Horn
a2413dad38 Fix for bugs #915586, #905856, part of bug #766749 (COMI: Bug with text being printed on the edge of the screen)
svn-id: r13452
2004-04-03 23:44:06 +00:00
Max Horn
9d5dace366 whitespaces
svn-id: r12998
2004-02-22 21:02:06 +00:00
Max Horn
11425a0cdd do a better job at charset clipping; some reengineering. However, to properly fix text drawing in COMI, we need to do some major changes
svn-id: r12417
2004-01-15 22:37:48 +00:00
Max Horn
d1a80a659b cleanup
svn-id: r12259
2004-01-08 17:41:11 +00:00
Max Horn
6222d6e643 more cleanup
svn-id: r12234
2004-01-08 03:24:41 +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
619e6b43c4 Fix for bug #803381 (COMI: Text cut off)
svn-id: r12231
2004-01-08 02:16:27 +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
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
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
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
d0ceed85a5 cleanup
svn-id: r11961
2003-12-27 14:03:07 +00:00
Max Horn
e3e6bb3191 got rid of those _maxFOO macros, replaced them by access to the equivalent _numFOO variables
svn-id: r11953
2003-12-26 23:11:35 +00:00
Travis Howell
bee21ec3f8 Add extra color table entry for v1 games, for inventory/sentence color.
svn-id: r11653
2003-12-15 14:54:35 +00:00
Travis Howell
c90d4c4e08 Alter old demo check
Stop crash on exit with comi demo

svn-id: r11341
2003-11-18 05:14:18 +00:00
Travis Howell
3147d75a4d Missed one check
svn-id: r11338
2003-11-18 02:09:51 +00:00
Paweł Kołodziejski
1f9e408e2f cleanup whitespaces
svn-id: r11217
2003-11-08 21:59:32 +00:00
Max Horn
a70460833e moved platform/language constants to common/util.*
svn-id: r10862
2003-10-17 15:35:46 +00:00
Chris Apers
3f06651bab Moved PalmOS initializations out of namespaces.
svn-id: r10703
2003-10-09 14:17:06 +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
c1a678afeb new module 'base'; moved gameDetector.*, main.cpp and base/plugins.* there (this removes the need for an ugly hack in the build system, and is also conceptionally cleaner)
svn-id: r10282
2003-09-17 22:41:01 +00:00
Jonathan Gray
dbc29272e9 use old method to decide on text colouring for loom towns, I think the pink distaff when returning to the first room may be the last bug left now
svn-id: r10247
2003-09-14 00:37:47 +00:00
Max Horn
deb4f6b786 cleanup; fix for bug #795942 (COMI: text display off screen) and #785760 (COMI: Lockup/crash on Skull Island)
svn-id: r10144
2003-09-09 20:54:19 +00:00
Travis Howell
a2b1e9081c Fix from Hibernatus, indy3 has black shadows
svn-id: r9958
2003-09-01 15:40:16 +00:00
Chris Apers
a47e80cb55 Updated globals access for PalmOS
svn-id: r9759
2003-08-18 10:59:21 +00:00
Max Horn
3e0cd37cea get rid of GF_INDY3 again, and also remove GID_INDY3_256 and GID_INDY3_TOWNS
svn-id: r9554
2003-08-06 12:04:27 +00:00
Max Horn
2fbf782c05 moved some functions out of scummvm.cpp into more appropriate files; rearranged stuff inside scummvm.cpp to be grouped a bit more logical
svn-id: r9083
2003-07-19 18:18:01 +00:00
Travis Howell
fdb79e01cc More fix from Hibernatus
svn-id: r9069
2003-07-19 03:54:33 +00:00
Travis Howell
f20c47bb21 Add Indy3 FM Towns support, patch #773434
svn-id: r9062
2003-07-18 05:49:21 +00:00
Max Horn
0c21927428 some comments
svn-id: r9052
2003-07-16 20:50:26 +00:00
Max Horn
963ecad362 debug/warning/error all automatically output a newline
svn-id: r8991
2003-07-13 16:22:17 +00:00
Max Horn
eec095a72d correct shadow color in Zak256
svn-id: r8659
2003-06-26 21:41:53 +00:00
Max Horn
0f293acf96 implemented text shadow in Zak256 (also needed for Indy3-256, maybe?). (Partial) fix for bug #750779 (the shadow color is still wrong)
svn-id: r8654
2003-06-26 14:04:08 +00:00
Max Horn
08beeb942b re-applying my changes (chrilith undid them by accident)
svn-id: r8552
2003-06-19 11:13:11 +00:00
Chris Apers
2b522f8f6c PalmOS changes
svn-id: r8550
2003-06-19 10:38:30 +00:00
Max Horn
0bee591ae6 added spanish font & prepositions; removed some trailing spaces
svn-id: r8549
2003-06-19 10:29:38 +00:00
Max Horn
8e5702590a added italian & english V2 font
svn-id: r8548
2003-06-19 10:14:58 +00:00
Torbjörn Andersson
e175f75e7d Made CharsetRendererNut::printChar() take the shadow into consideration
when calculating the dimensions of a printed message and when deciding
which parts of the screen to dirty.

I imagine this will fix most of the minor text-drawing glitches that have
been plaguing CoMI. Unfortunately, it fixes none of the major ones.

svn-id: r8511
2003-06-15 15:19:22 +00:00
Max Horn
101df28e0b moved GameId declaration to common/engine.h (more logical); moved scumm specific stuff from gameDetector.h to scumm.h; cleaned up some #includes (ideally, never #include something in a header file if you can avoid it - this cuts down interdepencies)
svn-id: r8496
2003-06-15 01:42:19 +00:00
Torbjörn Andersson
ab7f8b3378 Fixed recent regression (too many blast texts) in The Dig's end credits and
made the text scroll off the screen instead of just vanishing at the top.
(The latter also applies to Full Throttle's end credits.)

svn-id: r8402
2003-06-08 15:17:14 +00:00
Max Horn
083f4c4845 never call exit(), always go thrugh OSystem::quit()
svn-id: r8397
2003-06-08 11:54:35 +00:00
Max Horn
49b9a8fc9d follow our coding conventions
svn-id: r8377
2003-06-07 00:49:36 +00:00