Commit Graph

912 Commits

Author SHA1 Message Date
CeRiAl
f60d6f7a97 MACOSX/UPDATES: Streamline UpdateManager
Moved UpdateManager related code from backends/modular-backend.* to
common/system.*. Added switch --enable/disable-updates to be able
to disable updates support generally.
2011-07-19 21:35:37 +02:00
CeRiAl
828f1884b4 MACOSX: Add Sparkle support 2011-07-19 21:33:01 +02:00
clone2727
6370984b22 Merge pull request #50 from clone2727/bink
Add support for Bink video to SCUMM HE
2011-07-18 16:04:39 -07:00
Alyssa Milburn
40a6c232e9 COMPOSER: Add a first attempt at an engine. 2011-07-14 20:08:06 +02:00
Matthew Hoops
a50abde1b1 BUILD: Allow for disabling Bink support 2011-07-13 12:08:26 -04:00
D G Turner
52dce79299 Wii: Enable Virtual Keyboard for Wii and Gamecube in Configure.
This should avoid future bugs similar to #3358466 ("Wii: Virtual
Keyboard doesnt show up").
2011-07-09 15:30:23 +01:00
Alyssa Milburn
66e81d633f Merge remote-tracking branch 'origin/master' into soltys_wip2 2011-07-07 09:24:10 +02:00
Littleboy
02b03bc6c1 CONFIGURE: Rename $WIN32BUILD to $STAGING 2011-07-01 01:17:10 -04:00
Travis Howell
a5d001fdef BUILD: Use static build when compiling with later GCC versions under mingw, to avoid additional DLL requirements. 2011-07-01 15:11:52 +10: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
b0ee7bbb7e BACKENDS: Implement Win32TaskbarManager::setCount() 2011-06-29 11:07:23 -04:00
Strangerke
b0c9c9122f Merge branch 'master' of github.com:scummvm/scummvm into soltys_wip2 2011-06-29 16:15:41 +02:00
Bastien Bouclet
5a2bc12f26 PS3: Fix out of tree builds.
Allow GCC to use CELL BE PPU features.
2011-06-25 15:22:21 +02:00
Eugene Sandulenko
627372a67c Merge pull request #40 from bgK/ps3
PS3 Port
2011-06-23 01:34:05 -07: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
Eugene Sandulenko
33ce6e60fd Merge pull request #26 from Littleboy/taskbar
Taskbar integration
2011-06-22 13:35:37 -07:00
Bastien Bouclet
d2454d7e5f CONFIGURE: When building the SDL backend, display the SDL version number.
From SDL 1.3.0 onwards, audio CD support has been removed.
2011-06-22 20:01:53 +02:00
Bastien Bouclet
c31ec23d5b PS3: Build with -mminimal-toc to allow loading larger elfs. Thanks to andoma for the tip. 2011-06-22 19:57:44 +02:00
Bastien Bouclet
6633a06519 PS3: Map joypad buttons to features. Enable the virtual keyboard. 2011-06-22 19:57:44 +02:00
Bastien Bouclet
11cfa0d357 PS3: Initial version of the PlayStation 3 backend 2011-06-22 19:51:02 +02:00
Bastien Bouclet
872d672c33 SDL: Allow building with current SDL 1.3hg 2011-06-22 19:44:46 +02:00
eriktorbjorn
36d720d06b CONFIGURE: Use = to test for string equality, not ==
I think this is correct. It's consistent with how it's done in other
places in the configure script, and it silences a bunch of "unexpected
operator" warnings for me.
2011-06-18 08:26:55 +02:00
Julien
96c1e97459 CONFIGURE: Add minimum version of Unity 2011-06-16 14:27:24 -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
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
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
1e3603b937 BACKENDS: Add define for Unity-specific taskbar code 2011-06-16 14:23:18 -04:00
Tarek Soliman
daf277f146 CONFIGURE: add warning for building WIP/unstable engines
Also, If any unstable/wip engine is enabled, #define TAINTED_BUILD
2011-06-16 10:17:19 -05: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
dhewg
b97a5dcfb2 CONFIGURE: Fix cxx test linking for Android
Libraries are now properly detected by configure again.
2011-06-15 19:09:50 +02:00
Vladimir
52a89174ab DREAMWEB: added autogenerated source 2011-06-15 17:29:05 +02:00
CeRiAl
2ff4380c55 WINCE: Add support for language auto-detection in WinCE 2011-06-14 22:42:16 +02:00
Strangerke
c545ebd0d5 CGE: Add minimal engine and detection 2011-09-10 17:50:47 +02:00
Johannes Schickel
092142d880 BUILD: Enable Lands of Lore by default. 2011-06-02 03:03:50 +02:00
Max Horn
9db33ea544 ALL: Removed last traces of the MPEG2 code 2011-06-01 23:17:43 +02:00
Max Horn
b0a460e849 DC: Use 'noserial' for release builds 2011-06-01 18:17:01 +02:00
clone2727
49a8f7675f Merge pull request #20 from scott-t/t7g-ios
T7G iOS support
2011-06-01 07:04:05 -07:00
Max Horn
a4610df482 Merge branch 'branch-1-3-0' into master
I manually resolved all conflicts, and inspected every single change.
Many were due to the version string mismatch and thus easily resolved.
The MSVC project files add in the 1-3-0 branch were not merged,
neither where the changes to gui/themes/translations.dat.

