Commit Graph

1875 Commits

Author SHA1 Message Date
Little Cat
c16244a23a BACKENDS: ENET: Compile stable 1.3.17 source. 2023-03-06 00:07:13 +01:00
Little Cat
ade9fab8d6 CONFIGURE: Add ENet library. 2023-03-06 00:07:13 +01:00
Eugene Sandulenko
115231e59d CONFIGURE: Added detection for libvpx 2023-03-05 21:29:03 +01:00
Miro Kropacek
c3977fd53a ATARI: Disable the launcher grid view
As we don't compile in libpng, this crashes with an assert.
2023-03-05 14:34:01 +01:00
Carlo Bramini
cd57e39c0f CONFIGURE: fix build of dynamic modules under Cygwin
This tiny fix allows to build SCUMMVM with dynamic modules, when  --enable-cygwin-build is also activated.
2023-03-05 03:24:01 +00:00
Miro Kropacek
5ba26fdf35 GRAPHICS: ATARI: Introduce accelerated blitting 2023-03-04 23:38:42 +01:00
Miro Kropacek
4892d0b48b CONFIGURE: Adjustments for ATARI
- add NDEBUG for smaller file size and better performance when building
  with --enable-release

- add exe extensions for both ATARI and FreeMiNT

- use "dist-generic" instead of the clunky ./configure paths

Build as:

./configure --backend=atari --host=m68k-atari-mint --enable-release --disable-mt32emu --disable-lua --disable-nuked-opl --disable-16bit --disable-scalers --disable-translation --disable-eventrecorder --disable-tts --disable-bink --opengl-mode=none --enable-verbose-build && make -j 16 && rm -rf dist-generic; make dist-generic
2023-03-04 23:38:42 +01:00
Miro Kropacek
4d21a496d2 BACKENDS: ATARI: Add new backend (graphics, mixer, platform)
Compile as:

