Commit graph

2720 commits

Author SHA1 Message Date
neuromancer
1c763a01f9 FREESCAPE: renamed shaders filenames and added them into shader.dat 2023-07-03 22:18:13 +02:00
SupSuper
21d16f2124 CREATE_PROJECT: Remove deprecated --use-canonical-lib-names
It's always the default

# Conflicts:
#	devtools/create_project/msvc.cpp
2023-07-01 19:24:55 +01:00
SupSuper
0a11d0c81d CREATE_PROJECT: Add --vcpkg option to MSVC generation 2023-07-01 19:13:20 +01:00
antoniou79
792af3f417 DEVTOOLS: BLADERUNNER: Update info on fontCreator args 2023-07-01 13:17:19 +03:00
Lars Sundström
811bb45997 CREATE_PROJECT: Set bitcode as disabled as default in Xcode
Apple never required bitcode to be enabled and with Xcode 14
bitcode is deprecated.

Set bitcode to disabled for iOS and tvOS projects. Else it will
be default on and give a build error due to the libraries in
scummvm-ios7-libs-v3 doesn't include bitcode.
2023-05-06 10:20:45 +02:00
Thierry Crozat
f1f808f7a4 IOS7: Remove support for non-sandboxed mode 2023-04-27 21:43:40 +01:00
Walter Agazzi
5bc748a659 CREATE_PROJECT: Add option to use XCFramework in iOS, tvOS and macOS
The introduction of Apple M1 processor, which is based on the arm64
architecture, makes it impossible to use fat static libraries for iOS
and tvOS since building libraries for the simulators targeting the
arm64 architecture conflicts with the iOS and tvOS native arm64
libraries. It's not possible to have two arm64 libraries targeting
different platforms in the same fat library.

Apple resolves this problem with XCFrameworks. Each XCFramework
contain an Info.plist specifying which platforms and architectures it
targets.

The new iOS and tvOS library package, scummvm-ios7-libs-v3, utilize
the XCFramework format and includes pre-compiled libraries for both
iOS and tvOS with corresponding simulator.

Add the option to use XCFramework in create_project by passing the
switch '--use-xcframework'

Implement support to use XCFrameworks for iOS, tvOS and macOS. If not
passing '--use-xcframework' to create_project, legacy behaviour is
applied.

This commit also add support for mikmod for tvOS.
2023-04-27 21:35:02 +01:00
Lars Sundström
a836661511 CREATE_PROJECT: Add Apple TV OS XCode target
Add Apple TV OS as a new target to the xcode project creator utility.
Make sure that TV OS specific files are not part of the iOS and macOS
targets and the other way around.
The TV OS project will utilize the same source code files as the iOS
project but will instead use the tvos dist files.
2023-04-27 21:14:19 +01:00
Lars Sundström
4d774e2fc3 TVOS: Add Apple TV OS as a separate dist
The Apple TV OS requires a different type of storyboard than iOS. Also,
the Info.plist file differ since the tvOS platform doesn't handle
different orientations.

The Apple TV OS also need a different set of icons with different
resolutions more suitable for TV screens.

The application icons are required to be of layered type, which means
that a single PNG file is not accepted as an icon file. The icons must
have at least two layers, hence the ScummVM icon is defined by a back
image with just the background color and a front image with the ScummVM
logo.

The icons are then put together when archiving the application in Xcode
to an Assets.car file. However the linux builds are not building the
application using Xcode. Therefore a pre-compiled Assets.car file
containing the image assets (icons, splash screen etc) is added to the
tvos folder. This file is copied to the application bundle. If the icons
are changed in the future a new Assets.car file has to be compiled. This
can only be done on a computer with Xcode installed. To compile run the
following command in the tvos folder:
xcrun actool ./Images.xcassets --compile build --platform appletvos \
--minimum-deployment-target 9.0 --app-icon AppIcon \
--output-partial-info-plist build/partial.plist \
--launch-image LaunchImage

