Einar Johan Trøan Sømåen
|
9fb15a909c
|
Merge pull request #354 from tobiatesan/wintermute_rotozoom_3
WINTERMUTE: Wintermute rotozoom 3
|
2013-08-01 02:08:21 -07:00 |
|
Tobia Tesan
|
c32769e0b7
|
WINTERMUTE; Indentation in transform_*
|
2013-08-01 02:51:40 +02:00 |
|
Tobia Tesan
|
e3381cff0d
|
WINTERMUTE: #ifdef ENABLE_BILINEAR -> #if ENBABLE_BILINEAR
|
2013-08-01 02:17:32 +02:00 |
|
Tobia Tesan
|
204c75bc27
|
WINTERMUTE: s/255,255,255,255/kDefaultMod/
|
2013-08-01 02:17:31 +02:00 |
|
Tobia Tesan
|
1c25eb2490
|
WINTERMUTE: Formatting
|
2013-08-01 02:17:31 +02:00 |
|
Tobia Tesan
|
b5adcda947
|
WINTERMUTE: s/WINTERMUTE_TRANSFORMTOOLS_H/WINTERMUTE_TRANSFORM_TOOLS_H/
|
2013-08-01 02:17:30 +02:00 |
|
Tobia Tesan
|
56aa1297d1
|
WINTERMUTE: Bring consts inside namespace in transform_struct.h
|
2013-08-01 02:17:29 +02:00 |
|
Tobia Tesan
|
d83e4e1268
|
WINTERMUTE: FActor out TransformStruc initialization in repeatLastDraw loop
|
2013-08-01 02:17:28 +02:00 |
|
Tobia Tesan
|
14d151ab31
|
WINTERMUTE: Fix #ifdef in transparent_surface.[h|cpp]
|
2013-08-01 02:17:25 +02:00 |
|
Tobia Tesan
|
1a8a9bab86
|
WINTERMUTE: Compile bilinear copy only if needed
|
2013-08-01 02:17:25 +02:00 |
|
Tobia Tesan
|
86c8d238a4
|
WINTERMUTE: const Common::Rect rect& in rect32.h
|
2013-08-01 02:15:01 +02:00 |
|
Tobia Tesan
|
381df0c64a
|
WINTERMUTE: Various explicit casts
* for floor/ceil output in transform_tools.cpp
* for projX/Y in transparent_surface.cpp
* in transpaprent_surface.cpp
|
2013-08-01 02:10:42 +02:00 |
|
Tobia Tesan
|
567cd1eb12
|
WINTERMUTE: zoom parameter in display*** is now integer
|
2013-08-01 00:24:44 +02:00 |
|
Tobia Tesan
|
566495de3b
|
WINTERMUTE: Remove unused variable in transparent_surface.cpp
|
2013-08-01 00:24:43 +02:00 |
|
Tobia Tesan
|
f872d31678
|
WINTERMUTE: Fix type-related warnings in base_surface_osystem.cpp
|
2013-08-01 00:24:43 +02:00 |
|
Tobia Tesan
|
1ecdd2d61a
|
WINTERMUTE: #define to const for TransformStruct defaults
|
2013-08-01 00:23:51 +02:00 |
|
Tobia Tesan
|
aeb4c09538
|
WINTERMUTE: Doxygen comments in TransformStruct
|
2013-08-01 00:21:36 +02:00 |
|
Tobia Tesan
|
0d407fd206
|
WINTERMUTE: Express 180.0f as float in TransformTools
|
2013-08-01 00:21:35 +02:00 |
|
Tobia Tesan
|
d2d72c0110
|
WINTERMUTE: #define to const for TransformStruct defaults
|
2013-08-01 00:21:25 +02:00 |
|
Tobia Tesan
|
63b8132ea3
|
WINTERMUTE: Remove single-argument zoom, rename mirrorX => getMirrorX() in transform_struct.h
|
2013-08-01 00:14:29 +02:00 |
|
Tobia Tesan
|
06ec006766
|
WINTERMUTE: Remove redeclaration in render_ticket.cpp
|
2013-08-01 00:06:41 +02:00 |
|
Tobia Tesan
|
286b1d11ca
|
WINTERMUTE: Use Rect::width() and height() in base_surface_osystem.cpp
|
2013-08-01 00:06:40 +02:00 |
|
Tobia Tesan
|
64db90ed67
|
WINTERMUTE: TransformStruct by reference in engines/wintermute/base/gfx/osystem/base_render_osystem.h
|
2013-08-01 00:06:40 +02:00 |
|
Tobia Tesan
|
9d4def3bfd
|
WINTERMUTE: Fix alpha bug in BaseRenderOSystem::fadeToColor
Introduced in 37b1ff3, broke fade-in/fade-outs
|
2013-08-01 00:06:39 +02:00 |
|
Tobia Tesan
|
9cfea04846
|
WINTERMUTE: Formatting
|
2013-08-01 00:06:39 +02:00 |
|
Tobia Tesan
|
4405a534e5
|
WINTERMUTE: Remove set[Color|Alpha]Mod altogether
|
2013-08-01 00:06:38 +02:00 |
|
Tobia Tesan
|
5a9e917a60
|
WINTERMUTE: Fix operator precedence in scale()
|
2013-08-01 00:06:38 +02:00 |
|
Tobia Tesan
|
6f03fbac84
|
WINTERMUTE: Pass structs by const reference
|
2013-08-01 00:06:38 +02:00 |
|
Tobia Tesan
|
163cd6a528
|
WINTERMUTE: Constants
|
2013-08-01 00:06:37 +02:00 |
|
Tobia Tesan
|
ab022b1798
|
WINTERMUTE: // End of namespace Wintermute
|
2013-08-01 00:06:37 +02:00 |
|
Tobia Tesan
|
a0561f1aa5
|
WINTERMUTE: Fix calculation of inverse angles
|
2013-08-01 00:06:36 +02:00 |
|
Tobia Tesan
|
9f97ad6a3e
|
WINTERMUTE: s/*transform/const &transform/
|
2013-08-01 00:04:21 +02:00 |
|
Tobia Tesan
|
f014cccb94
|
WINTERMUTE: Formatting
|
2013-08-01 00:03:50 +02:00 |
|
Tobia Tesan
|
0153f762b1
|
WINTERMUTE: Defaults -> float
|
2013-08-01 00:03:49 +02:00 |
|
Tobia Tesan
|
dafcef5c9f
|
WINTERMUTE: Replace normalization loop with if() for legibility
|
2013-08-01 00:03:49 +02:00 |
|
Tobia Tesan
|
1b9967400d
|
WINTERMUTE: Use constants from transform_tools for consistency
|
2013-08-01 00:03:48 +02:00 |
|
Tobia Tesan
|
b6ed5ee816
|
WINTERMUTE: Reinstate rgbaMod comparisons for compare-tickets
|
2013-08-01 00:03:47 +02:00 |
|
Tobia Tesan
|
ae589c41ff
|
WINTERMUTE: Deprecate setAlphaMod, setColorMod
|
2013-08-01 00:03:47 +02:00 |
|
Tobia Tesan
|
285ed18979
|
WINTERMUTE: Rename rotate() -> rotoscale() for consistency
|
2013-08-01 00:03:47 +02:00 |
|
Tobia Tesan
|
b34d7b7539
|
WINTERMUTE: *transform as pointer in transform_tools
|
2013-08-01 00:03:46 +02:00 |
|
Tobia Tesan
|
0b21d6dca2
|
WINTERMUTE: Fix alpha bug in engines/wintermute/base/gfx/osystem/base_surface_osystem.cpp
This fixes the "TV static" bug in J.U.L.I.A.
|
2013-08-01 00:03:43 +02:00 |
|
Tobia Tesan
|
8bed134ad6
|
WINTERMUTE: Force angle normalization
This fixes the issues in J.U.L.I.A.
|
2013-08-01 00:02:57 +02:00 |
|
Tobia Tesan
|
b788ae7f38
|
WINTERMUTE: Swap flip bits
|
2013-08-01 00:02:49 +02:00 |
|
Tobia Tesan
|
d2a249384e
|
WINTERMUTE: Partial fix for mirrored sprites
Still weird with rotated + mirrored + scaled sprites. Offset.
|
2013-08-01 00:02:49 +02:00 |
|
Tobia Tesan
|
e47deb0e0e
|
WINTERMUTE: Rename pixel copy functions
|
2013-08-01 00:02:48 +02:00 |
|
Tobia Tesan
|
e30ab15bb0
|
WINTERMUTE: Move if() outside transform loop
|
2013-08-01 00:02:48 +02:00 |
|
Tobia Tesan
|
321c7f0716
|
WINTERMUTE: Removed useless argument from rotate()
|
2013-08-01 00:02:47 +02:00 |
|
Tobia Tesan
|
58e096de97
|
WINTERMUTE: Add rotation
Add actual rotation code, make ticket-system transformStruct-aware
|
2013-08-01 00:02:47 +02:00 |
|
Tobia Tesan
|
cced42a765
|
WINTERMUTE: Add cast op Common::Rect => Rect32
|
2013-08-01 00:02:36 +02:00 |
|
Tobia Tesan
|
384dd8da7e
|
WINTERMUTE: Bilinear scaling.
Refactor scale(), factor out actual mapping algorithm, add bilinear
scaling
|
2013-07-31 23:58:23 +02:00 |
|