aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/base
AgeCommit message (Collapse)Author
2013-10-28WINTERMUTE: Change BaseObject::getHeight() to return int32 instead of int.Einar Johan Trøan Sømåen
2013-10-28WINTERMUTE: Fix compile errors in XCode 5 caused by nullptr-issues.Einar Johan Trøan Sømåen
2013-10-09WINTERMUTE: Remove superfluous assignmentsWillem Jan Palenstijn
2013-10-08WINTERMUTE: Fix displayTransOffsetWillem Jan Palenstijn
Regression from 14cb1f09c0bc2cace830eaa793227f195acb06bc. This fixes font border drawing.
2013-10-07WINTERMUTE: Call updateScreen() every frame, even without updates.Willem Jan Palenstijn
This fixes expose events with the opengl backend.
2013-10-06WINTERMUTE: Fix typo causing tiled image corruptionWillem Jan Palenstijn
2013-10-06WINTERMUTE: Partially fix rotoscale coordinate confusionWillem Jan Palenstijn
This fixes two issues: * The rendering rectangle was not rotated, causing garbage to be drawn if the rotated rectangle did not fully cover the unrotated rectangle, or sprites to be clipped in the opposite case. * The order of mirror/scale/rotation operations was inconsistent. This commit does scaling first, followed by rotation. (This is only an issue because scaling is specified separately in X and Y directions.) For now only FIXMEs are added for mirroring.
2013-10-06WINTERMUTE: Remove outdated commentWillem Jan Palenstijn
2013-10-06WINTERMUTE: Remove presumably outdated off-by-one correctionWillem Jan Palenstijn
This correction no longer seems to be necessary, and removes an off-by-one in the J.U.L.I.A. Demo main menu screen.
2013-10-03WINTERMUTE: Update full screen on ScreenChangedWillem Jan Palenstijn
This fixes the screen not updating after e.g., scaler changes. Bug #3594245.
2013-10-02WINTERMUTE: Remove unused _drawNumWillem Jan Palenstijn
2013-10-02WINTERMUTE: Fix regression with _skipThisFrameWillem Jan Palenstijn
This broke loading in Broken Circle demo. We now reset the queue state when skipping a frame, and re-use lastFrameIter instead of keeping track of lastAddedTicket separately.
2013-10-02WINTERMUTE: Fix regression in ticketingWillem Jan Palenstijn
This caused a crash when pressing 'New Game' in the Black Circle demo. Regression from 544e4a2f49630cecbf06fe5b1e11bdbab1bdb281.
2013-10-02WINTERMUTE: Handle invalid file access in Carol Reed 6: Black CircleFilippos Karapetis
2013-10-01WINTERMUTE: Clean up byte/char casts in loading/parsingWillem Jan Palenstijn
2013-10-01WINTERMUTE: Fix broken uint32/ulong castWillem Jan Palenstijn
2013-10-01WINTERMUTE: Fix up doxygen commentWillem Jan Palenstijn
2013-09-30Merge branch 'master' into wme_renderingWillem Jan Palenstijn
2013-09-30WINTERMUTE: Add displayTiled function to replace repeatLastDrawWillem Jan Palenstijn
This avoids queueing many tickets for a UITiledImage, replacing them by a single tiled ticket.
2013-09-30Merge branch 'refac'Einar Johan Trøan Sømåen
Conflicts: engines/wintermute/graphics/transparent_surface.cpp engines/wintermute/graphics/transparent_surface.h
2013-09-30WINTERMUTE: Remove almost unused _colorMod fieldWillem Jan Palenstijn
The one actual use of this left-over variable was a bug breaking at least menu text color in Chivalry when dirty rects were disabled.
2013-09-29WINTERMUTE: Fix typo in commentWillem Jan Palenstijn
2013-09-29WINTERMUTE: Do antialiased TT font renderingWillem Jan Palenstijn
2013-09-26WINTERMUTE: CleanupWillem Jan Palenstijn
2013-09-26WINTERMUTE: Remove ticket->_drawNumWillem Jan Palenstijn
2013-09-26WINTERMUTE: Remove left-over assertsWillem Jan Palenstijn
2013-09-26WINTERMUTE: Remove unnecessary loopWillem Jan Palenstijn
2013-09-26WINTERMUTE: No longer update ticket->_drawNumWillem Jan Palenstijn
2013-09-26WINTERMUTE: No longer use ticket->_drawNumWillem Jan Palenstijn
2013-09-26WINTERMUTE: Remove unnecessary re-iterationWillem Jan Palenstijn
2013-09-26WINTERMUTE: Mirror _drawNum with an iteratorWillem Jan Palenstijn
2013-09-26WINTERMUTE: Remove _tempDisableDirtyRectsWillem Jan Palenstijn
2013-09-26WINTERMUTE: Remove ticket batchingWillem Jan Palenstijn
2013-09-23WINTERMUTE: Pass blendMode to blit() in RenderTicket.Tobia Tesan
2013-09-21WINTERMUTE: Make some members of UIObject privateTobia Tesan
2013-09-21WINTERMUTE: Keep attributes in UIWindow privateTobia Tesan
2013-09-21WINTERMUTE: Keep _alphaMode private in TransparentSurfaceTobia Tesan
2013-09-18WINTERMUTE: Cast rotate in base_sub_frameTobia Tesan
2013-09-18WINTERMUTE: Cast zoom inside display(Trans?)ZoomTobia Tesan
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