Adrian Frühwirth
9bee9e1ba6
JANITORIAL: Fix whitespace
2018-04-19 12:08:31 +02:00
Adrian Frühwirth
cf96f3f709
JANITORIAL: Indent GFXTransaction code blocks
2018-04-15 16:45:25 +02:00
Eugene Sandulenko
f1dd84fdf8
WINTERMUTE: Fix references to TransparentSurface templates
2016-12-26 18:54:44 +01:00
Tobia Tesan
b7bd199193
WINTERMUTE: Call BILINEAR/NEAREST rotoscale and scale according to game option
2016-12-26 12:29:06 +01:00
Willem Jan Palenstijn
c37997aaf8
WINTERMUTE: Remove unused function
...
It calls itself, and is declared pure virtual. Thanks salty-horse.
2015-10-24 22:19:10 +02:00
Einar Johan Trøan Sømåen
2fa1340438
ENGINES: Fix some Doxygen comments that seem wrong.
2014-08-29 03:28:43 +02:00
Eugene Sandulenko
385f8358ab
WINTERMUTE: Switch to use of moved to OSystem TransparentSurface
2014-06-15 15:43:18 +03:00
Matthew Hoops
740b6e8fbd
IMAGE: Move all ImageDecoders to image/
2014-02-28 00:27:28 -05:00
Strangerke
719f8f23ec
WINTERMUTE: Some British to American English
2014-02-19 21:45:30 +01:00
Johannes Schickel
fc5ef58fff
WINTERMUTE: Make GPL headers consistent in themselves.
2014-02-18 02:39:40 +01:00
Strangerke
81f0a5dc42
WINTERMUTE: Janitorial - Remove trailing spaces
2014-02-16 18:41:25 +01:00
Einar Johan Trøan Sømåen
2ad7625831
WINTERMUTE: Change the copyFrom-simplifications to depend on pitch instead of width. (Fix bug #6157 )
2014-02-05 17:18:46 +01:00
Johannes Schickel
1fa74e355c
WINTERMUTE: Two minor formatting fixes.
2014-01-22 17:33:04 +01:00
Einar Johan Trøan Sømåen
2dfbad8074
WINTERMUTE: Avoid using Graphics::copyFrom to copy FMV-frames.
...
copyFrom frees and reallocates the surface for every update, as long
as the dimensions and format stay the same, we can do with just a
memcpy.
This gives a tiny improvement in the update-part of the Theora-player
(on the order of a bit more than 1 second saved total in the 1:28 long
J.U.L.I.A.-intro)
2014-01-21 02:25:18 +01:00
Einar Johan Trøan Sømåen
0b76f66edc
WINTERMUTE: Special-case FMV-handling to not fill the screen with background color.
...
If we have only one thing being drawn, and that is opaque, we can
skip filling the render surface with background color.
This shaves another few wasted cycles of the FMV playback. (Since we
now don’t have to write the entire render surface TWICE).
This reduces the time spent in drawTickets() to ~60% of what it was before.
2014-01-21 01:32:49 +01:00
Einar Johan Trøan Sømåen
cc33cf74ae
WINTERMUTE: Transfer Common::Strings explicitly when saving/loading.
2013-11-05 13:59:55 +01:00
Einar Johan Trøan Sømåen
d07409def7
WINTERMUTE: Transfer Sint32s explicitly when saving/loading.
2013-11-05 13:48:11 +01:00
Einar Johan Trøan Sømåen
d6b9d7de8f
WINTERMUTE: Remove BasePlatform::setRect (replace with member-call)
2013-10-29 02:59:53 +01:00
Einar Johan Trøan Sømåen
3fb4183909
WINTERMUTE: Remove BasePlatform::setRectEmpty (replace with member-call)
2013-10-29 02:59:53 +01:00
Willem Jan Palenstijn
2271bf404c
WINTERMUTE: Remove superfluous assignments
2013-10-09 11:29:13 +02:00
Willem Jan Palenstijn
f248a09f0f
WINTERMUTE: Fix displayTransOffset
...
Regression from 14cb1f09c0 .
This fixes font border drawing.
2013-10-08 23:30:21 +02:00
Willem Jan Palenstijn
7a3fb2f06a
WINTERMUTE: Call updateScreen() every frame, even without updates.
...
This fixes expose events with the opengl backend.
2013-10-07 19:49:17 +02:00
Willem Jan Palenstijn
2b926cbe48
WINTERMUTE: Fix typo causing tiled image corruption
2013-10-06 23:17:05 +02:00
Willem Jan Palenstijn
14cb1f09c0
WINTERMUTE: Partially fix rotoscale coordinate confusion
...
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-10-06 17:34:19 +02:00
Willem Jan Palenstijn
f19fd06e24
WINTERMUTE: Remove outdated comment
2013-10-06 14:24:42 +02:00
Willem Jan Palenstijn
ead4e83180
WINTERMUTE: Remove presumably outdated off-by-one correction
...
This correction no longer seems to be necessary, and removes an
off-by-one in the J.U.L.I.A. Demo main menu screen.
2013-10-06 14:24:38 +02:00
Willem Jan Palenstijn
25bff46fe6
WINTERMUTE: Update full screen on ScreenChanged
...
This fixes the screen not updating after e.g., scaler changes.
Bug #3594245 .
2013-10-03 22:00:21 +02:00
Willem Jan Palenstijn
98efd44407
WINTERMUTE: Remove unused _drawNum
2013-10-02 10:54:43 +02:00
Willem Jan Palenstijn
408880fa54
WINTERMUTE: Fix regression with _skipThisFrame
...
This broke loading in Broken Circle demo.
We now reset the queue state when skipping a frame, and re-use
lastFrameIter instead of keeping track of lastAddedTicket separately.
2013-10-02 09:39:07 +02:00
Willem Jan Palenstijn
92bd22b1d5
WINTERMUTE: Fix regression in ticketing
...
This caused a crash when pressing 'New Game' in the Black Circle demo.
Regression from 544e4a2f49 .
2013-10-02 00:41:18 +02:00
Willem Jan Palenstijn
2ec84600a9
WINTERMUTE: Fix up doxygen comment
2013-10-01 08:11:27 +02:00
Willem Jan Palenstijn
8e58be7a1d
Merge branch 'master' into wme_rendering
2013-09-30 22:05:32 +02:00
Willem Jan Palenstijn
057b01951a
WINTERMUTE: Add displayTiled function to replace repeatLastDraw
...
This avoids queueing many tickets for a UITiledImage, replacing
them by a single tiled ticket.
2013-09-30 22:03:48 +02:00
Einar Johan Trøan Sømåen
48ad18d266
Merge branch 'refac'
...
Conflicts:
engines/wintermute/graphics/transparent_surface.cpp
engines/wintermute/graphics/transparent_surface.h
2013-09-30 11:23:57 +02:00
Willem Jan Palenstijn
af8fa194be
WINTERMUTE: Remove almost unused _colorMod field
...
The one actual use of this left-over variable was a bug breaking at
least menu text color in Chivalry when dirty rects were disabled.
2013-09-30 09:38:32 +02:00
Willem Jan Palenstijn
265f7e463e
WINTERMUTE: Cleanup
2013-09-26 10:49:25 +02:00
Willem Jan Palenstijn
efdf2d3ab7
WINTERMUTE: Remove ticket->_drawNum
2013-09-26 02:17:31 +02:00
Willem Jan Palenstijn
4386889dd5
WINTERMUTE: Remove left-over asserts
2013-09-26 02:17:31 +02:00
Willem Jan Palenstijn
4aa4c427da
WINTERMUTE: Remove unnecessary loop
2013-09-26 02:17:28 +02:00
Willem Jan Palenstijn
544e4a2f49
WINTERMUTE: No longer update ticket->_drawNum
2013-09-26 02:17:26 +02:00
Willem Jan Palenstijn
6d1ca9d94e
WINTERMUTE: No longer use ticket->_drawNum
2013-09-26 02:17:26 +02:00
Willem Jan Palenstijn
b27ac796d8
WINTERMUTE: Remove unnecessary re-iteration
2013-09-26 02:17:26 +02:00
Willem Jan Palenstijn
dbbf95ca50
WINTERMUTE: Mirror _drawNum with an iterator
2013-09-26 02:17:22 +02:00
Willem Jan Palenstijn
c6220a9cd1
WINTERMUTE: Remove _tempDisableDirtyRects
2013-09-26 02:17:05 +02:00
Willem Jan Palenstijn
aa24cb5e8d
WINTERMUTE: Remove ticket batching
2013-09-26 02:17:05 +02:00
Tobia Tesan
d6c21f8c1e
WINTERMUTE: Pass blendMode to blit() in RenderTicket.
2013-09-23 19:06:57 +02:00
Tobia Tesan
efc4284b42
WINTERMUTE: Keep _alphaMode private in TransparentSurface
2013-09-21 23:22:06 +02:00
Tobia Tesan
64a3294ec5
WINTERMUTE: Cast zoom inside display(Trans?)Zoom
2013-09-18 18:19:19 +02:00
Eugene Sandulenko
bc1a21f210
Merge pull request #387 from tobiatesan/trim_arguments
...
WINTERMUTE: Remove useless Rect extra argument from fadeToColor.
2013-09-12 10:54:37 -07:00
Tobia Tesan
4fec6dd361
WINTERMUTE: Remove useless Rect extra argument from fadeToColor.
...
It is not used anywhere, and Mnemonic has confirmed that the original
engine does NOT support anything but full screen fades.
2013-08-29 02:01:16 +02:00