9257 Commits

Author SHA1 Message Date
Eugene Sandulenko
440fcb1d5a Patch #2638336: Broken Sword PSX Support Part 2 of 2
svn-id: r38957
2009-02-28 10:53:45 +00:00
Eugene Sandulenko
5aa50ec889 Patch #2638336: Broken Sword PSX Support
svn-id: r38956
2009-02-28 10:46:33 +00:00
Willem Jan Palenstijn
4febcde170 Make CFSML writers take const arguments
svn-id: r38952
2009-02-28 10:05:07 +00:00
Willem Jan Palenstijn
c76dc0b71c Initialize mixer feed variables
svn-id: r38951
2009-02-28 10:04:40 +00:00
Max Horn
6f72cc45a3 cleanup
svn-id: r38950
2009-02-28 07:23:31 +00:00
Max Horn
413ded4ce4 SCI: Get rid around the first layer around the ScummVM audio mixer. Also resolve the FIXME about releasing the mixer channel we allocated
svn-id: r38949
2009-02-28 06:48:53 +00:00
Nicola Mettifogo
4bd19f7a7f Improved debug output when listing animations.
svn-id: r38948
2009-02-28 06:21:24 +00:00
Max Horn
a26b3bfde6 SCI: Get rid of extra layer around our timer manager
svn-id: r38947
2009-02-28 06:14:42 +00:00
Travis Howell
c1a712c4e8 Add German font data table for German versions of Elvira 2 and Waxworks.
svn-id: r38943
2009-02-28 00:13:14 +00:00
Travis Howell
0315465fde Elvira 1 uses slightly different font data table, shared for all languages.
svn-id: r38942
2009-02-28 00:12:21 +00:00
Willem Jan Palenstijn
6eeec1d295 Add FIXME: We need a pcm_device->exit() function,
to release the mixer channel allocated for pcm_device in ScummVM's mixer.

svn-id: r38941
2009-02-27 23:53:52 +00:00
Willem Jan Palenstijn
d3e60f2ae3 Depend on backend timer API instead of a new mutex
This fixes a deadlock between the backend's timer mutex and
the sound callbackMutex that would occur while restoring a game.

