Littleboy
da60ff3ded
JANITORIAL: Fix MSVC warnings
...
- Conversion from double to float
- Unary minus operator applied to unsigned type
- ARRAYSIZE redefinition
2011-07-19 14:12:07 -04:00
Littleboy
bc298a58f5
LASTEXPRESS: Simplify SoundQueue::updateQueue()
...
- Remove useless cache code
- Use helper function to get the proper sound entry
- Fix crash on using an invalid entry
2011-07-08 22:03:34 -04:00
Littleboy
e7e689450b
LASTEXPRESS: Prefix savegame filenames with "lastexpress"
2011-07-08 22:03:32 -04:00
Littleboy
63e2fe7e7b
LASTEXPRESS: Have LastExpress_ADPCMStream inherit directly from Audio::ADPCMStream (as suggested by clone2727)
2011-07-08 22:03:28 -04:00
Littleboy
af2bdfcb59
LASTEXPRESS: Replace existing decodeIMA calls by code using our custom set of IMA and step tables
2011-07-08 06:25:29 -04:00
Littleboy
1a71cd1e21
LASTEXPRESS: Fix typo in filter table
2011-07-08 06:25:27 -04:00
Littleboy
8e75d9c84b
COMMON: Update documentation comment for TaskbarManager slot
2011-07-06 14:33:40 -04:00
Littleboy
47e9a6ccdc
LASTEXPRESS: Move sound filtering to base Sound class
...
- Rename kSoundStatusRemoved to kSoundStatusClosed
- Rename kSoundStatusClear2 to kSoundStatusCached
- Remove sound cache handling
2011-07-04 14:26:31 -04:00
Littleboy
14733b6112
CREATE_PROJECT: Remove copying of README-SDL in postbuild command script
2011-07-04 14:26:29 -04:00
Littleboy
de8c606c12
NSIS: Handle case when the Games.dll plugin cannot be loaded (and skip shortcut creation)
2011-07-04 14:26:27 -04:00
Littleboy
f88ef9b965
NSIS: Register with game explorer on installation
2011-07-04 14:26:26 -04:00
Littleboy
3afa4c312f
DISTS: Add Windows Game Explorer xml resource
2011-07-04 14:26:24 -04:00
Littleboy
00e3f920d0
CREATE_PROJECT: Update with new location of NSIS script and updated parameters
2011-07-01 01:17:20 -04:00
Littleboy
f38a31e208
NSIS: Always pass ARCH variable to script and handle case when the variable is empty
2011-07-01 01:17:18 -04:00
Littleboy
1f1367bb5a
NSIS: Convert line endings on the fly during installation
2011-07-01 01:17:16 -04:00
Littleboy
db1ec4a42d
TOOLS: Update NSIS script location
2011-07-01 01:17:14 -04:00
Littleboy
ac165d6f19
DISTS: Add missing IDI_COUNT to scummvm.rc.in
2011-07-01 01:17:12 -04:00
Littleboy
02b03bc6c1
CONFIGURE: Rename $WIN32BUILD to $STAGING
2011-07-01 01:17:10 -04:00
Littleboy
a5398bd663
LASTEXPRESS: Fix loading of subtitles from sound name
2011-07-01 01:17:08 -04: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
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
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
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
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
Littleboy
3f4d2c8130
LASTEXPRESS: Move subtitle-related methods to the SubtitleEntry class
2011-06-24 11:43:10 -04:00
Littleboy
5d020fffad
LASTEXPRESS: Refactor Sound class
...
- Move entry-related functions to separate class
- Move enumeration to shared header and rename FlagType to SoundFlag
2011-06-24 10:56:49 -04:00
Littleboy
b3d8e426c2
WII: Allow use of abort in OSystem_Wii class
2011-06-23 11:32:39 -04:00
Littleboy
eecd61e33d
ANDROID: Allow use of abort() in JNI class
2011-06-23 11:31:54 -04:00
Littleboy
712af61f76
BACKENDS: Silence warnings when compiling Win32TaskbarManager with mingw and add CLSID_ShellLink definition
2011-06-23 08:52:54 -04:00
Littleboy
b694a78f62
ANALYSIS: Add static casts to is* functions
...
This fixes a potential problem with passing char values that would be sign-extended and yield unexpected results.
See http://msdn.microsoft.com/en-us/library/ms245348.aspx
2011-06-23 08:52:52 -04:00
Littleboy
7a96e0bfb6
LASTEXPRESS: Extract Clock and TrainLine classes to separate files
2011-06-23 08:52:45 -04:00
Littleboy
f0cf72f431
LASTEXPRESS: Move Menu class to a separate folder
2011-06-23 06:58:21 -04:00
Julien
e972c6cfd8
SWORD25: Add error checks after allocating memory with malloc
2011-06-23 15:15:57 +08:00
Julien
53c4a190fc
COMMON: Add abort() to the list of forbidden symbols
2011-06-23 15:11:38 +08:00
Julien
7fa3a8bbff
BACKENDS: Add better error handling to OSystem_Win32::getDefaultConfigFileName()
2011-06-23 15:11:38 +08:00
Julien
dd21952f98
SCI: Allocate decompression buffers on the heap
2011-06-23 15:11:38 +08:00
Julien
69c7673e53
KYRA: Allocate screen region buffer on the heap
2011-06-23 15:11:38 +08:00
Julien
e610a17fc3
DRACI: Allocate no-sound buffer on the heap in LegacySoundArchive::openArchive()
2011-06-23 15:11:38 +08:00
Julien
9ff993382e
LURE: Allocate debug strings buffer on the heap
2011-06-23 15:11:37 +08:00
Julien
8a5bda72cc
BACKENDS/GRAPHICS: Silence non zero-terminated terminated buffers warnings by initializing the buffers to 0
2011-06-23 15:11:37 +08:00
Julien
367605d774
TSAGE: Allocate resource decoding buffer on the heap
2011-06-23 15:11:37 +08:00
Julien
5aa1877bef
TEENAGENT: Allocate large buffers on the heap instead of the stack
2011-06-23 15:11:37 +08:00
Julien
7a882600c6
GRAPHICS: Allocate Common::PEResources on the heap in WinFont::loadFromPE()
2011-06-23 15:11:36 +08:00
Julien
3ece07b14b
AUDIO: Replace assignment in return call by separate assignment and return call.
2011-06-23 15:11:36 +08:00
Julien
979fc29be6
BASE: Check return value from strtol in DO_OPTION_INT macro
2011-06-23 15:11:36 +08:00
Julien
c52cc84912
AUDIO/BACKENDS/GRAPHICS: Add error checks after allocating memory with malloc
2011-06-23 15:11:36 +08:00
Julien
2f200ac493
ANALYSIS: Fix potential memory leak when using realloc
...
When reallocation is unsuccessful, the passed buffer is not freed. In this case, assigning the result (NULL) will result in a leak of the original memory buffer.
See http://msdn.microsoft.com/en-us/library/kkedhy7c.aspx
2011-06-23 15:11:36 +08:00
Julien
a8b13e8a6b
AGOS: Fix operator precedence warning
2011-06-23 15:11:36 +08:00
Julien
1cc7faa242
DRACI: Replace abort() call by error()
2011-06-23 15:11:36 +08:00
Julien
e05b217b13
GIT: Ignore MSVC analysis build folders
2011-06-23 15:11:35 +08:00
Littleboy
2b01778e58
BACKENDS: Fix compilation with Unity
...
- Replace UNIX by POSIX
- Move unity include to cpp file
- Add exception for unistd.h and time.h headers
2011-06-22 20:52:59 -04:00
Littleboy
d9ede873d5
BACKENDS: Add missing enumeration value and GUID for compilation under older versions of mingw64
2011-06-22 20:22:26 -04:00
Littleboy
2b53aff08b
GIT: Ignore Qt Creator project files
2011-06-22 19:31:38 -04:00
Littleboy
27934d061e
CONFIGURE: Fix Unity checks
...
- Redirect pkgconfig errors to log file
- Remove duplicated -lunity option
- Fix output of selected taskbar integration when libunity is selected
2011-06-22 19:31:36 -04:00
Littleboy
85bb5ef45e
LASTEXPRESS: Fix leak and corruption of event handlers function pointers
...
- Add better error handling
- Properly delete previous event handlers when setting new ones or restoring from backup
2011-06-22 19:31:34 -04:00
Littleboy
434a2e66b1
LASTEXPRESS: Refactor Fight class
...
- Replace structs holding function pointers by proper classes
- Move each fighter functions to separate files
2011-06-22 19:31:32 -04:00
Littleboy
3c2a9b292f
LASTEXPRESS: Move Fight class to its own folder
2011-06-22 19:31:30 -04:00
Julien
154c584d44
BACKENDS: Enhance Win32TaskbarManager::getIconPath()
...
We now look for an iconsPath configuration variable with the path to the icons folder.
In addition, we look if there is an "icons" subfolder (useful when using extrapath to store icons)
2011-06-16 16:09:20 -04:00
Julien
96c1e97459
CONFIGURE: Add minimum version of Unity
2011-06-16 14:27:24 -04:00
Julien
149a8f8f11
BACKENDS: Fix compilation of Win32TaskbarManager with mingw
2011-06-16 14:27:22 -04:00
Julien
179630b46b
CONFIGURE: Only add linking to ole32 and uuid when taskbar support is compiled for Win32
...
We also show the type of taskbar integration being compiled.
2011-06-16 14:27:21 -04:00
Julien
8729af342f
CONFIGURE: Disable check for unity when compiling with mingw (pkg-config is not available)
2011-06-16 14:27:19 -04:00
Julien
599695bc4f
COMMON: Change TaskbarManager to the new module slot interface
2011-06-16 14:27:06 -04:00
Julien
5dff6c2c08
BACKENDS: Allow use of excluded functions needed by Win32TaskbarManager
2011-06-16 14:23:30 -04:00
Littleboy
9614834548
BACKENDS/COMMON/GUI: Remove complete support for TaskbarManager when taskbar integration is not enabled
2011-06-16 14:23:28 -04:00
Littleboy
79fb0ff223
CONFIGURE: Update internal libunity handling and add support for disabling taskbar support entirely
...
- Rename internal _unity var to _libunity
- Disable libunity support when taskbar integration support is disabled
2011-06-16 14:23:26 -04:00
Littleboy
0ae3e4f289
CONFIGURE: Update libunity detection by adding a call to one of unity functions in the cc_check test
...
Some older compilers might not error out on missing headers and will compile (with warnings) unless a symbol is missing
2011-06-16 14:23:24 -04:00
Littleboy
f843b3f280
BACKENDS: Fix Win32TaskbarManager compilation with Mingw
...
It was missing an include for scummsys.h and so couldn't find the defines
2011-06-16 14:23:23 -04:00
Littleboy
30c0966018
CONFIGURE: Disable Unity on non-unix systems and add taskbar support when compiling with mingw
...
- Mingw now links with 2 additional libraries: ole32 and uuid
2011-06-16 14:23:21 -04:00
Littleboy
7458073bad
COMMON: Update TaskbarManager header with better documentation and examples of use
2011-06-16 14:23:20 -04:00
Littleboy
1e3603b937
BACKENDS: Add define for Unity-specific taskbar code
2011-06-16 14:23:18 -04:00
Littleboy
28aa4f0f33
COMMON: Add overall documentation to TaskbarManager interface
2011-06-16 14:23:17 -04:00
Littleboy
fdada1dbff
BACKENDS: Remove UnityTaskbarManager::setOverlayIcon()
...
Unity is not going to provide a way to set a custom overlay icon
(the emblem API is being replaced by a simple urgent state)
2011-06-16 14:23:15 -04:00
Littleboy
5649ddaf10
BACKENDS: Move Win32TaskbarManager init code to constructor
2011-06-16 14:23:14 -04:00
Littleboy
e1dc9cdc0b
BACKENDS: Add support for count status to TaskbarManager
...
- Show the number of found games when using the massadd dialog
2011-06-16 14:23:12 -04:00
Littleboy
6c14d8a950
BACKENDS: Integrate glib main event loop
...
- Unity needs a glib event loop to dispatch events.
- Cleanup whitespace and indentation
2011-06-16 14:22:51 -04:00
Littleboy
cd09b7e74f
BACKENDS: Only update unity libs and cflags in auto mode
2011-06-16 10:38:43 -04:00
Littleboy
984e1968bc
BACKENDS: Add WIP Unity support
2011-06-16 10:38:40 -04:00
Littleboy
c3d9c6afa5
BACKENDS: Add use flag for taskbar integration
2011-06-16 10:38:34 -04:00
Littleboy
a523ade332
BACKENDS: Add stubs for unity taskbar class
2011-06-16 10:37:37 -04:00
Littleboy
fe347e4339
TOOLS: Add ole32.lib and uuid.lib to Code::Blocks linked libraries
2011-06-16 10:36:41 -04:00
Littleboy
2348eeed4c
BACKENDS: Add taskbar integration compat header for MingW
2011-06-16 10:36:39 -04:00
Littleboy
2be35013f1
BACKENDS: Add progress to MassAdd dialog
2011-06-16 10:36:33 -04:00
Littleboy
cd7822a29f
BACKENDS: Add engine-level accessor for TaskbarManager
2011-06-16 10:35:24 -04:00
Littleboy
0fd56852b6
BACKENDS: Add support for custom game icon (recent items list and icon overlay)
2011-06-16 10:30:31 -04:00
Littleboy
c0ec09ac66
BACKENDS: Implement Win32 taskbar progress state and recent list
2011-06-16 10:30:06 -04:00
Littleboy
f67975a487
BACKENDS: Add win32 stubs for taskbar integration
2011-06-16 10:29:47 -04:00
Littleboy
71e457783e
BACKENDS: Add generic TaskbarManager class to handle taskbar integration
2011-06-16 10:26:51 -04:00
Julien
074d491a6e
DISTS: Update XCode workspace
...
The workspace was broken by 39076ef972 . This reverts it to the previous revision and reapplies the changes:
- change UNIX to POSIX
- remove mpeg2 support
And adds the following changes:
- add missing files to the workspace
- enable translation support
- silence multi-character constant warning
2011-06-07 05:24:05 -04:00