59 Commits

Author SHA1 Message Date
Eugene Sandulenko
33abb6118f ALL: Change main engine header guard defines to <directory>_<engine>_H
Recently we started to use this as new semantics, although in the past
we used simly <engine>_H. Now these guard defines are consistent with
rest of the files which are used in the engines.
2016-05-17 18:21:30 +02:00
Johannes Schickel
9b138f4eb4 TINSEL: Make GPL headers consistent in themselves. 2014-02-18 02:39:39 +01:00
Johannes Schickel
65931d74e3 TINSEL: Take advante of Engine::initializePath.
This makes sure that the game path is only ever added once for the PSX version
of DW1. Most noticably this will make the warning about the game path being
present in SearchSet disappear on startup.
2014-01-22 18:08:32 +01:00
D G Turner
ba1336ee2a TINSEL: Add missing getDebugger() for engine API. 2013-12-07 02:21:16 +00: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
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
Filippos Karapetis
fe3737f7a3 TINSEL: Remove outdated comment 2012-12-13 01:59:33 +02:00
Filippos Karapetis
b05fa7f204 TINSEL: Add resource handling of the BE resources in DW1 Mac
This is the second attempt. All the BE resources of DW1 Mac are
handled correctly now. Added READ_16, READ_32, FROM_16, FROM_32 and
TO_32 to handle all of the different cases where endianess is
already handled. Note that the game scripts are LE, so these
haven't been changed
2012-12-11 02:56:48 +02:00
Filippos Karapetis
c90d56355f TINSEL: Simplify the scene entrance handling code
This also reverts the rest of the BE resource handling code
2012-12-10 17:38:23 +02:00
Filippos Karapetis
3fdddd53b2 TINSEL: Start handling the BE resources of the Mac versions of DW1
Refer to bug #3110936

This is still work in progress, but it doesn't affect the rest
of the LE versions of DW1. Both the Mac demo and the full
version still crash. The music in the Mac version is skipped for
now, as it isn't MIDI
2012-12-01 21:53:33 +02:00
Filippos Karapetis
a5af61005c TINSEL: Remove the GF_BIG_ENDIAN flag 2012-07-15 15:00:00 +03:00
Filippos Karapetis
d4a354c17f TINSEL: Remove the GF_CD and GF_FLOPPY flags 2012-07-15 14:55:06 +03:00
Filippos Karapetis
89aa6573fe TINSEL: Remove the GF_DEMO flag 2012-07-15 14:38:26 +03:00
Paul Gilbert
212551fe4e TINSEL: Added script workaround for #3543624 - DW1 PSX demo idle animation 2012-07-15 20:58:14 +10:00
Johannes Schickel
e1d45a7b89 TINSEL: Remove unused member _scheduler in TinselEngine.
This is a leftover from before the move of the coroutine code.
2012-06-07 18:19:58 +02:00
Johannes Schickel
b8dfd3366b TINSEL: Made some static data const. 2011-09-08 20:15:07 +02:00
Eugene Sandulenko
0dafa7f80f ALL: Reduce audio/ header dependency 2011-08-06 11:30:42 +01:00
Max Horn
477d6233c3 ENGINES: Change 2nd param of Engine::saveGameState to Common::String 2011-06-02 18:31:59 +02:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Max Horn
2e095e25f2 ALL: centre -> center 2011-04-14 14:34:28 +02:00
Max Horn
f333d93fe8 TINSEL: Remove unused TinselEngine::_musicVolume member 2011-03-25 14:15:52 +01:00
Max Horn
42ab839dd6 AUDIO: Rename sound/ dir to audio/
svn-id: r55850
2011-02-09 01:09:01 +00:00
Paul Gilbert
a2367d26f9 TINSEL: Preliminary functionality for reading BE data files
svn-id: r54392
2010-11-20 03:14:03 +00:00
Paul Gilbert
ffa8b9d61a TINSEL: Compilation fix
svn-id: r53709
2010-10-22 21:17:54 +00:00
Paul Gilbert
96723838c6 TINSEL: Added new opcode set for the DW2 Demo
svn-id: r53708
2010-10-22 21:08:27 +00:00
Max Horn
4ccce19876 ENGINES: Enhance namespace comments a bit
svn-id: r53484
2010-10-15 12:48:19 +00:00
Eugene Sandulenko
99c9ba697c TINSEL: Fix bug #3032780: "DW: Mute setting does not work"
Bug #3032778 was fixed too as it is the duplicate.
Since there is no engine-specific logic, rely on superclass'
setupSoundSettings(), and use it on startup too.

