Commit Graph
60 Commits
Author SHA1 Message Date
Eugene Sandulenko 68bab25152 ALL: Fix compilation 2023-01-08 01:31:13 +01:00
Paweł Kołodziejski 20cb0ae228 ALL: Cleanup ResidualVM -> ScummVM 2021-12-26 21:19:38 +01:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Paweł Kołodziejski 50f9fa3df6 STARK: Fixed minor coverity warnings 2021-12-20 19:22:39 +01:00
Paweł Kołodziejski b9115e9286 STARK: BigEndian fixes 2021-11-20 22:57:01 +01:00
Orgad Shaneh 2e2a613e23 STARK: Use override
Using clang-tidy modernize-use-override
2021-11-14 14:34:14 +02:00
djsrv ba28d7fde6 ALL: Change listMatchingMembers pattern to a Path
This handles any potential differences in directory separators passed to
the function, as with the other Archive functions.
2021-08-09 17:47:30 -04:00
djsrv 7eb4841065 ALL: Use Path type in Archive functions 2021-08-07 10:44:37 +02:00
Torbjörn Andersson ce52a33ff1 STARK: Avoid adding \0 to a String
We are still deciding on whether or not that should even be allowed, so
let's get rid of the cases where it's not actively needed. The purpose
here is to skip past unknown parts of the stream, so there's no need
storing the data in a String. Let's just document that it's ok for it to
skip past \0 as well.

This happens in my Swedish CD version of The Longest Journey, but not in
my English DVD version.
2021-07-06 11:06:33 +02:00
Eugene Sandulenko 5e7fe2dc57 JANITORIAL: Replace spaces in indentation with tabs 2021-04-15 21:20:36 +02:00
SupSuper f2aa112344 STARK: Don't append \0 when reading null-terminated strings.
This causes undefined behavior with the new BaseString refactor
2020-11-02 21:35:17 +00:00
Bastien Bouclet c95f711a8e STARK: Add support for loading modded textures 2019-06-02 17:15:50 +02:00
Bastien Bouclet ed21430414 STARK: Add a console command to dump model textures as png files 2019-06-01 13:56:55 +02:00
Bastien Bouclet 3becec39f1 STARK: Fix build on AmigaOS 2019-02-12 20:32:30 +01:00
Bastien Bouclet b9a1b8eefd STARK: Optionally use linear filtering when rendering backgrounds 2019-01-16 20:20:39 +01:00
Bastien Bouclet 45c5cf0c80 STARK: Add loading of replacement PNG files for the background images
The replacement PNG files can have larger dimensions when compared to
the original XMG images, enabling the creation of a high resolution mod.

The game looks for the replacement files in the game directory and then
in the xarc subdirectory of the directory containing the archive in
which the xmg picture to be replaced is located. For instance:
'1e/00/xarc/fountain_layercenter.png' should be used for the Venice park
background.
2019-01-16 19:43:22 +01:00
Bastien Bouclet 6659c88498 STARK: Use the new stream float read/write methods 2018-04-14 11:19:19 +02:00
Bastien Bouclet d4a890a36e STARK: Fix biff mesh texture coordinates
For some reason, the doubleSided material flag seems to affect what
texture coordinates transform needs to be applied.
2018-04-14 09:29:25 +02:00
Bastien Bouclet ceb2657962 STARK: Fix a few coverity warnings 2018-03-18 07:57:32 +01:00
Bastien Bouclet abd8c585f7 STARK: Change surface data to always be in the RGBA byte order
This eases uploading the textures to OpenGL, and will hopefully fix
endianness issues.
2017-08-20 16:06:36 +02:00
Bastien Bouclet 883755b5f8 STARK: Use the same data structures for props and actors
Faces and materials only
2017-06-10 14:35:53 +02:00
Bastien Bouclet a0a9abd46f STARK: Improve prop meshes texture coordinates
Still not quite perfect
2017-05-27 13:30:46 +02:00
Bastien Bouclet 7e58809430 STARK: Fix prop meshes model transform matrices 2017-05-27 10:46:17 +02:00
Bastien Bouclet dbe561fcc8 STARK: Use the endian safe float reading macro 2017-05-13 08:15:29 +02:00
Bastien Bouclet 368d71cfd5 STARK: Implement animation triggered sounds
Mainly used for footstep sounds
2016-11-10 07:57:03 +01:00
Bastien Bouclet 1cb241bc00 STARK: Remove some useless includes 2016-03-11 18:18:36 +01:00
Bastien Bouclet f7681fc6f7 STARK: Fix some coverity warnings
No actual bugs should be fixed
2016-01-07 21:50:53 +01:00
Bastien Bouclet bf14375a6d STARK: Play anim script sounds 2016-01-04 20:11:54 +01:00
Vincent Pelletier a58b0e9b06 STARK: Add support for "Sound" codec.
16 bits raw little-endian format used in 4 files in (at least) the GOG
version:
  1b/00/xarc/00000100.ssn
  1b/00/xarc/01000100.ssn
  1c/00/xarc/0000000a01.ssn
  1c/00/xarc/0100000a01.ssn
