aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision/render_table.cpp
AgeCommit message (Collapse)Author
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-06ZVISION: Fix signed/unsigned mismatchRichieSams
2013-09-06ZVISION: Do full working window warp instead of image at a timeRichieSams
2013-09-24ZVISION: Fix tilt render table commentrichiesams
2013-09-24ZVISION: Add default values for tilt optionsrichiesams
2013-09-24ZVISION: Implement TILT RenderTable creationrichiesams
2013-09-24ZVISION: Fix typo in point range clippingrichiesams
2013-09-24ZVISION: Remove extraneous TODOrichiesams
After redoing the math, I now know that the algorithm requires for(x) { for(y) {}}
2013-09-24ZVISION: Force comparison to be between signed ints and ensure CLIP happens ↵richiesams
on a signed int
2013-09-24ZVISION: Transpose is done in RenderManager::readImageToSurface(), so remove ↵richiesams
it from mutateImage
2013-08-18ZVISION: Change the CLIP template argument to match the type of the indiciesrichiesams
2013-08-18ZVISION: Protect against indicies that are more than an imageWidth/Height ↵richiesams
from the actual image dimensions
2013-08-18ZVISION: Allow RenderTable indicies to be negativerichiesams
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-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-15ZVISION: Rename variables and add comments to clarify the math behind ↵richiesams
panorama warping
2013-08-14ZVISION: Clip coords outside the working windowrichiesams
2013-08-14ZVISION: Slight function name change to increase clarityrichiesams
2013-08-11ZVISION: Create methods for converting screen coords to image coordsrichiesams
2013-08-04ZVISION: Remove extraneous commentsrichiesams
2013-08-04ZVISION: Offset the RenderTable index by the normalized coords, not the ↵richiesams
subRect coords
2013-08-04ZVISION: Optimize integer type usagesrichiesams
The general thought is int is faster than int16 or byte. So if you can afford the space, use it over int16 or byte. Also, only use int32 when you specifically need the 32 bits.
2013-08-04ZVISION: Add 'reverse' to _tiltOptions and _panoramaOptions to handle ↵richiesams
Control options
2013-08-04ZVISION: Create mutators for _tiltOptionsrichiesams
2013-08-04ZVISION: Fix compilationFilippos Karapetis
2013-08-04ZVISION: Change default panorama FoV to 27 degreesrichiesams
This is to match Marisa Chan's implementation. Images at this FoV also look better.
2013-08-04ZVISION: Fix closing braces on generateTiltLookupTablerichiesams
2013-08-04ZVISION: Create methods for altering panoramaOptions and create console ↵richiesams
commands for them
2013-08-04ZVISION: Move generating the RenderTable to outside setRenderStaterichiesams
This allows the panorama/tilt options to mutated without having to generate the table multiple times.
2013-08-04ZVISION: Rename Point template class to Vector2richiesams
Also remove templating
2013-08-04ZVISION: Create function for mixing two RGB<555> colorsrichiesams
2013-08-04ZVISION: Convert panoramaOptions and tiltOptions to floatsrichiesams
2013-08-04ZVISION: Convert RenderTable to only storing (x,y) offsets instead of ↵richiesams
absolute postions. This allows the destRectangle to be offset within the RenderTable
2013-08-04ZVISION: Fix error causing image discontinutitiesrichiesams
The width and height were swapped when passed to the class constructor.
2013-08-04ZVISION: Modify the RenderTable panorama math to account for panoramas being ↵richiesams
transposed
2013-08-04ZVISION: Create a class for handling all render table logicrichiesams
Aka, creating the lookup tables, storing the current render state, and eventually doing the image mutations.