Commit Graph

180 Commits

Author SHA1 Message Date
Max Horn
8ba75fc522 Fix code formatting (esp. 'if(' -> 'if (' etc., but also indention and other things)
svn-id: r44495
2009-09-30 16:16:53 +00:00
Jordi Vilalta Prat
3337be7b08 Fix indentation
svn-id: r43837
2009-08-30 20:50:23 +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
Joost Peters
fb247af301 add workaround for : BASS: Occasional loss of speech
svn-id: r42473
2009-07-14 11:15:21 +00:00
Joost Peters
72e2b9fe5a commit peres' patch for : BASS: "showgrid" enabled triggers an assert
svn-id: r42470
2009-07-14 09:44:56 +00:00
Max Horn
cbea1a1193 Added more GCC_PRINTF attributes, and fixed resulting warnings in format strings
svn-id: r42054
2009-07-03 10:40:49 +00:00
Eugene Sandulenko
eb909702af Add GUI options support to Sky, Queen and Sword1&2 engines (which do not use AD)
svn-id: r41274
2009-06-06 17:57:39 +00:00
Torbjörn Andersson
0999534749 The error() and warning() functions add ! and newline automatically. (I didn't
look at debug() and debugC(), since I'm really bored with this now. :-)

svn-id: r41061
2009-05-31 10:02:16 +00:00
Max Horn
fb79b18571 Changed SaveFileManager methods to take Common::String params (instead of char pointers)
svn-id: r41000
2009-05-29 14:38:22 +00:00
Johannes Schickel
b3c6751b9b Strip trailing whitespaces in the whole code base.
svn-id: r40867
2009-05-24 15:17:42 +00:00
Max Horn
65b5d31814 COMMON: Removed Stream::ioFailed() and clearIOFailed(), as they are deprecated; however, retained ioFailed in SeekableReadStream and File for now (so for now this mainly affects WriteStream subclasses)
svn-id: r40725
2009-05-19 11:42:14 +00:00
Johannes Schickel
f0182121f7 Fix some variable may be used uninitialized warnings.
svn-id: r40528
2009-05-13 18:12:17 +00:00
Travis Howell
64498f074d Add German floppy demo of BASS.
svn-id: r40234
2009-05-02 05:44:40 +00:00
Travis Howell
ad4cb49e3b Fix the ending of CD demo.
svn-id: r40233
2009-05-02 05:18:09 +00:00
Joost Peters
9ed052f38e change debug output of script interpreter to more clearly print script number and offset
svn-id: r39640
2009-03-23 20:20:00 +00:00
Joost Peters
e8ccbd93ed change debug levels to be less verbose
svn-id: r39639
2009-03-23 20:17:56 +00:00
Johannes Schickel
7b6ad08eab Hopefully fix mingw64 compilation (borrowed from engines/scumm/saveload.h)
svn-id: r39553
2009-03-20 00:03:16 +00:00
Torbjörn Andersson
baca072844 Call updateScreen() from the delay() function, like we do in so many other
engines, to ensure smooth mouse movement.

svn-id: r39433
2009-03-15 22:52:40 +00:00
Joost Peters
8cfdca5ee8 formatting fix, aka buildbot rebuild incentive ;)
svn-id: r39365
2009-03-12 22:04:18 +00:00
Joost Peters
0c681f85a4 cleanup
svn-id: r39147
2009-03-06 00:41:46 +00:00
Jordi Vilalta Prat
047f116515 Renamed MetaEngine::getCopyright() to getOriginalCopyright() to better match the meaning of the returned string, as discussed some time ago in scummvm-devel
svn-id: r39132
2009-03-05 12:04:58 +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
Joost Peters
f7b963101f Fix 1690836: "BASS: Speed difference"
The original game's delay was 4 50hz ticks = 80ms (1000 / 50 * 4).
Changing gameSpeed to match this makes it run at exactly the same speed as in dosbox.

svn-id: r36318
2009-02-14 00:21:53 +00:00
Joost Peters
f051fbb9d8 Formatting changes / consistency
svn-id: r36304
2009-02-13 16:55:16 +00:00
Max Horn
716f88f571 Avoid using g_engine if possible
svn-id: r36149
2009-01-30 16:04:39 +00:00
Max Horn
42b26e0f56 cleanup
svn-id: r36133
2009-01-30 01:15:17 +00:00
Max Horn
28cf213605 Moved AdvancedDetector from common/ to engines/
svn-id: r36132
2009-01-29 22:13:01 +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
Eugene Sandulenko
696897b058 Whoa! Removing trailing spaces.
svn-id: r35648
2009-01-01 15:06:43 +00:00
Max Horn
df20d264fd Pushing down some header deps (on common/system.h, mostly)
svn-id: r35542
2008-12-25 20:40:00 +00:00
Torbjörn Andersson
c2424b04a5 Fixed bug ("BASS: artifacts if skipping intro on wrong screen"). As an
added bonus, the Intro class is now freed as soon as the intro is over, rather
than at the end of the game.

svn-id: r35280
2008-12-07 17:32:25 +00:00
Robin Watts
8f3b2e9b4d Remove warnings from NDS build.
svn-id: r35172
2008-11-29 18:01:16 +00:00
Joost Peters
5b04ab7883 un-break sky engine after recent gfx transaction changes
svn-id: r35126
2008-11-20 13:03:29 +00:00
Johannes Schickel
5a0556f09c Committed my patch "SDL: Backend transaction / rollback support".
svn-id: r35062
2008-11-14 22:08:10 +00:00
Filippos Karapetis
7c40410ba7 Slight cleanup
svn-id: r35027
2008-11-12 21:15:35 +00:00
Filippos Karapetis
4952526581 Deleting save states via the launcher and the GMM is now supported in the sky engine
svn-id: r35026
2008-11-12 21:08:50 +00:00
Filippos Karapetis
6bfee1bae4 Saving and loading from the GMM is now supported in the sky engine
svn-id: r35024
2008-11-12 20:41:19 +00:00
Filippos Karapetis
c21038a448 Moved sky detection and meta engine specific code from sky.cpp into detection.cpp, like other engines
svn-id: r35015
2008-11-12 12:36:20 +00:00
Filippos Karapetis
c36a8c1c72 Added getMaximumSaveSlot definition for the sky engine
svn-id: r35011
2008-11-11 23:35:18 +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
f32be87633 Turned enum PluginError into Common::Error, which in the future is to be used in more places. Help with this is highly welcome
svn-id: r34906
2008-11-05 17:24:56 +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
61aadb378d Fixed the EngineFeature vs. MetaEngineFeature mess, clarified some EngineFeature comments
svn-id: r34896
2008-11-04 16:11:40 +00:00
Filippos Karapetis
b7a219ebc6 Renamed engine feature kSupportsDirectLoad to kSupportsLoadingDuringStartup, as discussed in patch
svn-id: r34854
2008-10-26 16:42:08 +00:00
Max Horn
7443b599c4 SKY: Fix detector to not (ab)use FSNode::getPath; if you want to open a FSNode, just pass it to File::open
svn-id: r34704
2008-09-30 12:59:29 +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
2f30e5f63d Comment out some #defines in skydefs.h as they conflict with other headers (esp. T2 conflicts with some template defs)
svn-id: r34425
2008-09-07 21:38:53 +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
531bcf847c Moved FilesystemNode / FSList to namespace Common; also got rid of some 'typedef Common::String String;' name aliases
svn-id: r34302
2008-09-03 11:22:51 +00:00
Joost Peters
3fef592c20 fix Virgin logo screen breakage that was introduced in the RTL merge
svn-id: r34267
2008-09-02 00:31:27 +00:00