Commit Graph
137148 Commits
Author SHA1 Message Date
Paul Gilbert fd5c11f382 AGS: Move debug globals to Globals 2021-03-06 15:11:38 -08:00
Paul Gilbert e81f87769d AGS: Remove deprecated code from AGSLinux 2021-03-06 15:11:38 -08:00
D G Turner 63ca8cdeef PRIVATE: Fix GCC Unused Variable Warnings from Header Constants
It is not generally a good idea to define variables in headers so
fixing these warnings by using the string value directly as initialization
to various Common::String variables / parameters.
2021-03-06 21:48:59 +00:00
Thierry Crozat e7d51b856d AGS: Use AGSSpritePlugin variant for Kathy Rain and WoaM 2021-03-06 21:21:22 +00:00
Thierry Crozat 6c117d04dd AGS: Implement AGSSpriteFont plugin variant from Clifftop Games
This variant is used in the games from Clifftop Games, Kathy Rain
and Whispers of a Machine.

The changes are based on https://github.com/adventuregamestudio/ags/pull/834
The ags fork used for the Kathy Rain can be found at https://github.com/josthas/KrusAGS/
2021-03-06 21:21:22 +00:00
Thierry Crozat 551d03a7b4 AGS: Plug memory leak in SpriteFont plugin 2021-03-06 21:21:22 +00:00
Thierry Crozat 8491d62fa6 AGS: Fix access to bitmaps in plugins
In ScummVM bitmap data are stored linearly but plugins
were accessing those as array of arrays leading to
out of bound memory access.
2021-03-06 21:21:22 +00:00
Thierry Crozat 0f88911e04 AGS: Do proper BITMAP class forward declaration for plugins 2021-03-06 21:21:22 +00:00
Thierry Crozat 65e70b8202 AGS: Remove useless C-style casts 2021-03-06 21:21:22 +00:00
Paweł Kołodziejski 4ab52ae7c1 ICB: Fixed drawing slideshows from Extras 2021-03-06 22:05:21 +01:00
Vladimir Menshakov 91cbd8fc53 GRAPHICS: Fix crash in blitFromInner if destRect is empty 2021-03-06 20:57:27 +00:00
Peter Kohaut cfea90a261 TINSEL: Fixed video palette glitch 2021-03-06 21:03:20 +01:00
Peter Kohaut 876a6a47c9 TINSEL: Fixed resolution for NOIR 2021-03-06 20:59:24 +01:00
Peter Kohaut b4cebc67c4 TINSEL: Removed binary literals 2021-03-06 18:12:29 +01:00
Peter Kohaut 01b42e8357 TINSEL: Added video decoding for V3
Still no sound
2021-03-06 17:50:57 +01:00
Peter Kohaut 5b3a45abc1 TINSEL: Fixed polygon loading for V3 2021-03-06 17:46:14 +01:00
Paweł Kołodziejski 0eafc5808a ICB: Remove async anim loading 2021-03-06 15:15:48 +01:00
Einar Johan Trøan Sømåen 32c4ee5588 TINSEL: Map POSTTAG 2021-03-06 15:04:52 +01:00
Einar Johan Trøan Sømåen 0876f73eaa TINSEL: Fix off-by-one in RANDOM logging 2021-03-06 13:29:52 +01:00
Einar Johan Trøan Sømåen c4fbd14b9e TINSEL: Map PRINTTAG 2021-03-06 13:28:27 +01:00
Einar Johan Trøan Sømåen 5b2c2637fc TINSEL: Map SHOWTAG 2021-03-06 13:26:30 +01:00
Einar Johan Trøan Sømåen 891001657f TINSEL: Map CALLTAG 2021-03-06 13:26:29 +01:00
Einar Johan Trøan Sømåen d79d68f0c5 TINSEL: Map HIDETAG 2021-03-06 13:26:29 +01:00
VAN-Gluon 1ef7e5e48e I18N: Update translation (Japanese)
Currently translated at 77.2% (1223 of 1583 strings)
2021-03-06 12:25:23 +00:00
Paweł Kołodziejski c20f5b9238 ICB: Implemented handling configuration with ConfMan 2021-03-06 13:05:36 +01:00
Paweł Kołodziejski c96eed94cf ICB: Remove 'semitrans' option 2021-03-06 13:02:40 +01:00
Lothar Serra Mari 545d2ee721 NEWS: Update German NEWS file 2021-03-06 12:36:11 +01:00
VAN-Gluon c05c413c7a I18N: Update translation (Japanese)
Currently translated at 77.1% (1222 of 1583 strings)
2021-03-06 11:31:16 +00:00
Matthew Duggan d004929c57 ULTIMA8: Lots of improvements to Crusader mover process.
Makes it more like original.  Probably still some work to do.
2021-03-06 15:14:44 +09:00
Paul Gilbert 07c005ff9a AGS: Remove unused LastOldFormatVersion 2021-03-05 21:52:56 -08:00
Paul Gilbert 3887515bfc AGS: Further game.cpp globals to Globals 2021-03-05 21:44:25 -08:00
Paul Gilbert 94423abaa1 AGS: Move usetup to Globals 2021-03-05 21:36:00 -08:00
Paul Gilbert cd83601dc3 AGS: Move route_finder_impl.cpp globals to Globals 2021-03-05 20:14:52 -08:00
Paul Gilbert 003d890955 AGS: Move systemimports.cpp globals to Globals 2021-03-05 20:14:51 -08:00
Paul Gilbert 51f2cf25e9 AGS: Move guitextbox.cpp globals to Globals 2021-03-05 20:14:51 -08:00
Paul Gilbert d2ea2beb64 AGS: Move guislider.cpp globals to Globals 2021-03-05 20:14:51 -08:00
Paul Gilbert fbf0c9247b AGS: Move guilistbox.cpp globals to Globals 2021-03-05 20:14:51 -08:00
Paul Gilbert 8989092cb5 AGS: Move guilabel.cpp globals to Globals 2021-03-05 20:14:51 -08:00
Paul Gilbert f1d34ab766 AGS: Move guiinv.cpp globals to Globals 2021-03-05 20:14:51 -08:00
Paul Gilbert 0b899ebaa4 AGS: Move draw_software.cpp globals to Globals 2021-03-05 20:14:51 -08:00
Orgad Shaneh 81fd1d529b COMMON: Fix warnings on mingw build
bits/os_defines.h has #define NOMINMAX 1, which conflicts with the
non-value #define NOMINXMAX in scummsys.h.

