Commit Graph

9059 Commits

Author SHA1 Message Date
Joost Peters
709d98be7c GFX_ERROR messages need \n
svn-id: r38704
2009-02-21 16:07:51 +00:00
Andre Heider
7c26fb94d9 missed a file in r38701
svn-id: r38703
2009-02-21 16:04:16 +00:00
Sven Hesse
e643565c2c Compensate small lags in Util::waitEndFrame(), so that the CD audio intro sequences in Gob1 and Gob2 CD hopefully won't de-sync so easily
svn-id: r38702
2009-02-21 15:58:50 +00:00
Andre Heider
e514d9780a use OSystem::getMillis() for last_wait_time and get rid of game_start_time
svn-id: r38701
2009-02-21 15:40:14 +00:00
Paweł Kołodziejski
03769a6d56 formating
svn-id: r38700
2009-02-21 15:30:47 +00:00
Paweł Kołodziejski
98fc4c20c5 formating
svn-id: r38699
2009-02-21 15:25:37 +00:00
Paweł Kołodziejski
58fa6822c6 formating
svn-id: r38698
2009-02-21 15:20:41 +00:00
Torbjörn Andersson
6e2848ff98 Rewrote the cutscene player to be more like the one in Broken Sword 1. This fixes
a subtitle colour regression, but mainly it simplifies the code. The "dummy"
player has been removed. There are almost certainly regressions, but I'm hoping
it's stable enough for testing now.

svn-id: r38697
2009-02-21 15:07:05 +00:00
Willem Jan Palenstijn
34f90ac043 revert large parts of r38621. error() is for fatal errors and does not return. warning() is not for debugging status messages.
svn-id: r38696
2009-02-21 14:11:41 +00:00
Travis Howell
7ce7993c30 Remove excess \n.
svn-id: r38695
2009-02-21 13:19:44 +00:00
Joost Peters
177c4169d1 error() calls don't need \n, as it is already appended in error() itself
svn-id: r38694
2009-02-21 12:58:09 +00:00
Paweł Kołodziejski
d11948a01c formating
svn-id: r38693
2009-02-21 12:43:37 +00:00
Paweł Kołodziejski
c0b2ec8dd2 formating
svn-id: r38692
2009-02-21 12:42:06 +00:00
Paweł Kołodziejski
7e2bc28184 formating
svn-id: r38691
2009-02-21 12:33:24 +00:00
Andre Heider
1cbe5c327d replace obsolete creat() with open()
svn-id: r38690
2009-02-21 12:26:10 +00:00
Joost Peters
3988062776 replace #ifdef WORDS_BIGENDIAN by SCUMM_BIG_ENDIAN
svn-id: r38689
2009-02-21 12:21:15 +00:00
Paweł Kołodziejski
f069c04c60 formating
svn-id: r38688
2009-02-21 12:16:35 +00:00
Paweł Kołodziejski
f582debaa9 formating
svn-id: r38686
2009-02-21 11:53:27 +00:00
Gregory Montoir
db7073b15a cleanup
svn-id: r38685
2009-02-21 11:29:56 +00:00
Torbjörn Andersson
ab11da0602 Allocate the background sound handle dynamically. Otherwise, it seems to me as if
it should be invalid as soon as the makeMoviePlayer() function ends. While that
never caused any noticeable problems for me in Broken Sword 1, it broke things
in amusing ways when I tried to rewrite the Broken Sword 2 cutscene player along
the same lines.

