Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |||
2010-06-21 | Fix the Hoyle 4 (Hoyle Classic) demo's top offset. It currently errors out ↵ | Matthew Hoops | |
later from lacking a selector (static selector problem). svn-id: r50118 | |||
2010-06-21 | SCI: also set throttle trigger on kPalette(animate) | Martin Kiewitz | |
svn-id: r50109 | |||
2010-06-21 | SCI: GfxPalette::kernelSetIntensity() now also triggers throttler - somewhat ↵ | Martin Kiewitz | |
"fixes" lb2cd when selecting play game svn-id: r50108 | |||
2010-06-20 | SCI: fixed typo | Martin Kiewitz | |
svn-id: r50101 | |||
2010-06-20 | SCI: implemented kPalVary(changeTicks) | Martin Kiewitz | |
svn-id: r50100 | |||
2010-06-20 | SCI: properly implement kPalVary functionality within kDrawPic and ↵ | Martin Kiewitz | |
transitions, so pharkas finally works w/o palette corruption svn-id: r50099 | |||
2010-06-20 | SCI: adding timestamp update for frameout, fixes gk1 windows main menu | Martin Kiewitz | |
svn-id: r50094 | |||
2010-06-20 | SCI: disable palvary when reverse is fully done - fixes palette getting ↵ | Martin Kiewitz | |
stuck in pharkas (the broken palette in there is actually not caused by palvary, it was just overwritten before by view palette updates and those dont occur when palvary is active) svn-id: r50093 | |||
2010-06-20 | SCI: cleanup of SciPalette | Martin Kiewitz | |
svn-id: r50091 | |||
2010-06-20 | SCI: implemented kPalVary(reverse) for pharkas, although there is a bug ↵ | Martin Kiewitz | |
somewhere, not working 100% svn-id: r50089 | |||
2010-06-20 | Sort planes in kFrameOut by priority and keep plane/item priority separate ↵ | Matthew Hoops | |
as they represent two different things. Fixes various SCI32 graphical glitches. Most (all?) remaining glitches are because we don't yet handle kSignalFixedPriority. svn-id: r50087 | |||
2010-06-20 | SCI: implementing kPalVary(2) | Martin Kiewitz | |
svn-id: r50085 | |||
2010-06-20 | SCI: adding code for kPalVary ticks == 0 case, fixes pharkas | Martin Kiewitz | |
svn-id: r50084 | |||
2010-06-20 | SCI: adding kPalVary update call to kFrameout - it's getting morning now in ↵ | Martin Kiewitz | |
gabriel knight 1 svn-id: r50083 | |||
2010-06-20 | SCI: some kPalVary support - intro of island dr. brain works fine now | Martin Kiewitz | |
svn-id: r50082 | |||
2010-06-20 | SCI: kPalVary - cleanup and some more code | Martin Kiewitz | |
svn-id: r50081 | |||
2010-06-20 | SCI: fix r50078, we need to update timestamp for inbetween SCI1.1 games, but ↵ | Martin Kiewitz | |
not on kPortrait palette changes svn-id: r50079 | |||
2010-06-20 | SCI: update timestamp like before for inbetween SCI1.1 games | Martin Kiewitz | |
svn-id: r50078 |