Commit Graph

579 Commits

Author SHA1 Message Date
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
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
Eugene Sandulenko
6c980b3593 CONFIGURE: Wrap usage help around 80 columns
svn-id: r52602
2010-09-06 18:13:39 +00:00
John Willis
871aa65a83 CONFIGURE: Remove 16Bit graphics support from the GP2X backend.
This should not have been committed with r52600, 
the GP2X backend refactor it needs is not yet ready to commit.

svn-id: r52601
2010-09-06 18:06:47 +00:00
John Willis
fdb2a58bc2 CONFIGURE: Add support for the OpenPandora backend.
svn-id: r52600
2010-09-06 17:35:27 +00:00
Andre Heider
7248efb178 DS: Enable stdout/err via nocash when DISABLE_COMMAND_LINE in not set.
svn-id: r52533
2010-09-04 22:19:20 +00:00
Yotam Barnoy
43bbfa5ca8 PSP: removed strict-aliasing
It's no longer needed after adding __may_alias__ flag in endian.h.

svn-id: r52481
2010-09-01 12:56:34 +00:00
Yotam Barnoy
b5a17ca628 PSP: fix BS2 crash by disabling strict aliasing
The problem that caused the crash in BS2 had to do with GCC making improper assumptions about our code. Specifically, the alignment trick we use for READ_UINT32/16 allows some targets(e.g. MIPS) to generate better code, but it also goes against ANSI C aliasing rules, which prohibit the sharing of addresses between a struct and another variable value. Using -fno-strict-aliasing tells GCC not to assume strict ANSI C aliasing and also unfortunately prevents it from making some good optimizations.

This change is probably needed for other platforms as well -- the crash on the PSP was simply a very rare coincidence.

svn-id: r52473
2010-08-31 15:24:08 +00:00
John Willis
c36ba08424 CONFIGURE: Add support for building for the GPH Caanoo.
The Caanoo is based on the GP2XWIZ backend but needs to be a seperate
target as it uses a different toolchain/libs etc. 

svn-id: r52401
2010-08-26 11:28:30 +00:00
Andre Heider
922510df7e SOUND: New global define AUDIO_REVERSE_STEREO.
This reverses the stereo channels for all sfx streams, meant for
hardware devices which expect an inverse order. Use it for the Wii
and Gamecube port since it's reversed since day one :P

svn-id: r52357
2010-08-24 18:44:14 +00:00
Fabio Battaglia
f2ed796ba3 CONFIGURE: don't force vkeybd for n64 port
svn-id: r52355
2010-08-24 17:56:33 +00:00
Fabio Battaglia
4625defaa4 CONFIGURE: force disable seq midi for dingux port
svn-id: r52219
2010-08-20 05:06:07 +00:00
Fabio Battaglia
c427ecb7cc DINGUX: disable check for vorbis, because of terrible performance compared to tremor
svn-id: r52212
2010-08-19 15:13:03 +00:00
Eugene Sandulenko
26dc4c2425 DINGOO: new port. Patch #3039277
svn-id: r52210
2010-08-19 12:43:37 +00:00
Eugene Sandulenko
bec56837eb CONFIGURE: Properly detect -Wglobal-constructors
svn-id: r52157
2010-08-17 13:51:36 +00:00
Eugene Sandulenko
c6d56f2c02 CONFIGURE: Add -Wglobal-constructors to Darwin builds.
svn-id: r52156
2010-08-17 13:00:48 +00:00
John Willis
56ec4fc353 CONFIGURE: Add plugin support for the GP2X backend.
I'll switch the GP2X to use plugins by default for new releases after some additional testing.

svn-id: r52153
2010-08-17 11:40:48 +00:00
Eugene Sandulenko
981abdd08b CONFIGURE: Remove trailing space (and kick buildbot)
svn-id: r52152
2010-08-17 11:19:34 +00:00
Eugene Sandulenko
06960d33e1 HUGO: Adding engine to the main tree
svn-id: r52137
2010-08-17 09:28:20 +00:00
Andre Heider
c58e2707ff WII: Update port for the current versions of the base libraries. Enable DVD access for the GameCube port.
svn-id: r52074
2010-08-14 00:56:12 +00:00
Neeraj Kumar
7e126ed299 TESTBED: Merged changes from trunk to my branch
svn-id: r51798
2010-08-06 20:13:41 +00:00
Fabio Battaglia
6665bf4a01 CONFIGURE: removed two useless definitions in N64 sections
svn-id: r51700
2010-08-03 15:34:28 +00:00
Joost Peters
bcd6dd2627 PSP: Enable "CPU-hungry sound chips" again, the PSP is fast enough.
svn-id: r51684
2010-08-03 12:03:36 +00:00