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
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
Paweł Kołodziejski
037f56f719
formating
...
svn-id: r38635
2009-02-20 22:29:49 +00:00
Filippos Karapetis
701279fb40
Changed some SCIkdebug() calls to debugC()
...
svn-id: r38634
2009-02-20 22:21:33 +00:00
Filippos Karapetis
1a9253bc5e
Remove unused code (gfxr_interpreter_needs_multicolored_pointers)
...
svn-id: r38631
2009-02-20 22:19:11 +00:00
Travis Howell
5768eb8c43
Add English version of Humongous Catalog Preview and Russian versions of two HE games.
...
svn-id: r38630
2009-02-20 22:18:41 +00:00
Filippos Karapetis
637fa528f6
Changed some non-fatal messages back to warnings
...
svn-id: r38629
2009-02-20 22:17:14 +00:00
Paweł Kołodziejski
77542e8623
formating
...
svn-id: r38628
2009-02-20 22:12:48 +00:00
Sven Hesse
a69ec56869
Fixing compilation for me
...
svn-id: r38627
2009-02-20 21:47:51 +00:00
Paweł Kołodziejski
3ec65a052a
remove README, it's pointless
...
svn-id: r38626
2009-02-20 21:46:49 +00:00
Paweł Kołodziejski
435844c61e
formating
...
svn-id: r38625
2009-02-20 21:38:38 +00:00
Filippos Karapetis
9582e48574
Some initial code for a debug console (still non-working)
...
svn-id: r38623
2009-02-20 21:26:31 +00:00
Paweł Kołodziejski
8a15a72ec8
formating
...
svn-id: r38622
2009-02-20 20:55:35 +00:00
Filippos Karapetis
2ddce51a56
Changed more messages to warnings/errors
...
svn-id: r38621
2009-02-20 20:39:02 +00:00
Paweł Kołodziejski
1419024bd0
formating
...
svn-id: r38620
2009-02-20 20:33:27 +00:00
Paweł Kołodziejski
75b91c71dd
restored formating
...
svn-id: r38619
2009-02-20 20:31:08 +00:00
Paweł Kołodziejski
61b9086fcf
formating
...
svn-id: r38618
2009-02-20 20:17:57 +00:00
Filippos Karapetis
ac716ad843
Started conversion of debug messages and debug levels to the ScummVM equivalents. Removed the "stubs" and "warnings" debug levels and replaced such kinds of messages with normal warnings
...
svn-id: r38617
2009-02-20 20:11:12 +00:00
Paweł Kołodziejski
2080166499
formating
...
svn-id: r38616
2009-02-20 20:01:31 +00:00
Willem Jan Palenstijn
7fdf8021d8
use new instead of malloc for int_hash_map_t
...
svn-id: r38613
2009-02-20 19:32:27 +00:00
Paweł Kołodziejski
08cd2c8806
formating
...
svn-id: r38612
2009-02-20 19:08:38 +00:00
Paweł Kołodziejski
947a296d33
formating
...
svn-id: r38607
2009-02-20 17:23:54 +00:00
Paweł Kołodziejski
b70f3ba603
formating
...
svn-id: r38605
2009-02-20 17:09:22 +00:00
Paweł Kołodziejski
61231c2a36
formating
...
svn-id: r38604
2009-02-20 17:05:47 +00:00
Paweł Kołodziejski
ac4fe7a4bc
formating
...
svn-id: r38603
2009-02-20 16:59:05 +00:00
Filippos Karapetis
2f4fc293e7
Used parentheses to indicate operator precedence (I hope I got them right)
...
svn-id: r38602
2009-02-20 16:34:21 +00:00
Paweł Kołodziejski
75f9d5457a
formating
...
svn-id: r38601
2009-02-20 16:30:22 +00:00
Paweł Kołodziejski
f4719cf79c
formating
...
svn-id: r38600
2009-02-20 16:22:09 +00:00
Paweł Kołodziejski
823d924064
fixed compilation
...
svn-id: r38599
2009-02-20 16:19:29 +00:00
Paweł Kołodziejski
5066e2c4be
formating
...
svn-id: r38598
2009-02-20 16:18:08 +00:00
Max Horn
bc360ee525
SCI: Started rewriting file handling. Warning: This will likely introduce
...
regressions, but we just have to start somewhere.
- factored out some common code in engine/kfile.cpp into a separate func
- replaced many uses of chdir, getcwd, sci_init_dir etc. by equivalent
or better functionality from SearchMan etc.
- replaced many uses of sci_open and sci_fopen by using Common::File
and Common::Stream
- C++ified some stuff
- simplified ResourceSource a bit (loosing some unused functionality)
svn-id: r38597
2009-02-20 16:03:50 +00:00
Max Horn
e736b7fa62
SCI: Renamed some ResourceManager members, cleanup
...
svn-id: r38596
2009-02-20 15:55:59 +00:00
Max Horn
617c63c1ed
SCI: Removed unused allow_patches param/member
...
svn-id: r38595
2009-02-20 15:47:37 +00:00
Max Horn
7422e98f8f
SCI: Added TODO suggestion to change the vm opcode switch/case to an opcode table with methods for each opcode (helps to separate code and deal with changed opcode numbering in other SCI versions)
...
svn-id: r38594
2009-02-20 15:44:22 +00:00
Max Horn
f78f2aeafc
SCI: Renamed resource_source_t -> ResourceSource; some cleanup
...
svn-id: r38593
2009-02-20 15:41:58 +00:00
Max Horn
a2aba2f18e
SCI: Renamed resource_mgr_t -> ResourceManager; added remark to 'the other resource manager' that it should be renamed to GraphicsManager or so
...
svn-id: r38592
2009-02-20 15:24:22 +00:00
Max Horn
c3ffac5e62
SCI: Removed unused file
...
svn-id: r38591
2009-02-20 15:20:48 +00:00
Jordi Vilalta Prat
20d0395b69
- Moved SciEngine code to sci.cpp
...
- Fill the platform on fallback detection
- Report unparseable version strings
- Map known non-numeric version strings to their numeric counterparts
- Fix a crash caused by uninitialized LZEXE data
svn-id: r38589
2009-02-20 14:45:28 +00:00
Filippos Karapetis
7886aedebb
Fixed a nasty regression from the script system rewrite (commit #35670 ), which will cause crashes under certain conditions, and probably makes SAGA games non-completable.
...
When a script thread is waiting for another thread, the current instruction offset should not be modified. The thread processing function would incorrectly continue in some special cases, and would incorrectly alter the current instruction offset. This becomes apparent in some special cases only, which made it hard to spot - plus, SAGA games have not been tested for 0.13.0, so there weren't any reports for this.
This change SHOULD go to the 0.13.0 branch, but we've already tagged...
svn-id: r38581
2009-02-20 10:49:43 +00:00
Travis Howell
0155a1d0b4
Enable Eco Quest again.
...
svn-id: r38580
2009-02-20 04:23:18 +00:00