Conflicts:
	NEWS
	backends/base-backend.cpp
	backends/graphics/samsungtvsdl/samsungtvsdl-graphics.cpp
	backends/module.mk
	backends/platform/ds/arm9/makefile
	backends/platform/psp/README.PSP
	backends/platform/samsungtv/main.cpp
	backends/platform/samsungtv/samsungtv.cpp
	backends/saves/posix/posix-saves.cpp
	base/commandLine.cpp
	base/internal_version.h
	base/main.cpp
	common/array.h
	configure
	devtools/create_project/create_project.cpp
	dists/android/AndroidManifest.xml
	dists/android/plugin-manifest.xml
	dists/iphone/Info.plist
	dists/irix/scummvm.spec
	dists/macosx/Info.plist
	dists/redhat/scummvm-tools.spec
	dists/redhat/scummvm.spec
	dists/scummvm.rc
	dists/slackware/scummvm.SlackBuild
	dists/wii/meta.xml
	engines/sci/parser/vocabulary.cpp
	engines/tinsel/handle.cpp
	gui/themes/translations.dat
2011-06-01 15:15:31 +02:00
Matthew Hoops
aa49b38c5a Merge remote branch 'upstream/master' into t7g-ios
Conflicts:
	engines/groovie/script.cpp
2011-05-31 14:16:29 -04:00
Fabio Battaglia
42fa23ff16 CONFIGURE: move some libs required by n64 port
Some system libs weren't found during link stage, this should fix it
2011-05-31 15:16:25 +02:00
Max Horn
c30904b48a BUILD: Fix typo which broke WebOS builds 2011-05-31 12:22:26 +02:00
Max Horn
9c3a8cd3b5 BUILD: Compile more files only when necessary 2011-05-31 00:35:27 +02:00
Max Horn
127a6f920a BUILD: Add SDL_BACKEND=1 to config.mk for all SDL based backends 2011-05-31 00:25:40 +02:00
Max Horn
f7e94e90b6 WINCE: Remove unnecessary -I flags 2011-05-30 23:58:45 +02:00
Max Horn
22e02b0aa2 BUILD: Only add one option per line to INCLUDES/CXXFLAGS/LDFLAGS
This improves (IMHO) readability, and makes it easier to diff for
changes in compiler options.
2011-05-30 23:55:11 +02:00
Max Horn
09ba2ad438 DC: Don't set a lib search path for plugins
Plugins may not rely on external libs, so there is no point in
specifying a custom library search path for them.
2011-05-26 13:31:17 +02:00
Max Horn
a654115f1a BUILD: Make endianess check stricter 2011-05-26 11:06:33 +02:00
Max Horn
de8a44abfc BUILD: Reorder configure some more 2011-05-26 11:06:33 +02:00
Max Horn
7b51caedba ANDROID: Trying to fix the recent linker failures 2011-05-26 08:25:28 +02:00
Max Horn
bf490b4084 BUILD: Reorder plugin stuff in configure some more 2011-05-26 07:26:01 +02:00
Max Horn
7fcaac9408 BUILD: Unify plugin prefix/suffix handling, unify setting DYNAMIC_MODULES 2011-05-25 14:58:54 +02:00
Max Horn
4f34347485 BUILD: Minor configure cleanup 2011-05-25 14:40:04 +02:00
Max Horn
6e157fd2d4 BUILD: Do not define LUA_USE_POSIX
It doesn't really do anything useful anymore anyway (except
make linux builds use _setjmp instead of setjmp, but both
are equally bad for us and need to replaced anyway).
2011-05-25 13:40:45 +02:00
Max Horn
652bf358c2 BUILD: Update comments 2011-05-25 13:40:07 +02:00
Max Horn
c439e08590 BUILD: Declare RELEASE_BUILD in DEFINES, not CXXFLAGS 2011-05-25 13:24:38 +02:00
Max Horn
d2e778bf0b BUILD: Replace _need_memalign runtime test by hardcoded list
According to a discussion on -devel, this test cannot work reliably in
general: It cannot determine when unaligned access really works reliably
in all situations, nor on all implementations of the target CPU arch;
nor does it determine whether unaligned access is supported effectively
(as opposed to say supported via super-slow fault handler mechanism).
2011-05-25 13:24:38 +02:00
Max Horn
4b7f6dfa3c BUILD: Rename USE_TEXT_CONSOLE -> USE_TEXT_CONSOLE_FOR_DEBUGGER
This reduces the similarity in name to the otherwise mostly
unrelated DISABLE_TEXT_CONSOLE #define.
2011-05-25 13:24:37 +02:00
Max Horn
717a7accf5 BUILD: Always enable indeo3 codec 2011-05-25 13:24:37 +02:00
Max Horn
8387b68c57 BUILD: Add only one -D to DEFINES per line; add FIXMEs to -D in CXXFLAGS 2011-05-25 13:24:37 +02:00
Max Horn
38ff07589c BUILD: Unify how _posix is computed
However, the current approach of determining _posix based on _host_os is
flawed and should be replaced by feature detection; added a TODO about
this.
2011-05-25 13:23:04 +02:00
Max Horn
39076ef972 BUILD: Rename UNIX #define to POSIX 2011-05-25 13:23:03 +02:00
Max Horn
6639eacb3a BUILD: Move some Android 'hack' back to near end of configure 2011-05-25 13:21:53 +02:00
Max Horn
d935c53cdf BUILD: Rearrange some PSP stuff
Cursory testing shows no regressions caused by this, but proper
testing of this change is recommended.
2011-05-25 13:21:53 +02:00
Max Horn
9b14c50b77 BUILD: Unify how debug/release mode defaults are determined 2011-05-25 13:21:53 +02:00
Max Horn
63a69b4f1e BUILD: Overhaul how we determine the need for aligned mem access
Also add some comments explaining what is going on and why.
2011-05-25 13:21:52 +02:00
Max Horn
e013a51604 BUILD: Enable ARM asm only based on _host_cpu
Also moved x86 and ARM recognition code in configure to be
next to each other; and print whether ARM specific code is
going to be used or not.
2011-05-25 13:21:02 +02:00
Max Horn
ecb8618cb7 BUILD: Unify build & configure rules for SDL based backends 2011-05-25 13:21:01 +02:00
Max Horn
7585303c06 BUILD: Do not manually set endianess
If for some reason the endianess is not detected right, then this should
be reported as a bug; and any (hopefully temporary) specification of
the endianess should be accompanied by an explanatory comment.
2011-05-25 13:21:01 +02:00
Max Horn
1b248cd936 BUILD: Reorder parts of configure 2011-05-25 13:21:00 +02:00
CeRiAl
e27dd8ac4e WINCE: Change plugin extensions from .dll to .plugin - fixes erroneous loading of runtime-dlls 2011-05-20 06:31:23 +08:00
Willem Jan Palenstijn
a47d2aaa6f BUILD: Reset executable flag of configure 2011-05-18 00:07:46 +02:00
CeRiAl
6db6d69eed WINCE: Enable building of plugins with normal configure/make
Enables building of plugin .dlls without a custom Makefile.
Also removes generation of scummvm.exe.map from configure script.
2011-05-18 06:04:23 +08:00
David-John Willis
ea1ef4386a CONFIGURE: Add missing SDL_BACKEND define for the OpenPandora backend.
* Not really sure when/how it got lost but as it's lack  spectacularly
  breaks the backend it is a really good idea to put it back ;)