./configure --backend=atari --host=m68k-atari-mint --enable-release --disable-mt32emu --disable-lua --disable-nuked-opl --disable-16bit --disable-scalers --disable-translation --disable-eventrecorder --disable-tts --disable-bink --opengl-mode=none --enable-verbose-build --prefix=/usr --bindir=/ --datarootdir=share --datadir=data && make -j 16 && m68k-atari-mint-flags -S -r ./scummvm && make install DESTDIR=$PWD/_release/ && mv $PWD/_release/scummvm $PWD/_release/scummvm.ttp
2023-03-04 23:38:42 +01:00
Vladimir Serbinenko
e29c151404 KOLIBRI: Fix paths to tools 2023-02-26 23:20:15 +01:00
Cameron Cawley
09ae0b6986 CONFIGURE: Remove leftover debug message 2023-02-14 22:51:35 +00:00
Lars Sundström
0d03655605 CREATE_PROJECT: Add Accelerate framework to iOS and tvOS
Add Apple Accelerate framework to iOS and tvOS targets. The framework
utilizes NEON extensions on the ARM chip to accelerate calculations.
This will come to use when processing texture data.
2023-02-09 22:52:11 +01:00
Donovan Watteau
7e3d551321 DC: BUILD: Always disable SCUMMv7+ on Dreamcast (Bug#6008)
With the recent v7/v8 changes in the SCUMM engine, trying to run a v7/v8
SCUMM game is not a nice user experience anymore, because the game just
won't fit in the limited default memory available on Dreamcast anymore.

This is also a problem for some other engines on this platform, but the
SCUMM engine being one of the most popular engines, quite a lot of users
end up burning a toast CD-R on their Dreamcast until they figure out
that only SCUMMv6 and earlier still work nowadays (with some limitations
too).  Disabling v7/v8 from the SCUMM engine plugin should also free up
some memory for a better experience with earlier SCUMM titles.
2023-02-08 00:50:33 +01:00
Cameron Cawley
2d7876e7dc RISCOS: Always use static detection for now 2023-02-07 22:13:32 +00:00
Vladimir Serbinenko
31071d7938 CONFIGURE: Support for kolibri OS 2023-02-05 22:55:40 +01:00
Le Philousophe
dec343730e IOS7: Add AppleTV support to configure 2023-01-29 21:13:52 +00:00
Christophe Branchereau
9da16654d2 OPENDINGUX: rs90: restore aspect and remove unneeded _host
Signed-off-by: Christophe Branchereau <cbranchereau@gmail.com>
2023-01-23 12:04:25 +01:00
Vladimir Serbinenko
66202f3a32 MIYOO: Configure and makefile support for Miyoo mini 2023-01-18 00:51:38 +03:00
Vladimir Serbinenko
de6fa88217 OPENDINGUX: Separate miyoo from opendingux 2023-01-16 23:01:25 +03:00
Christophe Branchereau
2724ce7753 OPENDINGUX: simplify build scripts
The rs90 and rg99 can use the exact same binary and opk including
the .desktop file

Signed-off-by: Christophe Branchereau <cbranchereau@gmail.com>
2023-01-16 10:31:14 +01:00
Vladimir Serbinenko
d924671cec OPENDINGUX: Miyoo (1st gen) support 2023-01-12 16:39:38 +03:00
Vladimir Serbinenko
4bc23ead4a CONFIGURE: Disable aspect ratio correction and scaling on rs90
IPU already does stretching. So no need to spend resources on it
2023-01-12 10:27:20 +03:00
Vladimir Serbinenko
16cd6d7512 OPENDINGUX: Create combined opk for rs90 and rg99 2023-01-12 10:27:20 +03:00
Vladimir Serbinenko
2149d3814b CONFIGURE: Allow OpenDingux to use dynamic modules
-mno-shared prevents modules from being usable. Don't add it if modules
are allowed.
2023-01-12 10:27:20 +03:00
Le Philousophe
aeca824339 CONFIGURE: Enable Retrowave if it is available and fix it 2023-01-02 09:47:04 +01:00
Hubert Maier
f93c5a193a AMIGAOS: Fix undefined references in FLAC 2022-12-31 20:54:57 +01:00
Eugene Sandulenko
dc7e6a5282
CONFIGURE: Define HAVE_AMD64 when applicable 2022-12-23 18:42:52 +01:00
Cameron Cawley
cc8de3a293 CONFIGURE: Enable SID emulation in the DS and 3DS ports 2022-12-22 23:46:52 +01:00
Carlo Bramini
12fbecac55 CONFIGURE: Allow Cygwin as development platform.
I would like to suggest to allow the use of Cygwin as development platform.

This is not intended for providing builds for this environment (although SCUMMVM can be already built on it without problems), but for having an easy way for testing POSIX code on Windows.
There could be some alternatives, like the (defunt) Microsoft POSIX subsystem, the (also defunct) Windows Services for UNIX or the WSL1 and WSL2, but they are all painful experiences, at least for me, especially when debugging graphical applications connected to an X server or working with physical devices (try to believe). Alternatively, it is also possible to make a full virtual machine by using emulators like QEMU, but it has not the same advantages of having the code running natively, especially when sharing the same files..
So, this should be seen as a tool for developers, nothing more than that, because at the time of writing this seems to be the best and most comfortable way for debugging a change to the ports using POSIX code.

However, to avoid unintentional execution, the user must activate the support for Cygwin by providing --enable-cygwin-build at configure time, otherwise the process will halt again.
Even when support for Cygwin is activated, a warning message is still shown to the user, for informing him on what he is doing.
2022-12-22 23:29:19 +01:00
Vladimir Serbinenko
923c1be2c7 CONFIGURE: Set CXX/AS/AR/RANLIB automatically on 3DS
This is not strictly necesarry but makes configuration simpler
2022-12-14 12:17:39 +01:00
Donovan Watteau
b79e5a3b2d CONFIGURE: Do more getconf checks before using its output
Based on its POSIX specification.
2022-12-11 21:48:33 +01:00
Donovan Watteau
700a8071e5 BUILD: Check if there's an fseeko/ftello with 64-bit off_t
Some systems have fseeko but you need to check that off_t is a 64-bit
value (and this requires some magic incantation on some platforms),
others need fseeko64(), Windows has a different symbol, and then some
systems only have an fseek() that's limited to <2GB files.

This is a first step in trying to improve this.
2022-12-11 21:48:33 +01:00
Donovan Watteau
5bfaf89729 CONFIGURE: Use -gstabs+ for macOS <= 10.5 debug builds
We're using a newer toolchain there, but macOS 10.4 and 10.5 still rely
on an ancient version of GDB which chokes on C++11 symbols (such as
decltype(nullptr)), even when forcing DWARF-2 symbols only with -gdwarf2
-gstrict-dwarf.

-gstabs+ is more limited, but at least that one works with GDB, so use
it when making a debug build for those systems.
2022-11-19 11:26:50 +01:00
Donovan Watteau
0725e2eaf5 CONFIGURE: Add support for DragonFly BSD
Changes taken from their ports system.
2022-11-12 21:19:47 +01:00
Le Philousophe
02377d632a CONFIGURE: Allow to enable all subengines of an engine
By specifying -all (or _all) at the end of the engine in --enable-engine, all of
its subengines get enabled too.
2022-11-10 08:19:23 +01:00
Le Philousophe
ca2ba5ff14 CONFIGURE: Don't use [ command
It wasn't used elsewhere and is the same as test
2022-11-10 08:19:23 +01:00
Orgad Shaneh
246a062950 CONFIGURE/CREATE_PROJECT: Silence address-of-packed-member GCC 12 warning
It appears a lot, and these casts are intentional and look safe.

Example:
../scummvm/engines/glk/alan3/actor.cpp: In function 'Glk::Alan3::ScriptEntry* Glk::Alan3::scriptOf(int)':
../scummvm/engines/glk/alan3/lists.h:35:52: warning: converting a packed 'Glk::Alan3::ScriptEntry' pointer (alignment 1) to a 'Glk::Alan3::Aword' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member]
   35 | #define isEndOfArray(x) implementationOfIsEndOfList((Aword *) (x))
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
../scummvm/engines/glk/alan3/actor.cpp:38:84: note: in expansion of macro 'isEndOfArray'
   38 |                 for (scr = (ScriptEntry *) pointerTo(header->scriptTableAddress); !isEndOfArray(scr); scr++)
      |                                                                                    ^~~~~~~~~~~~
