Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-11-01 | ZVISION: Create a folder structure for ZVision source files | RichieSams | |
I personally used filters within my IDE, but since others are now joining the project, it was brought to my attention that some better organization would be nice. | |||
2013-10-04 | ZVISION: Remove Vector2 class | RichieSams | |
Originally, the render table needed int32 (x, y) coords, so I created a copy of Common::Point that used int32. After some code changes, the render table reverted to int16 coords. Therefore, this class is unnessessary since Common::Point uses int16 coords. | |||
2013-10-02 | ZVISION: Standardize includes order and format | RichieSams | |
Format is: common/scummsys.h (Only if a .cpp file) header file for this file (Only if a .cpp file) zengine includes other includes, grouped by module | |||
2013-10-02 | ZVISION: Convert all for-loops to use pre-increment instead of post-increment | RichieSams | |
2013-09-24 | ZVISION: Remove CLIPs from mutateImage | RichieSams | |
Due to the math of the Panorama/Tilt, all pixel offsets are going to be closer to the center of the image. Also, mutateImage is now being called on a finished buffer, rather than an image at a time. Therefore, it no longer has to handle image wrapping. Thus, there is no case in which a pixel offset would be outside the image bounds. | |||
2013-09-22 | ZVISION: Fix signed/unsigned mismatch | RichieSams | |
2013-09-07 | ZVISION: Add dirty rectangling support for pure image rendering | RichieSams | |
Still need to add support for ResultActions and Controls that directly use OSystem::copyRectToScreen() | |||
2013-09-06 | ZVISION: Fix signed/unsigned mismatch | RichieSams | |
2013-09-06 | ZVISION: Do full working window warp instead of image at a time | RichieSams | |
2013-09-24 | ZVISION: Fix tilt render table comment | richiesams | |
2013-09-24 | ZVISION: Add default values for tilt options | richiesams | |
2013-09-24 | ZVISION: Implement TILT RenderTable creation | richiesams | |
2013-09-24 | ZVISION: Fix typo in point range clipping | richiesams | |
2013-09-24 | ZVISION: Remove extraneous TODO | richiesams | |
After redoing the math, I now know that the algorithm requires for(x) { for(y) {}} | |||
2013-09-24 | ZVISION: Force comparison to be between signed ints and ensure CLIP happens ↵ | richiesams | |
on a signed int | |||
2013-09-24 | ZVISION: Transpose is done in RenderManager::readImageToSurface(), so remove ↵ | richiesams | |
it from mutateImage | |||
2013-08-18 | ZVISION: Change the CLIP template argument to match the type of the indicies | richiesams | |
2013-08-18 | ZVISION: Protect against indicies that are more than an imageWidth/Height ↵ | richiesams | |
from the actual image dimensions | |||
2013-08-18 | ZVISION: Allow RenderTable indicies to be negative | richiesams | |
2013-08-18 | ZVISION: Render images by specifying a destination and then clipping | richiesams | |
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-15 | ZVISION: 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-15 | ZVISION: Rename variables and add comments to clarify the math behind ↵ | richiesams | |
panorama warping | |||
2013-08-14 | ZVISION: Clip coords outside the working window | richiesams | |
2013-08-14 | ZVISION: Slight function name change to increase clarity | richiesams | |
2013-08-11 | ZVISION: Create methods for converting screen coords to image coords | richiesams | |
2013-08-04 | ZVISION: Remove extraneous comments | richiesams | |
2013-08-04 | ZVISION: Offset the RenderTable index by the normalized coords, not the ↵ | richiesams | |
subRect coords | |||
2013-08-04 | ZVISION: Optimize integer type usages | richiesams | |
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-04 | ZVISION: Add 'reverse' to _tiltOptions and _panoramaOptions to handle ↵ | richiesams | |
Control options | |||
2013-08-04 | ZVISION: Create mutators for _tiltOptions | richiesams | |
2013-08-04 | ZVISION: Fix compilation | Filippos Karapetis | |
2013-08-04 | ZVISION: Change default panorama FoV to 27 degrees | richiesams | |
This is to match Marisa Chan's implementation. Images at this FoV also look better. | |||
2013-08-04 | ZVISION: Fix closing braces on generateTiltLookupTable | richiesams | |
2013-08-04 | ZVISION: Create methods for altering panoramaOptions and create console ↵ | richiesams | |
commands for them | |||
2013-08-04 | ZVISION: Move generating the RenderTable to outside setRenderState | richiesams | |
This allows the panorama/tilt options to mutated without having to generate the table multiple times. | |||
2013-08-04 | ZVISION: Rename Point template class to Vector2 | richiesams | |
Also remove templating | |||
2013-08-04 | ZVISION: Create function for mixing two RGB<555> colors | richiesams | |
2013-08-04 | ZVISION: Convert panoramaOptions and tiltOptions to floats | richiesams | |
2013-08-04 | ZVISION: 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-04 | ZVISION: Fix error causing image discontinutities | richiesams | |
The width and height were swapped when passed to the class constructor. | |||
2013-08-04 | ZVISION: Modify the RenderTable panorama math to account for panoramas being ↵ | richiesams | |
transposed | |||
2013-08-04 | ZVISION: Create a class for handling all render table logic | richiesams | |
Aka, creating the lookup tables, storing the current render state, and eventually doing the image mutations. |