Thanks to Max for the heads up.
(cherry picked from commit bd60a289c7)
2011-05-14 11:53:13 +02:00
md5
e3a487702a CONFIGURE: Don't enable the sword25 engine if Zlib is not enabled 2011-05-13 20:35:39 +03:00
md5
7543c3ba5f CONFIGURE: Don't disable the sword25 engine when libpng is not found 2011-05-13 18:52:51 +03:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Matthew Hoops
a1d41da096 Merge remote branch 'upstream/master' into t7g-ios
Conflicts:
	audio/decoders/qdm2.h
	common/util.cpp
	engines/groovie/music.cpp
	engines/groovie/resource.h
	video/qt_decoder.cpp
	video/qt_decoder.h
2011-05-11 00:30:28 -04:00
Klaus Reimer
a6dc171255 WEBOS: Added comment for Palm Pixi specific compiler options. 2011-05-08 17:39:26 +02:00
Klaus Reimer
8d7baf9ffa WEBOS: Removed unused libpdl linking. 2011-05-08 17:39:26 +02:00
Klaus Reimer
77817a8be8 WEBOS: Moved webos plugin build configuration into its own block so it can be configured separately from the generic linux configuration. 2011-05-08 17:39:26 +02:00
Klaus Reimer
c7b4818025 WEBOS: Added comments to explain some WebOS compile settings. 2011-05-08 17:39:25 +02:00
Klaus Reimer
31d86f9045 WEBOS: Added comment for Palm Pixi specific compiler options. 2011-05-08 17:37:31 +02:00
Klaus Reimer
6631cf60db WEBOS: Removed unused libpdl linking. 2011-05-08 17:37:31 +02:00
Klaus Reimer
73ee6ec702 WEBOS: Moved webos plugin build configuration into its own block so it can be configured separately from the generic linux configuration. 2011-05-08 17:37:31 +02:00
Klaus Reimer
869a6d42bd WEBOS: Added comments to explain some WebOS compile settings. 2011-05-08 17:37:31 +02:00
Johannes Schickel
066b3882c6 BUILD: Disable OpenGL backend code.
The (SDL) OpenGL backend is not ready for the release.
2011-05-06 20:13:22 +02:00
Johannes Schickel
cf43b51f67 Merge pull request #31 from lordhoto/win-res
Embed engine/theme dists files into Win Executable.
Check the following link for further discussion:
https://github.com/scummvm/scummvm/pull/31
2011-05-06 10:57:11 -07:00
Julien
371b9cace7 Merge pull request #29 from Littleboy/nsis
NSIS installer support
2011-05-05 11:26:33 -07:00
Johannes Schickel
297834017a WIN32: Embed engine data files and theme files into executable.
This embeds all the engine data files from dists/engine-data into the
executable in case the engines using them are included statically.

