Einar Johan Trøan Sømåen
237d3d86ec
WINTERMUTE: Transfer Char* explicitly when saving/loading.
2013-11-05 13:54:25 +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
7892188bcf
WINTERMUTE: Transfer Uint32s explicitly when saving/loading.
2013-11-05 13:31:13 +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
efb8031b3c
WINTERMUTE: Remove BasePlatform::isRectEmpty (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
Einar Johan Trøan Sømåen
211b8c9732
WINTERMUTE: Remove unused BasePlatform-functions (showWindow/setCapture/releaseCapture)
2013-10-29 02:59:53 +01:00
Einar Johan Trøan Sømåen
4c3c707671
WINTERMUTE: Transfer Doubles explicitly when saving/loading.
2013-10-29 02:59:53 +01:00
Einar Johan Trøan Sømåen
538c5935f9
WINTERMUTE: Transfer Point32s explicitly when saving/loading.
2013-10-29 02:59:53 +01:00
Einar Johan Trøan Sømåen
95d2ed1a9b
WINTERMUTE: Transfer Rect32s explicitly when saving/loading.
2013-10-29 02:59:52 +01:00
Einar Johan Trøan Sømåen
dc4e3150f3
WINTERMUTE: Correct some doxygen-comments in TransparentSurface.
2013-10-29 02:59:52 +01:00
Einar Johan Trøan Sømåen
047a7171ee
WINTERMUTE: Transfer Vector2s explicitly when saving/loading.
2013-10-29 02:59:52 +01:00
Einar Johan Trøan Sømåen
ee5adb84c5
WINTERMUTE: Transfer bytes explicitly when saving/loading.
2013-10-29 02:59:52 +01:00
Einar Johan Trøan Sømåen
6b4adab654
WINTERMUTE: Transfer booleans explicitly when saving/loading.
2013-10-28 19:19:12 +01:00
Einar Johan Trøan Sømåen
ba17ed9490
WINTERMUTE: Change BaseObject::getHeight() to return int32 instead of int.
2013-10-28 18:38:17 +01:00
Einar Johan Trøan Sømåen
889c3c9801
WINTERMUTE: Deconstify UIObject::getHeight() to fix a shadowed overload.
2013-10-28 18:37:20 +01:00
Einar Johan Trøan Sømåen
ad58641242
WINTERMUTE: Fix compile errors in XCode 5 caused by nullptr-issues.
2013-10-28 18:23:05 +01:00
Matthew Hoops
821a7430da
WINTERMUTE: Remove useless __inline
2013-10-17 23:39:05 -04: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
8c8b1b7da7
WINTERMUTE: Integrate SDL_rotozoom code for scale/rotoscale
2013-10-06 17:36:32 +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
15d57c8a9c
WINTERMUTE: Let pixel blending functions be inlined
2013-10-05 17:45:00 +02:00
Willem Jan Palenstijn
0e2cf28d99
WINTERMUTE: Speed up scale()
...
This is a tweaked version of a patch from eriktorbjorn.
2013-10-05 00:10:09 +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
3384befff7
WINTERMUTE: Add missing break
...
Confirmed by Mnemonic.
2013-10-03 11:14:31 +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
Filippos Karapetis
db5ff22410
WINTERMUTE: Handle invalid file access in Carol Reed 6: Black Circle
2013-10-02 00:45:29 +03:00
Willem Jan Palenstijn
a979072410
WINTERMUTE: Clean up byte/char casts in loading/parsing
2013-10-01 23:20:43 +02:00
Willem Jan Palenstijn
e0dd19a21c
WINTERMUTE: Fix broken uint32/ulong cast
2013-10-01 23:20:42 +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
Eugene Sandulenko
5cc0850a67
WINTERMUTE: Fix compiler warnings
2013-09-30 14:36:59 +03: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
Einar Johan Trøan Sømåen
ccd3258bdc
WINTERMUTE: Use ; and not , to separate delete and new.
2013-09-30 11:19:54 +02:00
Einar Johan Trøan Sømåen
12e7cb401f
WINTERMUTE: Formatting with Astyle (UIButton, UIEdit, UIObject, UIWindow, TransparentSurface)
2013-09-30 11:18:54 +02:00
Einar Johan Trøan Sømåen
15d98724d8
WINTERMUTE: Formatting (Clean up extra whitespace in UIObject).
2013-09-30 11:13:29 +02:00
Einar Johan Trøan Sømåen
5afb297e39
WINTERMUTE: Constify some getters in TransparentSurface, UIObject and UIWindow
2013-09-30 11:12:25 +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
1c3202794a
WINTERMUTE: Fix typo in comment
2013-09-29 22:49:07 +02:00
Willem Jan Palenstijn
2242917dda
WINTERMUTE: Do antialiased TT font rendering
2013-09-29 22:27:56 +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
Willem Jan Palenstijn
ade516a996
WINTERMUTE: Fix warning
2013-09-26 02:16:20 +02:00
Einar Johan Trøan Sømåen
f5fa2edd22
WINTERMUTE: Remove asserts in Blend-functions in TransparentSurface.
2013-09-23 19:07:24 +02:00
Tobia Tesan
d6c21f8c1e
WINTERMUTE: Pass blendMode to blit() in RenderTicket.
2013-09-23 19:06:57 +02:00
Tobia Tesan
b4161f54b6
WINTERMUTE: Add support for additive/subtractive blending in TransparentSurface
2013-09-23 19:06:32 +02:00
Tobia Tesan
c0c3854fe2
WINTERMUTE: Match type of angle constant to struct in TransformStruct, silence warnings
2013-09-23 19:05:58 +02:00
Tobia Tesan
f7a9e921ae
WINTERMUTE: Formatting
2013-09-21 23:22:50 +02:00
Tobia Tesan
1023ac4b33
WINTERMUTE: const'ify getters
2013-09-21 23:22:48 +02:00
Tobia Tesan
5b8a6885c6
WINTERMUTE: s/put/set/ in setters
2013-09-21 23:22:46 +02:00
Tobia Tesan
2a977dec8c
WINTERMUTE: add UIButton::setTextAlign
2013-09-21 23:22:43 +02:00
Tobia Tesan
417bf3db02
WINTERMUTE: Make sprites private in UIButton
2013-09-21 23:22:41 +02:00
Tobia Tesan
1869481767
WINTERMUTE: Setters/getters for UIButton
2013-09-21 23:22:37 +02:00
Tobia Tesan
59f4a9e7ac
WINTERMUTE: Keep some attributes private in UIButton
2013-09-21 23:22:35 +02:00
Tobia Tesan
b22eaaa98a
WINTERMUTE: Keep attributes private in UIEdit
2013-09-21 23:22:32 +02:00
Tobia Tesan
1361fcde7c
WINTERMUTE: Avoid feeding setWidth negative values
2013-09-21 23:22:27 +02:00
Tobia Tesan
91ebad46d3
WINTERMUTE: Keep _back private in UIObject
2013-09-21 23:22:25 +02:00
Tobia Tesan
252e0c17ec
WINTERMUTE: Make _parentNotify private in UIObject
2013-09-21 23:22:23 +02:00
Tobia Tesan
aafe8c1f0d
WINTERMUTE: Add getListener()
2013-09-21 23:22:19 +02:00
Tobia Tesan
2e457d96e8
WINTERMUTE: Make some members of UIObject private
2013-09-21 23:22:16 +02:00
Tobia Tesan
b033850e8a
WINTERMUTE: Keep attributes in UIWindow private
2013-09-21 23:22:12 +02:00
Tobia Tesan
38369687fe
WINTERMUTE: Make TextAlign private in UIText
2013-09-21 23:22:10 +02:00
Tobia Tesan
6e21111847
WINTERMUTE: Make *_entity private in UIEntity
2013-09-21 23:22:08 +02:00
Tobia Tesan
efc4284b42
WINTERMUTE: Keep _alphaMode private in TransparentSurface
2013-09-21 23:22:06 +02:00
Tobia Tesan
2c4d5ae622
WINTERMUTE: Cast rotate in base_sub_frame
2013-09-18 18:19:19 +02:00
Tobia Tesan
9578bab703
WINTERMUTE: Explicitly cast zoom for float version of TransformStruct
2013-09-18 18:19:19 +02:00
Tobia Tesan
64a3294ec5
WINTERMUTE: Cast zoom inside display(Trans?)Zoom
2013-09-18 18:19:19 +02:00
Tobia Tesan
83ea7b7d94
WINTERMUTE: Fix types in transform_struct for coherence; this silences warnings
2013-09-18 18:19:09 +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
Einar Johan Trøan Sømåen
1c091ca1ff
WINTERMUTE: Swap dpi and font-height to be the right-way around.
2013-09-08 23:25:23 +02:00
Willem Jan Palenstijn
023914d121
WINTERMUTE: Disambiguate empty and NULL strings when saving
...
The string stored is now strlen(s)+1, with length 0 indicating NULL.
Increment savegame version for this new format.
Old savegames are fixed by assuming VAL_STRING should never be NULL.
2013-09-05 22:12:49 +02:00
Willem Jan Palenstijn
dd9ab7accb
WINTERMUTE: Don't clean up _scripts mid-iteration
...
Scripts executing from ScEngine::tick() can call
ScEngine::unbreakableTick() via scCallMethod("SaveGame") and
applyEvent("BeforeSave").
This recursive execution could cause finished scripts being removed
from _scripts while ScEngine::tick() is still iterating over that array.
2013-09-05 20:23:42 +02: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
Willem Jan Palenstijn
e432d0a83f
WINTERMUTE: Remove duplicate code
2013-08-27 00:32:24 +02:00
Willem Jan Palenstijn
e88ce8d963
WINTERMUTE: Simplify string matching
2013-08-27 00:00:37 +02:00
Willem Jan Palenstijn
e5f9cb3cbb
WINTERMUTE: Fix and clean up BaseSurfaceOSystem::finishLoad()
...
This fixes a couple of cases which fell through the cracks of the
previous chain of conditions, including 16bpp images and 32bpp images
without alpha. The latter partially fixes bug #3600667 .
2013-08-26 23:25:27 +02:00
Willem Jan Palenstijn
2141ad285e
WINTERMUTE: Fix colormod with alpha blending
...
Now apply colormod only to the src color instead of to the dst.
The original code did this inconsistently depending on if the
colormod was 0 or not.
2013-08-25 23:36:53 +02:00
Willem Jan Palenstijn
e9cbda135b
WINTERMUTE: Fix alpha blending with colormod
...
This fixes numerous transparency effects in J.U.L.I.A.
2013-08-25 23:21:19 +02:00
Willem Jan Palenstijn
2597c884d3
WINTERMUTE: Fix warning
2013-08-24 12:13:37 +02:00
Einar Johan Trøan Sømåen
2049f53621
WINTERMUTE: Replace CP1252-symbol ... with 3 full stops.
2013-08-20 18:31:45 +02:00
Einar Johan Trøan Sømåen
ea19c4162d
WINTERMUTE: Add binary alpha-blitting.
...
For now, no RLE, or anything, but the infrastructure for it
is put in place here.
2013-08-20 18:00:17 +02:00
Einar Johan Trøan Sømåen
e824ebaa44
WINTERMUTE: Change pixel-format to RGBA.
2013-08-20 16:52:29 +02:00
Einar Johan Trøan Sømåen
913f03a2ba
WINTERMUTE: Avoid doing alpha-blits when image doesn't have alpha.
...
Also detect images with only binary alpha.
2013-08-20 15:25:01 +02:00
Willem Jan Palenstijn
91c2f8fb09
WINTERMUTE: Don't use a lookup table for alpha
...
This gives a drawTickets() speed increase of about 10% in the JULIA demo
(on a core i7 920).
2013-08-19 23:14:20 +02:00
JenniBee
ddef75f5fc
WINTERMUTE: Adding detection for more games.
2013-08-19 09:36:03 -04:00
Tobia Tesan
a653ae20d5
WINTERMUTE: Fix offset calculation with partial rects when sprites are mirrored.
...
This fixes the dress bug, aka Rosemary appearing "jigsawed" when passing
over her with the cursor when she is facing east.
See bug #3592907
2013-08-16 00:44:27 +02:00
Tobia Tesan
21314e2389
WINTERMUTE: Fix computation of _renderRect.
...
This reverts the changes in 4cf1d671
.
Fixes the "notebook bug" - i.e. the notebook being only partially
drawn - in Dirty Split.
2013-08-16 00:42:58 +02:00
Willem Jan Palenstijn
0aa669cc47
WINTERMUTE: Fix (still disabled) modTargetRect logic
...
Width and height were computed incorrectly.
Also, the shift by _renderRect is not necessary since that was to compensate
for the coordinate translation done by the original SDL_RenderSetViewport,
which we don't perform.
2013-08-16 00:40:28 +02:00
Einar Johan Trøan Sømåen
9ea315747e
WINTERMUTE: Be explicit when storing Floats in savegames.
2013-08-13 19:09:08 +02:00
Einar Johan Trøan Sømåen
693c8ca5cc
WINTERMUTE: Add atleast some comments to the renderTicket-system.
2013-08-13 18:46:03 +02:00
Einar Johan Trøan Sømåen
41c1ea29b3
WINTERMUTE: Add detection for Blue Madonna-demo.
2013-08-12 00:33:41 +02:00
Einar Johan Trøan Sømåen
7306979f6d
WINTERMUTE: Fix uninitialized scalar field (CID1060922)
2013-08-09 18:28:06 +02:00
Einar Johan Trøan Sømåen
a1d02cbe97
WINTERMUTE: Avoid setting alpha-image when filename is ""
2013-08-09 18:20:04 +02:00
Johannes Schickel
7f8308e0eb
Merge pull request #365 from lordhoto/protected-pixels
...
Make Graphics::Surface::pixels protected.
2013-08-07 12:24:59 -07:00
Johannes Schickel
e5f0c42a65
WINTERMUTE: Fix incorrect parameter order for getBasePtr.
...
This is a regression from 19fa89b8f5
. Thanks to
fuzzie for noticing.
2013-08-06 20:11:27 +02:00
Einar Johan Trøan Sømåen
a932e51b14
WINTERMUTE: Fix formatting.
2013-08-05 03:25:22 +02:00
Johannes Schickel
b95858bb91
WINTERMUTE: Small formatting fixes.
2013-08-04 00:53:25 +02:00
Johannes Schickel
1ce54c217a
WINTERMUTE: Fix end of namespace comments.
2013-08-04 00:51:09 +02:00
Johannes Schickel
d5298006f3
WINTERMUTE: Do not set Surface::pixels directly anymore.
2013-08-03 04:14:08 +02:00
Johannes Schickel
0ee407c44b
WINTERMUTE: Take advantage of Surface::getPixels.
2013-08-03 04:02:53 +02:00
Johannes Schickel
19fa89b8f5
WINTERMUTE: Prefer getBasePtr over direct Surface::pixels access.
2013-08-03 04:02:48 +02:00
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
Tobia Tesan
66ba2ea455
WINTERMUTE: Refactor some bits to use TransformStruct
2013-07-31 23:52:12 +02:00
Tobia Tesan
3c0089e31e
WINTERMUTE: Introduce TransformTools
2013-07-31 23:47:57 +02:00
Tobia Tesan
03c4b7a240
WINTERMUTE: Introduce TransformStruct and FloatPoint; add operators to Point32
2013-07-31 23:26:09 +02:00
Einar Johan Trøan Sømåen
b0ce97bccf
Merge pull request #358 from tobiatesan/fix_wme_base_disk
...
WINTERMUTE: Remove fixedPath snippet
2013-07-31 09:05:53 -07:00
Einar Johan Trøan Sømåen
58855dd37f
WINTERMUTE: Add detection for James Peris (Full Version)
2013-07-31 16:02:38 +02:00
Einar Johan Trøan Sømåen
1396052dc9
WINTERMUTE: Add hack to allow language-selection in James Peris demo.
2013-07-31 04:26:28 +02:00
Einar Johan Trøan Sømåen
f691e005f8
WINTERMUTE: Add detection for both english and spanish James Peris Demo.
2013-07-31 04:26:28 +02:00
Einar Johan Trøan Sømåen
e296ac1d47
WINTERMUTE: Let engine know both gameid and language of target as well as targetname.
2013-07-31 04:26:28 +02:00
Einar Johan Trøan Sømåen
7deef6ad63
WINTERMUTE: Align detection-entries properly with spaces.
2013-07-29 23:49:28 +02:00
Einar Johan Trøan Sømåen
ebabf3948d
WINTERMUTE: Add detection for The Shine of a Star.
2013-07-29 23:47:08 +02:00
Einar Johan Trøan Sømåen
4df545c1ee
WINTERMUTE: Handle setting Save/Load-screen to NULL.
2013-07-29 23:42:56 +02:00
Einar Johan Trøan Sømåen
28b8537530
WINTERMUTE: Respect EVENT_QUIT properly (and don't ask to quit anymore)
2013-07-27 21:40:27 +02:00
Eugene Sandulenko
b43bac6192
WINTERMUTE: Added detection entry for Toshechka game
2013-07-27 20:48:16 +03:00
Einar Johan Trøan Sømåen
e19656464c
WINTERMUTE: Set _scriptStream to nullptr after deletion
...
(Clang static-analyzer issue)
2013-07-23 18:39:50 +02:00
Sven Hesse
989ea7cb56
JANITORIAL: Remove trailing whitespace
2013-07-14 19:01:47 +02:00
Tobia Tesan
23d9d5b509
WINTERMUTE: Remove fixedPath snippet
...
fixedPath is apparently never used anywhere else in the class and this
loop can cause the next one to never get to run.
2013-07-13 12:40:01 +02:00
Eugene Sandulenko
49210a803a
Merge pull request #331 from sev-/gsoc2012-eventsrecorder
...
GSoC2012: Event Recorder (reworked)
2013-07-04 04:58:54 -07:00
Einar Johan Trøan Sømåen
e26fb8e7d2
WINTERMUTE: Add detection for J.U.L.I.A. (Greenlight Demo)
2013-06-26 01:59:31 +02:00
Einar Johan Trøan Sømåen
b490801e64
WINTERMUTE: Set language of James Peris to unknown for now.
...
The selection is done via registry, so no easy fix is available yet.
2013-06-19 00:42:17 +02:00
Einar Johan Trøan Sømåen
7ffaa3936d
WINTERMUTE: Add detection for James Peris: No License Nor Control (demo)
2013-06-19 00:15:33 +02:00
Einar Johan Trøan Sømåen
e61f1bd091
WINTERMUTE: Add detection for Des Reves Elastiques Avec Mille Insectes Nommes Georges
...
With the accents removed to avoid breaking encoding.
2013-06-18 23:05:21 +02:00
Einar Johan Trøan Sømåen
4f98984fbd
WINTERMUTE: Add detection entry for The Trader of Stories (Demo)
2013-06-18 22:29:13 +02:00
Einar Johan Trøan Sømåen
c3022b537a
WINTERMUTE: Minor formatting fix.
2013-06-18 22:27:19 +02:00
Einar Johan Trøan Sømåen
1e1e502628
WINTERMUTE: Add detection entry for Beyond the Threshold.
2013-06-18 22:15:09 +02:00
Einar Johan Trøan Sømåen
6db82968fb
Revert "WINTERMUTE: Prevent warning about duplicate files when autodetecting."
...
This reverts commit 4401f40f72
.
2013-06-18 22:05:15 +02:00
Einar Johan Trøan Sømåen
7cc19bf29d
WINTERMUTE: Avoid explicitly including <math.h>
2013-06-18 01:35:49 +02:00
Tobia Tesan
4401f40f72
WINTERMUTE: Prevent warning about duplicate files when autodetecting.
...
Removed a call to BaseFileManager::registerPackages() in
WintermuteEngine::getGameInfo(), as the constructor for BaseFileManager
already calls registerPackages() once; another call should thus be
superfluous.
2013-06-06 23:34:06 +02:00
Tobia Tesan
4105805505
WINTERMUTE: Fix for unnecessary "WARNING: getChildren() failed for path:"
...
FSNode::getChildren() was called assuming that it returns 0 iff success.
Actually, it's the other way around.
2013-06-06 23:33:50 +02:00
Einar Johan T. Sømåen
81282b52e7
WINTERMUTE: Fix erroneous _gameRef in BaseQuickMSG
...
CID 1002323
2013-05-23 14:03:06 +02:00
Eugene Sandulenko
f59512c47e
RECORDER: Implement Events Recorder
2013-05-17 00:18:09 +03:00
Einar Johan Trøan Sømåen
182c1a1ff5
WINTERMUTE: Cap the renderqueue to 800.
2013-04-23 11:28:18 +02:00
Einar Johan Trøan Sømåen
86b93a84c9
WINTERMUTE: Fix non-dirty-rect render-path.
2013-04-23 11:28:18 +02:00
Einar Johan Trøan Sømåen
6434258722
WINTERMUTE: Mark Chivalry as ADGF_TESTING.
2013-04-22 16:24:26 +02:00