In file included from ../scummvm/common/lua/lua.h:12,
                 from ../scummvm/common/lua/ltable.cpp:27:
../scummvm/common/scummsys.h:111: warning: "NOMINMAX" redefined
  111 |   #define NOMINMAX
      |
In file included from C:/msys64/mingw64/include/c++/10.2.0/x86_64-w64-
mingw32/bits/c++config.h:518,
                 from C:/msys64/mingw64/include/c++/10.2.0/cmath:41,
                 from C:/msys64/mingw64/include/c++/10.2.0/math.h:36,
                 from ../scummvm/common/lua/ltable.cpp:21:
C:/msys64/mingw64/include/c++/10.2.0/x86_64-w64-mingw32/bits/
os_defines.h:45: note: this is the location of the previous definition
   45 | #define NOMINMAX 1
      |

Amends commit 88f685217b.
2021-03-06 03:06:11 +00:00
Thierry Crozat d6db4c27ad AGS: Fix off by one error in clipping rect and drawing rect
In allegro both the top-left and bottom-right corners are
included in the rect, but in Common::Rect the bottom-righ
corner is excluded. So we need to add one when creating the
Common::Rect.
2021-03-06 00:51:58 +00:00
SupSuper b7e4dfe669 AGS: Fix plugin name typo blocking Whispers of a Machine
WadjetUtil, not WadgetUtil
2021-03-06 00:44:14 +00:00
Thierry Crozat f09620b423 AGS: Remove workaround in source alpha blnder for fully transparent sprites
We were setting the alpha of 32 bit colors incorrectly, but this
is now fixed. So we no longer need this workaround.
2021-03-05 23:49:12 +00:00
Thierry Crozat 1f5a068a0f AGS: Remove obsolete TODO
We did need to skip transparent colors for paletted bitmaps
and this was fixed in a previous commit.
2021-03-05 23:49:12 +00:00
Thierry Crozat 02761dfe29 AGS: Fix wrong alpha shift for 32 bit colors
The color component shifts in allegro were not initialized
properly and were all set to 0 instead of the default allegro
shifts. And as AGS engine_setup_color_conversions() doesn't
set the alpha shift (as it uses the default allegro value)
it was 0 instead of 24. As a result makecol32 was setting
the alpha in the blue component. This meant that opaque
black was for example fully transparent blue instead.
2021-03-05 23:49:12 +00:00
Le Philousophe 3b26e0c4f2 RISCOS: Fix internal compiler error in VFP build 2021-03-05 23:20:09 +01:00
Eugene Sandulenko 7aee945999 PRIVATE: JANITORIAL: Fix indentation 2021-03-05 19:27:58 +01:00
Eugene Sandulenko fc2340449d PRIVATE: Plug memory leak 2021-03-05 19:14:24 +01:00
Eugene Sandulenko b880768235 PRIVATE: Avoid global constructors 2021-03-05 19:12:02 +01:00