Furthermore it includes the theme dist files in the executable.
2011-05-05 20:22:37 +02:00
David-John Willis
bd60a289c7 CONFIGURE: Add missing SDL_BACKEND define for the OpenPandora backend.
* Not really sure when/how it got lost but as it's lack  spectacularly
  breaks the backend it is a really good idea to put it back ;)

Thanks to Max for the heads up.
2011-05-04 14:35:25 +01:00
Max Horn
971baf3585 BUILD: Remove incorrect mention of 'symbian' backend from configure 2011-05-03 23:58:33 +02:00
Littleboy
0e45aa8655 Merge remote-tracking branch 'upstream/master' into nsis
Conflicts:
	devtools/create_project/scripts/postbuild.cmd
	devtools/create_project/visualstudio.cpp
	ports.mk
2011-05-02 17:21:10 -04:00
Klaus Reimer
1d1ee5c979 WEBOS: Added a default prefix and enforcing docdir, datadir and plugin directory. 2011-05-01 23:48:23 +02:00
Klaus Reimer
4c540a86fc WEBOS: Added a default prefix and enforcing docdir, datadir and plugin directory. 2011-05-01 23:45:09 +02:00
Marcus Comstedt
e467468900 DC: Disable serial for release 2011-05-01 14:48:50 +02:00
Klaus Reimer
831f974cb4 WEBOS: Added compiler options that should enable support for the Palm Pixi. Can't test it because I have no Pixi but at least it still works on the Pre. 2011-05-01 11:12:51 +02:00
Johannes Schickel
69dcca74da CONFIGURE: Remove incorrect "+" added with 54ddd000dc. 2011-05-01 03:23:39 +02:00
strangerke
54ddd000dc AmigaOS4: Adapt configure to latest SDK (Patch created by Raziel^) 2011-04-30 22:01:06 +02:00
Max Horn
2fd2247ab8 WEBOS: Tweak configure script to simplify support for WebOS on buildbot 2011-04-29 12:54:10 +02:00
Littleboy
7d22d7452f PORTS: Tweak win32setup target
- Rename README-SDL to be used by installer script
 - Use relative build path for WIN32PATH
 - Add default build folder to ignore file
2011-04-27 15:12:12 -04:00
dhewg
8f1a26ea3e BUILD: Move ARM_ASM flags to configure
So they're used again if a port overwrites _port_mk
2011-04-22 19:05:31 +02:00
strangerke
908dde34ba HUGO: Enable the engine by default 2011-04-17 15:39:05 +02:00
Alyssa Milburn
20e662e5a6 CONFIGURE: Explain more about --enable-all-engines. 2011-04-15 13:56:20 +02:00
Matthew Hoops
6d153f311c Merge remote branch 'upstream/master' into t7g-ios
Conflicts:
	video/qt_decoder.cpp
2011-04-13 16:04:29 -04:00
Johannes Schickel
a132bbb10c CONFIGURE: Fix tsage engine entry position.
The engine list is (apart for subengines and SCUMM) sorted alphabetically,
thus tsage should be between touche and tucker and not between toon and
touche.
2011-04-13 19:28:49 +02:00
Paul Gilbert
e6090415b6 Merge remote branch 'remotes/dreammaster/tsage' 2011-04-13 21:08:05 +10:00
David-John Willis
1986c1d82b CONFIGURE: Add _timidity=no to the GPH devices to stop Timidity
support being built.

* This is for the GP2X, GP2XWIZ and Caanoo devices that use the
  GPH backend.
