Commit Graph

32 Commits

Author SHA1 Message Date
Eugene Sandulenko
154c4af8dc Mass-renamed all variables of Actor object according to our current code
formatting standards. Earlier we had half of vars named with leading
underscore and half without it.

Now code in actor.cpp is considerably more readable.

svn-id: r17068
2005-03-11 01:10:06 +00:00
Max Horn
47280d9433 Updated copyright
svn-id: r16398
2005-01-01 16:09:25 +00:00
Max Horn
ca12f3f996 Smooth scrolling seems to work very well, so I am promoting it now from hack-status to a fully official feature ;-)
svn-id: r15371
2004-10-01 20:40:03 +00:00
Max Horn
b60c95be7c cleanup
svn-id: r15300
2004-09-26 18:09:06 +00:00
Max Horn
171fac3895 Get rid of _screenLeft
svn-id: r14608
2004-08-14 15:23:44 +00:00
Travis Howell
6a1800a2cd Remove unused code, VAR_SCROLL_SCRIPT is never set for scumm 1/2.
svn-id: r14298
2004-07-22 04:37:20 +00:00
Torbjörn Andersson
b0cf75722e Experimental fix for bugs #795938 and #929242. In both cases, text is
apparently printed before cameraMoved() has had the chance to update xstart
of virtscr[0].

All this change does is to call cameraMoved() from setCameraAt().

svn-id: r14177
2004-07-08 10:47:44 +00:00
Travis Howell
a78226a9c5 Remove old commented out code
svn-id: r14119
2004-06-29 10:23:15 +00:00
Max Horn
71bbdbfae4 Removed CharsetRenderer::_mask (this was used to optimize charset mask handling). This shouldn't cause any noticable slowdowns, but allows us to get rid of two nasty hacks, and fixes bug #895355 (DIG: Subtitles sometimes stay on the screen), maybe also others
svn-id: r13464
2004-04-04 20:20:09 +00:00
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
Travis Howell
dd1eb2a4b4 Fix subtitles glitch when subtitles are shown during room scroll in pass.
svn-id: r12179
2004-01-06 13:28:19 +00:00
Max Horn
033ff78ae9 updated copyright notice
svn-id: r12176
2004-01-06 12:45:34 +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
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
Paweł Kołodziejski
d5eddef057 changed some shift operators to *, /
svn-id: r11315
2003-11-16 20:52:57 +00:00
Travis Howell
f0ffea2d64 Disable code which seems to be real cause of lock up in title screen of MI1 demos
svn-id: r10811
2003-10-15 09:40:44 +00:00
Travis Howell
249444e4c6 *** empty log message ***
svn-id: r10650
2003-10-06 23:21:22 +00:00
Travis Howell
f57a6d74a1 Fix text when room scrolls in game versions < 3.
Manual redraw of verbs areas isn't require after reload of game in loom/loomcd, causes glitches in some locations.

svn-id: r10648
2003-10-06 23:12:01 +00:00
Travis Howell
ebd0b962fb Should not apply to loom/loomcd, they only use room scrolling at one point and this causes glitches.
svn-id: r10635
2003-10-06 12:28:52 +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
6512592d0f moved Actor x/y to _pos.x/_pos.y -> this makes it much easier to grep for access of the actor position
svn-id: r10253
2003-09-14 18:16:45 +00:00
Max Horn
b5a42396e7 only move charset mask upon scrolling if tex is displayed in the game graphics, but not for games which have a seperate text display area (partial fix for bug #766109)
svn-id: r8847
2003-07-07 22:17:20 +00:00
Max Horn
09e47bad3d only adjust gdi._mask if _charset->_hasMask is set to true
svn-id: r8689
2003-07-01 15:26:07 +00:00
Max Horn
4f91c49836 fix for when we scroll while text is being displayed (text used to leave traces behind in that case)
svn-id: r8688
2003-07-01 15:21:51 +00:00
Max Horn
f4a31da513 runHook -> runInventoryScript, VAR_HOOK_SCRIPT -> VAR_INVENTORY_SCRIPT
svn-id: r8468
2003-06-14 12:23:30 +00:00
Max Horn
86df3537b9 replaced GF_AFTER with _version
svn-id: r8372
2003-06-07 00:13:26 +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
37fa2df49a cleanup; removed last horizontal bound check from updateDirtyRect -> now all the various 'offscreen actor redraw' problems should be fixed (at least I can't reproduce them in COMI anymore), while The Dig should still work just fine (at least it does in my test cases)
svn-id: r8129
2003-05-30 02:01:45 +00:00
Max Horn
d0b2e56194 more camera spliting
svn-id: r8121
2003-05-29 23:44:24 +00:00
Max Horn
1db0f749ca moved camera stuff to own file
svn-id: r8099
2003-05-29 12:55:28 +00:00