2016-01-02 17:37:33 +01:00
Bastien Bouclet 0adb899869 STARK: Properly handle XMG images with odd widths 2016-01-01 07:30:11 +01:00
Pawel Kolodziejski f9e78dc731 STARK: formating code - whitespaces 2016-01-01 07:30:11 +01:00
Bastien Bouclet 416c05b4ca STARK: Decode the last line for odd-height XMGs 2016-01-01 07:30:09 +01:00
Bastien Bouclet 50d882f9f4 STARK: Read path resources 2016-01-01 07:30:06 +01:00
Bastien Bouclet b4a6e6f530 STARK: Reindex the vertices in BIFF meshes
The previous multi-indexed format was not practical for drawing.
2016-01-01 07:30:03 +01:00
Bastien Bouclet 30549e9e82 STARK: Add a method to BIFF archives to list of objects by type 2016-01-01 07:30:03 +01:00
Bastien Bouclet 3b7b609085 STARK: Remove the unimplemented biff Object
All the BIFF objects of the game are now parsed
2016-01-01 07:30:03 +01:00
Bastien Bouclet a8d62f2cc0 STARK: Add an initial implementation for a BIFF mesh reader 2016-01-01 07:30:03 +01:00
Bastien Bouclet c561731de0 STARK: Add destructor to UnimplementedBiffObject 2016-01-01 07:30:03 +01:00
Bastien Bouclet 4b4a285b17 STARK: Extract the BIFF archive reader out of the texture loader
This is to be able to reuse the BIFF archive reader for animations
2016-01-01 07:30:03 +01:00
Bastien Bouclet fb25682c5c STARK: Add the ability to save resource references 2016-01-01 07:30:00 +01:00
Bastien Bouclet 77754dae99 STARK: Allow overriding the items tooltips 2016-01-01 07:29:59 +01:00
Bastien Bouclet ba770a3c22 STARK: Push down some includes 2016-01-01 07:29:55 +01:00
Bastien Bouclet 11f6db1491 STARK: Read the lipsync data 2016-01-01 07:29:54 +01:00
Bastien Bouclet 450119ea42 STARK: Warn when reading more XRC data than available 2016-01-01 07:29:51 +01:00
Bastien Bouclet 1cc5687cf3 STARK: Add a floorfield resource type 2016-01-01 07:29:49 +01:00
Einar Johan Trøan Sømåen afd53de7f6 STARK: Implement basic FMV nodes (some data left to read). 2016-01-01 07:29:46 +01:00
Bastien Bouclet b7b8447945 STARK: Add the action table resource type 2016-01-01 07:29:39 +01:00
Bastien Bouclet 603c6cabba STARK: Add a light resource 2016-01-01 07:29:39 +01:00
Pawel Kolodziejski 6d598c7eaf STARK: fixed compilation warnings 2016-01-01 07:29:38 +01:00
Pawel Kolodziejski 0c3739e9b8 STARK: fixed compilation warnings 2015-02-21 05:54:54 +01:00