Commit Graph

29839 Commits

Author SHA1 Message Date
Greg Frieger
eca41c0d11 ResourceManager:
- Keep a list of opened volumes to avoid redundant file opens
- Internal functions moved from public to protected

svn-id: r39334
2009-03-11 20:15:42 +00:00
Kari Salminen
6ccf016127 Fix assertions in palette loading function to really test that each color component fits inside a single byte (Easier to parse that way).
svn-id: r39333
2009-03-11 20:04:08 +00:00
Filippos Karapetis
3e7fe64a22 Untangled the parameters in gfxr_interpreter_get_view() as well. Updated comments
svn-id: r39332
2009-03-11 17:09:30 +00:00
Filippos Karapetis
aacb916e5e Got rid of misc_payload and stopped passing the whole graphics state structure in places where it's not necessary
svn-id: r39331
2009-03-11 16:50:12 +00:00
Johannes Schickel
35c4aec93f Formatting.
svn-id: r39330
2009-03-11 16:13:28 +00:00
Greg Frieger
17664dce40 More clean-ups in decompression classes
svn-id: r39329
2009-03-11 04:38:54 +00:00
Max Horn
862c9547c6 SCI: Removed some dead code
svn-id: r39328
2009-03-11 02:32:20 +00:00
Max Horn
b52025ec82 ...
svn-id: r39327
2009-03-11 02:16:21 +00:00
Max Horn
e3b5e5a74c SCI: Restored code to triger debugger console by Ctrl-d (accidentally removed it in rev 39201)
svn-id: r39326
2009-03-11 02:05:49 +00:00
Max Horn
47cf6a0151 SCI: Formatting changes (using astyle)
svn-id: r39325
2009-03-11 01:40:08 +00:00
Max Horn
486900a8e5 SCI: Fix warning
svn-id: r39324
2009-03-11 00:41:31 +00:00
Greg Frieger
738160d17a Some clean-up of DecompressorComp3 class
svn-id: r39323
2009-03-11 00:23:18 +00:00
Johannes Schickel
e2d33d81ab Add FIXME comment in AgiEngine::syncSoundSettings.
svn-id: r39321
2009-03-10 22:36:06 +00:00
Johannes Schickel
e7d806188f Yet another few tiny formatting fixes.
svn-id: r39320
2009-03-10 22:30:38 +00:00
Johannes Schickel
91ce0ce123 Formatting.
svn-id: r39319
2009-03-10 22:18:16 +00:00
Johannes Schickel
b4ef8aba75 Made Decompressor's destructor virtual. (fixes compilation and should fix possible leaks)
svn-id: r39318
2009-03-10 22:11:11 +00:00
Johannes Schickel
333d2c8e34 - Fix warnings
- Formatting

svn-id: r39317
2009-03-10 22:09:10 +00:00
Filippos Karapetis
eaaa703c62 Updated the MSVC project files for the SCI engine (added engine/stringfrag.cpp)
svn-id: r39316
2009-03-10 22:07:42 +00:00
Filippos Karapetis
54e2aedb46 Added FIXME for heap corruption occurring when exiting SCI games
svn-id: r39315
2009-03-10 22:04:48 +00:00
Filippos Karapetis
915b29c3f5 Synced the rest of the MSVC project files for the SCI engine
svn-id: r39314
2009-03-10 21:55:32 +00:00
Scott Thomas
2f61d7d77b - Convert some file references from uint16 to uint32 to suit 11H
- Add some 11H opcodes

svn-id: r39313
2009-03-10 21:54:45 +00:00
Travis Howell
e6d0a83bb1 Fix compile of CINE engine.
svn-id: r39312
2009-03-10 21:47:53 +00:00
Greg Frieger
0a38541cc5 Resource decompression functions moved to scicore\decompressor.cpp and turned into classes.
svn-id: r39311
2009-03-10 21:44:03 +00:00
Kari Salminen
24e6587b16 Palette-class for Cine-engine, WIP: Take 2. Testing, using and documentation still TODO.
svn-id: r39310
2009-03-10 20:37:54 +00:00
Andre Heider
c72cba069b Use pow() instead of powf() when compiling with MinGW32 to work around a libstdc++ cross-compile bug, see #2673362
svn-id: r39309
2009-03-10 19:32:38 +00:00
Max Horn
d5d7bd73d5 SCI: Moved cfsml.pl from tools/ to tools/sci/; also fixed circular dependency
svn-id: r39308
2009-03-10 19:20:32 +00:00
Max Horn
ba0d429694 SCI: EVIL temporary hack to ensure savegame.cpp is rebuilt when any of the headers it uses have been changed (to track mistakes like me forgetting to rename SongIteratorMessage -> SongIterator::Message in the CFSML, too). If anybody knows how one can 'copy' the dependencies of one target and add them to another, please let me know.
svn-id: r39307
2009-03-10 19:17:52 +00:00
Max Horn
1bc84955a3 SCI: Removing unused line from savegame.cfsml, fixing SongIteratorMessage -> SongIterator::Message in it
svn-id: r39306
2009-03-10 19:11:35 +00:00
Max Horn
4da6fbbb76 SCI: Memory 'ref counting' code is only used by song iterators -> move it there, make it private (to be replaced one day by something else, e.g. Common::SharedPtr)
svn-id: r39305
2009-03-10 19:08:07 +00:00
Johannes Schickel
39359479ea - Fix code indentation
- Some (minor other) fromatting fixes

