Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-28 | SCI: updated comment about transparent pixels in views | Martin Kiewitz | |
svn-id: r50454 | |||
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: Cleanup GfxView code (formatting etc.); also insert some asserts to ↵ | Max Horn | |
protect scalingX/Y arrays svn-id: r50425 | |||
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-27 | SCI: Fix for large views in GK2. At least it does not segfault now. | Lars Skovlund | |
svn-id: r50376 | |||
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: implemented kAssertPalette and a palvary fix for ::set, fixes erana's ↵ | Martin Kiewitz | |
place in qfg1vga nighttime svn-id: r50162 | |||
2010-06-19 | SCI: cleanup view decompression code | Martin Kiewitz | |
svn-id: r50053 | |||
2010-06-18 | SCI: fixing detection of vga sci11 views for ega games (original change in ↵ | Martin Kiewitz | |
r50025) svn-id: r50028 | |||
2010-06-18 | SCI: added more description about changes in r50025 | Martin Kiewitz | |
svn-id: r50026 | |||
2010-06-18 | SCI: making vga views work in ega games :P | Martin Kiewitz | |
svn-id: r50025 | |||
2010-05-18 | Add initial support for KQ6 Mac. Wrapper functions for read/writing to ↵ | Matthew Hoops | |
pointers are now used (found in util.*) for code that has different endianness in SCI1.1+ Mac games. Add support for Mac 'snd ' and 'CURS' resources. QFG1 Mac is not yet playable due to script compression. svn-id: r49070 | |||
2010-05-15 | SCI: adding upscaled hires mode 640x480 for kq6 and gk1, fixing valgrind ↵ | Martin Kiewitz | |
error in GfxPortrait class, not using priority anymore when drawing hires cels (shouldnt be needed for kq6) svn-id: r49040 | |||
2010-05-15 | SCI: SCI_SCREEN_MASK_* now GFX_SCREEN_MASK_*, using enum - added new enum ↵ | Martin Kiewitz | |
GFX_SCREEN_UPSCALED_* svn-id: r49039 | |||
2010-05-13 | SCI: removing one assert() from view loading, cause view 260 in kq6 really ↵ | Martin Kiewitz | |
contains a celCount == 0 o_O svn-id: r49024 | |||
2010-05-13 | SCI: adding some more assert()s in view data loading for clone :D | Martin Kiewitz | |
svn-id: r49023 | |||
2010-05-13 | SCI: figured out weird special mac sci1.1 view decompression (currently ↵ | Martin Kiewitz | |
commented out for clone2727) svn-id: r49020 | |||
2010-05-12 | SCI: header size within sci1.1+ views doesn't include the actual header size ↵ | Martin Kiewitz | |
word, adjust accordingly (should make mac view support possible now) svn-id: r49019 | |||
2010-02-04 | SCI: renaming class View to GfxView | Martin Kiewitz | |
svn-id: r47891 | |||
2010-02-04 | SCI: fix support for cels that are larger than 64k (sierra logo animation in ↵ | Martin Kiewitz | |
sq6) svn-id: r47873 | |||
2010-01-31 | SCI: renamed SciPalette to GfxPalette, Screen to GfxScreen, GfxPalette is ↵ | Martin Kiewitz | |
now called directly w/o SciGui svn-id: r47752 | |||
2010-01-31 | SCI: cleaned up graphics classes, removed gfx&windowmgr, added gfxports, ↵ | Martin Kiewitz | |
gfxcompare, gfxpaint16, gfxcache. kernel uses gfxports directly w/o going through SciGui svn-id: r47745 | |||
2010-01-29 | SCI: view class fix for hires views that are larger than 64k (fixes kq7 cel ↵ | Martin Kiewitz | |
corruption) svn-id: r47661 | |||
2010-01-27 | SCI: removing duplicate comment line that isnt right there (it documents the ↵ | Martin Kiewitz | |
other view format) svn-id: r47605 | |||
2010-01-26 | SCI: changed flags (uint16) to force (bool) for set/merge palette methods | Martin Kiewitz | |
svn-id: r47578 | |||
2010-01-25 | SCI: created isAmiga32color(), using this method instead of comparing ↵ | Martin Kiewitz | |
against viewType svn-id: r47554 | |||
2010-01-25 | Strip trailing spaces/tabs. | Johannes Schickel | |
svn-id: r47541 | |||
2010-01-16 | SCI: added TODO inside kAnimate for scalesignal bit 1, added comment about ↵ | Martin Kiewitz | |
scaling into view class svn-id: r47330 | |||
2010-01-16 | SCI: view scaling - dont fill left-over bytes if there are no left-over bytes :P | Martin Kiewitz | |
svn-id: r47329 | |||
2010-01-16 | SCI: support for upscaling implemented, included clipping | Martin Kiewitz | |
svn-id: r47328 | |||
2010-01-16 | SCI: scaling support, upscaling not yet supported - not really tested, so ↵ | Martin Kiewitz | |
there may be bugs svn-id: r47325 | |||
2010-01-16 | SCI: View::drawScaled() created (doesnt do scaling yet), removed scaling ↵ | Martin Kiewitz | |
variables from View::draw, gfx calls drawScaled() when scaleX/Y != 128, getting scaled rect inside kAnimate() svn-id: r47322 | |||
2010-01-16 | SCI: created getCelScaledRect() inside view class | Martin Kiewitz | |
svn-id: r47319 | |||
2010-01-12 | SCI: View::getCelCount now validates input | Martin Kiewitz | |
svn-id: r47267 | |||
2010-01-11 | SCI: changed displaceY and displaceX for cels to int16, also inserted cast ↵ | Martin Kiewitz | |
to signed char for sci1 displaceX - should fix wii flickering and incorrect cel placement problems svn-id: r47257 | |||
2010-01-07 | SCI: implemented additional drawCel for hires views, fixes menu bar of kq6 - ↵ | Martin Kiewitz | |
still need to fix coordinates and implement save/restoreBits for hires svn-id: r47116 | |||
2010-01-07 | SCI: small cleanup in view drawing | Martin Kiewitz | |
svn-id: r47108 | |||
2010-01-06 | - Some work on kLocalToGlobal and kGlobalToLocal for SCI2+ | Filippos Karapetis | |
- Removed the custom types MemoryHandle, LoopNo, CelNo (cause we ended up having code like LoopNo loopNo = ...) - Improved the sanity checks in frameOut() svn-id: r47087 | |||
2010-01-05 | SCI: removed uint16 limit within view class (allows hires views) | Martin Kiewitz | |
svn-id: r47035 | |||
2010-01-05 | Some initial work on SCI1.1 view scaling (not working yet) | Filippos Karapetis | |
svn-id: r47027 | |||
2010-01-05 | More renaming | Filippos Karapetis | |
svn-id: r47009 |