Commit Graph

549 Commits

Author SHA1 Message Date
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
Filippos Karapetis
f5729a4a8b - The GMM save dialog is now working for all engines which support the appropriate features
- Added a new method to the MetaEngine class, getMaximumSaveSlot(), and implemented it in all engines for which the listSavefiles() method is implemented (it goes together with the listSavefiles method). It is used to fill the unused save slots in the save/load dialogs of each engine, so that the user can create new save games in empty slots
- Unified the save/load dialog list numbering in the GMM load/save screens and in the load screen of the main menu (before a game is started)

svn-id: r34963
2008-11-09 16:13:34 +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
fe2935ad4b Got rid of the unused 'filename' attribute in SaveStateDescriptor
svn-id: r34905
2008-11-05 15:41:12 +00:00
Max Horn
4747f8dc01 Fix warning
svn-id: r34780
2008-10-12 21:51:52 +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
Filippos Karapetis
221b4a47ae Changed tinsel's volume range (0-127) to match ScummVM's (0-255)
svn-id: r34603
2008-09-19 13:58:09 +00:00
Max Horn
655ce26b3f Big patch changing the signature of various Stream methods (some ports may need to be slightly tweaked to fix overloading errors/warnings)
svn-id: r34514
2008-09-13 16:51:46 +00:00
Max Horn
62a75f2615 Added detection for 4-language floppy version of DW (see report on forum post 39703)
svn-id: r34486
2008-09-11 09:26:27 +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
Filippos Karapetis
7eb072064a Silence MSVC warning about potentially uninitialized variable
svn-id: r34236
2008-09-01 10:09:48 +00:00
Max Horn
2c3f2829fa cleanup
svn-id: r34215
2008-08-30 22:16:59 +00:00
Max Horn
4875b44052 TINSEL: The engine version is an integer, not a bitfield
svn-id: r34214
2008-08-30 22:10:48 +00:00
Max Horn
aa463878a3 TINSEL: Remove some unused code; and duplicated the 4-FLAGS version detection entry (one copy for each language) for the user's convenience
svn-id: r34213
2008-08-30 22:09:35 +00:00
Max Horn
be85bf25a5 TINSEL: Write config changes to disk
svn-id: r34212
2008-08-30 21:51:13 +00:00
Max Horn
fb66f42002 cleanup
svn-id: r34211
2008-08-30 21:43:36 +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
Max Horn
baf975f072 cleanup
svn-id: r34191
2008-08-27 17:41:05 +00:00
Torbjörn Andersson
35b02acb39 Moved the mutex locking a bit. (Consistent with how the AGOS engine does it.)
svn-id: r34050
2008-08-20 09:15:59 +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
b998a7ef07 Renamed Tinsel v1->v0 (used in the demo only), and v2->v1, to avoid confusion with DW2
svn-id: r33553
2008-08-02 23:01:14 +00:00
Filippos Karapetis
8941a96bf0 Make sure that save game descriptions are 0-terminated
svn-id: r33438
2008-07-30 08:23:04 +00:00
Max Horn
0be985ce83 Changed class File (and derived classes) to only support read-only access; added a new class DumpFile for writing
svn-id: r33412
2008-07-29 16:09:10 +00:00
Sven Hesse
84505d6374 Fixed the inventory bug that's been reported in the forums
svn-id: r33288
2008-07-25 12:59:46 +00:00
Joost Peters
71d40e23f5 change PPINIT struct to use ScummVM datatypes, so sizeof(PPINIT) is 28 on ppc/OSX as well.
svn-id: r33285
2008-07-25 10:20:05 +00:00
Max Horn
04985c8ac9 TINSEL: Got rid of PIMAGE, PINT_CONTEXT, PINV_OBJECT, PINV_DEF, PCONFBOX, PCONFINIT
svn-id: r33282
2008-07-25 09:19:06 +00:00
Max Horn
054fe75422 TINSEL: Fixed forgotten ClearScreen(0) call
svn-id: r33281
2008-07-25 09:18:39 +00:00
Max Horn
bfcc4339c1 More tinsel cleanup
svn-id: r33280
2008-07-25 09:17:47 +00:00
Max Horn
f96faab2ba TINSEL: Got rid of NO_TAG (not used)
svn-id: r33278
2008-07-25 09:15:32 +00:00
Max Horn
75ff7a1b0e cleanup
svn-id: r33277
2008-07-25 09:15:03 +00:00
Max Horn
3d6badc476 TINSEL: ActorTag & PolyTag abused a SCNHANDLE and some global enums to keep a trinary state -- fixed that by introducing a new enum HotSpotTag
svn-id: r33276
2008-07-25 09:13:08 +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
2fc0c3e859 TINSEL: Updating the palette should only require a call to OSystem::updateScreen and not a blit
svn-id: r33274
2008-07-25 09:05:04 +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
4acde448f5 Moved POLYGON struct into polygon.cpp; got rid of some more typedefs
svn-id: r33241
2008-07-23 14:42:27 +00:00
Max Horn
33c34f2eb4 cleanup; removed const bNoScroll variable
svn-id: r33237
2008-07-23 10:33:36 +00:00
Max Horn
3595a9b2a4 Removed some dead code
svn-id: r33236
2008-07-23 10:29:37 +00:00
Max Horn
bc2ec5afde Got rid of some typedefs
svn-id: r33235
2008-07-23 10:27:24 +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