svn-id: r39304
2009-03-10 18:42:18 +00:00
Filippos Karapetis
2a4c6bdb71 Added missing SVN keywords
svn-id: r39303
2009-03-10 18:35:13 +00:00
Filippos Karapetis
073a1b3f96 Formatted code to conform to our coding standards. Also, added parentheses to clarify "&" operator precedence
svn-id: r39302
2009-03-10 18:33:36 +00:00
Johannes Schickel
74cea8d75d - Fix warning
- Fix missing return in stringfrag_getchar (someone check out the FIXME there, please)

svn-id: r39301
2009-03-10 18:22:10 +00:00
Lars Skovlund
9b4f52aefd Add missing file.
svn-id: r39300
2009-03-10 18:10:22 +00:00
Lars Skovlund
49393c79e5 Minor fix to deallocate STRING_FRAG segments properly
svn-id: r39299
2009-03-10 17:41:58 +00:00
Filippos Karapetis
d8824d631a Fixed warnings
svn-id: r39298
2009-03-10 16:24:40 +00:00
Lars Skovlund
3cddcb1660 String fragments support
WIP: No regressions in this part, I hope

svn-id: r39297
2009-03-10 14:52:02 +00:00
Fabio Battaglia
cbfd80a5d1 Fix GMM loading disabled after loading savegame from ScummVM menu
svn-id: r39296
2009-03-10 13:48:42 +00:00
Travis Howell
4de1cd89ca Fix compile of SCI engine.
svn-id: r39295
2009-03-10 11:16:07 +00:00
Filippos Karapetis
519e16b9e2 Updated the MSVC project files of the SCI engine and ScummVM
svn-id: r39294
2009-03-10 11:00:50 +00:00
Filippos Karapetis
d7b767d90c Reverted some of the changes of commit #39192. The cursor reading code has been placed back in a separate file, and not in the resource manager (but it's now 1 function)
svn-id: r39293
2009-03-10 10:55:36 +00:00
Filippos Karapetis
c908f3c332 - Renamed files inside gfx/resource
- Merged sci_picfill_aux.cpp and sci_picfill.cpp into picfill.cpp (as this is the only place where the auxiliary fill functions are used)

svn-id: r39292
2009-03-10 10:36:43 +00:00
Scott Thomas
a4ad40235c Fix graphics corruption in 11H FMV streams
svn-id: r39291
2009-03-10 07:35:06 +00:00
Max Horn
7f1a9b385d SCI: SongIterator::Message only needs to transfer a single argument, so get rid of the second slot
svn-id: r39290
2009-03-10 02:57:30 +00:00
Max Horn
6b58973536 SCI: Renamed SongIteratorMessage -> SongIterator::Message; cleanup
svn-id: r39289
2009-03-10 02:42:22 +00:00
Max Horn
842a42b1bd SCI: More SongIterator refactoring.
* Added SongIterator::clone()
* got rid of songit_clone()
* removed SIMSG_CLONE and related code
* removed SongIterator::flags
* turned songit_new_tee into TeeSongIterator constructor

svn-id: r39288
2009-03-10 02:41:56 +00:00
Max Horn
073cc060e9 Fixed warning in list code
svn-id: r39287
2009-03-10 02:41:35 +00:00
Max Horn
30856ddc4d SCUMM: Fix snap scroll dialog messages
svn-id: r39286
2009-03-10 00:44:33 +00:00
Travis Howell
d666af279c Alter/revert last changes to moveCamera(), as VAR_CAMERA_FAST_X is used by a few scripts in Indy3 too.
svn-id: r39285
2009-03-10 00:36:56 +00:00
Florian Kagerer
f2a066e42f LOL: - some opcodes and interface code so that you can at least get out of the shops and Geron's room
svn-id: r39284
2009-03-10 00:32:20 +00:00