Bastien Bouclet
119ff7f2f3
SDL: Don't include png.h when building without libpng
...
Should make possible to build on AmigaOS 4 where the Image namespace
conflicts with a struct from the SDK.
2019-05-19 14:07:00 +02:00
Bastien Bouclet
3cfb8b1eae
DOCS: Add a note about mixing files from different versions of TLJ
2019-05-19 12:13:20 +02:00
Bastien Bouclet
b0ffcb6899
SDL: Always clear the buffer after creating an OpenGL context
...
That way it's not possible for garbage to be visible on the first frame,
even when an error dialog is shown before the engine has a chance to render.
2019-05-18 15:25:51 +02:00
Bastien Bouclet
f24c2b9f3d
STARK: Fix scaling of the flashing and exploding effects
...
Rendering was incorrect when using hi-resolution replacement graphics.
2019-05-18 11:04:34 +02:00
Bastien Bouclet
3bf417c116
STARK: Fix font size computation when toggling fullscreen
2019-05-16 22:22:36 +02:00
Bastien Bouclet
6e0f5c1c3f
STARK: Fix the position of some items beoing incorrect in the game files
...
Based on a list provided by Faberman
2019-05-16 20:02:30 +02:00
Dries Harnie
5f425db7b8
Merge pull request #1542 from residualvm/bugfix/merged-monkeymap
...
EMI: Support merged FullMonkeyMap.int as well
2019-05-13 21:28:58 +02:00
Dries Harnie
74a8f2d09c
EMI: Support merged FullMonkeyMap.int as well
2019-05-13 20:55:21 +02:00
Bastien Bouclet
7e09c6c73a
STARK: Ignore 'gui.ini' by default for the english versions
...
Some versions have settings that don't look good. Especially the GOG.com
version.
2019-05-06 20:50:23 +02:00
Dries Harnie
03654d0747
Merge pull request #1538 from ccawley2011/android-mouse
...
ANDROID: Mouse and stylus support
2019-04-29 15:19:55 +02:00
Bastien Bouclet
80512f30f5
STARK: Faster alpha pre-multiplication for PNGs
2019-04-28 09:21:37 +02:00
Bastien Bouclet
7fec48f939
IMAGE: Remove decoding JPEG directly to RGB565
...
It's not supported by ancient versions of libjpeg-turbo, and there is no
way to detect if support is available without doing a compilation
test...
2019-04-28 09:21:37 +02:00
Bastien Bouclet
72d17c2731
IMAGE: Don't perform color conversion when decoding PNGs
2019-04-28 09:21:37 +02:00
Bastien Bouclet
31f389f748
IMAGE: Allow setting the output pixel format to the JPEG decoder
2019-04-28 09:21:37 +02:00
Cameron Cawley
3c770580d1
ANDROID: Mouse and stylus support
...
Originally from ScummVM.
2019-04-16 22:44:37 +01:00
Dries Harnie
c4c315decc
Merge pull request #1537 from ccawley2011/android-input
...
ANDROID: Clean up input
2019-04-16 08:10:56 +02:00
Dries Harnie
b80e7c671c
Merge pull request #1536 from ccawley2011/android-features
...
ANDROID: Implement several features from ScummVM
2019-04-16 08:00:07 +02:00
Dries Harnie
29a87b134e
Merge branch 'master' into android-features
2019-04-16 07:59:53 +02:00
Dries Harnie
343106382c
Merge pull request #1535 from ccawley2011/android
...
ANDROID: Update to compile with modern NDKs
2019-04-16 07:57:16 +02:00
Bastien Bouclet
148655f5c2
COMMON: Use a prefix table to speed up the Huffman decoder
...
Symbols for codes shorter than the prefix table index width are stored
in the table. All the entries in the table with an index starting with
the code are set to the symbol value. That way, when decoding it is
possible to get the number of bits corresponding to the table width from
the bitstream and directly find the symbol value. Longer code still need
to be searched for in the codes list.
2019-04-14 20:24:26 +02:00
Bastien Bouclet
c087c5320c
COMMON: Rework the BitStream class to improve its performance
...
* Fixed peekBits not to seek the underlying stream. Seeking can be slow
when the stream is a file.
* Changed multi-bit operations to work on multiple bits at once rather
than iterating over single-bit operations.
This is an almost direct port of a patch for xoreos provided by DrMcCoy.
2019-04-14 20:22:50 +02:00
Cameron Cawley
67324ff6e7
ANDROID: Don't force use of the Modern theme
2019-04-12 21:09:55 +01:00
Cameron Cawley
7f0c9a34ec
ANDROID: Implement clipboard support
2019-04-12 21:04:19 +01:00
Cameron Cawley
0361373700
ANDROID: Use the dedicated GUI option for enabling the touchpad mode
2019-04-12 21:00:08 +01:00
Cameron Cawley
4c38b454fe
ANDROID: Replace getPixelFormatName function with PixelFormat::toString
2019-04-12 20:55:12 +01:00
Cameron Cawley
26678d034b
ANDROID: Open the main menu when the Play/Pause button is pressed
2019-04-12 20:32:20 +01:00
Cameron Cawley
83002b66dc
ANDROID: Clean up touch screen input
2019-04-12 20:30:17 +01:00
Bastien Bouclet
3de0e3f175
BUILD: Rebuild the Windows resources when a shader changes
2019-04-11 20:40:39 +02:00
Cameron Cawley
554bd3f7db
BUILD: Fix packaging shaders when building with OpenGL ES 2
2019-04-09 23:01:43 +01:00
Cameron Cawley
f99eaba72e
ANDROID: Update to compile with modern NDKs
2019-04-09 23:00:21 +01:00
Bastien Bouclet
f4d6b736c4
MYST3: Fix crash when using RTL during the XBox version startup
2019-04-08 21:08:05 +02:00
Bastien Bouclet
b91c4cdf71
STARK: Fix crash when showing exits for items with no animation set
...
Fixes #1531 .
2019-04-08 21:07:01 +02:00
Bastien Bouclet
10c4458976
Merge pull request #1533 from orgads/mouse-bounds-fs
...
Fix mouse going out of bounds in fullscreen
2019-04-07 20:21:21 +02:00
Bastien Bouclet
9d773f43b6
VIDEO: Fix Bink clearing color comment
...
YUV 000 is a green, not black. Thanks DrMcCoy for noticing and fixing
the issue.
2019-04-01 20:51:26 +02:00
Bastien Bouclet
4f019d5db0
VIDEO: Fix an integer overflow when dequantizing the DCT coeffs
...
See https://github.com/FFmpeg/FFmpeg/commit/2968bedf129558024ea87a1aabc4aa2d3a5bcb6e
2019-04-01 20:51:21 +02:00
Orgad Shaneh
64a4d498ce
Fix mouse going out of bounds in fullscreen
...
The coordinates were translated, but this was done on a copy
instead of overwriting the original object.
2019-04-01 21:12:33 +03:00
Bastien Bouclet
84487958d2
STARK: Workaround for the computer font being too small in the GOG version
...
In the GOG version the font size for the computer (Arial) is set to 11
but 14 is required for the text to be properly aligned and the "White
cardinal" text to be clickable.
Fixes #1528 .
2019-03-31 15:11:26 +02:00
Bastien Bouclet
5c24080eab
STARK: Fix incorrectly placed shelves in April's room
2019-02-28 19:50:47 +01:00
Bastien Bouclet
6a7e99c4b9
STARK: Models and animations can have a different number of bones
...
It seems like some aniamtions have not have been properly exported and
have a different number of bones when compared to their models. This is
the case for the Alatien child.
Fixes #1527 .
2019-02-28 19:32:33 +01:00
Bastien Bouclet
832d7dffca
STARK: Ignore face index 0 when looking up the closest face to a ray
...
Fixes April being able to go behind the newspaper man in the subway
train.
This seems like a bug in the original engine we are now copying.
2019-02-24 11:23:51 +01:00
Laurent Merckx
fc16b30bbf
SDL/GRIM: Improve game controller support
...
- Use back button to open virtual keyboard (managed by resvm-sdl-events)
- Map controller buttons to corresponding actions (in grim engine)
- Solve bug on RPI with Myst3 (view stuck on top when using joystick)
2019-02-24 07:46:09 +01:00
Bastien Bouclet
cbc005adba
SDL: Fix some clang-tidy warnings
2019-02-23 09:58:10 +01:00
DouglasLiuGamer
26f527154e
DOCS: Add screenshot hotkeys and configuration
2019-02-23 09:52:09 +01:00
DouglasLiuGamer
b39fb3cf1e
STARK: Bind screenshot saving to key F8
2019-02-23 09:52:09 +01:00
DouglasLiuGamer
d4d6e6203b
SDL: Implement screenshot saving
2019-02-23 09:52:09 +01:00
Bastien Bouclet
203577d66b
Merge pull request #1518 from usineur/fix_colors
...
GRIM: Image format must match internalformat for sprites too (ES2)
2019-02-16 10:07:43 +01:00
Bastien Bouclet
3becec39f1
STARK: Fix build on AmigaOS
2019-02-12 20:32:30 +01:00
Bastien Bouclet
451ecd1a9a
MYST3: Reset sound variables when loading saved games
...
Ensures the sound system does not believe sounds that were playing when
the game was saved when loading it.
2019-02-12 20:32:30 +01:00
Bastien Bouclet
8be4d52878
MYST3: Timed music scheduling fixes
...
* Timed music would often be stopped right after starting.
* Fade / play durations were not framerate independent.
Fixes #1522 .
2019-02-12 20:32:30 +01:00
Bastien Bouclet
5807e4ce46
STARK: Disabled floor faces block casted rays
...
Fixes being able to go behind the Roma gallery facade.
2019-02-12 20:32:30 +01:00