Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-06-30 | SCI: adjust brRect and nsRect, if sci2 hires views are used, fixes hotspots ↵ | Martin Kiewitz | |
in gk1 svn-id: r50536 | |||
2010-06-30 | SCI: remove some duplicate code | Martin Kiewitz | |
svn-id: r50535 | |||
2010-06-30 | SCI: support for hires views in gk1 | Martin Kiewitz | |
svn-id: r50533 | |||
2010-06-29 | Handle empty clip rectangles in GfxView::drawScaled(). Fixes an assert in ↵ | Filippos Karapetis | |
the first room of the game svn-id: r50503 | |||
2010-06-29 | SCI: Rewrap more comments | Max Horn | |
svn-id: r50500 | |||
2010-06-29 | SCI: Add some const qualifiers | Max Horn | |
svn-id: r50499 | |||
2010-06-29 | SCI: Rename listEntry -> 'it' for better readability | Max Horn | |
svn-id: r50498 | |||
2010-06-29 | SCI: Simplify List::iterator usage in GfxAnimate | Max Horn | |
svn-id: r50497 | |||
2010-06-29 | SCI: Simplify GfxAnimate code, get rid of _listData | Max Horn | |
svn-id: r50496 | |||
2010-06-28 | SCI: updated comment about transparent pixels in views | Martin Kiewitz | |
svn-id: r50454 | |||
2010-06-28 | SCI: kAnimate resetting _lastCastCount all the time | Martin Kiewitz | |
svn-id: r50453 | |||
2010-06-28 | SCI: fix regression of r50422, please no refactoring without proper testing ↵ | Martin Kiewitz | |
- fixes animations in all sorts of games svn-id: r50451 | |||
2010-06-28 | SCI: added comment - lsl5 also has too large windows | Martin Kiewitz | |
svn-id: r50450 | |||
2010-06-28 | Remove CRs | Willem Jan Palenstijn | |
svn-id: r50435 | |||
2010-06-28 | SCI: add const again to newWidth | Martin Kiewitz | |
svn-id: r50434 | |||
2010-06-28 | SCI: fix regression of r50424, 2x scaling | Martin Kiewitz | |
svn-id: r50433 | |||
2010-06-28 | SCI: Cleanup GfxView code (formatting etc.); also insert some asserts to ↵ | Max Horn | |
protect scalingX/Y arrays svn-id: r50425 | |||
2010-06-28 | SCI: Optimized GfxScreen::scale2x a bit | Max Horn | |
svn-id: r50424 | |||
2010-06-28 | SCI: Comment cleanup | Max Horn | |
svn-id: r50423 | |||
2010-06-28 | SCI: Remove GfxView::getLoopInfo; add assert to GfxView::getCelInfo | Max Horn | |
The return value of GfxView::getCelInfo was used virtually everywhere without a check for it being non-NULL. Hence instead of returning NULL when the loop count is zero, it makes more sense to assert out (instead of a segfault, or worse, random data being used). svn-id: r50422 | |||
2010-06-28 | SCI: Add const qualifiers to many GfxView methods and their return values. | Max Horn | |
This helps to ensure proper data encapsulation. Also reformatted some overlong comments to 80 chars per line, and fixed some other code formatting issues. svn-id: r50421 | |||
2010-06-28 | SCI: Make src param of GfxScreen::scale2x const | Max Horn | |
svn-id: r50420 | |||
2010-06-28 | SCI: separated the graphics initialization code a bit | Filippos Karapetis | |
- Moved all of the graphics initialization code on startup inside initGraphics() - Moved all of the screen initialization (resolution, upscaled graphics etc) code inside GfxScreen() svn-id: r50412 | |||
2010-06-27 | Silenced a false positive in MSVC about a potentially uninitialized variable | Filippos Karapetis | |
svn-id: r50392 | |||
2010-06-27 | SCI: Fix for large views in GK2. At least it does not segfault now. | Lars Skovlund | |
svn-id: r50376 | |||
2010-06-26 | Further improve readability | Willem Jan Palenstijn | |
svn-id: r50345 | |||
2010-06-26 | Improve readability | Willem Jan Palenstijn | |
svn-id: r50340 | |||
2010-06-26 | SCI: another commit for adding a workaround for islang room 300 again ↵ | Martin Kiewitz | |
(although i already commited it already, stupid torturegit) svn-id: r50330 | |||
2010-06-25 | Removed the getHunkPointer error - it's valid SCI behavior (e.g. when ↵ | Filippos Karapetis | |
loading/quitting sometimes, since hunks are not saved). We check for valid hunk pointers anyway, so there's no reason for the warning/error svn-id: r50279 | |||
2010-06-25 | When loading a game, stop all running VMs recursively, and also stop ↵ | Filippos Karapetis | |
kAnimate's current recursion. This fixes the invalid execution stack frame in SQ1, when loading from the death screen after dying from the acid drops in Kerona. This should also fix the invalid hunk pointers, thus the warning about invalid hunk pointers has been turned into an error, as it shouldn't occur anymore svn-id: r50277 | |||
2010-06-25 | SCI: Introduce SciGameId enum | Max Horn | |
svn-id: r50273 | |||
2010-06-25 | SCI: detect, if SCI1.1 game is merging or copying palette instead of using ↵ | Martin Kiewitz | |
gameIds. Also prints method used, when using debug command "version" svn-id: r50261 | |||
2010-06-24 | SCI: fix kTextSize to not crash when destination has an invalid rect in it | Martin Kiewitz | |
svn-id: r50210 | |||
2010-06-23 | SCI: we extended the showBits() rect all the way depending on where the ↵ | Martin Kiewitz | |
object moved, fixed - fixes kq6cd flickering coin and pq1 flickering locker issue svn-id: r50190 | |||
2010-06-23 | SCI: cnick-laurabow & cnick-kq are called with -Nw 0 0... | Martin Kiewitz | |
svn-id: r50187 | |||
2010-06-23 | SCI: it seems that all cnick games are using the inbetween interpreter | Martin Kiewitz | |
svn-id: r50186 | |||
2010-06-23 | SCI: adding cnick-longbow to inbetween sci1.1 in GfxPalette | Martin Kiewitz | |
svn-id: r50185 | |||
2010-06-23 | Moved the SelectorCache struct inside selector.h, where it belongs, and ↵ | Filippos Karapetis | |
fixed some header dependencies in the process svn-id: r50183 | |||
2010-06-23 | SCI: global scaling implemented (hopefully, i'm not sure if it works 100% ↵ | Martin Kiewitz | |
:P) thx to waltervn for telling me the vocab 994 stuff used for disassembly svn-id: r50181 | |||
2010-06-23 | SCI: adding some more global scaling code, adding vanishingY and vanishingX ↵ | Martin Kiewitz | |
as selectors svn-id: r50180 | |||
2010-06-23 | SCI: some initial work on global scaling | Martin Kiewitz | |
svn-id: r50179 | |||
2010-06-23 | SCI: implementing boundary checking for GfxPalette::createFromData(), sq5 ↵ | Martin Kiewitz | |
has a broken picture 0 resource, which would result in either crash or at least bad read from memory depending on whats read there svn-id: r50178 | |||
2010-06-22 | SCI: added nicks picks sq to the sci1.1 interpreter games, the other ones ↵ | Martin Kiewitz | |
may also use the same interpreter, but we currently can not verify svn-id: r50172 | |||
2010-06-22 | SCI: eco quest 1 demo also uses inbetween sci1.1 interpreter, fixing graphics | Martin Kiewitz | |
svn-id: r50170 | |||
2010-06-22 | SCI: reversing r50168, demo is using the same offTop as well (demo.bat) | Martin Kiewitz | |
svn-id: r50169 | |||
2010-06-22 | SCI: demo of fairy tales uses regular offTop | Martin Kiewitz | |
svn-id: r50168 | |||
2010-06-22 | SCI: set offTop to 26 for mixed up fairy tales to fix all sorts of ↵ | Martin Kiewitz | |
non-fully-removed windows svn-id: r50166 | |||
2010-06-22 | SCI: implemented kAssertPalette and a palvary fix for ::set, fixes erana's ↵ | Martin Kiewitz | |
place in qfg1vga nighttime svn-id: r50162 | |||
2010-06-22 | SCI: fixed typo | Martin Kiewitz | |
svn-id: r50154 | |||
2010-06-22 | SCI: kPalVary(SetTarget) implemented | Martin Kiewitz | |
svn-id: r50153 |