svn-id: r38939
2009-02-27 22:20:11 +00:00
Matthew Hoops
9a89280527 Add detection of another version of the Black Cauldron. (See bug #2628354).
svn-id: r38936
2009-02-27 22:14:18 +00:00
Travis Howell
5974452291 Fix bug #2642654 - SIMON2: Cannot load savegame, also in CD DOS?.
svn-id: r38935
2009-02-27 22:10:25 +00:00
Willem Jan Palenstijn
fb8fafaf56 Fix reading corrupted saves.
svn-id: r38934
2009-02-27 19:50:22 +00:00
Willem Jan Palenstijn
fb552121d2 fix warnings and memleaks in savegame.cfsml
svn-id: r38933
2009-02-27 19:38:20 +00:00
Willem Jan Palenstijn
ede680738b sync savegame.cfsml with include/ dir changes
svn-id: r38932
2009-02-27 19:37:29 +00:00
Eugene Sandulenko
d53c75fc8f Fix code formatting
svn-id: r38930
2009-02-27 12:59:02 +00:00
Nicola Mettifogo
44906f574f The engine has now to build the drawing list for the graphic department, instead of setting visibility flags; the new field _prog has been added to GfxObj to help sorting the list.
The outcome is that cleaning up unused resources on location switches is now easier to manage, and less error prone.

svn-id: r38928
2009-02-27 08:56:19 +00:00
Nicola Mettifogo
e17a140019 Improved debugger output.
svn-id: r38927
2009-02-27 08:46:39 +00:00
Torbjörn Andersson
53572f6c07 Committed patch #2606844 ("Fix crash when using BS1 without portuguese data").
Admittedly, I'm not really that familiar with BS1 resource management, but as
far as I can tell the patch just adds sanity checking, so it shouldn't hurt.

svn-id: r38925
2009-02-27 05:52:22 +00:00
Torbjörn Andersson
349fce7454 Committed a slightly updated patch #2602772 ("Patches for BS1 bug ID #1977094")
to replace some missing subtitles with hard-coded ones.

svn-id: r38923
2009-02-27 05:20:37 +00:00
Max Horn
c053ef8c87 SCI: Remove empty include/ dir
svn-id: r38922
2009-02-27 02:24:29 +00:00
Max Horn
479751104f SCI: Renamed include/engine.h to engine/state.h; added a corresponding .cpp file with the EngineState constructor
svn-id: r38921
2009-02-27 02:23:40 +00:00
Max Horn
170916201c SCI: Moved almost all files from include/ to other dirs; only include/engine.h remains
svn-id: r38920
2009-02-27 02:23:00 +00:00
Max Horn
bf0860fc5e SCI: Commited file handling revamp, work in progress
svn-id: r38919
2009-02-27 01:17:24 +00:00
Willem Jan Palenstijn
5a5c51bb48 Reset successor variable after use.
This fixes a crash in SQ3 after reloading followed by restarting.

svn-id: r38918
2009-02-26 23:13:00 +00:00
Filippos Karapetis
6c879e96d1 - Removed engine/sys_strings.*
- Renamed sys_string_t -> SystemString, sys_strings_t -> SystemStrings

svn-id: r38916
2009-02-26 23:03:35 +00:00
Andre Heider
2d1fd81f90 start out with an empty array of file handles, so the Enginestates matches between startup and restart. really check its size before accessing it (fixes LSL3 restart)
svn-id: r38915
2009-02-26 21:17:53 +00:00
Willem Jan Palenstijn
f8648767e4 fix graphics regression in Iceman caused by r38909
svn-id: r38914
2009-02-26 20:08:04 +00:00
Andre Heider
dbe632e8ed protect the sfx timer with the callbackMutex to fix the race the condition when restarting or restoring a game.
svn-id: r38913
2009-02-26 19:32:22 +00:00
Andre Heider
84daa0410f reinit sfx in game_init() when it got deinitialized in game_exit(), this unmutes the game after a restart.
shutdown sfx in game_exit() only if there is no EngineState successor (restored game) since gamestate_restore() already reinitialized it.

svn-id: r38912
2009-02-26 19:28:21 +00:00
Max Horn
79417f4d32 cleanup
svn-id: r38910
2009-02-26 16:33:48 +00:00
Max Horn
3343dca6dc SCI: Modified gfx_new_mode to take a Graphics::PixelFormat
svn-id: r38909
2009-02-26 16:16:53 +00:00
Max Horn
fde001ce81 SCI: Changed 'typedef enum { } NAME' into C++-style 'enum NAME { }'
svn-id: r38908
2009-02-26 16:16:46 +00:00
Max Horn
900dc048f4 SCI: Turned the crossblit code into a template
svn-id: r38907
2009-02-26 16:16:38 +00:00
Max Horn
e140188541 SCI: Some nitpick FIXMEs on incorrect opcode number comments ;)
svn-id: r38906
2009-02-26 16:16:30 +00:00
Max Horn
9515ae4ddc SCI: Moved gfx_line.cpp to line.h and turned _gfx_draw_line_buffer into a template
svn-id: r38905
2009-02-26 16:16:22 +00:00
Max Horn
edc4e58c9c SCI: Replaced #define hack to fake subclassing in C by regular C++ subclassing
svn-id: r38904
2009-02-26 16:16:13 +00:00
Nicola Mettifogo
09196a35ad Added filter to preserve needed Animation across location switch.
svn-id: r38903
2009-02-26 14:53:57 +00:00
Nicola Mettifogo
b76ad3dc4f changeLocation now uses the internal variable _newLocationName instead of an input parameter.
svn-id: r38902
2009-02-26 14:42:03 +00:00
Willem Jan Palenstijn
1377a4b64c Clarify behaviour of gfxop_get_event().
svn-id: r38900
2009-02-26 12:10:11 +00:00
Filippos Karapetis
387fcd101d Cleanup
svn-id: r38898
2009-02-26 10:44:25 +00:00
Nicola Mettifogo
88efc8603e Removed null*Ptr dummy objects, using SharedPtr's reset method to null pointers instead.
svn-id: r38897
2009-02-26 10:44:01 +00:00
Filippos Karapetis
2fbf626d09 Cleanup
svn-id: r38896
2009-02-26 10:31:48 +00:00
Filippos Karapetis
6f939ff6c8 Cleanup. Readded FIXME
svn-id: r38895
2009-02-26 09:44:06 +00:00
Nicola Mettifogo
76283e3f73 Merged walk code for NS, and simplified handling.
svn-id: r38894
2009-02-26 09:42:08 +00:00
Nicola Mettifogo
3efffe511b Fixed crashes and leaks when quitting BRA from menu and splash screen.
svn-id: r38893
2009-02-26 09:12:29 +00:00
Nicola Mettifogo
d5d006bb30 Cleanup of CommandExec and ProgramExec, and pushed down dependencies from exec.h.
svn-id: r38892
2009-02-26 06:16:35 +00:00
Max Horn
5093167fde cleanup
svn-id: r38891
2009-02-26 02:21:55 +00:00