Commit Graph

47264 Commits

Author SHA1 Message Date
eriktorbjorn
5dd8f2575b JANITORIAL: Silence a couple of "variable set but not used" warnings. 2011-06-30 23:47:10 +02:00
Matthew Hoops
d3717c1274 MOHAWK: Fix tMOV resources at the end of a file
Thanks to fuzzie for noticing
2011-06-30 15:51:15 -04:00
Ori Avtalion
aa0f307e06 ALL: Require DECLARE_SINGLETON to be used in the Common namepsace
Silences the clang warning:

  static data member specialization of '_singleton' must
  originally be declared in namespace 'Common'; accepted as a C++0x
  extension [-Wc++0x-extensions]

Wrapping "namespace Common {}" around the macro assignment causes clang
to complain about a spurious semicolon, and removing the semicolon at
the end of the macro causes some editors to misbehave.

Changing the requirement of using the macro in one namespace (the
global) to another (Common) seems a small price to pay to
silence a warning.
2011-06-30 22:41:41 +03:00
Travis Howell
13edea3e83 BUILD: Store the Windows installer scripts in a single directory, and share the graphics files. 2011-06-30 11:45:57 +10:00
Travis Howell
d8b3fe5887 BUILD: Store the Windows installer scripts in a single directory, and share the graphics files. 2011-06-30 11:42:19 +10:00
Travis Howell
eae06884b6 WIN32: Add option to disable the console window, keeping the current default of enabling the console window. 2011-06-30 11:17:58 +10:00
Ori Avtalion
eec84253f0 MADE: Fix hidden overloaded virtual function warning 2011-06-30 00:53:33 +03:00
Travis Howell
0be5ba9b0e Merge branch 'master' of github.com:scummvm/scummvm 2011-06-30 02:15:23 +10:00
Travis Howell
50f28f2c23 BUILD: Use separate win32 target for each installer. 2011-06-30 02:14:36 +10:00
Littleboy
3385fd37b9 LASTEXPRESS: Hook up preliminary sound filtering
- Add debug checks in soundFilter()
 - Rename kSoundStatusClear1 to kSoundStatusFilterVariant
2011-06-29 12:06:33 -04:00
Littleboy
2788cb8bf7 LASTEXPRESS: Update sound timer and sound entry playing
- Move filtering to SoundEntry class
 - Make some methods of SoundEntry class private
 - Add methods to check if a StreamedSound/AppendableSound is done playing
2011-06-29 11:07:28 -04:00
Littleboy
4526bbb5b6 LASTEXPRESS: Move SoundStatus to shared header 2011-06-29 11:07:26 -04:00
Littleboy
9cc5d404c7 LASTEXPRESS: Replace shared sound buffer by per-entry buffer 2011-06-29 11:07:24 -04:00
Littleboy
b0ee7bbb7e BACKENDS: Implement Win32TaskbarManager::setCount() 2011-06-29 11:07:23 -04:00
Travis Howell
3d7252aee8 DOCS: Add Personal Nightmare to README. 2011-06-30 00:48:53 +10:00
unknown
dde4cb1ff8 CREDITS: Update my status to active again. 2011-06-30 00:29:22 +10:00
Eugene Sandulenko
a17049e228 SWORD25: removed useless warning in setVsync() 2011-06-29 17:16:28 +03:00
Eugene Sandulenko
15a16e556c SWORD25: Implement persistence functions for soundengine
Now sound is properly saved/restored. Implemented savegame versioning.
Compatibility with old saves pertained.
2011-06-29 17:16:25 +03:00
Littleboy
c32a3ea0d3 BACKENDS: Fix warnings in Win32TaskbarManager 2011-06-28 23:40:31 -04:00
Littleboy
04933a1937 LASTEXPRESS: Make SoundEntry members private 2011-06-28 23:17:13 -04:00
Littleboy
b4ac4988cc LASTEXPRESS: Cleanup comments 2011-06-28 22:54:51 -04:00
Littleboy
90dc4f9a8c LASTEXPRESS: Move Sound class to the sound folder 2011-06-28 22:30:24 -04:00
Littleboy
6eace0ca75 LASTEXPRESS: Move sound queue related functions to a separate class
- Implement missing queue reset function
 - Cleanup SoundManager::playLoopingSound()
