Commit Graph
86814 Commits
Author SHA1 Message Date
Paweł Kołodziejski f069c04c60 formating
svn-id: r38688
2009-02-21 12:16:35 +00:00
Joost Peters 2784e08a90 disable BREAKPOINT macro and remove exit() macro, as they conflict with SCI building (and aren't used anymore anyway)
svn-id: r38687
2009-02-21 12:08:52 +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
Andre Heider 17def11658 map dpad right to the predictive dialog
svn-id: r38681
2009-02-21 11:24:16 +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 5d67e3de0f Updated xcode project
svn-id: r38677
2009-02-21 10:44:06 +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 65aa806005 disable warnings as error, said.cpp generate warnings from bison generated parser
svn-id: r38667
2009-02-21 07:43:46 +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
Travis Howell c5abad4dea Switch error back to warning, to fix SCI 1.1 regression.
svn-id: r38648
2009-02-20 23:31:00 +00:00
Paweł Kołodziejski 6e1250fed1 ups
svn-id: r38647
2009-02-20 23:28:25 +00:00
Travis Howell f6b4c2544b Switch errors back to warnings, to fix SCI 1.1 regressions.
svn-id: r38646
2009-02-20 23:26:30 +00:00
Paweł Kołodziejski c729101d5b re-enable warnings as errors
svn-id: r38645
2009-02-20 23:24:46 +00:00
Paweł Kołodziejski 880aba2f43 fixed warning
svn-id: r38644
2009-02-20 23:23:58 +00:00
Filippos Karapetis 80868065e6 Downgraded some errors to warnings and printf's
svn-id: r38642
2009-02-20 23:19:47 +00:00
Filippos Karapetis 65f7ba86ce Reverted #38631 and readded gfxr_interpreter_needs_multicolored_pointers - apparently, it's needed for SCI1.1 support
svn-id: r38641
2009-02-20 23:17:13 +00:00
Paweł Kołodziejski fc28525969 formating
svn-id: r38640
2009-02-20 23:09:29 +00:00
Matthew Hoops dc792f2265 Add detection for the SCI christmas cards.
svn-id: r38639
2009-02-20 23:00:27 +00:00
Torbjörn Andersson ab4f1d69ad Since opening a compressed piece of music should no longer be an expensive
operation, we can probably keep the mutex locked throughout the entire
streamCompMusic() function. I'm not convinced that it was ever safe to unlock
and relock it partway through. In fact, that's my prime suspect for bug #2614306
("BS2: noise in music or speech").

svn-id: r38638
2009-02-20 22:47:05 +00:00
Torbjörn Andersson 478257f624 Instead of reading an entire compressed sound into a memory stream, use a
slightly extended SeekableSubReadStream to stream the sound from a file instead.
This change is experimental, so it should almost certainly not go into 0.13.

svn-id: r38637
2009-02-20 22:43:13 +00:00
Paweł Kołodziejski dbb81ab516 formating
svn-id: r38636
2009-02-20 22:32:56 +00:00