2011-04-13 08:01:16 +01:00
Klaus Reimer
fbc58d21ff WEBOS: Disable opengl support; move --sysroot to LDFLAGS where it belongs 2011-04-12 11:11:20 +02:00
Klaus Reimer
a16e9c0920 WEBOS: Add PDK paths to LDFLAGS & INCLUDES; enable dynamic plugins support 2011-04-12 11:11:19 +02:00
Klaus Reimer
2160ecfe3a WEBOS: Disable vkeybd, fix more directory references with wrong package name
The vkeybd XML can't be read for some reason.
2011-04-12 11:11:16 +02:00
Klaus Reimer
aa79a2634d WEBOS: Enable keymapper, implement FORWARD key and right+middle button clicks 2011-04-12 11:05:53 +02:00
Klaus Reimer
a4e757834e WEBOS: Create webos backend with custom events
Currently only contains test code.
2011-04-12 11:05:35 +02:00
Klaus Reimer
7c5c6803ab WEBOS: Add webos backend
IPK can be built with "make webosrelease".
2011-04-12 11:05:17 +02:00
Klaus Reimer
72d206dc73 WEBOS: Add WEBOS define
Using SDL_INIT_VIDEO flag for WebOS because without it the application
won't start.
2011-04-12 11:05:07 +02:00
Klaus Reimer
f8a73665d3 WEBOS: Add build support for webos 2011-04-12 11:05:01 +02:00
David-John Willis
38ed8d2fcd CONFIGURE: Move GP2X to build with the GPH backend by default. 2011-04-11 18:24:36 +01:00
dhewg
b48e3a83bb Revert "CONFIGURE: Use FORCE_RTL for the Wii backend"
This reverts commit e2a0c09692.
2011-04-10 11:23:14 +02:00
dhewg
fc582bfc8f Revert "CONFIGURE: Use FORCE_RTL for the Android backend"
This reverts commit 44ab256101.
2011-04-10 11:23:02 +02:00
Matthew Hoops
13a6f40dbb ALL: Add optional dependency on libfaad 2011-04-09 15:27:23 -04:00
dhewg
44ab256101 CONFIGURE: Use FORCE_RTL for the Android backend 2011-04-09 12:49:41 +02:00
dhewg
e2a0c09692 CONFIGURE: Use FORCE_RTL for the Wii backend 2011-04-09 12:48:41 +02:00
Johannes Schickel
bd253a62ac BUILD: Support newer MinGW compilers.
It seems the recent MinGW gcc versions use the "TMP" env variable to determine
the temporary file path. Since we use that variable to hold temporary values it
will make g++ crash since it cannot access the path.

I "fixed" that problem by renaming the TMP variable we use to TMPR.

