Commit Graph

58020 Commits

Author SHA1 Message Date
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
D G Turner
26a9b528da COMMON: Move definition of math constants to scummsys header.
This should have no effect on common/math.h as scummsys is included at
the top anyway, but this will fix compilation on some toolchains when
strict ANSI language compliance is enabled i.e. -std=c++11, rather than
-std=gnu11.

This causes an issue as a side effect is to set a guard which disables
various non-standard defines in the system headers i.e. the M_PI and
M_SQRT1_2 constant definitions in the MinGW x86_64 toolchain on
buildbot.

By moving this into scummsys.h after the point of system math.h
inclusion, we can ensure that M_PI etc. are always present.
2013-07-31 06:18:58 +01:00
Paul Gilbert
1809cc5673 TSAGE: R2R fixes for reading infodisk 2013-07-30 23:00:55 -04:00
Paul Gilbert
52886eed68 TSAGE: Bugfixes for giving reader to Miranda 2013-07-30 22:40:47 -04:00
D G Turner
ffef92a134 MORTEVIELLE: Fix two GCC compiler warnings.
The first is due to a variable set but never used i.e. destSurface, but
I think this call is still needed to lock the area being copied, hence
have removed the variable, but not the call.

The second was a real bug in the type of the print format string used
for savegame naming. slot is a number, not a string and can vary from 0
to 999, hence the 3 digit fixed size with zero padded prefix.
2013-07-31 03:36:16 +01: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
D G Turner
b4a0fd13ef MORTEVIELLE: Another fix for WinCE compilation.
S_OK is a system define in the WinCE toolchain library headers, so this
conflicts. Renamed to S_OKAY in the engine code to avoid this.
2013-07-31 01:07:48 +01:00
D G Turner
d81f6450c9 NEVERHOOD: Silence noisy compiler warning.
This is due to NULL being used. Switching to nullptr which is equivalent
i.e. 0 should silence this.
2013-07-30 21:18:01 +01:00
D G Turner
3a4507bf5a MORTEVIELLE: Fix compilation on WinCE.
The LANG_* symbols were colliding with defined symbols in the WinCE
system headers. Renamed to avoid this.
2013-07-30 20:53:07 +01:00
Thierry Crozat
2d1ac29551 DEVTOOLS: Update create_mortdat to the latest version English translation 2013-07-30 20:21:18 +01:00
Johannes Schickel
2f9b7ba686 COMMON: Enforce formatting guidelines a bit more in util.h. 2013-07-30 21:02:01 +02:00
Paul Gilbert
f51f0e5ae8 TSAGE: Fix upper bound of loop in R2R scene 1575 2013-07-30 09:32:32 -04:00
Paul Gilbert
5080f5dfcd TSAGE: Scene fixes for R2R Medbay 2013-07-30 09:00:06 -04:00
Paul Gilbert
25974eddb8 TSAGE: Further fix for R2R conversations 2013-07-30 08:59:29 -04:00
Paul Gilbert
a3e5c99005 TSAGE: Fixes for R2R extended conversations 2013-07-29 22:24:25 -04:00
Filippos Karapetis
2088a77388 SCI: Add a hack to fix the inventory in GK1
For some reason, the top left nsRect coordinates get swapped in the GK1
inventory screen, investigate why
2013-07-30 04:21:51 +03: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
Strangerke
a05e0c697a Merge pull request #347 from Strangerke/mortevielle
New Engine : Mortevielle
2013-07-29 12:02:06 -07:00
Eugene Sandulenko
67af740f3a COMMON: Revert last commit as rightfully pointed out by fuzze. 2013-07-29 12:30:47 +03:00
Eugene Sandulenko
351af76f9b COMMON: Added copy constructors and copier to Rect and Point. 2013-07-29 12:25:57 +03:00
Strangerke
c7277df1ed DEVTOOLS: Add support to another DOS executable for Mortevielle 2013-07-29 07:27:31 +02:00
Strangerke
b50f0e2a0d MORTEVIELLE: Remove remaining macros, start refactoring menus, modify the way _cfiphBuffer is read/written 2013-07-29 01:58:03 +02:00
Paul Gilbert
9d89861f77 TSAGE: Fix for clearing conversation dialogs 2013-07-28 19:01:55 -04:00
Paul Gilbert
a91b96f790 TSAGE: Corrected display of R2R conversation dialog border 2013-07-28 18:25:18 -04:00
Strangerke
1b2adafefa MORTEVIELLE: Use heap allocation in GfxSurface::decode, remove one use of swap 2013-07-28 23:35:26 +02:00
Paul Gilbert
40f82509e9 TSAGE: Correct R2R width of conversation dialog 2013-07-28 17:07:57 -04:00
Paul Gilbert
2fefa91d95 TSAGE: Fixes for R2R text positioning in conversation dialogs 2013-07-28 16:50:33 -04:00
Matthew Hoops
d969b1b11b PEGASUS: Fix gas canister removal not stopping the air timer
This bug was also in the original
2013-07-28 14:32:23 -04:00
Paul Gilbert
8320a556d4 TSAGE: Added R2R conversation dialog text and removal code 2013-07-28 10:35:56 -04: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
Paul Gilbert
dee719390c HOPKINS: Move breakout highscore table to savegames, and fixes to display 2013-07-26 21:57:02 -04:00
Strangerke
0b8db36af5 MORTEVIELLE: Remove another use of _mem 2013-07-27 00:08:56 +02:00
Strangerke
8009b2ebd8 MORTEVIELLE: Remove another use of _mem 2013-07-26 13:10:54 +02:00
Paul Gilbert
bfcebeac7d TSAGE: Added new R2R conversation decoding logic 2013-07-25 21:57:42 -04:00
Strangerke
db10ddace4 MORTEVIELLE: Use a specific buffer instead of _mem for noise5 file 2013-07-25 15:47:31 +02:00
Strangerke
8e2fe73afa MORTEVIELLE: Use a specific buffer instead of _mem for the animations 2013-07-25 10:32:21 +02:00
Strangerke
e86ec8bc81 MORTEVIELLE: Use variable size for _rightFramePict in order to handle the different sizes of the Amiga and Atari versions 2013-07-25 10:24:25 +02:00