2257 Commits

Author SHA1 Message Date
SupSuper
a52e5818d2 CREATE_PROJECT: Use console for devtools and tests projects 2021-02-22 12:28:54 +00:00
SupSuper
73755d1d3a CREATE_PROJECT: Fix infinite loop when generating tests 2021-02-22 12:22:47 +00:00
SupSuper
eeda14b170 CREATE_PROJECT: Fix incorrect text filenames 2021-02-22 12:18:45 +00:00
SupSuper
9401ef1a82 CREATE_PROJECT: Don't include detection in tests/tools 2021-02-22 12:10:11 +00:00
Paul Gilbert
53b61d444e AGS: Add AGA's name to his credits entry 2021-02-12 18:51:06 -08:00
Donovan Watteau
5a78e1350b CREATE-PROJECT: Provide a stub for "override" to older compilers
msbuild.h makes uses of the "override" keyword, so borrow the compat
macro from c++11-compat.h to make this work on older compilers,
such as the ones found on Mac OS X Leopard.
2021-02-09 13:33:56 -08:00
Donovan Watteau
03960d5663 CREATE-PROJECT: Call realpath() in a more portable way
Non POSIX.1-2008 systems will not necessarily accept NULL as the
second argument, and could crash the program here. Provide a
temporary buffer on the stack instead, and don't count on realpath()
allocating one on the heap. This will work on older POSIX.1-2001
systems.

(In theory, this older POSIX.1-2001 syntax could have portability
problems too, because of PATH_MAX, but in practice this shouldn't
be a problem for the systems intended to be used by create_project.)

Fixes the build on Mac OS X Leopard.
2021-02-09 13:33:56 -08:00
Donovan Watteau
7e79fd6e61 CREATE-PROJECT: Include CommonDigest.h for macOS, not CommonCrypto
<CommonCrypto/CommonDigest.h> should be used for CC_MD5() on macOS.

