[Scummvm-git-logs] scummvm master -> 69dd0889cc9150d715b42fdaf9e3d7c6cf48e135
dwatteau
noreply at scummvm.org
Wed Oct 29 13:22:42 UTC 2025
This automated email contains information about 2 new commits which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
2ae50a5059 JANITORIAL: Update some old URLs, and use web.archive.org for deleted content
69dd0889cc JANITORIAL: Update some HTTP links in comments to HTTPS
Commit: 2ae50a5059f9dcf74a83054c1efbe2f2a91aae22
https://github.com/scummvm/scummvm/commit/2ae50a5059f9dcf74a83054c1efbe2f2a91aae22
Author: Donovan Watteau (contrib at dwatteau.fr)
Date: 2025-10-29T14:22:37+01:00
Commit Message:
JANITORIAL: Update some old URLs, and use web.archive.org for deleted content
Changed paths:
audio/decoders/adpcm.cpp
audio/decoders/wave.cpp
backends/platform/android/org/scummvm/scummvm/CustomKeyboardView.java
backends/platform/android/org/scummvm/scummvm/ScummVMEvents.java
backends/platform/dc/plugins.cpp
backends/plugins/elf/elf-provider.cpp
backends/plugins/posix/posix-provider.cpp
backends/plugins/sdl/sdl-provider.cpp
base/main.cpp
engines/freescape/language/8bitDetokeniser.cpp
engines/grim/update/mscab.cpp
engines/mohawk/bitmap.cpp
engines/mohawk/resource.cpp
engines/saga/font_map.cpp
engines/sci/resource/decompressor.cpp
engines/scumm/imuse_digi/dimuse_codecs.cpp
engines/scumm/players/player_sid.cpp
engines/stark/formats/xarc.cpp
engines/tetraedge/te/micropather.h
engines/ultima/ultima4/core/lzw/lzw.cpp
graphics/yuv_to_rgb.cpp
math/frustum.cpp
video/theora_decoder.cpp
diff --git a/audio/decoders/adpcm.cpp b/audio/decoders/adpcm.cpp
index 1fd986a853d..5d0f8e76d08 100644
--- a/audio/decoders/adpcm.cpp
+++ b/audio/decoders/adpcm.cpp
@@ -31,7 +31,8 @@ namespace Audio {
// Routines to convert 12 bit linear samples to the
// Dialogic or Oki ADPCM coding format aka VOX.
-// See also <http://www.comptek.ru/telephony/tnotes/tt1-13.html>
+// See also
+// <https://web.archive.org/web/20050421220515/http://www.comptek.ru/telephony/tnotes/tt1-13.html>
//
// IMA ADPCM support is based on
// <http://wiki.multimedia.cx/index.php?title=IMA_ADPCM>
diff --git a/audio/decoders/wave.cpp b/audio/decoders/wave.cpp
index 556fb65557f..717015907e4 100644
--- a/audio/decoders/wave.cpp
+++ b/audio/decoders/wave.cpp
@@ -106,7 +106,7 @@ bool loadWAVFromStream(Common::SeekableReadStream &stream, int &size, int &rate,
// values for it:
// 1 -> uncompressed PCM
// 17 -> IMA ADPCM compressed WAVE
- // See <http://www-mmsp.ece.mcgill.ca/Documents/AudioFormats/WAVE/WAVE.html>
+ // See <https://mmsp.ece.mcgill.ca/Documents/AudioFormats/WAVE/WAVE.html>
// for a more complete list of common WAVE compression formats...
uint16 type = stream.readUint16LE(); // == 1 for PCM data
uint16 numChannels = stream.readUint16LE(); // 1 for mono, 2 for stereo
diff --git a/backends/platform/android/org/scummvm/scummvm/CustomKeyboardView.java b/backends/platform/android/org/scummvm/scummvm/CustomKeyboardView.java
index 0ec68d05cfc..846716af2bb 100644
--- a/backends/platform/android/org/scummvm/scummvm/CustomKeyboardView.java
+++ b/backends/platform/android/org/scummvm/scummvm/CustomKeyboardView.java
@@ -226,7 +226,7 @@ public class CustomKeyboardView extends View implements View.OnClickListener {
private float mOldPointerY;
// @UnsupportedAppUsage
- // https://android.googlesource.com/platform/frameworks/base/+/master/core/java/android/annotation/UnsupportedAppUsage.java
+ // https://android.googlesource.com/platform/prebuilts/fullsdk/sources/android-29/+/refs/heads/main/android/annotation/UnsupportedAppUsage.java
// Indicates that a class member, that is not part of the SDK, is used by apps.
// Since the member is not part of the SDK, such use is not supported.
//
@@ -346,7 +346,8 @@ public class CustomKeyboardView extends View implements View.OnClickListener {
int attr = a.getIndex(i);
// resolve: "resource IDs will be non-final in Android Gradle Plugin version 5.0, avoid using them in switch case statements"
- // We converted the switch statement to if/else as suggested here: http://tools.android.com/tips/non-constant-fields
+ // We converted the switch statement to if/else as suggested here:
+ // https://web.archive.org/web/20210128075908/http://tools.android.com/tips/non-constant-fields
if (attr == R.styleable.CustomKeyboardView_keyBackground) {
mKeyBackground = a.getDrawable(attr);
} else if (attr == R.styleable.CustomKeyboardView_verticalCorrection) {
diff --git a/backends/platform/android/org/scummvm/scummvm/ScummVMEvents.java b/backends/platform/android/org/scummvm/scummvm/ScummVMEvents.java
index e2e93137de2..7093dfd215f 100644
--- a/backends/platform/android/org/scummvm/scummvm/ScummVMEvents.java
+++ b/backends/platform/android/org/scummvm/scummvm/ScummVMEvents.java
@@ -615,7 +615,7 @@ public class ScummVMEvents implements
@Override
final public boolean onTouch(View v, final MotionEvent event) {
- // Note: In this article https://developer.android.com/training/gestures/multi
+ // Note: In this article https://developer.android.com/develop/ui/views/touch-and-input/gestures/multi
// it is recommended to use MotionEventCompat helper methods, instead of directly using MotionEvent getAction() etc.
// However, getActionMasked() and MotionEventCompat *are deprecated*, and now direct use of MotionEvent methods is recommended.
// https://developer.android.com/reference/androidx/core/view/MotionEventCompat
diff --git a/backends/platform/dc/plugins.cpp b/backends/platform/dc/plugins.cpp
index 03f48c81651..5afbf5a51db 100644
--- a/backends/platform/dc/plugins.cpp
+++ b/backends/platform/dc/plugins.cpp
@@ -73,7 +73,7 @@ protected:
// FIXME HACK: This is a HACK to circumvent a clash between the ISO C++
// standard and POSIX: ISO C++ disallows casting between function pointers
// and data pointers, but dlsym always returns a void pointer. For details,
- // see e.g. <http://www.trilithium.com/johan/2004/12/problem-with-dlsym/>.
+ // see e.g. <https://web.archive.org/web/20061205092618/http://www.trilithium.com/johan/2004/12/problem-with-dlsym/>.
assert(sizeof(VoidFunc) == sizeof(func));
VoidFunc tmp;
memcpy(&tmp, &func, sizeof(VoidFunc));
diff --git a/backends/plugins/elf/elf-provider.cpp b/backends/plugins/elf/elf-provider.cpp
index 94b8730e84d..2c491c473a8 100644
--- a/backends/plugins/elf/elf-provider.cpp
+++ b/backends/plugins/elf/elf-provider.cpp
@@ -86,7 +86,7 @@ DynamicPlugin::VoidFunc ELFPlugin::findSymbol(const char *symbol) {
// FIXME HACK: This is a HACK to circumvent a clash between the ISO C++
// standard and POSIX: ISO C++ disallows casting between function pointers
// and data pointers, but dlsym always returns a void pointer. For details,
- // see e.g. <http://www.trilithium.com/johan/2004/12/problem-with-dlsym/>.
+ // see e.g. <https://web.archive.org/web/20061205092618/http://www.trilithium.com/johan/2004/12/problem-with-dlsym/>.
assert(sizeof(VoidFunc) == sizeof(func));
VoidFunc tmp;
memcpy(&tmp, &func, sizeof(VoidFunc));
diff --git a/backends/plugins/posix/posix-provider.cpp b/backends/plugins/posix/posix-provider.cpp
index c8eb827ae31..37c4656de3b 100644
--- a/backends/plugins/posix/posix-provider.cpp
+++ b/backends/plugins/posix/posix-provider.cpp
@@ -42,7 +42,7 @@ protected:
// FIXME HACK: This is a HACK to circumvent a clash between the ISO C++
// standard and POSIX: ISO C++ disallows casting between function pointers
// and data pointers, but dlsym always returns a void pointer. For details,
- // see e.g. <http://www.trilithium.com/johan/2004/12/problem-with-dlsym/>.
+ // see e.g. <https://web.archive.org/web/20061205092618/http://www.trilithium.com/johan/2004/12/problem-with-dlsym/>.
assert(sizeof(VoidFunc) == sizeof(func));
VoidFunc tmp;
memcpy(&tmp, &func, sizeof(VoidFunc));
diff --git a/backends/plugins/sdl/sdl-provider.cpp b/backends/plugins/sdl/sdl-provider.cpp
index 780592262c3..f1f4ea3d213 100644
--- a/backends/plugins/sdl/sdl-provider.cpp
+++ b/backends/plugins/sdl/sdl-provider.cpp
@@ -51,7 +51,7 @@ protected:
// FIXME HACK: This is a HACK to circumvent a clash between the ISO C++
// standard and POSIX: ISO C++ disallows casting between function pointers
// and data pointers, but dlsym always returns a void pointer. For details,
- // see e.g. <http://www.trilithium.com/johan/2004/12/problem-with-dlsym/>.
+ // see e.g. <https://web.archive.org/web/20061205092618/http://www.trilithium.com/johan/2004/12/problem-with-dlsym/>.
assert(sizeof(VoidFunc) == sizeof(func));
VoidFunc tmp;
memcpy(&tmp, &func, sizeof(VoidFunc));
diff --git a/base/main.cpp b/base/main.cpp
index 89d098af947..a0ca78f68f2 100644
--- a/base/main.cpp
+++ b/base/main.cpp
@@ -21,8 +21,8 @@
/*! \mainpage %ScummVM Source Reference
*
- * These pages contains a cross referenced documentation for the %ScummVM source code,
- * generated with Doxygen (http://www.doxygen.org) directly from the source.
+ * These pages contain a cross referenced documentation for the %ScummVM source code,
+ * generated with Doxygen (https://www.doxygen.nl) directly from the source.
* Currently not much is actually properly documented, but at least you can get an overview
* of almost all the classes, methods and variables, and how they interact.
*/
diff --git a/engines/freescape/language/8bitDetokeniser.cpp b/engines/freescape/language/8bitDetokeniser.cpp
index e806e1c3d0b..e78455e9a28 100644
--- a/engines/freescape/language/8bitDetokeniser.cpp
+++ b/engines/freescape/language/8bitDetokeniser.cpp
@@ -22,7 +22,7 @@
// Based on Phantasma code by Thomas Harte (2013),
// available at https://github.com/TomHarte/Phantasma/ (MIT)
// which was implemented based on John Elliott's reverse engineering of Driller (2001)
-// http://www.seasip.demon.co.uk/ZX/Driller/
+// https://web.archive.org/web/20200116141513/http://www.seasip.demon.co.uk/ZX/Driller/
#include "freescape/freescape.h"
#include "freescape/language/8bitDetokeniser.h"
diff --git a/engines/grim/update/mscab.cpp b/engines/grim/update/mscab.cpp
index 87aa26f395f..9504e70b14f 100644
--- a/engines/grim/update/mscab.cpp
+++ b/engines/grim/update/mscab.cpp
@@ -207,7 +207,7 @@ MsCabinet::Decompressor::~Decompressor() {
}
bool MsCabinet::Decompressor::decompressFile(byte *&fileBuf, const FileEntry &entry) {
- // Ref: http://blogs.kde.org/node/3181
+ // Ref: https://web.archive.org/web/20220518002805/http://blogs.kde.org/node/3181
uint16 uncompressedLen, compressedLen;
byte hdrS[4];
byte *buf_tmp, *dict;
diff --git a/engines/mohawk/bitmap.cpp b/engines/mohawk/bitmap.cpp
index 10def367725..e602dfafe32 100644
--- a/engines/mohawk/bitmap.cpp
+++ b/engines/mohawk/bitmap.cpp
@@ -752,7 +752,7 @@ MohawkSurface *LivingBooksBitmap_v1::decodeImageLB(Common::SeekableReadStreamEnd
}
// Partially based on the Prince of Persia Format Specifications
-// See http://sdfg.com.ar/git/?p=fp-git.git;a=blob;f=FP/doc/FormatSpecifications
+// See https://sdfg.com.ar/git/r/fp-git.git/b/master/t/FP/doc/f=FormatSpecifications.html
MohawkSurface *DOSBitmap::decodeImage(Common::SeekableReadStream *stream) {
_header.height = stream->readUint16LE();
diff --git a/engines/mohawk/resource.cpp b/engines/mohawk/resource.cpp
index 1db5943ed2e..9a7f1cb1359 100644
--- a/engines/mohawk/resource.cpp
+++ b/engines/mohawk/resource.cpp
@@ -442,7 +442,7 @@ bool LivingBooksArchive_v1::openStream(Common::SeekableReadStream *stream) {
// DOS Archive (v2) code
// Partially based on the Prince of Persia Format Specifications
-// See http://sdfg.com.ar/git/?p=fp-git.git;a=blob;f=FP/doc/FormatSpecifications
+// See https://sdfg.com.ar/git/r/fp-git.git/b/master/t/FP/doc/f=FormatSpecifications.html
// However, I'm keeping with the terminology we've been using with the
// later archive formats.
diff --git a/engines/saga/font_map.cpp b/engines/saga/font_map.cpp
index f818b66afc8..f2d43390584 100644
--- a/engines/saga/font_map.cpp
+++ b/engines/saga/font_map.cpp
@@ -19,9 +19,10 @@
*
*/
-// Font module character mapping table ( MS CP-850 to ISO 8859-1 )
+// Font module character mapping table (MS CP-850 to ISO 8859-1)
-// Translation table derived from http://www.kostis.net/charsets/
+// Translation table derived from
+// https://web.archive.org/web/20040404103818/http://www.kostis.net/charsets/
#include "saga/saga.h"
#include "saga/font.h"
diff --git a/engines/sci/resource/decompressor.cpp b/engines/sci/resource/decompressor.cpp
index d6ace94c6ec..f94a2537c39 100644
--- a/engines/sci/resource/decompressor.cpp
+++ b/engines/sci/resource/decompressor.cpp
@@ -539,7 +539,8 @@ int DecompressorDCL::unpack(Common::ReadStream *src, byte *dest, uint32 nPacked,
//----------------------------------------------
// STACpack/LZS decompressor for SCI32
-// Based on Andre Beck's code from http://micky.ibh.de/~beck/stuff/lzs4i4l/
+// Based on Andre Beck's code from
+// https://web.archive.org/web/20070817214826/http://micky.ibh.de/~beck/stuff/lzs4i4l/
//----------------------------------------------
int DecompressorLZS::unpack(Common::ReadStream *src, byte *dest, uint32 nPacked, uint32 nUnpacked) {
init(src, dest, nPacked, nUnpacked);
diff --git a/engines/scumm/imuse_digi/dimuse_codecs.cpp b/engines/scumm/imuse_digi/dimuse_codecs.cpp
index 2631c9bb3bd..7b9df16ad66 100644
--- a/engines/scumm/imuse_digi/dimuse_codecs.cpp
+++ b/engines/scumm/imuse_digi/dimuse_codecs.cpp
@@ -33,7 +33,7 @@ namespace BundleCodecs {
/*
* The "IMC" codec below (see cases 13 & 15 in decompressCodec) is actually a
* variant of the IMA codec, see also
- * <http://www.multimedia.cx/simpleaudio.html>
+ * <https://multimedia.cx/simpleaudio.html>
*
* It is somewhat different, though: the standard ADPCM codecs use a fixed
* size for their data packets (4 bits), while the codec implemented here
diff --git a/engines/scumm/players/player_sid.cpp b/engines/scumm/players/player_sid.cpp
index b6a818d199b..2047d18dd08 100644
--- a/engines/scumm/players/player_sid.cpp
+++ b/engines/scumm/players/player_sid.cpp
@@ -43,7 +43,7 @@ namespace Scumm {
* - http://www.dopeconnection.net/C64_SID.htm (German)
* For more info on the VIC chip see:
* - https://riff.2ix.at/c64/print.php?dok=man-vic (German)
- * - http://www.c64-wiki.de/index.php/VIC (German)
+ * - https://www.c64-wiki.de/wiki/VIC (German)
*/
struct TimingProps {
diff --git a/engines/stark/formats/xarc.cpp b/engines/stark/formats/xarc.cpp
index 0682923c7f6..ef6d7aeb41b 100644
--- a/engines/stark/formats/xarc.cpp
+++ b/engines/stark/formats/xarc.cpp
@@ -20,7 +20,7 @@
*/
// Based on the Xentax Wiki documentation:
-// http://wiki.xentax.com/index.php?title=The_Longest_Journey_XARC
+// https://web.archive.org/web/20090621212912/http://wiki.xentax.com/index.php?title=The_Longest_Journey_XARC
#include "engines/stark/formats/xarc.h"
#include "engines/stark/debug.h"
diff --git a/engines/tetraedge/te/micropather.h b/engines/tetraedge/te/micropather.h
index 50d5cfce046..7b398ebb3a7 100644
--- a/engines/tetraedge/te/micropather.h
+++ b/engines/tetraedge/te/micropather.h
@@ -292,7 +292,8 @@ namespace micropather
/* Used to cache results of paths. Much, much faster
to return an existing solution than to calculate
- a new one. A post on this is here: http://grinninglizard.com/altera/programming/a-path-caching-2/
+ a new one. A post on this is here:
+ https://web.archive.org/web/20170714084918/http://grinninglizard.com/altera/programming/a-path-caching-2/
*/
class PathCache
{
diff --git a/engines/ultima/ultima4/core/lzw/lzw.cpp b/engines/ultima/ultima4/core/lzw/lzw.cpp
index c4a3eb09f66..0a6ab3a7207 100644
--- a/engines/ultima/ultima4/core/lzw/lzw.cpp
+++ b/engines/ultima/ultima4/core/lzw/lzw.cpp
@@ -29,9 +29,10 @@
* string searches), there is no reason not to implement it as a simple array in the decoder.
* But since U4 uses a hash table in the decoder, this C version must do the same (or it won't be
* able to decode the U4 files).
- * An article on LZW data (de)compression can be found here:
- * https://marknelson.us/posts/1989/10/01/lzw-data-compression.html
- * https://marknelson.us/posts/2011/11/08/lzw-revisited.html
+ *
+ * An explanation on LZW data (de)compression can be found here:
+ * https://web.archive.org/web/20191231131544/https://marknelson.us/posts/1989/10/01/lzw-data-compression.html
+ * https://web.archive.org/web/20191231131532/https://marknelson.us/posts/2011/11/08/lzw-revisited.html
*/
#include "ultima/ultima4/core/lzw/lzw.h"
diff --git a/graphics/yuv_to_rgb.cpp b/graphics/yuv_to_rgb.cpp
index 135a887a25e..8348c8a6c3d 100644
--- a/graphics/yuv_to_rgb.cpp
+++ b/graphics/yuv_to_rgb.cpp
@@ -483,7 +483,8 @@ void convertYUV410ToRGB(byte *dstPtr, int dstPitch, const YUVToRGBLookup *lookup
for (int y = 0; y < yHeight; y++) {
for (int x = 0; x < quarterWidth; x++) {
// Perform bilinear interpolation on the chroma values
- // Based on the algorithm found here: http://tech-algorithm.com/articles/bilinear-image-scaling/
+ // Based on the algorithm found here:
+ // https://web.archive.org/web/20120228182419/http://tech-algorithm.com/articles/bilinear-image-scaling/
// Feel free to optimize further
int targetY = y >> 2;
int xDiff = 0;
diff --git a/math/frustum.cpp b/math/frustum.cpp
index 0fd85097776..f62cf89b8ff 100644
--- a/math/frustum.cpp
+++ b/math/frustum.cpp
@@ -29,7 +29,7 @@ Frustum::Frustum() {
void Frustum::setup(const Math::Matrix4 &matrix) {
// Based on "Fast Extraction of Viewing Frustum Planes from the
// World-View-Projection matrix" by Gil Gribb and Klaus Hartmann.
- // http://www.cs.otago.ac.nz/postgrads/alexis/planeExtraction.pdf
+ // https://web.archive.org/web/20140211075800/http://www.cs.otago.ac.nz/postgrads/alexis/planeExtraction.pdf
_planes[0]._normal.x() = matrix.getValue(3, 0) + matrix.getValue(0, 0);
_planes[0]._normal.y() = matrix.getValue(3, 1) + matrix.getValue(0, 1);
diff --git a/video/theora_decoder.cpp b/video/theora_decoder.cpp
index 3d40a0be435..ba771cdf49b 100644
--- a/video/theora_decoder.cpp
+++ b/video/theora_decoder.cpp
@@ -21,7 +21,7 @@
/*
* Source is based on the player example from libvorbis package,
- * available at: http://svn.xiph.org/trunk/theora/examples/player_example.c
+ * available at: https://gitlab.xiph.org/xiph/theora/-/blob/main/examples/player_example.c
*
* THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE.
* USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS
Commit: 69dd0889cc9150d715b42fdaf9e3d7c6cf48e135
https://github.com/scummvm/scummvm/commit/69dd0889cc9150d715b42fdaf9e3d7c6cf48e135
Author: Donovan Watteau (contrib at dwatteau.fr)
Date: 2025-10-29T14:22:37+01:00
Commit Message:
JANITORIAL: Update some HTTP links in comments to HTTPS
The modern web is mostly HTTPS now, and some browsers may start giving
warnings when one uses a plain HTTP connection.
Only update the protocol when the HTTPS connection exists and fully
works. Code from external projects/tools is kept as is.
Changed paths:
audio/decoders/adpcm.cpp
audio/decoders/adpcm.h
audio/decoders/adpcm_intern.h
audio/decoders/mp3.cpp
audio/decoders/voc.cpp
backends/graphics/openglsdl/openglsdl-graphics.cpp
backends/mixer/sdl/sdl-mixer.cpp
backends/platform/android/org/scummvm/scummvm/ExternalStorage.java
backends/vkeybd/virtual-keyboard-parser.h
common/algorithm.h
common/compression/unarj.cpp
common/formats/json.cpp
common/formats/winexe.cpp
common/formats/winexe_ne.h
common/str-base.h
devtools/create_supernova/create_supernova.cpp
engines/ags/engine/ac/route_finder_jps.cpp
engines/bladerunner/shape.cpp
engines/cryo/eden.cpp
engines/freescape/gfx_opengl.cpp
engines/freescape/gfx_tinygl.cpp
engines/kyra/graphics/vqa.cpp
engines/made/scriptfuncs.cpp
engines/sci/detection_tables.h
engines/sci/engine/kgraphics.cpp
engines/sci/sound/audio.cpp
engines/tetraedge/te/micropather.cpp
engines/ultima/ultima8/gfx/fonts/font.cpp
graphics/macgui/datafiles.cpp
graphics/primitives.cpp
graphics/scaler/intern.h
image/codecs/indeo3.cpp
image/pcx.cpp
image/png.cpp
image/tga.cpp
image/tga.h
math/matrix3.cpp
math/matrix4.cpp
math/quat.cpp
math/quat.h
video/bink_decoder.cpp
video/smk_decoder.cpp
video/smk_decoder.h
diff --git a/audio/decoders/adpcm.cpp b/audio/decoders/adpcm.cpp
index 5d0f8e76d08..6febb83073c 100644
--- a/audio/decoders/adpcm.cpp
+++ b/audio/decoders/adpcm.cpp
@@ -35,10 +35,10 @@ namespace Audio {
// <https://web.archive.org/web/20050421220515/http://www.comptek.ru/telephony/tnotes/tt1-13.html>
//
// IMA ADPCM support is based on
-// <http://wiki.multimedia.cx/index.php?title=IMA_ADPCM>
+// <https://wiki.multimedia.cx/index.php?title=IMA_ADPCM>
//
// In addition, also MS IMA ADPCM is supported. See
-// <http://wiki.multimedia.cx/index.php?title=Microsoft_IMA_ADPCM>.
+// <https://wiki.multimedia.cx/index.php?title=Microsoft_IMA_ADPCM>.
//
// XA ADPCM support is based on FFmpeg/libav
diff --git a/audio/decoders/adpcm.h b/audio/decoders/adpcm.h
index 979545e8054..bef9fdfad7e 100644
--- a/audio/decoders/adpcm.h
+++ b/audio/decoders/adpcm.h
@@ -49,7 +49,7 @@ class SeekableAudioStream;
// There are several types of ADPCM encoding, only some are supported here
// For all the different encodings, refer to:
-// http://wiki.multimedia.cx/index.php?title=Category:ADPCM_Audio_Codecs
+// https://wiki.multimedia.cx/index.php?title=Category:ADPCM_Audio_Codecs
// Usually, if the audio stream we're trying to play has the FourCC header
// string intact, it's easy to discern which encoding is used
enum ADPCMType {
diff --git a/audio/decoders/adpcm_intern.h b/audio/decoders/adpcm_intern.h
index 63331f11301..b848782242c 100644
--- a/audio/decoders/adpcm_intern.h
+++ b/audio/decoders/adpcm_intern.h
@@ -244,7 +244,7 @@ private:
};
// Duck DK3 IMA ADPCM Decoder
-// Based on FFmpeg's decoder and http://wiki.multimedia.cx/index.php?title=Duck_DK3_IMA_ADPCM
+// Based on FFmpeg's decoder and https://wiki.multimedia.cx/index.php?title=Duck_DK3_IMA_ADPCM
class DK3_ADPCMStream : public Ima_ADPCMStream {
public:
diff --git a/audio/decoders/mp3.cpp b/audio/decoders/mp3.cpp
index 43bea3f5d0e..716005fc5ca 100644
--- a/audio/decoders/mp3.cpp
+++ b/audio/decoders/mp3.cpp
@@ -394,7 +394,7 @@ Common::SeekableReadStream *MP3Stream::skipID3(Common::SeekableReadStream *strea
// ID3v1 (beginning with with 'TAG') is located at the end of files. So we can ignore those.
// ID3v2 can be located at the start of files and begins with a 10 bytes header, the first 3 bytes being 'ID3'.
// The tag size is coded on the last 4 bytes of the 10 bytes header as a 32 bit synchsafe integer.
- // See http://id3.org/id3v2.4.0-structure for details.
+ // See https://id3.org/id3v2.4.0-structure for details.
char data[10];
stream->read(data, sizeof(data));
diff --git a/audio/decoders/voc.cpp b/audio/decoders/voc.cpp
index bea26b136c7..c6f46f896f4 100644
--- a/audio/decoders/voc.cpp
+++ b/audio/decoders/voc.cpp
@@ -238,7 +238,7 @@ void VocStream::preProcess() {
block.length = 0;
// If we hit EOS here we found the end of the VOC file.
- // According to http://wiki.multimedia.cx/index.php?title=Creative_Voice
+ // According to https://wiki.multimedia.cx/index.php?title=Creative_Voice
// there is no need for an "Terminator" block to be present.
// In case we hit a "Terminator" block we also break here.
if (_stream->eos() || block.code == 0)
diff --git a/backends/graphics/openglsdl/openglsdl-graphics.cpp b/backends/graphics/openglsdl/openglsdl-graphics.cpp
index 9b91d13f50f..29b79def65d 100644
--- a/backends/graphics/openglsdl/openglsdl-graphics.cpp
+++ b/backends/graphics/openglsdl/openglsdl-graphics.cpp
@@ -797,7 +797,7 @@ bool OpenGLSdlGraphicsManager::setupMode(uint width, uint height) {
// WORKAROUND: Working around infamous SDL bugs when switching
// resolutions too fast. This might cause the event system to supply
// incorrect mouse position events otherwise.
- // Reference: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=665779
+ // Reference: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=665779
const uint32 curTime = SDL_GetTicks();
if (_hwScreen && (curTime < _lastVideoModeLoad || curTime - _lastVideoModeLoad < 100)) {
for (int i = 10; i > 0; --i) {
diff --git a/backends/mixer/sdl/sdl-mixer.cpp b/backends/mixer/sdl/sdl-mixer.cpp
index 7505ea74c1b..399c40ba41d 100644
--- a/backends/mixer/sdl/sdl-mixer.cpp
+++ b/backends/mixer/sdl/sdl-mixer.cpp
@@ -152,7 +152,7 @@ void SdlMixerManager::init() {
#if !SDL_VERSION_ATLEAST(3, 0, 0)
static uint32 roundDownPowerOfTwo(uint32 samples) {
// Public domain code from Sean Eron Anderson
- // http://graphics.stanford.edu/~seander/bithacks.html#RoundUpPowerOf2
+ // https://graphics.stanford.edu/~seander/bithacks.html#RoundUpPowerOf2
uint32 rounded = samples;
--rounded;
rounded |= rounded >> 1;
diff --git a/backends/platform/android/org/scummvm/scummvm/ExternalStorage.java b/backends/platform/android/org/scummvm/scummvm/ExternalStorage.java
index d0aa27fbc92..e16b6e13949 100644
--- a/backends/platform/android/org/scummvm/scummvm/ExternalStorage.java
+++ b/backends/platform/android/org/scummvm/scummvm/ExternalStorage.java
@@ -175,7 +175,7 @@ public class ExternalStorage {
// Get listing of mounted devices with their properties.
ArrayList<File> mountedPaths = new ArrayList<>();
try {
- // Note: Despite restricting some access to /proc (http://stackoverflow.com/a/38728738/423105),
+ // Note: Despite restricting some access to /proc (https://stackoverflow.com/a/38728738/423105),
// Android 7.0 does *not* block access to /proc/mounts, according to our test on George's Alcatel A30 GSM.
bufferedReader = new BufferedReader(new FileReader("/proc/mounts"));
@@ -202,7 +202,7 @@ public class ExternalStorage {
}
// TODO maybe: check options to make sure it's mounted RW?
- // The answer at http://stackoverflow.com/a/13648873/423105 does.
+ // The answer at https://stackoverflow.com/a/13648873/423105 does.
// But it hasn't seemed to be necessary so far in my testing.
// This line met the criteria so far, so add it to candidate list.
diff --git a/backends/vkeybd/virtual-keyboard-parser.h b/backends/vkeybd/virtual-keyboard-parser.h
index 7f66f1ebbe5..1e89e425b52 100644
--- a/backends/vkeybd/virtual-keyboard-parser.h
+++ b/backends/vkeybd/virtual-keyboard-parser.h
@@ -164,8 +164,8 @@ rectangles and polygons. The target attribute of each area should be the name
of an event for this mode (see <event> tag). They will usually be generated by
an external tool such as GIMP's Image Map plugin, and so will not be written
by hand, but for more information on HTML image map format see
- - http://www.w3schools.com/TAGS/tag_map.asp
- - http://www.w3schools.com/TAGS/tag_area.asp
+ - https://www.w3schools.com/TAGS/tag_map.asp
+ - https://www.w3schools.com/TAGS/tag_area.asp
*/
diff --git a/common/algorithm.h b/common/algorithm.h
index fbddb27d668..27ae97b2168 100644
--- a/common/algorithm.h
+++ b/common/algorithm.h
@@ -336,7 +336,7 @@ T sortPartition(T first, T last, T pivot, StrictWeakOrdering &comp) {
* equal keys, but stable sorting algorithms never do so.
*
* For more information, see:
- * http://en.wikipedia.org/wiki/Sorting_algorithm#Stability
+ * https://en.wikipedia.org/wiki/Sorting_algorithm#Stability
*
* @note Currently, this implementation is unstable.
*
diff --git a/common/compression/unarj.cpp b/common/compression/unarj.cpp
index ba89cb7568c..ce182a84063 100644
--- a/common/compression/unarj.cpp
+++ b/common/compression/unarj.cpp
@@ -21,7 +21,7 @@
//
// This file is heavily based on the arj code available under the GPL
-// from http://arj.sourceforge.net/ , version 3.10.22 .
+// from <https://arj.sourceforge.net>, version 3.10.22.
#include "common/scummsys.h"
#include "common/archive.h"
diff --git a/common/formats/json.cpp b/common/formats/json.cpp
index f5b5e00ead7..09fb1633acb 100644
--- a/common/formats/json.cpp
+++ b/common/formats/json.cpp
@@ -1175,7 +1175,7 @@ uint32 JSONValue::decodeUtf8Char(String::const_iterator &iter, const String::con
* with the state from the previous byte until it returns 0 (success) or 1 (failure).
*
* Copyright (c) 2008-2009 Bjoern Hoehrmann <bjoern at hoehrmann.de>
-* See http://bjoern.hoehrmann.de/utf-8/decoder/dfa/ for details.
+* See https://bjoern.hoehrmann.de/utf-8/decoder/dfa/ for details.
*
* @access private
*
diff --git a/common/formats/winexe.cpp b/common/formats/winexe.cpp
index a34e4302514..e25f8cd753a 100644
--- a/common/formats/winexe.cpp
+++ b/common/formats/winexe.cpp
@@ -97,7 +97,7 @@ bool WinResources::loadFromEXE(const Path &fileName) {
}
bool WinResources::loadFromCompressedEXE(const Path &fileName) {
- // Based on http://www.cabextract.org.uk/libmspack/doc/szdd_kwaj_format.html
+ // Based on https://www.cabextract.org.uk/libmspack/doc/szdd_kwaj_format.html
// TODO: Merge this with with loadFromEXE() so the handling of the compressed
// EXE's is transparent
diff --git a/common/formats/winexe_ne.h b/common/formats/winexe_ne.h
index 0bbdebbe3a8..30bef82a3a4 100644
--- a/common/formats/winexe_ne.h
+++ b/common/formats/winexe_ne.h
@@ -44,7 +44,7 @@ class SeekableReadStream;
* A class able to load resources from a Windows New Executable, such
* as cursors, bitmaps, and sounds.
*
- * See http://en.wikipedia.org/wiki/New_Executable for more info.
+ * See https://en.wikipedia.org/wiki/New_Executable for more info.
*/
class NEResources : public WinResources {
public:
diff --git a/common/str-base.h b/common/str-base.h
index 1736f1b2e10..d48e8dd7aaa 100644
--- a/common/str-base.h
+++ b/common/str-base.h
@@ -273,7 +273,7 @@ public:
* Functions to replace some amount of chars with chars from some other string.
*
* @note The implementation follows that of the STL's std::string:
- * http://www.cplusplus.com/reference/string/string/replace/
+ * https://cplusplus.com/reference/string/string/replace/
*
* @param pos Starting position for the replace in the original string.
* @param count Number of chars to replace from the original string.
diff --git a/devtools/create_supernova/create_supernova.cpp b/devtools/create_supernova/create_supernova.cpp
index fbc2548dc4f..6a17dc51321 100644
--- a/devtools/create_supernova/create_supernova.cpp
+++ b/devtools/create_supernova/create_supernova.cpp
@@ -122,7 +122,7 @@ void writeImage(File& outputFile, const char *name, const char* language) {
char str[256];
// Read header (and check we have a binary PBM file)
- // See http://netpbm.sourceforge.net/doc/pbm.html
+ // See https://netpbm.sourceforge.net/doc/pbm.html
// Header is in the form:
// - A "magic number" for identifying the file type ("P4" for binary pdm)
// - Whitespace (blanks, TABs, CRs, LFs).
diff --git a/engines/ags/engine/ac/route_finder_jps.cpp b/engines/ags/engine/ac/route_finder_jps.cpp
index 3f9b1e6cd4f..2818705c446 100644
--- a/engines/ags/engine/ac/route_finder_jps.cpp
+++ b/engines/ags/engine/ac/route_finder_jps.cpp
@@ -245,7 +245,7 @@ bool Navigation::Reachable(int x0, int y0, int x1, int y1) const {
// A* using jump point search (JPS)
// reference: Online Graph Pruning for Pathfinding on Grid Maps
-// http://users.cecs.anu.edu.au/~dharabor/data/papers/harabor-grastien-aaai11.pdf
+// https://users.cecs.anu.edu.au/~dharabor/data/papers/harabor-grastien-aaai11.pdf
void Navigation::AddPruned(int *buf, int &bcount, int x, int y) const {
assert(buf && bcount < 8);
diff --git a/engines/bladerunner/shape.cpp b/engines/bladerunner/shape.cpp
index 1c3646ed1b2..230832cb35f 100644
--- a/engines/bladerunner/shape.cpp
+++ b/engines/bladerunner/shape.cpp
@@ -64,7 +64,7 @@ Shape::~Shape() {
void Shape::drawFilledTriangleAux(Graphics::Surface &surface, const int &dst_x, const int &dst_y, int x1, int y1, int x2, int y2, int x3, int y3, uint32 colorRGB) const {
// Code used is based on the Bresenham-like algorithm as described in:
// https://mcejp.github.io/2020/11/06/bresenham.html
- // http://www.sunshine2k.de/coding/java/TriangleRasterization/TriangleRasterization.html
+ // https://www.sunshine2k.de/coding/java/TriangleRasterization/TriangleRasterization.html
const Vector2 triangleV1 = Vector2(x1, y1);
const Vector2 triangleV2 = Vector2(x2, y2); // (V2, V3) should be the flat side, so either x2 == x3 or y2 == y3
diff --git a/engines/cryo/eden.cpp b/engines/cryo/eden.cpp
index 9eb50394d18..f5e2fee5cca 100644
--- a/engines/cryo/eden.cpp
+++ b/engines/cryo/eden.cpp
@@ -7584,7 +7584,7 @@ void EdenGame::getSinCosTables(unsigned short angle, signed char **cos_table, si
void EdenGame::rotatePoint(XYZ *point, XYZ *rpoint) {
- // see http://www.cprogramming.com/tutorial/3d/rotation.html
+ // see https://www.cprogramming.com/tutorial/3d/rotation.html
XYZ xrot;
xrot.x = point->x;
diff --git a/engines/freescape/gfx_opengl.cpp b/engines/freescape/gfx_opengl.cpp
index 1caba8d79b5..0015230df67 100644
--- a/engines/freescape/gfx_opengl.cpp
+++ b/engines/freescape/gfx_opengl.cpp
@@ -386,7 +386,7 @@ void OpenGLRenderer::drawCelestialBody(Math::Vector3d position, float radius, by
float twicePi = (float)(2.0 * M_PI);
// Quick billboard effect inspired from this code:
- // http://www.lighthouse3d.com/opengl/billboarding/index.php?billCheat
+ // https://www.lighthouse3d.com/opengl/billboarding/index.php?billCheat
glMatrixMode(GL_MODELVIEW);
glPushMatrix();
GLfloat m[16];
diff --git a/engines/freescape/gfx_tinygl.cpp b/engines/freescape/gfx_tinygl.cpp
index 21470d3df14..e2534be9ded 100644
--- a/engines/freescape/gfx_tinygl.cpp
+++ b/engines/freescape/gfx_tinygl.cpp
@@ -424,7 +424,7 @@ void TinyGLRenderer::drawCelestialBody(Math::Vector3d position, float radius, by
float twicePi = (float)(2.0 * M_PI);
// Quick billboard effect inspired from this code:
- // http://www.lighthouse3d.com/opengl/billboarding/index.php?billCheat
+ // https://www.lighthouse3d.com/opengl/billboarding/index.php?billCheat
tglMatrixMode(TGL_MODELVIEW);
tglPushMatrix();
TGLfloat m[16];
diff --git a/engines/kyra/graphics/vqa.cpp b/engines/kyra/graphics/vqa.cpp
index c1d373c081b..0f487221f4b 100644
--- a/engines/kyra/graphics/vqa.cpp
+++ b/engines/kyra/graphics/vqa.cpp
@@ -20,7 +20,7 @@
*/
// Player for Kyrandia 3 VQA movies, based on the information found at
-// http://multimedia.cx/VQA_INFO.TXT
+// https://multimedia.cx/VQA_INFO.TXT
//
// The benchl.vqa movie (or whatever it is) is not supported. It does not have
// a FINF chunk.
diff --git a/engines/made/scriptfuncs.cpp b/engines/made/scriptfuncs.cpp
index 7904e5bb876..bd70df039ef 100644
--- a/engines/made/scriptfuncs.cpp
+++ b/engines/made/scriptfuncs.cpp
@@ -359,7 +359,7 @@ int16 ScriptFunctions::sfPlayTele(int16 argc, int16 *argv) {
// It takes 1 parameter, the key pressed (0-9, 10 for asterisk, 11 for hash)
// A telephone keypad uses a two tones for each key.
- // See http://en.wikipedia.org/wiki/Telephone_keypad for more info
+ // See https://en.wikipedia.org/wiki/Telephone_keypad for more info
static const int freqTable1[] = {
1336, 1209, 1336, 1477,
diff --git a/engines/sci/detection_tables.h b/engines/sci/detection_tables.h
index ebc609997d2..eeedceb45ad 100644
--- a/engines/sci/detection_tables.h
+++ b/engines/sci/detection_tables.h
@@ -787,13 +787,13 @@ static const struct ADGameDescription SciGameDescriptions[] = {
Common::RU_RUS, Common::kPlatformDOS, ADGF_NO_FLAGS, GUIO_STD16 },
// Eco Quest 2 - Korean DOS Floppy (from swkim01)
- // using swkim01's SCI Message Editor: http://github.com/swkim01/scime/
- {"ecoquest2", "Floppy", {
- {"resource.map", 0, "28fb7b6abb9fc1cb8882d7c2e701b63f", 5658},
- {"resource.000", 0, "cc1d17e5637528dbe4a812699e1cbfc6", 4208192},
- {"resource.msg", 0, "a0fbf7c183ea64f4bc224f71f2862aa0", 219798},
- AD_LISTEND},
- Common::KO_KOR, Common::kPlatformDOS, ADGF_NO_FLAGS, GUIO_STD16 },
+ // using swkim01's SCI Message Editor: https://github.com/swkim01/scime/
+ {"ecoquest2", "Floppy", {
+ {"resource.map", 0, "28fb7b6abb9fc1cb8882d7c2e701b63f", 5658},
+ {"resource.000", 0, "cc1d17e5637528dbe4a812699e1cbfc6", 4208192},
+ {"resource.msg", 0, "a0fbf7c183ea64f4bc224f71f2862aa0", 219798},
+ AD_LISTEND},
+ Common::KO_KOR, Common::kPlatformDOS, ADGF_NO_FLAGS, GUIO_STD16 },
#undef GUIO_ECO2_WINDOWS
@@ -1082,7 +1082,7 @@ static const struct ADGameDescription SciGameDescriptions[] = {
Common::EN_ANY, Common::kPlatformDOS, ADGF_NO_FLAGS, GUIO_GK2 },
// Gabriel Knight 2 - Korean DOS (GOG version) (from swkim01)
- // using swkim01's SCI Message Editor: http://github.com/swkim01/scime/
+ // using swkim01's SCI Message Editor: https://github.com/swkim01/scime/
{"gk2", "", {
{"resmap.000", 0, "b996fa1e57389a1e179a00a0049de1f4", 8110},
{"ressci.000", 0, "a19fc3604c6e5407abcf03d59ee87217", 168522221},
@@ -6257,7 +6257,7 @@ static const struct ADGameDescription SciGameDescriptions[] = {
Common::EN_ANY, Common::kPlatformDOS, ADGF_NO_FLAGS, GUIO_STD16 },
// Space Quest 5 - English DOS - THIS IS THE UNOFFICIAL BETA VERSION, WHICH IS OBVIOUSLY PIRATED AND CONTAINS MANY BUGS
- // refer to http://www.akril15.com/sr/sq5alt/sq5alt.html =DO NOT RE-ADD=
+ // refer to https://www.akril15.com/sr/sq5alt/sq5alt.html =DO NOT RE-ADD=
// SCI interpreter version 1.001.067
{"sq5", "", {
{"resource.map", 0, "8bde0a9adb9a3e9aaa861826874c9834", 6473},
diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp
index a763fd8cdf0..d7b3f744f20 100644
--- a/engines/sci/engine/kgraphics.cpp
+++ b/engines/sci/engine/kgraphics.cpp
@@ -1288,7 +1288,7 @@ reg_t kSetVideoMode(EngineState *s, int argc, reg_t *argv) {
// decoder in KQ6 is specifically written for the planar memory model.
// Planar memory mode access was used for VGA "Mode X" (320x240 resolution,
// although the intro in KQ6 is 320x200).
- // Refer to http://en.wikipedia.org/wiki/Mode_X
+ // Refer to https://en.wikipedia.org/wiki/Mode_X
//warning("STUB: SetVideoMode %d", argv[0].toUint16());
return s->r_acc;
diff --git a/engines/sci/sound/audio.cpp b/engines/sci/sound/audio.cpp
index 5f969660ced..041cf364220 100644
--- a/engines/sci/sound/audio.cpp
+++ b/engines/sci/sound/audio.cpp
@@ -64,7 +64,7 @@ void AudioPlayer::stopAllAudio() {
* sciAudio is an external .NET library for playing MP3 files in fanmade games.
* It runs in the background, and obtains sound commands from the
* currently running game via text files (called "conductor files").
- * For further info, check: http://sciprogramming.com/community/index.php?topic=634.0
+ * For further info, check: https://sciprogramming.com/community/index.php?topic=634.0
*/
void AudioPlayer::handleFanmadeSciAudio(reg_t sciAudioObject, SegManager *segMan) {
// TODO: This is a bare bones implementation. Only the play/playx and stop commands
@@ -305,7 +305,7 @@ static void deDPCM8(byte *soundBuf, Common::SeekableReadStream &audioStream, uin
}
// Sierra SOL audio file reader
-// Check here for more info: http://wiki.multimedia.cx/index.php?title=Sierra_Audio
+// Check here for more info: https://wiki.multimedia.cx/index.php?title=Sierra_Audio
static bool readSOLHeader(Common::SeekableReadStream *audioStream, int headerSize, uint32 &size, uint16 &audioRate, byte &audioFlags, uint32 resSize) {
if (headerSize != 7 && headerSize != 11 && headerSize != 12) {
warning("SOL audio header of size %i not supported", headerSize);
diff --git a/engines/tetraedge/te/micropather.cpp b/engines/tetraedge/te/micropather.cpp
index 119cca03a0c..9b7cd7423ff 100644
--- a/engines/tetraedge/te/micropather.cpp
+++ b/engines/tetraedge/te/micropather.cpp
@@ -995,7 +995,7 @@ int MicroPather::Solve( void* startNode, void* endNode, Common::Array< void* >*
int MicroPather::SolveForNearStates( void* startState, Common::Array< StateCost >* near, float maxCost )
{
- /* http://en.wikipedia.org/wiki/Dijkstra%27s_algorithm
+ /* https://en.wikipedia.org/wiki/Dijkstra%27s_algorithm
1 function Dijkstra(Graph, source):
2 for each vertex v in Graph: // Initializations
diff --git a/engines/ultima/ultima8/gfx/fonts/font.cpp b/engines/ultima/ultima8/gfx/fonts/font.cpp
index 98d42530864..a18e810ad4b 100644
--- a/engines/ultima/ultima8/gfx/fonts/font.cpp
+++ b/engines/ultima/ultima8/gfx/fonts/font.cpp
@@ -61,7 +61,7 @@ bool Font::SJISTraits::canBreakAfter(Std::string::const_iterator &i) {
uint32 u1 = unicode(j);
// See: https://wiki.wesnoth.org/index.php?title=JapaneseTranslation&oldid=23480#Word-Wrapping
- // and: http://ja.wikipedia.org/wiki/%E7%A6%81%E5%89%87
+ // and: https://ja.wikipedia.org/wiki/%E7%A6%81%E5%89%87
switch (u1) {
case 0xff08:
diff --git a/graphics/macgui/datafiles.cpp b/graphics/macgui/datafiles.cpp
index 0840c0e706f..48fad7f7d0c 100644
--- a/graphics/macgui/datafiles.cpp
+++ b/graphics/macgui/datafiles.cpp
@@ -22,7 +22,7 @@
/*
* Based on MacVenture engine, based on
* WebVenture (c) 2010, Sean Kasun
- * https://github.com/mrkite/webventure, http://seancode.com/webventure/
+ * https://github.com/mrkite/webventure, https://seancode.com/webventure/
*
* Used with explicit permission from the author
*/
diff --git a/graphics/primitives.cpp b/graphics/primitives.cpp
index 5cebe128d19..2d9544590cb 100644
--- a/graphics/primitives.cpp
+++ b/graphics/primitives.cpp
@@ -97,7 +97,7 @@ void Primitives::drawThickLine(int x0, int y0, int x1, int y1, int penX, int pen
}
/* Bresenham as presented in Foley & Van Dam */
-/* Code is based on GD lib http://libgd.github.io/ */
+/* Code is based on GD lib https://libgd.github.io/ */
void Primitives::drawThickLine2(int x1, int y1, int x2, int y2, int thick, uint32 color, void *data) {
int incr1, incr2, d, x, y, xend, yend, xdirflag, ydirflag;
int wid;
@@ -370,7 +370,7 @@ void Primitives::drawRoundRect1(const Common::Rect &rect, int arc, uint32 color,
}
// Based on public-domain code by Darel Rex Finley, 2007
-// http://alienryderflex.com/polygon_fill/
+// https://alienryderflex.com/polygon_fill/
void Primitives::drawPolygonScan(const int *polyX, const int *polyY, int npoints, const Common::Rect &bbox, uint32 color, void *data) {
int *nodeX = (int *)calloc(npoints, sizeof(int));
int i, j;
diff --git a/graphics/scaler/intern.h b/graphics/scaler/intern.h
index 1a38d0429bf..5ff21ed21c0 100644
--- a/graphics/scaler/intern.h
+++ b/graphics/scaler/intern.h
@@ -310,7 +310,7 @@ static inline uint32 interpolate32_1_1_1_1(uint32 p1, uint32 p2, uint32 p3, uint
/**
* Interpolate two 16 bit pixels with weights 1 and 1, i.e., (p1+p2)/2.
- * See <http://www.slack.net/~ant/info/rgb_mixing.html> for details on how this works.
+ * See <https://www.slack.net/~ant/info/rgb_mixing.html> for details on how this works.
*/
template<typename ColorMask>
static inline unsigned interpolate16_1_1(unsigned p1, unsigned p2) {
diff --git a/image/codecs/indeo3.cpp b/image/codecs/indeo3.cpp
index 7ecda3d74cb..6840de820b3 100644
--- a/image/codecs/indeo3.cpp
+++ b/image/codecs/indeo3.cpp
@@ -420,7 +420,7 @@ void Indeo3Decoder::decodeChunk(byte *cur, byte *ref, int width, int height,
uint16 res;
if ((width & 3) != 0) {
- // This isn't a valid width according to http://wiki.multimedia.cx/index.php?title=Indeo_3
+ // This isn't a valid width according to https://wiki.multimedia.cx/index.php?title=Indeo_3
error("Indeo3 file with width not divisible by 4. This will cause unaligned writes");
}
diff --git a/image/pcx.cpp b/image/pcx.cpp
index 7bd5eda07e1..b573daf4be5 100644
--- a/image/pcx.cpp
+++ b/image/pcx.cpp
@@ -28,7 +28,7 @@
/**
* Based on the PCX specs:
- * http://www.fileformat.info/format/pcx/spec/a10e75307b3a4cc49c3bbe6db4c41fa2/view.htm
+ * https://www.fileformat.info/format/pcx/spec/a10e75307b3a4cc49c3bbe6db4c41fa2/view.htm
* and the PCX decoder of FFmpeg (libavcodec/pcx.c):
* https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/HEAD:/libavcodec/pcx.c
*/
diff --git a/image/png.cpp b/image/png.cpp
index 169037577c0..d88926b7cb3 100644
--- a/image/png.cpp
+++ b/image/png.cpp
@@ -123,8 +123,8 @@ bool PNGDecoder::loadStream(Common::SeekableReadStream &stream) {
}
// The following is based on the guide provided in:
- //http://www.libpng.org/pub/png/libpng-1.2.5-manual.html#section-3
- //http://www.libpng.org/pub/png/libpng-1.4.0-manual.pdf
+ // https://www.libpng.org/pub/png/libpng-1.2.5-manual.html#section-3
+ // https://www.libpng.org/pub/png/libpng-1.4.0-manual.pdf
// along with the png-loading code used in the sword25-engine.
png_structp pngPtr = png_create_read_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL);
if (!pngPtr) {
diff --git a/image/tga.cpp b/image/tga.cpp
index e48b12cba25..11496e1bb3d 100644
--- a/image/tga.cpp
+++ b/image/tga.cpp
@@ -206,7 +206,7 @@ bool TGADecoder::readColorMap(Common::SeekableReadStream &tga, byte imageType, b
return true;
}
-// Additional information found from http://paulbourke.net/dataformats/tga/
+// Additional information found from https://paulbourke.net/dataformats/tga/
// With some details from the link referenced in the header.
bool TGADecoder::readData(Common::SeekableReadStream &tga, byte imageType, byte pixelDepth) {
// TrueColor
diff --git a/image/tga.h b/image/tga.h
index 1c41174bafe..ed02be474d2 100644
--- a/image/tga.h
+++ b/image/tga.h
@@ -74,7 +74,7 @@ public:
virtual bool loadStream(Common::SeekableReadStream &stream) override;
private:
// Format-spec from:
- //http://www.ludorg.net/amnesia/TGA_File_Format_Spec.html
+ // https://www.ludorg.net/amnesia/TGA_File_Format_Spec.html
enum {
TYPE_CMAP = 1,
TYPE_TRUECOLOR = 2,
diff --git a/math/matrix3.cpp b/math/matrix3.cpp
index 23e4db688df..3f0ca837071 100644
--- a/math/matrix3.cpp
+++ b/math/matrix3.cpp
@@ -35,7 +35,7 @@ void Matrix<3, 3>::transpose() {
/**
* Generates a lookat matrix. For reference, see
- * http://clb.confined.space/MathGeoLib/nightly/docs/float3x3_LookAt.php
+ * https://clb.confined.space/MathGeoLib/nightly/docs/float3x3_LookAt.php
*/
void Matrix<3, 3>::buildFromTargetDir(const Math::Vector3d &modelForward, const Math::Vector3d &targetDirection,
const Math::Vector3d &modelUp, const Math::Vector3d &worldUp) {
diff --git a/math/matrix4.cpp b/math/matrix4.cpp
index a6b3be37346..3c9c5c43ace 100644
--- a/math/matrix4.cpp
+++ b/math/matrix4.cpp
@@ -94,7 +94,7 @@ void Matrix<4, 4>::translate(const Vector3d &vec) {
/**
* Generates a lookat matrix. For reference, see
- * http://clb.confined.space/MathGeoLib/nightly/docs/float3x3_LookAt.php
+ * https://clb.confined.space/MathGeoLib/nightly/docs/float3x3_LookAt.php
*/
void Matrix<4, 4>::buildFromTargetDir(const Math::Vector3d &modelForward, const Math::Vector3d &targetDirection,
const Math::Vector3d &modelUp, const Math::Vector3d &worldUp) {
diff --git a/math/quat.cpp b/math/quat.cpp
index 17d27cc5467..a2ee61a32b5 100644
--- a/math/quat.cpp
+++ b/math/quat.cpp
@@ -20,7 +20,7 @@
*/
/*
- * Quaternion-math originally borrowed from plib http://plib.sourceforge.net/index.html
+ * Quaternion-math originally borrowed from plib https://plib.sourceforge.net/index.html
* This code was originally made available under the LGPLv2 license (or later).
*
* Quaternion routines are Copyright (C) 1999
diff --git a/math/quat.h b/math/quat.h
index 833b27697ad..17c666aa8d9 100644
--- a/math/quat.h
+++ b/math/quat.h
@@ -19,7 +19,7 @@
*
*/
-// Quaternion-math borrowed from plib http://plib.sourceforge.net/index.html
+// Quaternion-math borrowed from plib https://plib.sourceforge.net/index.html
// Which is covered by LGPL2
// And has this additional copyright note:
/*
diff --git a/video/bink_decoder.cpp b/video/bink_decoder.cpp
index ef4d1a13f2b..abb979154e7 100644
--- a/video/bink_decoder.cpp
+++ b/video/bink_decoder.cpp
@@ -415,7 +415,7 @@ bool BinkDecoder::BinkAudioTrack::seek(const Audio::Timestamp &time) {
// For now, we do as the official Bink decoder up to version 1.2j. The stream is prefilled
// with silence.
// The official bink decoder behavior is documented here:
- // http://www.radgametools.com/bnkhist.htm#Changes from 1.2i to 1.2J (02-18-2002)
+ // <https://www.radgametools.com/bnkhist.htm#Changes> from 1.2i to 1.2J (02-18-2002)
Audio::AudioStream *silence = Audio::makeSilentAudioStream(_audioInfo->outSampleRate, _audioInfo->outChannels == 2);
Audio::AudioStream *prebuffer = Audio::makeLimitingAudioStream(silence, Audio::Timestamp(750));
_audioStream->queueAudioStream(prebuffer);
diff --git a/video/smk_decoder.cpp b/video/smk_decoder.cpp
index dcda37f957e..4864c535a39 100644
--- a/video/smk_decoder.cpp
+++ b/video/smk_decoder.cpp
@@ -26,7 +26,7 @@
*
*/
-// Based on http://wiki.multimedia.cx/index.php?title=Smacker
+// Based on https://wiki.multimedia.cx/index.php?title=Smacker
// and the FFmpeg Smacker decoder (libavcodec/smacker.c), revision 16143
// https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/40a19c443430de520d86bbd644033c8e2ca87e9b
diff --git a/video/smk_decoder.h b/video/smk_decoder.h
index 5b0ccdd8d90..c5ff58db363 100644
--- a/video/smk_decoder.h
+++ b/video/smk_decoder.h
@@ -59,7 +59,7 @@ typedef Common::BitStreamImpl<Common::BitStreamMemoryStream, uint32, 8, false, f
/**
* Decoder for Smacker v2/v4 videos.
*
- * Based on http://wiki.multimedia.cx/index.php?title=Smacker
+ * Based on https://wiki.multimedia.cx/index.php?title=Smacker
* and the FFmpeg Smacker decoder (libavcodec/smacker.c), revision 16143
* https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/40a19c443430de520d86bbd644033c8e2ca87e9b
*
More information about the Scummvm-git-logs
mailing list