47083 Commits

Author SHA1 Message Date
Alyssa Milburn
dde622174c MOHAWK: Don't crash when getting odd types from LB target expressions.
(Thanks to [md5] for pointing it out.)
2011-06-25 09:51:50 +02:00
Filippos Karapetis
f46be3394a SCI: Added the Mac versions of LSL1, LSL5 and Dr. Brain 1
Taken from bug reports #3328251, #3328262 and #3328257.
Thanks to omer_mor for reporting these
2011-06-25 10:43:41 +03:00
CeRiAl
eb8db120b2 WINCE: Hide toolbar when returning to game list 2011-06-25 01:06:41 +02:00
Strangerke
10ff50b970 TSAGE: Silent a GCC warning reported by eriktorbjorn 2011-06-24 22:27:02 +02:00
Thierry Crozat
b35f4d31a6 COMMON: Look for translations.dat in Theme path before using SearchMan 2011-06-24 20:21:08 +01:00
Alyssa Milburn
2b03a3a0e6 MOHAWK: Handle ++/-- operators in LBCode. 2011-06-24 21:10:49 +02:00
Alyssa Milburn
685934ee4a MOHAWK: Partial support for newer LB targeting types. 2011-06-24 21:01:56 +02:00
Alyssa Milburn
d7a5ba3b2f MOHAWK: Allow matching LBValue items by their name. 2011-06-24 21:01:04 +02:00
Alyssa Milburn
1b6453dff4 BASE: Mess with strtol error handling some more.
WinCE's strtol can't actually do proper error handling because it is
lacking errno, so just check the bounds instead. If you really have
some need to pass LONG_MIN/LONG_MAX as command-line parameters then
it could always be #ifdeffed, but I'm assuming no-one cares.
2011-06-24 19:07:03 +02: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
Vladimir Menshakov
08375150ca DREAMWEB: Show subtitle options only for CD version 2011-06-24 09:41:13 +04:00
Vladimir Menshakov
a5748a34af DREAMWEB: Fixed continuing to another procedure. (axe misuse crash) 2011-06-24 09:34:23 +04:00
Eugene Sandulenko
7bdd3f3904 LASTEXPRESS: Implement playLoopingSound()
In order for it to work properly, updateQueue() should be unstubbed.
2011-06-24 02:08:11 +03:00
Thierry Crozat
87811d3a81 README: Move and rename translated README 2011-06-24 00:02:34 +01:00
Vladimir Menshakov
72965b6406 DREAMWEB: Fixed quit() from dialogue 2011-06-24 00:01:59 +04:00
Vladimir Menshakov
8148f4d81d DREAMWEB: Added ui settings integration 2011-06-23 23:52:59 +04:00
Vladimir Menshakov
e30b41b28e DREAMWEB: Added subtitle option 2011-06-23 23:30:12 +04:00
D G Turner
714976729d SAGA: Fix for Bug #3324850 ("ITE (SAGA): crash in dog sewers")
This read of 1 byte past the end of the buffer has existed since
the dragonMove() function was implemented, but since the change
in bfb0986c to use ByteArray, this now causes an assertion due to
the stricter bounds checking.

This commit corrects the original issue.
Thanks to fuzzie for this fix.
2011-06-23 18:35:27 +01: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
eriktorbjorn
77440aadf4 TSAGE: Silence GCC warnings. 2011-06-23 17:29:34 +02:00
Christoph Mallon
52ebc0da38 BASE: Correct usage of strtol().
- endptr needs not be initialised before calling strtol(), it is always set by strtol().
- endptr is never a null pointer after calling strtol().
- There is no need to rely on strtol() setting EINVAL (which is not guaranteed).
  Testing whether strtol() parsed till the end of the string is sufficient (it is guaranteed that the string is not empty at this point).
- It is sufficient to just test for ERANGE without inspecting the return value, because a successful call to strtol() does not change errno.

Signed-off-by: Alyssa Milburn <fuzzie@fuzzie.org>
2011-06-23 17:17:11 +02: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
Paul Gilbert
97137e6b27 TSAGE: Added saving/restoring of playing sounds to savegames 2011-06-23 20:11:51 +10:00
Eugene Sandulenko
c4a5fa8506 CREDITS: Add real name of serga per his request 2011-06-23 11:40:19 +03:00
Eugene Sandulenko
627372a67c Merge pull request #40 from bgK/ps3
PS3 Port
2011-06-23 01:34:05 -07:00
Alyssa Milburn
92f4b7c611 BASE: Fix build, and error handling in DO_OPTION_INT.
This fixes the logic of 979fc29b (I hope) and includes some missing
headers.
2011-06-23 10:28:43 +02: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