27063 Commits

Author SHA1 Message Date
Max Horn
a408f4a776 Changed builtin Common::String capacity to 24 (on 32 bit systems), to make sizeof(String) 32; reduces overall memory req by 200k on my system; overall # of mallocs after this + the refcount memory pool change is almost unchanged
svn-id: r34644
2008-09-24 20:35:31 +00:00
Max Horn
dd433c24a2 cleanup
svn-id: r34643
2008-09-24 20:31:14 +00:00
Max Horn
f9650f0b6a Changed Common::String to use a MemoryPool for its refcounts
svn-id: r34642
2008-09-24 20:29:29 +00:00
Filippos Karapetis
e377ed856d Readded missing special case for the storm animation in ITE. Fixes bug #2125675 - "ITE: Game locks up in storm clouds scene"
svn-id: r34639
2008-09-24 07:26:45 +00:00
Benjamin Haisch
a776beb2b9 Improved updateScreenAndWait; the mouse cursor is less jerky now in some scenes in Manhole:N&E
svn-id: r34638
2008-09-23 23:16:47 +00:00
Johannes Schickel
7166d43774 Fix for bug #2120780 "GUI: gui-theme command-line option ignored", '-f' and '-g' command line switch behavior.
svn-id: r34637
2008-09-23 16:40:41 +00:00
Travis Howell
5258c80eae Add another French Windows version of Putt-Putt Enters the Race.
svn-id: r34636
2008-09-23 12:34:02 +00:00
Max Horn
618e7f3e31 Fix for bug #1917981: Game crash when finishing Indy3 demo. At the same time, added a new paranoia check
svn-id: r34635
2008-09-23 11:43:57 +00:00
Max Horn
65ef827349 Perform error checking when reading from a ZIP file
svn-id: r34634
2008-09-23 10:10:29 +00:00
Max Horn
20aea4e5fa cleanup
svn-id: r34633
2008-09-23 10:08:45 +00:00
Max Horn
9216eeabce Moved ZipArchive to namespace Common; moved unzip internals from unzip.h to unzip.cpp (to be cleaned up)
svn-id: r34632
2008-09-23 09:50:03 +00:00
Max Horn
c1c9c895a3 ImageManager: renamed remArchive() to removeArchive(); switched to using a SearchSet + ZipArchive to access ZIP files (code is much simpler now yet more flexible, yay)
svn-id: r34631
2008-09-23 09:42:38 +00:00
Max Horn
bfdff06e32 Moved ZipArchive implementation into unzip.cpp, added new ZipArchive::isOpen method
svn-id: r34630
2008-09-23 09:39:37 +00:00
Max Horn
939ba5294f Fix comments for random() funcs (thanks to salty-horse for pointing this out)
svn-id: r34628
2008-09-22 20:55:27 +00:00
Johannes Schickel
f8574c52f8 Fixed full screen toggling via alt+enter.
svn-id: r34627
2008-09-22 17:33:30 +00:00
Eugene Sandulenko
af3cbfc32e Reflect current team
svn-id: r34624
2008-09-21 11:18:16 +00:00
Eugene Sandulenko
1143ad4d82 Add recent patch contributors. Reflect current ScummVM team in the credits
svn-id: r34623
2008-09-21 11:17:22 +00:00
Eugene Sandulenko
297d4228d3 Patch #2054467: CRUISE: 64bits fixes
svn-id: r34622
2008-09-21 10:23:22 +00:00
Marcus Comstedt
727b220d25 In the CD filesystem, nothing can be opened for writing, so just
short-circuit any call to openForWriting().  Also, directories and
non-existing files can't be opened for reading either, so just
return 0 for those.

svn-id: r34621
2008-09-20 16:47:31 +00:00
Marcus Comstedt
a1072368de game.h is now in engines, not base.
svn-id: r34620
2008-09-20 16:38:50 +00:00
Torbjörn Andersson
4c7c82634d I think this is the correct fix for bug #2081347 ("MM: Charset out of
bounds!"). If I understand correctly, version <= 2 games only have one (hard-
coded) font, so when that's initialised we can set _curId to 0.