svn-id: r38684
2009-02-21 11:27:04 +00:00
Willem Jan Palenstijn
baa7c7b997 remove some endlines from warning() calls
svn-id: r38683
2009-02-21 11:26:54 +00:00
Gregory Montoir
c39b5f5c6f force inventory redraw after a game state load (inventory should now be ok when exiting GMM, should fix #2603197)
svn-id: r38682
2009-02-21 11:26:50 +00:00
Torbjörn Andersson
c3068549da Cleanup.
svn-id: r38680
2009-02-21 11:22:56 +00:00
Jordi Vilalta Prat
d8d6aaa461 Replaced "typedef struct _seg_manager_t seg_manager_t" with "struct SegManager"
svn-id: r38679
2009-02-21 11:04:47 +00:00
Jordi Vilalta Prat
3cc6cdf719 Replaced "typedef struct _state state_t" with "struct EngineState"
svn-id: r38678
2009-02-21 10:47:56 +00:00
Oystein Eftevaag
25f7c37171 Wrapped the SCI engine in the Sci namespace.
svn-id: r38676
2009-02-21 10:23:36 +00:00
Paweł Kołodziejski
44ea796610 formating
svn-id: r38675
2009-02-21 10:05:31 +00:00
Jordi Vilalta Prat
14150200d4 Implemented SciEngine::getDebugger()
svn-id: r38674
2009-02-21 09:45:34 +00:00
Paweł Kołodziejski
ea49575689 formating
svn-id: r38673
2009-02-21 09:44:53 +00:00
Paweł Kołodziejski
9ad232e5cf formating
svn-id: r38672
2009-02-21 09:39:10 +00:00
Paweł Kołodziejski
0d3f2573c6 formating
svn-id: r38671
2009-02-21 09:10:14 +00:00
Paweł Kołodziejski
ecf0cbe94e formating
svn-id: r38670
2009-02-21 08:56:49 +00:00
Paweł Kołodziejski
a584936568 formating
svn-id: r38669
2009-02-21 08:47:07 +00:00
Paweł Kołodziejski
328214940b formating
svn-id: r38668
2009-02-21 08:16:04 +00:00
Paweł Kołodziejski
30848dec14 formating
svn-id: r38666
2009-02-21 07:42:23 +00:00
Nicola Mettifogo
3874465bdb Fix for bug #1864270. Music now goes on after the the credits have been displayed in the Amiga demo version of Nippon Safes.
svn-id: r38664
2009-02-21 05:19:35 +00:00
Nicola Mettifogo
e088f680a6 Fix for bug #2619824. Command list execution is now paused when showing credits. This fixes the Amiga demo of Nippon Safes, which would otherwise quit without displaying the credits.
svn-id: r38662
2009-02-21 04:44:20 +00:00
Max Horn
fa75bd23e6 SCI: Yet more cleanup
svn-id: r38661
2009-02-21 04:43:49 +00:00
Max Horn
7c87b4901d SCI: Use GCC_PRINTF hint to the compiler for _SCIkprintf and sciprintf; fixed tons of bad format strings
svn-id: r38660
2009-02-21 04:25:56 +00:00
Max Horn
cb6b1fc903 SCI: Regenerated said.cpp from said.y
svn-id: r38659
2009-02-21 04:23:43 +00:00
Max Horn
bcb1a71052 SCI: Fixed more warnings
svn-id: r38658
2009-02-21 04:10:21 +00:00
Max Horn
ecaab0fe94 SCI: Fixed warnings in engine/savegame.cpp, by improving cfsml.pl; also improved the build rule which is responsible for creating engine/savegame.cpp from engine/savegame.cfsml
svn-id: r38657
2009-02-21 03:59:57 +00:00
Max Horn
c8ea2dce5f SCI: Fixed more warnings
svn-id: r38656
2009-02-21 03:32:13 +00:00
Max Horn
031e3e3b90 SCI: Fixed tons of bugs in error/warning format strings
svn-id: r38655
2009-02-21 03:25:23 +00:00
Max Horn
e9e2136c1a SCI: cleanup
svn-id: r38654
2009-02-21 03:24:35 +00:00
Max Horn
5ea92c4c67 SCI: Re-enabled detection of my KQ5 version
svn-id: r38653
2009-02-21 03:13:21 +00:00
Max Horn
0901c90654 Advanced detector: Slightly more verbose debug output
svn-id: r38652
2009-02-21 02:59:45 +00:00
Willem Jan Palenstijn
7bc4b8667e avoid vsscanf
svn-id: r38651
2009-02-21 00:18:02 +00:00
Torbjörn Andersson
9b2029a7a8 Minor consistency change.
svn-id: r38650
2009-02-20 23:47:11 +00:00
Willem Jan Palenstijn
abbca80d61 Converted SCI saving to use saveFileMan. Instead of a savegame being
a directory with an id and a state file, a savegame now consists of
two consecutive CFSML-serialized structs: SavegameMetadata and state_t.
The former contains the savegame title, and is loaded when scanning saves.

svn-id: r38649
2009-02-20 23:41:15 +00:00