The partial.plist file generated will show what to add to the Info.plist
and if something must be changed in the ports.mk section for the
tvosbundle.
2023-04-27 21:13:27 +01:00
neuromancer
c77e280500 FREESCAPE: correctly parse images in dos driller demo and removed extra files from freescape.dat 2023-03-20 10:12:23 +01:00
neuromancer
11dfbe8b72 FREESCAPE: fixed image loader and read title in driller for ega and updated freescape.dat 2023-03-20 09:16:17 +01:00
Eugene Sandulenko
7031d5f404
DEVTOOLS: Add missing freescape.dat to Xcode project 2023-03-17 11:32:15 +01:00
Eugene Sandulenko
f53d88d150
DEVTOOLS: Increase buffer sizes for create_translations
The new Android startup explanations are bigger than 2kb in UTF8
2023-02-12 23:43:38 +01:00
Lars Sundström
624d9782a5 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-12 09:35:48 +01:00
athrxx
35920b9e7e KYRA: (LOK) - Fix bug no. 14131 (problem in menu options) 2023-02-07 18:56:12 +01:00
sluicebox
a46321363f
CREATE_PROJECT: Set Xcode MACOSX_DEPLOYMENT_TARGET 2023-02-05 23:12:46 +01:00
antoniou79
382e67f39e
DEVTOOLS: Updates to README file
Fix deprecated url for dumper companion as well as some minor edits
2023-02-05 23:10:06 +01:00
antoniou79
e442ce17e7
DEVTOOLS: COMPANION: Fix python error for createmacfonts
Error was in line 686: NameError: name 'io' is not defined. Did you mean: 'id'?
2023-02-05 23:09:53 +01:00
Lothar Serra Mari
7c18fd44c3 MACOSX: Add shaders.dat datafile to resource list 2023-01-22 18:47:18 +01:00
antoniou79
d668979520 DEVTOOLS: BLADERUNNER: Fix packing MIX file for EN_ANY 2023-01-20 19:32:29 +02:00
Paul Gilbert
253498ae22 XEEN: Fix for GateMaster monster in map 78
I've done a fix in code rather than regenerating xeen.ccs
with the missing monster entry, since in the near term
the combined Might & Magic engine will be merged. Which
replaces xeen.ccs. So this temporary fix avoids redundancy
2023-01-18 19:49:33 -08:00
neuromancer
c00d43685c FREESCAPE: added version number information and a basic number check for freescape.dat 2023-01-17 15:00:17 +01:00
Martin Gerhardy
ac094c6868 CREATE_PROJECT: only specify those cmake parameters for find_feature, that are really used 2023-01-15 12:02:47 +02:00
eientei
32af1f2d2b DEVTOOLS: dumper-companion.py: better handle removing null bytes from partition type
This handles an edge case with a disc that has a partition type of `Apple_HFS\x00ition_map`
2023-01-11 08:38:34 +01:00
Lothar Serra Mari
fe0ec0f5f5 CREDITS: Add the seal 2023-01-09 22:30:32 +01:00
neuromancer
54ae69f648 FREESCAPE: fixed issue when adding the same type of game twice and regenerated freescape.dat file 2023-01-07 08:11:32 -03:00
Eugene Sandulenko
9c1284ae88
DEVTOOLS: Fix build after base-str.cpp rename 2023-01-05 17:17:33 +01:00
neuromancer
7d55141d78 FREESCAPE: added UI image for Space Station Oblivion for C64 and regenerated freescape.dat 2023-01-02 11:41:58 -03:00
neuromancer
342c96eec6 FREESCAPE: added border image for Driller Amstrad CPC releases and regenerated freescape.dat file 2022-12-29 14:12:51 -03:00
neuromancer
2c6b185fe1 FREESCAPE: show title screen in driller zx spectrum 2022-12-28 09:34:55 -03:00
elasota
843776dd85 DEVTOOLS: Promote numerous VS warnings to errors.
Changes the following warnings to errors:
C4701: potential use of uninitialized local variable
C4703: potential use of uninitialized local pointer
C4456: declaration hides previous local declaration
C4003: not enough arguments for function-like macro invocation
C4840: use of non-trivial class as an argument to a variadic function
C4805: unsafe mix of bool and int in a numeric operation or comparison
C4305: truncation of double to float or int to bool
C4366: address taken of unaligned field and used as an aligned pointer
C4315: object constructed into an unaligned field with a constructor that expects it to be aligned
2022-12-25 16:31:57 +01:00
neuromancer
f80620c5ff FREESCAPE: added driller-zx_ZX Spectrum.bmp into freescape.dat and regenerated the data file 2022-12-24 15:57:11 -03:00
neuromancer
eaedfdb3b4 FREESCAPE: initial implementation of getRGBAtZX 2022-12-24 13:18:53 -03:00
neuromancer
bcbd5dd6a3 FREESCAPE: preliminary support for zx spectrum release of driller 2022-12-24 13:18:53 -03:00
neuromancer
eb5fa17695 FREESCAPE: added space station oblivion borders and title screens and regenerated freescape.dat file 2022-12-23 09:11:05 -03:00
neuromancer
f81e71a42e FREESCAPE: added driller title screen and regenerated freescape.dat file 2022-12-21 18:03:27 -03:00
eientei
9bbbf55c8a SCUMM: Add more sizes to detection entries 2022-12-20 18:44:07 +02:00
neuromancer
7abb3e32ae FREESCAPE: recreated border image from driller (CGA) and regenerated engine data 2022-12-20 08:26:44 -03:00
Cameron Cawley
fd123d6679 COMMON: Split compression and formats into separate modules 2022-12-11 22:33:23 +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
Matthew Jimenez
845d474016 ULTIMA8: Remove the Pentagram default mouse as we never loaded it
The default mouse was only refenced in the message box gump, which is only used by the recall command in Crusader. The pointing hand cursor in Crusader is an arrow, so it should be acceptable for now.
2022-12-10 12:23:12 -06:00
Eugene Sandulenko
8f8d522913
COMMON: Move achievements.* to engines/ 2022-12-02 00:12:22 +01:00
Paul Gilbert
5f7926da7e DEVTOOLS: CREATE_ENGINE: Changed hasFeature to use checkExtendedSaves 2022-11-26 18:44:08 -08:00
lb_ii
c99e7626ca ACHIEVEMENTS: Generated description files 2022-11-25 07:00:50 +03:00
Paul Gilbert
e38483dc91 DEVTOOLS: CREATE_ENGINE: Add feature flags for creation date and playtime 2022-11-23 19:58:46 -08:00
eientei
82f636f793 DEVTOOLS: COMPANION: Format using black 2022-11-22 13:28:03 +01:00
Paul Gilbert
5d189d90f1 DEVTOOLS: CREATE_ENGINE: Add disable-detection-full to created batch file 2022-11-20 20:47:26 -08:00
Paul Gilbert
ed65c576af DEVTOOLS: CREATE_ENGINE: Visual Studio compilation fix 2022-11-20 20:45:24 -08:00
Eugene Sandulenko
79b4eff2d9
DEVTOOLS: CREATE_ENGINE: Print out error message on unsuccessful directory creation 2022-11-20 15:42:41 +01:00
Eugene Sandulenko
3079652bad
DEVTOOLS: CREATE_ENGINE: Added GUIO example to the generated engine skeleton 2022-11-20 15:39:13 +01:00