Max Horn
05508d8dcd
TINSEL: Change MemoryAllocFixed to return a (kind of fake) MEM_NODE pointer; add MemoryDeinit()
...
svn-id: r45426
2009-10-27 00:36:56 +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
Max Horn
5b514a9bd1
TINSEL: Start cleanup BMV code
...
svn-id: r45268
2009-10-20 14:05:35 +00:00
Johannes Schickel
c50940bbf4
Got rid of Common::File::addDefaultDirectory, instead implemented the solution proposed in "Case agnostic handling for directories (and files)" on -devel.
...
svn-id: r44266
2009-09-23 00:15:00 +00:00
Johannes Schickel
b33b90ecd0
Made AGOS, DRASCULA, GOB, GROOVIE, MADE, SCUMM and TINSEL properly stop CD audio playback on engine quit. (This only problem affected playback from CD, not from ripped audio files)
...
svn-id: r43512
2009-08-18 15:31:26 +00:00
Johannes Schickel
7e71865e91
Move the event recorder to its own class (EventRecoder inside common/EventRecorder.[h/cpp]).
...
svn-id: r42751
2009-07-25 12:59:46 +00:00
Max Horn
a6b57dc3a9
- Added GCC_PRINTF attribute to several funcs where it makes sense
...
- change some constants from double to float, to avoid "loss of precision due to implicit conversion" warnings
- removed duplicate prototypes for some funcs
- fixed some "increases required alignment of target type" warnings
svn-id: r42009
2009-07-01 20:51:04 +00:00
Johannes Schickel
4aec580f91
Formatting.
...
svn-id: r41588
2009-06-16 19:26:44 +00:00
Fabio Battaglia
b905602b4c
tinsel: check only english.txt for DW1 psx version detection, and use recursive "SearchMan.addDirectory()" to obtain subdirs for Discworld PSX datafiles
...
svn-id: r41587
2009-06-16 18:58:21 +00:00
Fabio Battaglia
be22438648
tinsel: workaround for "missing red dragon in Act IV" bug in Discworld PSX
...
svn-id: r41068
2009-05-31 14:41:54 +00:00
Fabio Battaglia
6fd48c3354
tinsel: add default paths needed by Discworld PSX, now the user shouldn't need to move files around
...
svn-id: r40901
2009-05-26 08:41:25 +00:00
Johannes Schickel
db62ae8b33
Till we specify an common behavior when loading a game state on startup fails / the user tries to load an non existing save slot, change Tinsel to start up the game as if no slot was specified. (This 'fixes' bug #2796215 "DW: Black screen when loading via command line")
...
svn-id: r40890
2009-05-25 13:40:46 +00:00
Paul Gilbert
4a2e5bb793
Re-introduced the ability to skip the title scenes in Discworld 1. Since the exact scene numbers differed between language versions, this new version simply relies on skipping the first four screens - hopefully, none of the various versions will have any extra title screens.
...
svn-id: r40196
2009-04-29 10:37:00 +00:00
Paul Gilbert
86debbd679
Added code to enable Discworld 2 to play directly from the CD (only the first CD - Cd swap still doesn't work) or from files copied to the hard disk without the .smp/txt/idx files being properly renamed (again only for the first Cd).
...
svn-id: r40141
2009-04-25 06:42:01 +00:00
Max Horn
9cbed926cd
Moved Tinsel::Serializer to Common::Serializer, so that I can use it in the SCI engine
...
svn-id: r39428
2009-03-15 20:30:57 +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
7cb437b56f
Renamed SpecialDebugLevel to DebugChannel
...
svn-id: r36142
2009-01-30 05:10:24 +00:00
Max Horn
ac59693be2
A ton of code formatting fixes; also fixed warnings about single line loops like 'while(cond);' by inserting newlines
...
svn-id: r36127
2009-01-29 05:26:12 +00:00
Filippos Karapetis
cb8ffaf3a9
Implemented loading from the command line and the GMM for tinsel (kSupportsLoadingDuringStartup)
...
svn-id: r35958
2009-01-20 17:30:23 +00:00
Filippos Karapetis
85d4063000
Some WIP code for the kSupportsLoadingDuringStartup engine feature
...
svn-id: r35932
2009-01-20 00:33:26 +00:00
Eugene Sandulenko
696897b058
Whoa! Removing trailing spaces.
...
svn-id: r35648
2009-01-01 15:06:43 +00:00
Johannes Schickel
cba892a61b
Disable loading from command line again, it seems it only worked for saves, which did a cd change in DW2 and I only tested those by chance.
...
svn-id: r35456
2008-12-21 00:48:23 +00:00
Johannes Schickel
f3f93da8b8
- Added comment about error check when loading save on startup
...
- Updated code to properly test the last three digits of save filenames instead of only the last two
svn-id: r35455
2008-12-20 23:15:46 +00:00
Johannes Schickel
c3041ad99b
Implemented support for loading saves from launcher / via command line.
...
svn-id: r35454
2008-12-20 23:11:56 +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
Sven Hesse
faf8059cac
This should make the US version work
...
svn-id: r35243
2008-12-04 19:42:42 +00:00
Filippos Karapetis
d8e656a217
- Added back the English V1 CD version of DW1 (with *.gra files)
...
- Added the US version of DW2
- Added placeholders for the Hebrew, Hungarian and Japanese versions of DW2 (not sure if they're correct)
svn-id: r35222
2008-12-03 18:54:22 +00:00
Jordi Vilalta Prat
d34865d054
DW2: Add support for the Italian/Spanish release
...
svn-id: r35211
2008-12-02 22:22:23 +00:00
Johannes Schickel
702b7be594
Should fix compilation on BE machines.
...
svn-id: r35206
2008-12-02 17:53:58 +00:00
Filippos Karapetis
025cebdf6d
Disabled the workaround to skip the title screens of DW1 for now, as it can cause crashes with certain versions of the game
...
svn-id: r35205
2008-12-02 17:22:30 +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
Johannes Schickel
5a0556f09c
Committed my patch #2123680 "SDL: Backend transaction / rollback support".
...
svn-id: r35062
2008-11-14 22:08:10 +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
9b160804ab
Renamed Engine::quit to Engine::shouldQuit (previously, it was easily confused with Engine::quitGame); also cleaned up engine.h a bit
...
svn-id: r34700
2008-09-30 12:27:38 +00:00
Max Horn
d3642080de
Moved check for shouldRTL() from engines to scummvm_main
...
svn-id: r34310
2008-09-03 16:56:40 +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
396d815e15
TINSEL: Added support for the 3,4 and 5 FLAGS (multi lingual) versions of DW (only 4 flags version has been tested; see also bug #2048383 )
...
svn-id: r34210
2008-08-30 21:03:15 +00:00
Max Horn
79fafb7b6a
Fix bug #2078922 : DW: Pushing ESC repeatedly at beginning causes odd behavior
...
svn-id: r34196
2008-08-27 19:29:41 +00:00
Christopher Page
4f00562bb2
Fixed some memory leaks in Tinsel
...
svn-id: r33849
2008-08-13 21:37:02 +00:00
Christopher Page
78159c34a1
Added RTL feature to Tinsel
...
svn-id: r33671
2008-08-06 21:44:43 +00:00
Max Horn
52a3dd7581
TINSEL: Get rid of Graphics::Surface class
...
svn-id: r33275
2008-07-25 09:12:03 +00:00
Max Horn
728a045308
cleanup
...
svn-id: r33263
2008-07-24 10:31:37 +00:00
Max Horn
69dac1d4f2
Moved scheduler / process managment code into a new class Scheduler
...
svn-id: r33259
2008-07-24 08:59:17 +00:00
Max Horn
a5f280647b
cleanup
...
svn-id: r33250
2008-07-23 17:01:42 +00:00
Max Horn
29a96430a0
TINSEL: Renamed CoroutineInstall back to ProcessCreate; got rid of yet another typedef; more cleanup
...
svn-id: r33249
2008-07-23 16:55:52 +00:00
Max Horn
c441c5261f
Added Tinsel engine to main repos (no news item for it ON PURPOSE)
...
svn-id: r33230
2008-07-23 09:02:47 +00:00