Colin Snover
d43732ac47
IOS: Replace strdup with Common::String
2018-08-18 16:30:05 +02:00
Colin Snover
481b608c51
PARALLACTION: Replace use of strdup with Common::String & malloc
2018-08-18 16:30:05 +02:00
Colin Snover
bc3c8bd8d2
LURE: Replace use of strdup with Common::String
2018-08-18 16:30:05 +02:00
Colin Snover
0851a30769
AGI: Replace use of strdup with Common::String
...
It was also necessary to make sure that the Common::String objects
were initialised correctly by switching to use a C++ container
for engine objects instead of calloc, since they were no longer
C-compatible PODs.
2018-08-18 16:30:05 +02:00
Colin Snover
4db0f20f47
GOB: Replace use of strdup with Common::String
2018-08-18 16:30:05 +02:00
Colin Snover
2f87216864
SWORD2: Replace use of strdup with Common::String
2018-08-18 16:30:05 +02:00
Colin Snover
072a52a9d2
SCUMM: Replace use of strdup with Common::String
2018-08-18 16:30:05 +02:00
Colin Snover
f7e05a6ace
GRAPHICS: Fix incorrect maximum length passed to strlcpy
2018-08-18 16:30:05 +02:00
Colin Snover
c544d8050c
GRAPHICS: Remove use of nonstandard strdup API & fix mismatched malloc/delete
2018-08-18 16:30:05 +02:00
Colin Snover
a726b3bc89
AUDIO: Remove unnecessary string duplications in FluidSynth driver
2018-08-18 16:30:05 +02:00
Colin Snover
b9a649c3e1
GUI: Replace use of strdup with Common::String
...
strdup is a POSIX API, not an ANSI C API. It is not available with
-std=c++11 on newlib-based systems, and VS 2015 will throw errors
unless it is #defined to alias to _strdup or unless deprecation
warnings are turned off (which is not a good idea in general).
Common::String is a safer and potentially faster (due to small
string optimisation) alternative, so prefer it instead.
2018-08-18 16:30:05 +02:00
Cameron Cawley
08314ae61f
DREAMCAST: Fix compilation
2018-08-18 16:27:34 +02:00
Thierry Crozat
c062b342b2
I18N: Update translations templates
2018-08-18 14:21:37 +02:00
David Fioramonti
e2e0f9f528
TOON: Add playtime to saved game
...
Supports saved games made in the current version or the the last saved game version.
2018-08-18 14:21:28 +02:00
David Fioramonti
16ee8aa69f
STARTREK: Make atan table static
...
Currently, it is reloaded every atan call.
2018-08-18 14:17:36 +02:00
David Fioramonti
54419e045a
STARTREK: Detect another ST25 CD/DOS English variant
2018-08-18 14:17:36 +02:00
Cameron Cawley
ae9cb8aa7b
BUILD: Simplify print-dists rule
...
filter DIST_FILES_% matches variables such as DIST_FILES_DOCS_language that shouldn't be included in the output as a result of commit c9f2091.
2018-08-18 14:16:45 +02:00
Colin Snover
1dd41fa578
PSP: Add EBOOT.PBP to a dist files list for the Buildbot packager
2018-08-18 14:16:45 +02:00
Colin Snover
4cd928a567
BUILD: Add commands for retrieving calculated binaries & dist files
...
Instead of hard-coding these lists into the CI system's packaging
code, expose them from Make so that everything is sourced off the
same one list.
2018-08-18 14:16:45 +02:00
Cameron Cawley
6e40b64eb1
POSIX: Allow forbidden symbols required by FreeMiNT
2018-08-18 14:08:40 +02:00
Colin Snover
e0b4bb0f1e
AUDIO: Fix non-compilable STMIDI audio backend
2018-08-18 14:08:40 +02:00
Colin Snover
4fe84887cc
BUILD: Update flags for compiling on FreeMiNT
2018-08-18 14:08:40 +02:00
Eugene Sandulenko
23aa8a5d13
DINGUX: Fix initSize() method signature
2018-08-18 14:05:02 +02:00
Ben Castricum
91b17af1cf
SCUMM : Add support for European Wii Pajama Sam (EAN3546430138939)
2018-08-18 13:51:54 +02:00
Colin Snover
12cf08fa1c
BUILD: Use normal host alias auto-prefixing for riscos and amigaos
2018-08-18 13:50:59 +02:00
Cameron Cawley
b86a210db5
RISCOS: Specify the original encoding of the translated documentation
2018-08-18 13:49:49 +02:00
Colin Snover
c240af799f
PSP: Fix compilation failures when debug printing is enabled
2018-08-18 13:49:15 +02:00
Colin Snover
7016c86d53
PSP: Fix bad indentation
2018-08-18 13:49:15 +02:00
Colin Snover
e49e34eede
PSP: Fix wrong/dangerous C-style casts
2018-08-18 13:49:15 +02:00
Colin Snover
334e0e7463
PSP: Remove dead code
2018-08-18 13:49:15 +02:00
Colin Snover
042650157a
PSP: Fix strict aliasing violation
...
Casting through pointer to void just to truncate a value to uint32
is incorrect.
2018-08-18 13:49:15 +02:00
Colin Snover
452e979101
PSP: Fix invalid return type of PspIoStream
...
The underlying API returns a SceUID, which is not valid to be
casted to a pointer.
2018-08-18 13:49:15 +02:00
rsn8887
c494123996
PSP: Fix loading of 4-bit PNG images
...
This fixes the loading of vkbd images from kbd subfolder:
kbd/keys_s_c4.png
kbd/keys_s4.png
kbd/nums_s4.png
kbd/keys_c4.png
kbd/syms_s4.png
kbd/keys4.png
kbd/nums4.png
kbd/syms4.png
2018-08-18 13:49:15 +02:00
Colin Snover
ce1868a28a
PSP: Fix usage of obsolete libpng APIs
...
These APIs were deprecated as early as libpng1.2 and were removed
by libpng1.5.
2018-08-18 13:49:15 +02:00
Cameron Cawley
06446d36f5
VIDEO: More fixes when building with Theora and Tremor
2018-08-18 13:33:43 +02:00
Colin Snover
f0fe48d2f7
BUILD: List all used environmental variables in configure help
2018-08-18 13:33:03 +02:00
Colin Snover
ffff953685
BUILD: Use split-dwarf debug symbol files by default, when available
...
This should improve linker time as well as reduce the size of the
built binaries (though this does not affect runtime memory usage
since the debug segments are not loaded into memory except by a
debugger) whilst still giving debug information.
2018-08-18 13:33:03 +02:00
Colin Snover
7557f17ed2
BUILD: Fix broken Dreamcast ronin handling & feature detection
...
$(ronindir) and the explicit crt0 may have happened to work because
library detection state for libmad was forced, but it was always
breaking the feature detection of the build system. Now we can
compile to Dreamcast using the normal detection system.
2018-08-18 13:32:14 +02:00
Colin Snover
9df74693ba
WIN32: Update version numbers in ScummVM.iss using the normal system
2018-08-18 09:28:56 +02:00
Colin Snover
0fccd88bd9
BUILD: Make Windows installer run unprivileged for non-admin users
2018-08-18 09:28:56 +02:00
Colin Snover
c2f3532440
BUILD: Remove bogus comment
2018-08-18 09:28:56 +02:00
Colin Snover
be6963f9b8
BUILD: Enable Sparkle updates in release mode
2018-08-18 09:28:56 +02:00
Colin Snover
8bf9e620df
BUILD: Fix Windows packaging target
2018-08-18 09:28:56 +02:00
Paul Gilbert
11e33ba3fc
JANITORIAL: Removing trailing spaces after int casts
2018-08-17 20:30:20 -07:00
Andrei Prykhodko
c8d3af3874
PINK: removed some unnecessary forward declarations
2018-08-17 17:29:19 +03:00
Andrei Prykhodko
736e94ce39
PINK: JANITORIAL: fixed local vars naming
2018-08-17 17:14:15 +03:00
Andrei Prykhodko
d60265d7d4
PINK: removed unused parameter
2018-08-17 17:14:15 +03:00
Andrei Prykhodko
5f462c1ebc
PINK: implemented skipString method in Archive
2018-08-17 17:14:15 +03:00
Colin Snover
78c2bb6a6a
DIRECTOR: Remove non-standard fileno & unistd.h
2018-08-16 16:21:44 +02:00
Andrei Prykhodko
d6f2a89488
PINK: fixed original bug when ActionSfx continues to play when it should stop
2018-08-16 06:33:53 +03:00