Fixes the build on Leopard.
2021-02-09 13:33:56 -08:00
Donovan Watteau
3650aa6ce9 MACOSX: Stop using the -platform_version linker workaround for Retina displays
Commit a1d930209a6452649ab704dbbcf2084c9177936e is actually enough to
stop the blurry display issue on Retina screens (Bug #11430).

This reverts most of 70f79d3df8b4a9d4c6d1b69838ff5a722c51b61e.
2021-02-09 01:35:40 +00:00
Paul Gilbert
47b2538384 AGS: Added AGS contributors to credits.pl 2021-02-06 16:37:31 -08:00
Paul Gilbert
9b893f1602 AGS: Add AGS credits section 2021-02-06 16:37:31 -08:00
SupSuper
cc015ed40d CREATE_PROJECT: Don't exclude header files
We can't accurately determine which header belongs to which object,
so leave them in. They don't affect the compilation anyway.
2021-02-02 10:00:00 +00:00
Cameron Cawley
4231f62323 CREDITS: Minor cleanup 2021-01-24 16:24:30 +00:00
mataniko
7a67e164ea SCUMM: Add detection entries for indy4 Discord and Humble versions 2021-01-19 16:20:46 -05:00
Le Philousophe
51e174f202 ALL: Mark link commands as make recursive
With this make gives access to its jobserver for linker which will use
it when linking with -flto=jobserver
2021-01-17 21:53:15 +01:00
Matthew Duggan
86dc1ceab6 CREATE_PROJECT: Don't add DEBUG to XCode Debug builds
This breaks some builds for some engines, and it had a bug which added it to
Release build too (oops!)
2021-01-11 10:49:29 +09:00
Matthew Duggan
28bb304812 ULTIMA8: Graphics refactor, use more common code
Try to use more of the built-in ScummVM rendering pipeline and remove redundant
types where possible.  Unfortunately this is a bit of a mega-commit because all
the pieces were tied together, but the main changes are:

* Remove the Texture types, as they add little over ManagedSurface
* Remove the ScalerGump as we no longer use it - we should be using the
  built-in ScummVM scalers
* Remove the Scaler types - the only remaining user after removing ScalerGump
  was in hte AVI player.  There we manually add the Crusader style interlaced
  scaling, which was an outstanding TODO anyway.
* Remove now-unused functions from the RenderSurface family
* Remove the "default" mouse cursor as we never use it in ScummVM
* Remove the memset_n header which duplicates Common::Fill functions (fixes
  #11969)
* Remove the fixed-width bitmap fonts which were used for the Pentagram
  console.

I've tested the following things that this had the potential to break:

* U8 game, credits, movies, minimap, and ttf rendering
* Crusader game and movies
* Debug tools (shape viewer, touch-highlight)
2021-01-04 09:08:20 +09:00
Matthew Duggan
05e1d42702 CREATE-PROJECT: Better defaults for xcode
* Add DEBUG define to debug builds
* Set optimization -O3 on release builds
2021-01-01 15:07:37 +09:00
antoniou79
d925d62f4f DEVTOOLS: BLADERUNNER: Abort on unsupported optimization of PNG input
Also revert the sample pngs to the non-optimized versions.
2020-12-31 16:17:51 +02:00
Jonathan Phénix
0826cb3025 XEEN: create_xeen: Fix error detection for file operations
These issues were found by Codacy.
2020-12-28 15:11:50 -10:00
Jonathan Phénix
9b74410993 XEEN: create_xeen: Implement varargs prints for error 2020-12-28 15:11:50 -10:00
Filippos Karapetis
1c5be741a2 CREDITS: Added/updated myself 2020-12-19 02:06:44 +02:00
Vladimir Serbinenko
b8a5483047 HADESCH: Use separate file for translations 2020-12-17 09:49:18 +01:00
Vladimir Serbinenko
0d39e96f55 COMMON: Make TranslationManager reusable.
This makes it possible to reuse TranslationManager with different
files.
2020-12-17 09:49:18 +01:00
Vladimir Serbinenko
134d2051b4 SCUMM: Add MD5 of Russian Atlantis translation 2020-12-17 02:02:31 +02:00
Niv Baehr
52ebbfebc9
KYRA: support hebrew fan translation (#2683)
* KYRA: add hebrew to kyra.dat

* KYRA: add hebrew detection entry + fix kallak text

* KYRA: fix rigth align text for hebrew

* KYRA: restore lines lost in rebase

* KYRA: convert non-ascii to escape sequence

* KYRA: bump kyra.dat version

* KYRA: update renamed variable

* KYRA: use memset and rename variables

* KYRA: translate remaining hebrew strings

Co-authored-by: BLooperZ <blooperz@users.noreply.github.com>
2020-12-13 22:27:16 +01:00
Vladimir Serbinenko
03ee842db9 SCUMM: Add old variant PRCA to detection
This is needed to ensure that correct encoding is selected
2020-12-07 19:16:05 +01:00
Jonathan Phénix
33f3ccaa69 XEEN: Unify error management to stderr 2020-12-06 14:40:28 -08:00
Jonathan Phénix
f031fbf9cb XEEN: Sprinkle "static" where appropriate 2020-12-06 14:40:28 -08:00
Jonathan Phénix
c15af4f1b4 XEEN: Fix build warning under clang 10.0.1
---
    C++      devtools/create_xeen/create_xeen.o
devtools/create_xeen/create_xeen.cpp:44:14: warning: declaration requires a global destructor [-Wglobal-constructors]
Common::File outputFile;
---
2020-12-06 14:40:28 -08:00
athrxx
e1c81b9066 KYRA: (MR) - fix bug no. 12005 (broken Russian fan translation) 2020-12-06 22:26:29 +01:00
NMIError
f45a55d809 LURE: Add audio initialization icon
When sending SysEx data to the MT-32, the game blinks an icon in the lower left
corner of the screen. This change adds that icon. It is stored in the
executable, so I added code to create_lure_dat to extract the icon and add it
to the ScummVM data file. The new version of this file is now required to run
the game.
2020-12-06 16:37:08 +00:00
NMIError
4720253031 LURE: Running water sound effect workaround
The sound effects for running water have 2 channels listed for MT-32 in their
sound resource, but the MIDI data actually uses 3 channels. Added a patch to
this sound resource in lure.dat so the sound effects can play without channel
3 overriding channel 1.
2020-12-06 16:37:08 +00:00
wonst719
3576556621 SCUMM: Add MD5 detection for Korean fan translated games
- Add entries for indy3, monkey, monkey2, atlantis, tentacle
2020-12-06 03:36:31 +09:00
Cameron Cawley
dcdd9da51f DEVTOOLS: Fix compilation of create_xeen 2020-12-04 14:59:18 +00:00
Paul Gilbert
842ed3daa3 XEEN: create_xeen compilation fix 2020-12-02 18:12:58 -08:00
Jonathan Phénix
2e4f224043 XEEN: Fix dismiss button not fully implemented 2020-12-02 18:12:58 -08:00
athrxx
6bcad5fdf3 KYRA: (EOB/SegaCD/Japanese) - add detection and static resources 2020-11-29 21:23:46 +01:00
Ben Castricum
1fd7718ef8
SCUMM: Add MD5 for Zak FM-TOWNS Japanese (#2623) 2020-11-24 01:24:32 +02:00
Vladimir Serbinenko
41aa180ad4 SCUMM: Add RuSCUMM version of Indiana Jones and the Fate of Atlantis 2020-11-23 17:13:15 +01:00
SupSuper
2af0fdd458 MSVC: Parallelize building of .asm files 2020-11-15 21:50:26 +00:00
Vladimir Serbinenko
68a9136e4d
COMMON: Rewrite Encoder and drop dependency on iconv (#2586)
Different platforms have different levels of support of encodings and
often have slight variations. We already have tables for most encoding
with only CJK missing. Full transcoding inclusion allows us to get reliable
encoding results independently of platform. The biggest con is the need for
external tables encoding.dat.

It removes a duplicate table for korean in graphics/korfont.cpp
2020-11-15 16:20:35 +01:00
Henrik "Henke37" Andersson
1079a0f935 CREATE-PROJECT: Set subsystem for legacy visual studio projects 2020-11-12 00:54:06 +00:00
Henrik "Henke37" Andersson
b35e24c9fb CREATE-PROJECT: Set MSVC subsystem
It's a windows application unless the text console is enabled.
2020-11-12 00:54:06 +00:00
Henrik "Henke37" Andersson
ad09e09af5 CREATE-PROJECT: easy access to named features 2020-11-12 00:54:06 +00:00
SupSuper
b0bc795999 CREATE_PROJECT: Don't include files with the same name but different paths 2020-11-11 10:24:59 +00:00
sluicebox
cdaa3020ee CREATE_PROJECT: Code formatting 2020-11-10 21:10:01 -08:00
sluicebox
4f29b747fd CREATE_PROJECT: Fix compilation on older MSVC 2020-11-10 21:05:51 -08:00
SupSuper
8e39764f03 CREATE_PROJECT: Only write engineMap references 2020-11-11 04:18:25 +00:00
SupSuper
e9b3974ff8 CREATE_PROJECT: Replace duplicate filename check with unique object files 2020-11-11 04:12:36 +00:00