Tested with mingw-g++ 4.5.2.
2011-04-08 16:16:59 +02:00
Matthew Hoops
b101fd6f03 MOHAWK: Allow disabling of Riven compilation 2011-03-28 22:26:23 -04:00
Matthew Hoops
4a7572d893 MOHAWK: Allow disabling compiling cstime 2011-03-28 22:26:23 -04:00
Matthew Hoops
e5811cd6c3 MOHAWK: Allow disabling compilation of Myst 2011-03-28 22:26:23 -04:00
Matthew Hoops
55d433203d CONFIGURE: Enable Mohawk by default 2011-03-28 10:05:40 -04:00
Jordi Vilalta Prat
55231f18cd CONFIGURE: Apply patch #3193021 (AMIGAOS4: Typo in configure) 2011-03-22 17:50:40 +01:00
dhewg
3e1bea3f17 CONFIGURE: Fix PS2 compilation
newlib system include files suppress M_* defines under __STRICT_ANSI__
2011-03-20 10:31:22 +01:00
dhewg
a5a8af86ee CONFIGURE: Change Android debug flags logic
Use --enable-debug instead of not --enable-release
2011-03-10 21:17:59 +01:00
dhewg
fb0b9dd7b3 CONFIGURE: Fix some whitespaces 2011-03-10 21:17:59 +01:00
dhewg
bf62098dd5 CONFIGURE: Add support for Android's armeabi-v7a
Extended ABI with Thumb-2 and VFP hardware FPU instructions
2011-03-10 21:17:59 +01:00
Johannes Schickel
689b87a3e8 CONFIGURE: Oops fix a typo. 2011-03-08 19:49:10 +01:00
Johannes Schickel
fe89ffe80a WINCE: Add -fno-inline-functions to compiler arguments.
WinCE is using -O3 by default, which includes -finline-functions, which in turn
breaks SCI. By disabling that opimization we get SCI working fine again.
2011-03-08 18:16:36 +01:00
dhewg
94db3403a3 ANDROID: Add initial 16bit gfx support
Supported pixel formats: 565, 5551, 4444
Missing: 555 (doesn't exist on GLES)
2011-03-05 18:47:05 +01:00
dhewg
89986edf4d HAIKU: Remove -fhuge-objects.
Not required anymore, patch by Begasus
2011-02-23 19:27:23 +01:00
dhewg
0032db14ab ANDROID: Sync toolchain flags with NDK r5b. 2011-02-23 19:27:14 +01:00
dhewg
2f312e9e1a DS: Disable symbol garbage collection
Only applies when using loadable modules.
This requires a second compile run or black voodoo linker tricks.
Not implemented at this time. Disable it, so we get DS build failure
reports from buildbot (which are useful with all the DISABLE_EVERYTHING
defines).
The resulting binary might be too big to be usable.
2011-02-20 13:09:36 +01:00
dhewg
a6593c294e ANDROID: Disable mt32emu and timidity
mt32emu is using floats everywhere, and we don't have hardware-assisted
floating point computations on this armeabi. most (if any) devices can't
handle this
timidity doesn't make sense, because there's no daemon to connect to
2011-02-18 22:15:04 +01:00
dhewg
8de5edde95 ANDROID: Protect port files with our define
get rid of -DANDROID and -DANDROID_BACKEND
2011-02-14 18:58:55 +01:00
dhewg
51a966e9e6 ANDROID: Use the official NDK toolchain
- use NDK r5b
- cleanup
2011-02-14 18:58:54 +01:00
dhewg
ae25d185d5 BUILD: Add HOSTEXEPRE as prefix for EXECUTABLE
the android port needs to link a shared object for scummvm
2011-02-14 18:58:54 +01:00
Paul Gilbert
7042d95cfe TSAGE: Added the engine in a separate branch 2011-02-14 20:37:27 +11:00
Johannes Schickel
9f6dc040ff CONFIGURE: Add basic support for ICC.
svn-id: r55862
2011-02-10 01:05:48 +00:00
David Turner
9e761d6f29 TOON: Switched configure script to build Toon Engine by default.
Needed to allow Toonstruck playtesting with daily builds.

svn-id: r55747
2011-02-03 01:47:41 +00:00
Marcus Comstedt
176be9adad DC: Ensure creation of output sections .{c,d}tors
Add an object with an empty .ctors and .dtors section to the build
of each plugin.  This ensures that there will be an output section
.ctors and one .dtors in the output file (they could be empty though).
If these output sections were to be removed, the symbols defined inside
by the linker script could disappear as well, and we don't want that.

svn-id: r55149
2011-01-07 16:25:05 +00:00
David Turner
ccc3830b49 SWORD25: Update configure Script to set LUA platform configuration for linux*
This changes removes the tmpnam warning when building the Sword 2.5 engine.
This fix sets the top level define which is used by engines/sword25/util/lua/luaconf.h to configure the LUA interpreter build, but only for linux* targets. 
Other targets may need a similar fix.
Note : LUA_USE_POSIX is used in preference to LUA_USE_LINUX as this causes another warning associated with the dlopen usage.

svn-id: r55130
2011-01-06 00:43:36 +00:00
Yotam Barnoy
7558331550 PLUGINS: rename ONE_PLUGIN_AT_A_TIME define to UNCACHED_PLUGINS
ONE_PLUGIN_AT_A_TIME is too long.

svn-id: r55064
2010-12-30 08:01:58 +00:00
Yotam Barnoy
6817d4b300 PLUGINS: add ELF memory manager to solve fragmentation
Following lordhoto's suggestion, I implemented a simple allocator that grabs the size of the biggest available plugin in memory. This is an elegant solution to the fragmentation problem, with the caveat that memory is wasted. As such, it's not suited for the DS, so I added a #define to disable it there.

svn-id: r55009
2010-12-22 14:48:51 +00:00
Jordi Vilalta Prat
f1d8fc49f4 CONFIGURE: Add detection for OpenGL ES 1.1
svn-id: r54733
2010-12-02 12:44:36 +00:00
Johannes Schickel
4fe7e1b3e9 CONFIGURE: Fix OpenGL library detection on OS X in case MESA is installed.
svn-id: r54722
2010-12-01 20:50:12 +00:00
Jordi Vilalta Prat
75cf4a225d CONFIGURE: Remove the duplicated --disable-opengl description.
svn-id: r54721
2010-12-01 20:40:12 +00:00
Johannes Schickel
abe06f098c CONFIGURE: Improve OpenGL header + library detection.
svn-id: r54591
2010-11-29 20:07:09 +00:00
Max Horn
ce119b9540 OPENGL: Fix OpenGL on Mac OS X
svn-id: r54545
2010-11-28 18:57:36 +00:00
Max Horn
627db0d764 BUILD: Set 'UNIX=1' in config.mk on unix systems
svn-id: r54537
2010-11-28 17:42:25 +00:00
Max Horn
7870bed92f BUILD: Add OpenGL support to configure (from branch)
svn-id: r54536
2010-11-28 17:42:05 +00:00
Max Horn
aa33b22d63 BUILD: Compilation fixes for Win32 and Amiga
svn-id: r54535
2010-11-28 17:41:33 +00:00
Matthew Hoops
4a5b01e3bb CONFIGURE: Define SDL_BACKEND for GP2X/GPH/WINCE backends
This should fix compilation on those systems.

svn-id: r54149
2010-11-09 05:21:07 +00:00
Fabio Battaglia
f452fe82ad CONFIGURE: disable libmad for N64 Port
libmad uses more cpu than tremor, and audio stutters more,
also this will save some memory

svn-id: r54114
2010-11-07 12:09:53 +00:00
Yotam Barnoy
f5bfae598c PSP: cleaning up some stuff from plugin merge
svn-id: r54060
2010-11-04 06:28:34 +00:00
Yotam Barnoy
13b904d282 Merge from gsoc2010-plugins
This merge was extremely difficult to carry out. It wasn't entirely SVN's fault -- there were several merges to the branch that were done by hand. Please check for any issues and regressions. Also note that the DS makefile was not copied over since the "one at a time" plugin mode currently has too much fragmentation ie. it doesn't work.

svn-id: r54051
2010-11-03 22:01:01 +00:00
Yotam Barnoy
27182f266f PSP: removed CXA_AT_EXIT. It didn't work well because __dso_object already exists in the main executable, causing it not to be built in the plugins.
svn-id: r53996
2010-11-01 06:31:09 +00:00
Yotam Barnoy
94c8d0a14d Updated with latest from trunk
svn-id: r53976
2010-10-31 11:08:43 +00:00
John Willis
f835d49e2a CONFIGURE: Add -DGPH_DEVICE to all the GPH device targets.
Also add wrapper around the plugin dir. for the OpenPandora from 1.2.0 branch.

svn-id: r53640
2010-10-20 13:03:19 +00:00
Yotam Barnoy
9d12ee2125 PSP: building BS2.5 again. Reverting 53615.
svn-id: r53636
2010-10-20 09:50:39 +00:00
Yotam Barnoy
193a0c6ca1 PSP: disabling the ability to build Broken Sword 2.5. Revert once fixed.
Lua is very problematic for the PSP build because it wants a) libpng built with the plugins which is not great, but not that bad. b) It calls several PSP functions directly, and it turns out PSP functions can only be called from the main executable -- they're in flash and must be fixed up using custom PSP utils. Until this mechanism is changed so that for example lua calls functions in the main executable, the PSP cannot be built.

