aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/base
AgeCommit message (Collapse)Author
2013-09-12Merge pull request #387 from tobiatesan/trim_argumentsEugene Sandulenko
WINTERMUTE: Remove useless Rect extra argument from fadeToColor.
2013-09-08WINTERMUTE: Swap dpi and font-height to be the right-way around.Einar Johan Trøan Sømåen
2013-09-05WINTERMUTE: Disambiguate empty and NULL strings when savingWillem Jan Palenstijn
The string stored is now strlen(s)+1, with length 0 indicating NULL. Increment savegame version for this new format. Old savegames are fixed by assuming VAL_STRING should never be NULL.
2013-09-05WINTERMUTE: Don't clean up _scripts mid-iterationWillem Jan Palenstijn
Scripts executing from ScEngine::tick() can call ScEngine::unbreakableTick() via scCallMethod("SaveGame") and applyEvent("BeforeSave"). This recursive execution could cause finished scripts being removed from _scripts while ScEngine::tick() is still iterating over that array.
2013-08-29WINTERMUTE: Remove useless Rect extra argument from fadeToColor.Tobia Tesan
It is not used anywhere, and Mnemonic has confirmed that the original engine does NOT support anything but full screen fades.
2013-08-27WINTERMUTE: Remove duplicate codeWillem Jan Palenstijn
2013-08-27WINTERMUTE: Simplify string matchingWillem Jan Palenstijn
2013-08-26WINTERMUTE: Fix and clean up BaseSurfaceOSystem::finishLoad()Willem Jan Palenstijn
This fixes a couple of cases which fell through the cracks of the previous chain of conditions, including 16bpp images and 32bpp images without alpha. The latter partially fixes bug #3600667.
2013-08-24WINTERMUTE: Fix warningWillem Jan Palenstijn
2013-08-20WINTERMUTE: Add binary alpha-blitting.Einar Johan Trøan Sømåen
For now, no RLE, or anything, but the infrastructure for it is put in place here.
2013-08-20WINTERMUTE: Change pixel-format to RGBA.Einar Johan Trøan Sømåen
2013-08-20WINTERMUTE: Avoid doing alpha-blits when image doesn't have alpha.Einar Johan Trøan Sømåen
Also detect images with only binary alpha.
2013-08-19WINTERMUTE: Don't use a lookup table for alphaWillem Jan Palenstijn
This gives a drawTickets() speed increase of about 10% in the JULIA demo (on a core i7 920).
2013-08-16WINTERMUTE: Fix computation of _renderRect.Tobia Tesan
This reverts the changes in 4cf1d671. Fixes the "notebook bug" - i.e. the notebook being only partially drawn - in Dirty Split.
2013-08-16WINTERMUTE: Fix (still disabled) modTargetRect logicWillem Jan Palenstijn
Width and height were computed incorrectly. Also, the shift by _renderRect is not necessary since that was to compensate for the coordinate translation done by the original SDL_RenderSetViewport, which we don't perform.
2013-08-13WINTERMUTE: Be explicit when storing Floats in savegames.Einar Johan Trøan Sømåen
2013-08-13WINTERMUTE: Add atleast some comments to the renderTicket-system.Einar Johan Trøan Sømåen
2013-08-09WINTERMUTE: Fix uninitialized scalar field (CID1060922)Einar Johan Trøan Sømåen
2013-08-07Merge pull request #365 from lordhoto/protected-pixelsJohannes Schickel
Make Graphics::Surface::pixels protected.
2013-08-04WINTERMUTE: Fix end of namespace comments.Johannes Schickel
2013-08-03WINTERMUTE: Take advantage of Surface::getPixels.Johannes Schickel
2013-08-03WINTERMUTE: Prefer getBasePtr over direct Surface::pixels access.Johannes Schickel
2013-08-01Merge pull request #354 from tobiatesan/wintermute_rotozoom_3Einar Johan Trøan Sømåen
WINTERMUTE: Wintermute rotozoom 3
2013-08-01WINTERMUTE: s/255,255,255,255/kDefaultMod/Tobia Tesan
2013-08-01WINTERMUTE: FActor out TransformStruc initialization in repeatLastDraw loopTobia Tesan
2013-08-01WINTERMUTE: zoom parameter in display*** is now integerTobia Tesan
2013-08-01WINTERMUTE: Fix type-related warnings in base_surface_osystem.cppTobia Tesan
2013-08-01WINTERMUTE: #define to const for TransformStruct defaultsTobia Tesan
2013-08-01WINTERMUTE: Remove single-argument zoom, rename mirrorX => getMirrorX() in ↵Tobia Tesan
transform_struct.h
2013-08-01WINTERMUTE: Remove redeclaration in render_ticket.cppTobia Tesan
2013-08-01WINTERMUTE: Use Rect::width() and height() in base_surface_osystem.cppTobia Tesan
2013-08-01WINTERMUTE: TransformStruct by reference in ↵Tobia Tesan
engines/wintermute/base/gfx/osystem/base_render_osystem.h
2013-08-01WINTERMUTE: Fix alpha bug in BaseRenderOSystem::fadeToColorTobia Tesan
Introduced in 37b1ff3, broke fade-in/fade-outs
2013-08-01WINTERMUTE: Remove set[Color|Alpha]Mod altogetherTobia Tesan
2013-08-01WINTERMUTE: Pass structs by const referenceTobia Tesan
2013-08-01WINTERMUTE: ConstantsTobia Tesan
2013-08-01WINTERMUTE: s/*transform/const &transform/Tobia Tesan
2013-08-01WINTERMUTE: Replace normalization loop with if() for legibilityTobia Tesan
2013-08-01WINTERMUTE: Use constants from transform_tools for consistencyTobia Tesan
2013-08-01WINTERMUTE: Reinstate rgbaMod comparisons for compare-ticketsTobia Tesan
2013-08-01WINTERMUTE: Deprecate setAlphaMod, setColorModTobia Tesan
2013-08-01WINTERMUTE: Rename rotate() -> rotoscale() for consistencyTobia Tesan
2013-08-01WINTERMUTE: *transform as pointer in transform_toolsTobia Tesan
2013-08-01WINTERMUTE: Fix alpha bug in ↵Tobia Tesan
engines/wintermute/base/gfx/osystem/base_surface_osystem.cpp This fixes the "TV static" bug in J.U.L.I.A.
2013-08-01WINTERMUTE: Force angle normalizationTobia Tesan
This fixes the issues in J.U.L.I.A.
2013-08-01WINTERMUTE: Removed useless argument from rotate()Tobia Tesan
2013-08-01WINTERMUTE: Add rotationTobia Tesan
Add actual rotation code, make ticket-system transformStruct-aware
2013-07-31WINTERMUTE: Refactor some bits to use TransformStructTobia Tesan
2013-07-31WINTERMUTE: Introduce TransformToolsTobia Tesan
2013-07-31Merge pull request #358 from tobiatesan/fix_wme_base_diskEinar Johan Trøan Sømåen
WINTERMUTE: Remove fixedPath snippet