- Fix an incorrect dialog check in Nancy 8 - fix#16685
- Fix incorrect handling of OR logic checks in Nancy 9 - fix#16754
I mistakenly implemented dialog checks with OR boolean clauses as AND.
These have been fixed now for Nancy 9, 10 and 11.
Generate character name in create view from the pool of pre-build names from HoMM depending on class and sex, also add Y/N icons to confirm name with mouse.
With SC2059, shellcheck warns about using variables in printf
format strings. However, since we use this for injecting formatting
directives, we must supress this warning.
iOS and tvOS shares much of the same code. Normally all differences
between the targets are handled in the backend where Xcode specific
pre-processor macros can be used to distinguish the platforms.
In shared code, even if it's still Apple specific, we need a define
to separate the iOS and tvOS targets. Add such and use it in the
shared CoreMIDI code. This fixes buildbot issues.
Integrate the existing CoreMIDI implementation used in the MacOS
backend into the iOS7 backend. The CoreMIDI framework is available
from iOS 4.2 and tvOS 15.0.
This allows ScummVM to detect external MIDI devices connected to
the device running ScummVM and to be selected as MIDI music output
device.
We were using the Common::Language value to identify language blocks
in the teenagent.dat file. But that meant that modifying the enum
would cause the dat file to become obsolete and the engine to fail
to find some language block. This recently happened with commit
13b659b that added Canadian French to Common::Language.
This commit introduces custom language IDs that match the
Common::Language values at the time teenagent.dat was last
generated, This means we do not need to generate it again with
those changes.
This fixes bug #16568.
create_project is a standalone tool, so fix its build when it's not
being built with the standard "make devtools" command (e.g. from
Xcode or MSVC).
This reverts the inclusion of common/util.h, introduced in commit 4640c5c9cf
Keeping default values in function definitions is better design,
and helps identify default values instead of reading through
the function implementation
- Removes Windows font data from HUGO.DAT
- Uses Graphics::DosFont for Windows interface in DOS versions
The font data in HUGO.DAT was a temporary workaround until
DOS versions could draw their own font.
(HUGO.DAT regenerated in next commit)
This commit assumes that the architecture on which we build
create_project is also the one we will target for the ScummVM
build. This should be the case in most cases.