aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision/render_manager.cpp
AgeCommit message (Collapse)Author
2013-09-15ZVISION: Add RenderManager text supportRichieSams
2013-09-15ZVISION: Add better alpha support for blittingRichieSams
Instead of blitting directly to the working window, we cache the alpha pixels, then blit directly to the backbuffer instead of to the working window. This ensures that if the alpha'd content changes, the old changes won't appear in any new frames
2013-09-15ZVISION: Move dirty rect extension to the correct functionRichieSams
Source control mishap
2013-09-15ZVISION: Add method to copy a portion of the working window to a surfaceRichieSams
2013-09-09ZVISION: Add a debug assert to make sure we're not trying to render ouside ↵RichieSams
the working window
2013-09-09ZVISION: Create method for transposing a surfaceRichieSams
2013-09-09ZVISION: Create method for clipping a rect to the working windowRichieSams
2013-09-09ZVISION: Create method for converting image space to working window spaceRichieSams
2013-09-09ZVISION: Create method for rendering to the working window with binary alphaRichieSams
2013-09-07ZVISION: Make the declaration and implementation of copyRectToWorkingWindow ↵RichieSams
be the same
2013-09-07ZVISION: Add dirty rectangling support for pure image renderingRichieSams
Still need to add support for ResultActions and Controls that directly use OSystem::copyRectToScreen()
2013-09-07ZVISION: Fix pixel copying errors in renderRectToWorkingWindowRichieSams
2013-09-07ZVISION: Re-enable rendering to the backbufferRichieSams
2013-09-06ZVISION: Actually use the converted color instead of the old oneRichieSams
2013-09-06ZVISION: Do full working window warp instead of image at a timeRichieSams
2013-09-04ZVISION: Create method to get the current background offsetrichiesams
2013-09-03ZVISION: Remove unnecessary file.open()richiesams
It's done inside readImageToSurface() and it no longer needs to be on the heap
2013-09-03ZVISION: Free the _currentBackground Surface in RenderManager destructorrichiesams
2013-09-24ZVISION: Limit tilt movement to the size of the imagerichiesams
// TODO: Remove image wrapping logic for the vertical direction since this can never happen now
2013-09-24ZVISION: Fix error is RenderManager backgroundOffset handlingrichiesams
2013-09-24ZVISION: Convert image rendering to RBG 565richiesams
This is part of a series of commits converting all game assets to RBG 565 from RBG 555. The argument is that certain backends do not support RGB 555.
2013-09-24ZVISION: Keep a Graphics::Surface of the current background instead of ↵richiesams
re-reading the file each time This is both more efficient and is part of the process of converting the entire game to RBG 565
2013-08-28ZVISION: Fixed signed/unsigned mismatchrichiesams
2013-08-20ZVISION: Initialize inline with constructionrichiesams
2013-08-20ZVISION: Create method to clear the working window area of the screen to a ↵richiesams
single color
2013-08-20ZVISION: Rename _warpedBuffer to _workingWindowBufferrichiesams
To better represent its function
2013-08-18ZVISION: Allow destinations to be negativerichiesams
2013-08-18ZVISION: Store the background offset from the center instead of from the top ↵richiesams
left corner
2013-08-18ZVISION: Render images by specifying a destination and then clippingrichiesams
Instead of specifying a subRect. This also reverts the code that rendered to a backbuffer and then did a full backbuffer warp. Wrapping is done in the RenderTable
2013-08-16ZVISION: Fix memory corruption in copyTransposedRectToBackBufferrichiesams
2013-08-16ZVISION: Clean up backbuffer memory after we're finished with itrichiesams
2013-08-16ZVISION: Fix copyTransposedRectToBackBufferrichiesams
2013-08-16ZVISION: Only warp the backbuffer if we're in PANORAMA or TILTrichiesams
2013-08-16ZVISION: Only skip the background moving if velocity is 0 instead of ↵richiesams
returning and skipping everything
2013-08-15ZVISION: Fix error using subRectangle.right instead of .toprichiesams
2013-08-15ZVISION: Apply panorama/tilt warping after all images have been rendered to ↵richiesams
a backbuffer This makes wrapped warping much easier as well as allowing changeLocation offsets to work properly
2013-08-14ZVISION: Add background image wrappingrichiesams
There is still a discontinuity when wrapping, but I am committing so that others can look at the code
2013-08-14ZVISION: Add panning supportrichiesams
2013-08-14ZVISION: Create the concept of a working windowrichiesams
The working window is a Rect centered inside the actual window edges. All in-game coordinates are in the working window coordinate system. Also, all images in-game are clipped to the edges of the working window.
2013-08-11ZVISION: Fix memory leakrichiesams
2013-08-11ZVISION: Create methods for converting screen coords to image coordsrichiesams
2013-08-11ZVISION: Remove extraneous _needsScreenUpdate boolrichiesams
2013-08-09ZVISION: Call _system->updateScreen() every framerichiesams
Otherwise the cursor will not be updated
2013-08-05ZVISION: Create image auto screen centering during blittingrichiesams
2013-08-05ZVISION: Add memory cleanup for _currentBackgroundrichiesams
2013-08-05ZVISION: Rename inner variable to prevent variable shadowingrichiesams
2013-08-04ZVISION: Make video code blocking.richiesams
The script system requires that all ResultAction::execute() block until they finish. The video system *was* 'asyncronous' in that you would just start a video and then run() would finish processing it. This code forces the video to complely finish before playVideo returns. The Clock object is used to keep track of deltaTime while the video is playing.
2013-08-04ZVISION: Create RenderManager method to set the current background imagerichiesams
2013-08-04ZVISION: Overload renderImageToScreen to handle fileNames and ReadStreamsrichiesams
2013-08-04ZVISION: Initialize _needsScreenUpdate in RenderManagerrichiesams