svn-id: r52374
2010-08-25 07:41:35 +00:00
Eugene Sandulenko
95748c07cc TINSEL: Partial fix for MIDI in German release.
Bug #2827022: "DW: Enhanced music doesn't work". This release
has completely different MIDI.DAT file. So far offsets and detection
for this version were added. The mapping has to be confirmed with
James Woodcock.

svn-id: r52323
2010-08-24 09:46:17 +00:00
Max Horn
4f914e7a9f TINSEL: Replace global object s_rectList by a TinselEngine member var
svn-id: r50834
2010-07-12 23:19:33 +00:00
Max Horn
a5aedb73be TINSEL: Avoid global constructor for clickPos
svn-id: r48841
2010-04-28 22:23:00 +00:00
Max Horn
d78dba3bca COMMON: Move Common::RandomSource to common/random.*
svn-id: r48279
2010-03-18 15:07:11 +00:00
Max Horn
df651bf20f Added Doxygen comments for the various engine namespaces (currently mostly without details; help filling these out is welcome)
svn-id: r46128
2009-11-24 22:10:14 +00:00
Max Horn
5cf868b757 TINSEL: Turn config code into a simple C++ class
svn-id: r45617
2009-11-02 21:56:29 +00:00
Max Horn
51933629d1 Changed foo(void) to foo() in almost all non-backend source files
svn-id: r45616
2009-11-02 21:54:57 +00:00
Max Horn
91ba886e01 TINSEL: Move Common::List instances mouseButtons & keypresses into TinselEngine.
Global C++ objects are not portable, as their constructors / destructors may
never be called.

svn-id: r45283
2009-10-20 19:12:54 +00:00
Max Horn
00822d5661 TINSEL: Move BMV player code into a new BMVPlayer class
svn-id: r45269
2009-10-20 14:06:17 +00:00
Fabio Battaglia
33180805ad tinsel: Enable Discworld PSX detection and begin adding some function to support Discworld PSX graphics
svn-id: r40090
2009-04-23 15:29:34 +00:00
Kostas Nakos
a718713925 only center vertically in DW2
svn-id: r39052
2009-03-01 21:03:46 +00:00
Max Horn
dd98126423 Engines: Fused several init&go methods into a single run method
svn-id: r39003
2009-03-01 04:42:46 +00:00
Max Horn
3fcbda829a Merged Engine::go() and ::init() into a new run() method (currently implemented by calling the existing init&go methods; to be cleaned up by engine authors
svn-id: r39002
2009-03-01 04:30:55 +00:00
Filippos Karapetis
8911d34542 Added support for the Discworld 1 Music Enhancement project. Big thanks to James Woodcock for his work on both versions of the game (the *.GRA and *.SCN version)
svn-id: r35836
2009-01-12 14:56:29 +00:00
Filippos Karapetis
cbdb105d8e - Save games are now listed from oldest to newest in the GMM load dialog for tinsel games, like in other engines
- Added some disabled code for saving through the GMM (still incomplete)

svn-id: r35316
2008-12-12 15:48:38 +00:00
Paul Gilbert
b697026ae0 Library routine and interpreter fixes for the DW1 demo
svn-id: r35257
2008-12-06 11:35:31 +00:00
Paul Gilbert
7a49843047 Beginning of support for DW1 Demo - Interpret has been changed to support opcode differences, and CallLibraryRoutine has a new mapping list of routines
svn-id: r35252
2008-12-06 02:07:30 +00:00
Filippos Karapetis
5bfb248301 - Set the maximum number of save games in DW1 and DW2 to 100, up from 30
- It's now possible to load and delete save games using the GMM (although not through the launcher screen yet)

svn-id: r35207
2008-12-02 18:34:32 +00:00
Filippos Karapetis
af945ac788 Merged the tinsel 2 engine with tinsel 1. Both Discworld 1 and Discworld 2 should be completable
svn-id: r35196
2008-12-01 20:35:36 +00:00
Max Horn
40136f2590 Switched various Engine APIs to use Common::Error
svn-id: r34916
2008-11-06 17:05:54 +00:00
Max Horn
40e05acff3 TINSEL: Enabled listSaves support
svn-id: r34263
2008-09-01 21:13:11 +00:00
Max Horn
958647a6b5 Merging more of the GSoC 2008 RTL branch: TINSEL
svn-id: r34257
2008-09-01 20:22:10 +00:00
Max Horn
2c3f2829fa cleanup
svn-id: r34215
2008-08-30 22:16:59 +00:00