The following functions need to be removed/moved to the main executable:
All socket functions (should be disabled anyway)
Clock()
Rename()
Additionally, png functions should ideally also be called only from the main executable.

svn-id: r53615
2010-10-19 16:17:45 +00:00
Eugene Sandulenko
56b1f8ddee Revert "CONFIGURE: Added va_copy detection for Last Express engine"
svn-id: r53584
2010-10-18 20:19:44 +00:00
Eugene Sandulenko
a33d473535 CONFIGURE: Added va_copy detection for Last Express engine
svn-id: r53583
2010-10-18 20:02:27 +00:00
Eugene Sandulenko
937cf6cd7a CONFIGURE: Plug in Last Express engine
svn-id: r53580
2010-10-18 19:18:06 +00:00
Eugene Sandulenko
5d08ad157d CONFIGURE: formatting fix (and kick the buildbot full rebuild)
svn-id: r53570
2010-10-18 17:42:24 +00:00
Matthew Hoops
dad3f32278 MACOSX: Fix make bundle when compiling with libpng
svn-id: r53463
2010-10-15 03:33:54 +00:00
Max Horn
fa8275f27b SWORD25: Don't even compile theora related code when that lib is not present
svn-id: r53428
2010-10-13 15:00:51 +00:00
Filippos Karapetis
3b49939eab CONFIGURE: Fixed typo
svn-id: r53420
2010-10-13 13:43:13 +00:00
Filippos Karapetis
69e3e55aca CONFIGURE: Fixed a bug with --disable-theoradec and made libtheoradec optional for
building sword25 

If libtheoradec is missing then the engine still builds if requested, but the
videos will be disabled (note that running the game with videos disabled is
still untested)

svn-id: r53419
2010-10-13 13:36:55 +00:00
Joost Peters
fddc2ab3b9 CONFIGURE: Use static libgcc on IRIX cross-compile builds (makes them work on vanilla IRIX systems).
svn-id: r53414
2010-10-13 12:45:14 +00:00
Willem Jan Palenstijn
b3c352d1fe CONFIGURE: Don't execute a binary just to check libpng version
This fixes detection of libpng when cross-compiling.