In file included from ../scummvm/engines/glk/alan3/actor.h:25,
                 from ../scummvm/engines/glk/alan3/actor.cpp:22:
../scummvm/engines/glk/alan3/acode.h:453:8: note: defined here
  453 | struct ScriptEntry {    /* SCRIPT TABLE */
      |        ^~~~~~~~~~~
2022-10-27 02:26:02 +03:00
Donovan Watteau
3b543d06ff CONFIGURE: Make configure --help around 30% faster 2022-10-08 01:04:12 +02:00
eientei95
658e4114f4 CONFIGURE: Use grep -F instead of deprecated fgrep 2022-09-17 12:26:30 +02:00
Hubert Maier
63b709be99
AMIGAOS: Use LTO, -O3 and dead code elimination by default (#4238) 2022-09-10 18:26:31 +02:00
Hubert Maier
79e1c95ed7 CONFIGURE: Fix even more typos 2022-08-28 00:02:54 +03:00
Hubert Maier
26f0349b4c CONFIGURE: Fix typo 2022-08-26 13:11:36 +03:00
Donovan Watteau
8a73f5d496 CONFIGURE: Enable SCUMM_NEED_ALIGNMENT when using --enable-ubsan
-fsanitize=undefined implies -fsanitize=alignment, so we need to define
SCUMM_NEED_ALIGNMENT for UBSan builds, otherwise many false positives
will be reported, such as for engines/scumm/smush/codec47.cpp.

That's also a good way of having more tests for the SCUMM_NEED_ALIGNMENT
code paths during development :)
2022-08-19 23:59:57 +03:00
Lars Sundström
4133cf4b9f IOS7: Add GameController capability
Add the GameController framework to the project and enable support for
controller user interaction in the Info.plist file. This allows for
Game Controller compatible devices to notify the application when
connected.

Add GameController framework to configure and ports.mk if not using
Xcode to build the target.
2022-08-08 21:08:56 +01:00
Le Philousophe
f925c14971 VITA: Move link optimizations at the end of configure 2022-08-07 18:15:09 +02:00
Le Philousophe
2a84d3e988 VITA: Add plugins support 2022-08-07 18:15:09 +02:00
Le Philousophe
bffb6e244a BASE: Allow platforms to not include the help messages
This allows to save some space on constrained devices which still allow
for command line.
Enable this space saving on DS and enable back command line support.
Cleanup old workaround for 3DS.
2022-07-29 13:08:22 +02:00
Le Philousophe
062c2982ec RISCOS: Prevent garbage collection of plugins code 2022-07-14 10:56:55 +02:00
Hubert Maier
9e4995d354 AMIGAOS: Revert dynamic detection features 2022-07-13 18:18:37 +02:00
Cameron Cawley
80f90a15a5 RISCOS: Use makerun to calculate the wimpslot 2022-07-08 22:07:32 +01:00
Cameron Cawley
68f9501be4 RISCOS: Remove the -mno-poke-function-name compiler flag 2022-07-07 21:36:12 +01:00