Commit Graph
398 Commits
Author SHA1 Message Date
Johannes Schickel e180612ff5 WINTERMUTE: Skip Latvian language package if not selected. 2013-12-05 16:27:57 +01:00
Johannes Schickel ba7bbe6b89 WINTERMUTE: Fix typo in Polish language filename in Reversion1. 2013-12-05 16:26:44 +01:00
Johannes Schickel a6fff7a805 WINTERMUTE: Switch WideString to U32String. 2013-11-23 21:34:54 +01:00
Johannes Schickel 67ce244567 WINTERMUTE: Use const_iterator in BaseFileManager::registerPackages. 2013-11-23 21:01:39 +01:00
Johannes Schickel 7409f3eb54 WINTERMUTE: Slight interator usage cleanup. 2013-11-23 21:00:39 +01:00
Johannes Schickel 5166fce2eb WINTERMUTE: Remove another unused variable. 2013-11-23 21:00:39 +01:00
Johannes Schickel 9a78ac265d WINTERMUTE: Make BaseFileManager::registerPackages case agnostic.
The old version did only work as expected when all the filenames were all
lowercase. This seems to be the case for most (or even all?) WME games.
However, we are better safe than sorry and make the code case agnostic.
2013-11-23 21:00:33 +01:00
Johannes Schickel 29fae3914e WINTERMUTE: Remove unused variables. 2013-11-23 20:45:13 +01:00
Einar Johan Trøan Sømåen ff574579bb WINTERMUTE: Add quite a bit of hackery to allow Reversion 1.3 to select languages properly.
Reversion 1.3 seems to have one language file in it’s main-folder, and
a full set in languages/ (not language/ like a few other games), the names
of the language-files are also different from what we’ve seen earlier.
2013-11-18 12:00:34 +01:00
Einar Johan Trøan Sømåen eceaf7f8cb WINTERMUTE: Add bold-font support for FreeSans.ttf (and only FreeSans for now).
This is mostly a quick fix to solve the rather common case of wanting
to use bold Arial. This will not handle the user adding the actual Arial.ttf
file to the folder yet, but atleast it solves the common case of having
to fallback to FreeSans.
2013-11-15 15:27:50 +01:00
Filippos Karapetis eba0c0ff62 WINTERMUTE: Add the keycode for the ESC key
This is used by Looky
2013-11-07 13:47:38 +02:00
Einar Johan Trøan Sømåen c0f9455b28 WINTERMUTE: Remove unused transfer-function. (AnsiStringArray). 2013-11-05 14:02:54 +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 4e2bec5311 WINTERMUTE: Transfer Const Char* explicitly when saving/loading. 2013-11-05 13:58:02 +01:00
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 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 ad58641242 WINTERMUTE: Fix compile errors in XCode 5 caused by nullptr-issues. 2013-10-28 18:23:05 +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
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
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 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