svn-id: r53404
2010-10-13 10:50:45 +00:00
Johannes Schickel
3b81a9489e SOUND: Allow TiMidity support to be disabled via configure.
svn-id: r53395
2010-10-13 00:48:40 +00:00
Eugene Sandulenko
dbde2e46e3 SWORD25: Added detection of libtheora, png an dplugged in the engine
svn-id: r53169
2010-10-12 21:12:50 +00:00
Jordi Vilalta Prat
8388e0dfea JANITORAL: Clean trailing whitespaces.
svn-id: r53160
2010-10-12 02:18:11 +00:00
Jordi Vilalta Prat
a524209edc CONFIGURE: Update backends and special host lists.
- Update the documentation of available backends and special hosts based on
  the available ones.
- Sort backend/host/case lists alphabetically.

svn-id: r53158
2010-10-11 23:26:26 +00:00
Jordi Vilalta Prat
8b144960f8 CONFIGURE: Fix for bug #3085292 (--docdir not accepted)
- Handle the --docdir option which was documented but not accepted.
- Reorder the directory variables and their handling to have the same order
  everywhere. This will hopefully make bugs like this harder to happen.

svn-id: r53149
2010-10-11 19:50:17 +00:00
Eugene Sandulenko
cf82bef02e TOON: Merged Toon engine to ScummVM trunk
svn-id: r53087
2010-10-08 22:30:39 +00:00
Fabio Battaglia
9ec1985a09 CONFIGURE: add REDUCE_MEMORY_USAGE to N64 and Dingux ports
svn-id: r53050
2010-10-07 15:45:38 +00:00
John Willis
2e57bcad52 CONFIGURE: Clean up overuse of _exeext for GP2X/Wiz and Caanoo.
svn-id: r52917
2010-09-26 20:23:58 +00:00
John Willis
e9058c57a5 CONFIGURE: Rework GP2X/Wiz/Caanoo and OpenPandora builds.
Just some small cleanup to make the building of debug and
release builds follow the convention expected from the 
configure flags.

svn-id: r52821
2010-09-20 19:33:58 +00:00
Yotam Barnoy
f7f743ac31 PSP: switch from wrapping memcpy to defining our own memcpy
The advantage is that we get to do inlining and even use lwl and lwr instructions where appropriate. We have to do it ourselves because the PSP doesn't tolerate built-in instructions, but also we have a more efficient memcpy than the lib's.

svn-id: r52817
2010-09-20 14:10:44 +00:00
Andre Heider
251151eb1d CONFIGURE: Add missing -fuse-cxa-atexit for GameCube.
svn-id: r52731
2010-09-15 07:44:24 +00:00
Andre Heider
2596143e2b PLUGINS: Additional plugin check for the ELF loader.
The ELF loader does not have access to the symbols of the main
executable, it just relocates symbols to it via fixed offsets. We need
to make sure that loaded plugins are from the same link process to
prevent crashes. An embedded build date is used for that.

svn-id: r52730
2010-09-15 07:44:08 +00:00
Andre Heider
41834499ed PLUGINS: Cleanup.
- Unify ELF loader handling in configure
- Rename ELF_LOADER_TARGET to USE_ELF_LOADER

svn-id: r52728
2010-09-15 07:43:16 +00:00
Eugene Sandulenko
74118a7087 TESTBED: Merge gsoc2010-testbed branch
svn-id: r52681
2010-09-12 08:08:37 +00:00
Willem Jan Palenstijn
2ba62328d2 BUILD: Create configure temp files in build dir
This fixes detection issues with a noexec /tmp (bug #3009167),
and matches what autoconf does. There should be no need to
randomize temp file names in the build dir.

svn-id: r52659
2010-09-09 14:01:48 +00:00
Willem Jan Palenstijn
43f05c3361 BUILD: Fix compiler test result logging
svn-id: r52658
2010-09-09 14:01:33 +00:00
John Willis
47711e4c59 CONFIGURE: Move GP2XWIZ and CAANOO to use the GPH backend.
svn-id: r52649
2010-09-09 09:55:07 +00:00
Fabio Battaglia
0288f60f19 CONFIGURE and N64: add n64.mk with nintendo64 specific dist targets
svn-id: r52641
2010-09-08 18:04:38 +00:00
Fabio Battaglia
690fea2933 DINGUX: Add dingux.mk with specific 'dist' targets
svn-id: r52632
2010-09-08 08:26:20 +00:00
Andre Heider
ae408db07f PLUGINS: Use the C++ ABI to call dtors when unloading a plugin.
Avoid linking all plugins against libstdc++ to free up some memory
(about ~40kb on Wii per plugin). Enable it on GameCube, Wii, DS and PSP
(PS2 doesn't have __cxa_atexit support in its libc).

svn-id: r52607
2010-09-06 20:34:00 +00:00