Max Horn
b6c9b12e64
SCI: Got rid of sci_sched_yield
...
svn-id: r38719
2009-02-21 18:21:00 +00:00
Max Horn
273271767b
When using error, no need to add a trailing newline
...
svn-id: r38718
2009-02-21 18:20:40 +00:00
Filippos Karapetis
6acf734ab8
Oops
...
svn-id: r38717
2009-02-21 18:17:08 +00:00
Filippos Karapetis
426def4f44
Turned back all fprintf/exit(1) bits into error()
...
svn-id: r38716
2009-02-21 18:16:17 +00:00
Max Horn
11b2ddfc54
SCI: Simplified gcd (and fixed crash when a = 0, not that it would be relevant ;)
...
svn-id: r38715
2009-02-21 18:13:03 +00:00
Filippos Karapetis
3cd9706c63
Now that we've placed everything under the Sci namespace, the Sci:: bits can be removed
...
svn-id: r38714
2009-02-21 18:12:02 +00:00
Max Horn
199121a04e
SCI: Replaced sci_sched_yield based 'mutex' in SCI mixer by a regular ScummVM mutex
...
svn-id: r38713
2009-02-21 18:06:00 +00:00
Paweł Kołodziejski
a5cf6bfd85
cleanup
...
svn-id: r38712
2009-02-21 17:29:03 +00:00
Florian Kagerer
8a95f02abf
LOL: some work on inventory/item handling
...
svn-id: r38711
2009-02-21 17:24:50 +00:00
Paweł Kołodziejski
51bb24626a
update
...
svn-id: r38710
2009-02-21 17:24:02 +00:00
Paweł Kołodziejski
f18d5500b1
formating
...
svn-id: r38709
2009-02-21 17:23:28 +00:00
Willem Jan Palenstijn
a0cc744aab
fix translation of shift-F-keys too
...
svn-id: r38708
2009-02-21 17:15:26 +00:00
Willem Jan Palenstijn
dc446169ba
fix translation of F-keys
...
svn-id: r38707
2009-02-21 17:13:05 +00:00
Paweł Kołodziejski
d23166c2a1
formating
...
svn-id: r38706
2009-02-21 16:20:53 +00:00
Paweł Kołodziejski
1ee65390cd
formating
...
svn-id: r38705
2009-02-21 16:08:04 +00:00
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
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