aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/graphics/transform_tools.cpp
AgeCommit message (Collapse)Author
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-08-05WINTERMUTE: Fix formatting.Einar Johan Trøan Sømåen
2013-08-01WINTERMUTE; Indentation in transform_*Tobia Tesan
2013-08-01WINTERMUTE: Various explicit castsTobia Tesan
* for floor/ceil output in transform_tools.cpp * for projX/Y in transparent_surface.cpp * in transpaprent_surface.cpp
2013-08-01WINTERMUTE: #define to const for TransformStruct defaultsTobia Tesan
2013-08-01WINTERMUTE: Express 180.0f as float in TransformToolsTobia Tesan
2013-08-01WINTERMUTE: #define to const for TransformStruct defaultsTobia Tesan
2013-08-01WINTERMUTE: Pass structs by const referenceTobia Tesan
2013-08-01WINTERMUTE: // End of namespace WintermuteTobia Tesan
2013-08-01WINTERMUTE: s/*transform/const &transform/Tobia Tesan
2013-08-01WINTERMUTE: FormattingTobia Tesan
2013-08-01WINTERMUTE: *transform as pointer in transform_toolsTobia Tesan
2013-08-01WINTERMUTE: Partial fix for mirrored spritesTobia Tesan
Still weird with rotated + mirrored + scaled sprites. Offset.
2013-07-31WINTERMUTE: Introduce TransformToolsTobia Tesan