Commit Graph

559 Commits

Author SHA1 Message Date
Johannes Schickel
ec16611f69 TINSEL: Fix for bug #6469 "TINSEL: DW1 - No Sfx/Voice in German 4 Lang GRA Version".
Regression from d4a354c17f.
2013-12-14 16:01:57 +01:00
D G Turner
ba1336ee2a TINSEL: Add missing getDebugger() for engine API. 2013-12-07 02:21:16 +00:00
Filippos Karapetis
5931df4426 TINSEL: Hopefully fix DW2 on BE systems
This reverts the endianess changes in commit c90d563 which do not work
properly in DW2 on BE systems (as GetSceneStruc()'s behavior is
different in DW2)
2013-12-05 03:12:05 +02:00
Johannes Schickel
0e017f007a Merge pull request #375 from digitall/engineAutoPlug
RFC: Pluggable Engines #2 (No Python, just evolution of current configure shell and make code)
2013-11-26 02:27:11 -08:00
Strangerke
29a63886aa TINSEL: Janitorial - Fix spacing errors 2013-11-24 19:20:12 +01:00
D G Turner
ef85456859 BUILD: Remove need for engine.mk in each engine directory.
Each engine now only has to provide a single configure.engine file
adding the engine into the configure script, which then produces the
required other files automatically.
2013-11-24 00:48:01 +00:00
D G Turner
1ac01d2333 BUILD: Remove need for engine-plugin.h in engines.
This is now generated automatically by the configure script from the
engine directory names.
2013-11-24 00:48:01 +00:00
D G Turner
00c27a28f9 BUILD: Split engines/plugins_table header down to a file per engine.
This is the third and final commit enabling fully pluggable engines.