svn-id: r34619
2008-09-20 16:21:27 +00:00
Max Horn
383014f330 Fix for bug #2120602: 5ALL: Starting the launcher with -f triggers assertion
svn-id: r34617
2008-09-20 16:10:29 +00:00
Max Horn
bbba275913 Little readability tweak
svn-id: r34615
2008-09-20 15:53:17 +00:00
Willem Jan Palenstijn
487dec8e77 fix drawing order in saveload choosers (draw container before contents)
svn-id: r34614
2008-09-20 15:03:37 +00:00
Johannes Schickel
a422e4d632 Updated theme file version, to reflect latest addition of new required entries/files.
svn-id: r34613
2008-09-20 14:53:31 +00:00
Vicent Marti
6699a596ed Fixed "empty control statement" warning in FSDirectory::matchPattern().
svn-id: r34605
2008-09-20 10:32:59 +00:00
Filippos Karapetis
221b4a47ae Changed tinsel's volume range (0-127) to match ScummVM's (0-255)
svn-id: r34603
2008-09-19 13:58:09 +00:00
Filippos Karapetis
0068c63f22 Updated MSVC project files with the latest changes (moved base/game.* to engines/game.*)
svn-id: r34602
2008-09-19 10:25:40 +00:00
Max Horn
722d134e7e Added 'native' implementations for FSDirectory::matchPattern & SearchSet::getAllNames (untested)
svn-id: r34599
2008-09-18 08:19:00 +00:00
Max Horn
3178fad0a4 Simplified & fixed SearchManager
svn-id: r34598
2008-09-17 18:59:09 +00:00
Max Horn
a28646784d Added some noteworthy improvements due to Chris Page & GSoC 2008
svn-id: r34597
2008-09-17 18:56:54 +00:00
Max Horn
d4853dd9e8 Patch #2060517: SCUMM: engine sets incorrect talkspeed value
svn-id: r34596
2008-09-17 18:56:13 +00:00
Max Horn
468b387b97 Patch #2043093 (again - new patch): OS/2 patches for posix-fs
svn-id: r34595
2008-09-17 18:26:44 +00:00
Max Horn
977ee1fabc Patch #2112604: Update for the man page
svn-id: r34592
2008-09-17 18:16:06 +00:00
Johannes Schickel
7eceb8d423 Fixed bug in SaveLoadChooser reflowLayout, which prevented widgets from being properly hidden.
svn-id: r34590
2008-09-17 17:46:55 +00:00
Max Horn
a6dd4b7d4d Moved base/game.* to engines/game.*
svn-id: r34589
2008-09-17 17:31:29 +00:00
Max Horn
2bcc5681d8 DS: Removing some dead code; merged (parts of) std_cwd into GBAMPSaveFileManager::listSavefiles
svn-id: r34587
2008-09-17 16:38:01 +00:00
Max Horn
bf76057ec4 Removed tons of unused 'length' variables, to silence compiler warnings
svn-id: r34585
2008-09-16 20:12:25 +00:00
Johannes Schickel
cc35565de1 Added whitespace in playtime textfield.
svn-id: r34584
2008-09-16 14:59:52 +00:00
Johannes Schickel
3739662b75 Added support for SCUMM savestates date/time and playtime info in the launcher load dialog.
svn-id: r34583
2008-09-16 14:56:02 +00:00
Johannes Schickel
2e9e661d5f Cleanup.
svn-id: r34582
2008-09-16 14:22:51 +00:00
Johannes Schickel
259d87a8a6 Added "querySaveMetaInfos" to MetaEngine.
-> Allows easy addition of save state specific infos like playtime, save date atc.
 -> Removed MetaEngine::loadThumbnailFromSlot, superseded by meta infos
 -> Changed SCUMM / KYRA to implement the newly added functionallity
 -> Removed hack in KYRAs listSavefiles, which is now handled via meta infos

svn-id: r34581
2008-09-16 14:10:55 +00:00
Max Horn
9d96d9d380 Fix sign warnings in unit tests
svn-id: r34580
2008-09-16 11:57:45 +00:00
Johannes Schickel
5a1c593bf2 Removed assert leftover.
svn-id: r34579
2008-09-16 11:54:37 +00:00
Max Horn
f3dfb5ebab Merged common/gzip-stream.* and common/zlib.*
svn-id: r34578
2008-09-16 11:50:10 +00:00
Filippos Karapetis
6a4d96649e - Moved some includes away from drascula.h
- Moved grr() to talk.cpp
- Removed the unnecessary parameter length from isTalkFinished()

svn-id: r34577
2008-09-16 11:49:40 +00:00
Max Horn
706fb37061 Modified uncompress in common/zlib.h to return a bool, so that we don't have to #include the real zlib.h; fixed PSP backend to not run uncompress inside an assert (which would cause it to not be invoked when turning off asserts)
svn-id: r34576
2008-09-16 11:42:21 +00:00
Filippos Karapetis
3bffca569f Fixed some glitches in the last part of Von Braun's story
svn-id: r34575
2008-09-16 10:53:57 +00:00
Filippos Karapetis
d95e0059a2 Cleaned up and fixed the cutscene with Von Braun's story. Fixes bugs #2111804 - "DRASCULA: Cut scene bugs" and #2059648 - "DRASCULA: VonBraun's song"
svn-id: r34574
2008-09-16 10:44:07 +00:00
Filippos Karapetis
c36c58ca40 Removed the confirmation speech when a game is saved - it's "99.als" instead of "s99.als", but the main problem is that it's not translated in the English version and it's in Spanish (plus it's creepy and annoying...)
svn-id: r34573
2008-09-16 08:24:42 +00:00