2011-06-28 22:13:40 -04:00
Littleboy
d1341387e3 LASTEXPRESS: Move more entry-related functions to Entry class 2011-06-28 20:09:56 -04:00
Alyssa Milburn
3384f4bf82 MOHAWK: Don't leak bitlStream (spotted by clone2727). 2011-06-28 22:00:20 +02:00
Thierry Crozat
2e81e05a12 I18N: Regenerate translations data file 2011-06-28 19:54:30 +01:00
Thierry Crozat
549439374d I18N: Update Czech translation from patch #3326481 2011-06-28 19:54:05 +01:00
Matthew Hoops
8cd81da14e MOHAWK: Cleanup Riven save code 2011-06-28 14:32:50 -04:00
Matthew Hoops
ddd83da48b MOHAWK: Add archive functions to get type/id lists
This will be needed for CarmenTQ
2011-06-28 13:54:14 -04:00
Matthew Hoops
cc818b444c MOHAWK: Use matchString instead of equalsIgnoreCase for resource names
A regression from 71c4329
2011-06-28 13:51:03 -04:00
Matthew Hoops
71c4329d86 MOHAWK: Rework archive handling
A new base class has been introduced (aptly named "Archive"), which is much cleaner than inheriting from MohawkArchive. In addition, the underlying resource retrieving code has been merged to reduce dupliplication.
2011-06-28 12:10:28 -04:00
Alyssa Milburn
ede71596ba MOHAWK: Better sanity checks in LB scripting. 2011-06-28 15:34:09 +02:00
Alyssa Milburn
c2e9319fa8 MOHAWK: Handle kLBOpRunData properly. 2011-06-28 15:32:25 +02:00
Alyssa Milburn
c2319a3a81 MOHAWK: Make LB's readString/readRect more generic. 2011-06-28 15:28:26 +02:00
Filippos Karapetis
168ba00ea3 SCI: Fixed script bug #3292327 - "SCI: HOYLE4: Cribbage bug" 2011-06-28 12:56:09 +03:00
Vladimir Menshakov
857f146bcb DREAMWEB: Removed memcpy as suggested by wjp 2011-06-28 11:18:52 +04:00
Littleboy
2d2ee68d2d BACKENDS: Update WindowsFilesystemNode::getChildren() to honor the hidden parameter (FR #1726611)
Hidden folders (such as the recycle bin or temporary hidden folders) will no longer be visible in the file/folder browser (as is the case on the Posix and related backends)
2011-06-28 01:58:09 -04:00
eriktorbjorn
4b51bef7ae TOON: Add delay to inventory rendering loop. Uses a bit less CPU now. 2011-06-27 21:48:00 +02:00
Paul Gilbert
6cea946f16 TSAGE: Separated the sound manager processing into it's own thread
This will be necessary with the introduction of the Sound FX driver, since the sound manager will do the processing for both drivers, but each will need to do their own output in their AudioStream thread
2011-06-27 22:56:14 +10:00
CeRiAl
0a9b9fe08f WINCE: Added option to disable panel toggling with double tap on top of screen 2011-06-27 02:22:24 +02:00
Littleboy
7983b1cce3 BACKENDS: Add special Win32 path to set SDL window icon
We bypass SDL_WM_SetIcon and setup the window icon using the embedded icon, with the default path as a fallback.
This allows us to use an antialised icon with alpha transparency (which the default included icon doesn't have) on Windows XP and later
2011-06-26 20:13:35 -04:00
Littleboy
f065b612a6 ICONS: Update Windows icons
- Replace 128x128 RGB version by PNG compressed 256x256 version for Windows Vista and later
 - Update 256 colors versions of the icon to remove black background
 - Remove 16 colors versions (256 colors icons have been supported since Windows 3.0 and are the default on Windows 95)
 - Add missing sizes and colors to NSIS installer icon
2011-06-26 20:00:53 -04:00
eriktorbjorn
d3d5fb8268 Merge branch 'master' of github.com:scummvm/scummvm 2011-06-26 23:15:47 +02:00
eriktorbjorn
e8c704a025 TOON: Fix the bottom pixels of text being cut off
It's a dirty rect problem. The computeSize() function needs to
take into consideration that the glyph may be offset, so it's not
enough to just look at its size. For now, I'm assuming that this
is only a problem with characters that stick out below the base
line, so that's all this patch tries to fix. Let's see if that's
enough.
2011-06-26 23:13:49 +02:00
Littleboy
3931de4235 BACKENDS: Fix running on pre-Windows 2000 operating systems
The Windows taskbar manager uses VerSetConditionMask and VerifyVersionInfo to check for Windows 7 or later
before enabling the taskbar integration features. Those functions did not appear until Windows 2000, so we
have to check for them at runtime.
2011-06-26 16:02:33 -04:00
Littleboy
3f43619ea8 LASTEXPRESS: Add detection entry for Russian version 2011-06-26 16:02:31 -04:00
Eugene Sandulenko
d2962531cb GRAPHICS: Generalized arbitrary bit depth images processing in PNG decoder.
This fixes 1bpp image rengering.
2011-06-26 21:19:27 +03:00
Thierry Crozat
55a7bbf86a SWORD25: Change unknow handle error into a warning
Also add sanity checks when calling findHandle() in the SoundEngine.
This fixes an issue when functions of SoundEngine are called on a
sound that has already finished playing (the most common
occurrences are calls to isSoundPlaying()).
2011-06-26 18:40:31 +01:00
Eugene Sandulenko
32392c9430 SWORD25: Fixed bug with concurrent sounds. Reported by criezy 2011-06-26 17:36:53 +03:00
Eugene Sandulenko
bce549f42a SWORD25: Fix bug with loading saves when some saves are missing 2011-06-26 16:10:34 +03:00