Now providing an engine folder contains a configure.engine, engine.mk
and engine-plugin.h file, it will be picked up automatically by the
configure script.
2013-11-24 00:48:01 +00:00
D G Turner
d77cf95a18 BUILD: Split engines.mk down to a single file per engine.
This is the second part of allowing engines to be added dynamically.
Each folder in engines/ which must contain a file named "engine.mk"
containing the make definitions for that engine.
2013-11-24 00:48:01 +00:00
D G Turner
aa947c9474 BUILD: Split configure.engines down to a single file per engine.
This is the first part of allowing engines to be added dynamically.
They are placed into a folder in engines/ which must contain a file
named "configure.engine" to add the engine, which is pulled into the
top level configure script automatically.
2013-11-24 00:45:38 +00:00
D G Turner
e07723e1d1 TINSEL: Fix compilation on FreeBSD with C++-11 enabled.
This is part of bug #3615056 and is due to NULL being defined as
nullptr when C++-11 is enabled, which is not valid being assigned
to a integer value.
2013-09-28 01:33:43 +01:00
Johannes Schickel
01dea8bd67 Merge pull request #378 from lordhoto/pluggable-engines-translations
RFC: Pluggable Engines: I18N: Move specification of engine specific files to enginedir/POTFILES
2013-09-12 15:38:13 -07:00
Filippos Karapetis
4c90548380 TINSEL: Add the English Mac version of DW1 (bug #3614864) 2013-08-23 14:01:07 +03:00
Johannes Schickel
378387c903 I18N: Move specification of engine specific files to enginedir/POTFILES.
This allows to keep the engines to specfiy the files for translation close to
the engine sources itself.

Thanks to criezy for his suggestion on this approach.
2013-08-12 17:54:31 +02:00
Torbjörn Andersson
56431cfc59 TINSEL: Fix DW2 assertion when quitting during cutscene
Call _bmv->FinishBMV() before setting g_pCurBgnd to NULL. Otherwise,
there will be an assertion if quitting during a cutscene while a
subtitle is being shown. (At least I think that's the condition.)

(Also, it seems to be a good idea to call it before EndScene(),
because even though there was no assertion, I got a lot of warnings
when I did it after.)
2013-08-10 16:56:07 +02:00
Johannes Schickel
2977ff8ba0 TINSEL: Take advantage of Surface::getPixels. 2013-08-03 04:02:52 +02:00
Torbjörn Andersson
a790fe0e80 TINSEL: Remove self-assignment (CID 1003626)
However, dreammaster has confirmed this line was in the original
so I'm leaving it commented-out in case there is a genuine bug
still lurking there.
2013-07-20 05:32:11 +02:00
Sven Hesse
989ea7cb56 JANITORIAL: Remove trailing whitespace 2013-07-14 19:01:47 +02:00
Filippos Karapetis
468274a83a TINSEL: Clip mouse position to be within the screen (bug #3613765)
The mouse cursor warping code via the keyboard allows the cursor to go
outside the screen. We now limit the cursor's position to always stay
within the screen
2013-06-20 23:34:48 +03:00
Filippos Karapetis
4b6907141b TINSEL: Fix incorrect byte swapping on BE systems (bug #3614416)
This is a regression from commit c90d56355f
Thanks to canavan for his testing and bisecting work
2013-06-17 21:08:29 +03:00
Filippos Karapetis
7456a2ca23 TINSEL: Revert the incorrect flagging of DW2 entries as CD versions
This reverts the changes done to the DW2 entries in commit d4a354c1.

We only distinguish between floppy and CD versions if a game had both a
CD and a floppy version released. DW2 was only released as a CD version,
so the extra flagging of the DW2 entries as CD was redundant, and caused
confusion regarding previous saved games to users that readded the DW2
detection entries after this change
2013-06-06 01:26:02 +03:00
Matthew Hoops
0031c41db8 COMMON: Change kPlatformPC to kPlatformDOS
"PC" was very ambiguous and now it matches what we show in the GUI.

This also corrects sword2's platform to Windows.
2013-05-02 18:43:10 -04:00
Filippos Karapetis
f3f3d5bcbf TINSEL: Clear the screen with the correct color in DW1 Mac 2013-05-01 03:53:00 +03:00
Filippos Karapetis
5692c378ec TINSEL: Simplify palette endianess conversions 2013-05-01 03:50:29 +03:00
Torbjörn Andersson
50c8fae6ec TINSEL: Reorder loop condition to fix out-of-bounds access
This should fix CID 1003943 and CID 1003944.
2013-04-26 23:38:20 +02:00
Filippos Karapetis
95f92ed9de TINSEL: Add support for enhanced music in the Mac version of DW1 2013-04-12 19:31:11 +03:00
Filippos Karapetis
687e47d332 TINSEL: Remove the unused ghost palette 2013-04-12 07:19:53 +03:00
Filippos Karapetis
94b328fa7f TINSEL: Fix black/white colors in the Mac version of DW1 2013-04-12 07:19:53 +03:00
Filippos Karapetis
53e82436e6 TINSEL: Simplify overflow calculation inside MacDrawTiles()
Thanks to wjp for noticing this
2013-04-12 07:19:52 +03:00
Filippos Karapetis
a9886f1c26 TINSEL: Fix typo 2013-04-12 07:19:52 +03:00
Filippos Karapetis
d45534d29d TINSEL: Remove the unused noFadeTable parameter from the fader functions 2013-04-12 07:19:52 +03:00
Willem Jan Palenstijn
2d1fd3b554 ALL: Fix typo (existant->existent) 2013-02-23 22:07:32 +01:00
Torbjörn Andersson
304ac2a7c4 TINSEL: Fix another Clang analyzer warning
Whether or not SaveFailure() can delete the save file, we want to
invalidate the save name because it probably only lives on the
stack so the pointer will become invalid once DoSave() has ended.
2013-01-02 21:25:51 +01:00
Filippos Karapetis
55fee6d97b TINSEL: Enhanced music is not supported in the Mac version of DW1
Also, did some minor whitespace formatting
2012-12-18 02:24:46 +02:00
Filippos Karapetis
1214b7a7e4 TINSEL: Enable the detection entries for DW1 Mac (both the demo and the full version) 2012-12-15 21:07:38 +02:00
Filippos Karapetis
6f81d914f2 TINSEL: Fix sprite clipping in DW1 Mac 2012-12-15 19:52:27 +02:00
Filippos Karapetis
96397a5741 TINSEL: Initial version of the graphics drawing function for DW1 Mac
Still some graphical glitches remain, as clipping isn't done correctly
2012-12-15 08:14:55 +02:00
Filippos Karapetis
b41d78bdd8 TINSEL: Fix intro scene skipping in DW1 Mac 2012-12-15 08:14:55 +02:00
Filippos Karapetis
1713d7ee3c TINSEL: Always convert the inventory objects to the native endianess
This is needed for DW1 Mac
2012-12-15 08:14:54 +02:00
Matthew Hoops
a0863dfb3f TINSEL: Silence gcc warning 2012-12-13 17:46:16 -05:00
Filippos Karapetis
11b920d8ae TINSEL: Fix a comment in playDW1MacMusic()
Thanks to clone2727 for noticing
2012-12-13 03:41:15 +02:00
Filippos Karapetis
07994fb361 TINSEL: Add support for the digitized music in DW1 Mac 2012-12-13 03:09:41 +02:00
Filippos Karapetis
a3f22b8804 TINSEL: Unify the PSX graphics drawing code with the rest
This is nitpicking, for uniformity which I forgot to add in a previous
cleanup commit
2012-12-13 02:00:59 +02:00
Filippos Karapetis
fe3737f7a3 TINSEL: Remove outdated comment 2012-12-13 01:59:33 +02:00
Filippos Karapetis
576d92e286 TINSEL: Clean up the sound code 2012-12-13 01:58:47 +02:00
Filippos Karapetis
b1732f9aca TINSEL: Clean up the graphics draw types code 2012-12-11 23:46:57 +02:00
Filippos Karapetis
45fcbdcd8c TINSEL: Fix misleading comment 2012-12-11 22:46:50 +02:00
Filippos Karapetis
532194db1f TINSEL: Fix the colors in the Mac version of DW1 2012-12-11 22:40:19 +02:00
Filippos Karapetis
344d6bc2da TINSEL: An additional endianess fix for DW1 Mac
This will also need testing on a BE system
2012-12-11 04:04:04 +02:00
Filippos Karapetis
f23e7a246c TINSEL: Merge the different TinselV0/V1 graphics code handlers 2012-12-11 04:03:22 +02:00