Commit Graph
4590 Commits
Author SHA1 Message Date
elasota 57603482fc COMMON: Add support for loading Gentee Installer embedded PAKs 2025-04-26 17:51:27 +03:00
elasota 6b21ef7463 COMMON: Fix Gentee Installer loader interpreting EOF as size
This is necessary to extract PAKs embedded in the setup executable, which start at a non-zero position
2025-04-26 17:51:27 +03:00
Thierry Crozat 5afda9f4f5 DOC: Add a small clarification to a doxygen comment for TTS 2025-04-25 19:23:08 +01:00
Miro Kropacek 82ae054d0a JANITORIAL: Partially revert commit 24dcacfe
That one was a bit heavy-handed: enums really shouldn't be passed as
const references.

Revert changes of:

- Common::CodePage
- Common::EventType
- Common::Keycode
- Common::Language
- Common::Platform

Additionally change ProjectDescription::setLanguage and
ProjectDescription::getLanguage in engines/mtropolis/runtime.{cpp,h} as
those used a Common::Language reference, too.
2025-04-20 21:33:15 +02:00
sluicebox 88c6586c14 COMMON: Fix memory leak on zlib error
CID 1591742
2025-04-14 13:15:09 -07:00
Miro Kropacek 24dcacfe69 JANITORIAL: Add missing references to const function parameters
Applied to all 'const Common::' and 'const Graphics::' instances.
2025-04-13 02:20:09 +03:00
sluicebox bf243a1dbf COMMON: Fix DCL IMPLODE name 2025-04-09 23:49:19 +03:00
Donovan Watteau b1ef5738fb I18N: Add some notes about required steps for language code renames 2025-04-03 18:01:19 +02:00
Donovan Watteau 1b91b7b3cd I18N: Update g_obsoleteLanguages for latest SE_SWE -> SV_SWE change
Related to previous commit 8ffcf8229f.
2025-04-01 05:43:34 +02:00
Daniel Nylander 8ffcf8229f I18N: Change SE_SWE to SV_SWE
Change the Swedish language code from SE to SV according to ISO 639
2025-03-30 22:19:13 +03:00
Filippos Karapetis 5b1e2d502c COMMON: Use C++ 11 range-based for loops 2025-03-27 13:47:57 +08:00
Filippos Karapetis 177f04349a COMMON: Use C++ 11 range-based for loops 2025-03-27 13:47:57 +08:00
Eugene Sandulenko bebaf73791 COMMON: Implement hasDataFork() method 2025-03-05 00:45:21 +01:00
Cameron Cawley cdb45e65b5 COMMON: Add emplace and rvalue insert to Common::Queue 2025-03-03 11:24:06 +02:00
Cameron Cawley 85a7067bd4 COMMON: Add emplace and rvalue insert to Common::List 2025-03-03 11:24:06 +02:00
Filippos Karapetis 3fa6263af5 COMMON: Initialize class member in MemcachingCaseInsensitiveArchive 2025-03-01 22:12:33 +02:00
Le Philousophe 0a4dd23113 COMMON: Remove plural of debugChannels
This variable previously held several channels while it's only used for
one channel now.
2025-02-22 23:28:26 +01:00
Eugene Sandulenko 2435439665 COMMON: FORMATS: Put QT parser debug output to 'gvideo' debug channel 2025-02-22 15:51:24 +01:00
Eugene Sandulenko c5ad81dd5d COMMON: Added debugPrintC() method to Common::Rational 2025-02-22 15:51:24 +01:00
Eugene Sandulenko 6ae04dc157 COMMON: Added 'gvideo' global debug channel 2025-02-22 15:51:24 +01:00
Eugene Sandulenko 0bfebda407 COMMON: Added Rect::debugPrintC() 2025-02-22 15:51:24 +01:00
Eugene Sandulenko 204af35019 COMMON: Added debug level for global graphics 2025-02-22 15:51:23 +01:00
Eugene Sandulenko fe27041c57 COMMON: Hid "file not found" debug message deeper 2025-02-22 15:51:23 +01:00
Eugene Sandulenko ca1500833b COMMON: FORMATS: Get rid of HotSpotType in QTVR
This is supposed to be user-extendable, thus, there always
will be "unknown" hotspots. So, we pass it as uint32
2025-02-20 01:34:32 +01:00
Eugene Sandulenko 04f23ac98f COMMON: FORMATS: Fixed to PNAV atom reading in QuickTime 2025-02-19 01:51:15 +01:00
Eugene Sandulenko 8676fb1fba COMMON: FORMATS: Simplified usage of QTVR node type 2025-02-16 18:09:16 +01:00
Eugene Sandulenko 5b3953aaf6 COMMON: FORMATS: Report QTVR 2.0 movies as unsupported 2025-02-16 18:09:16 +01:00
Le Philousophe 5e98ef6d21 COMMON: Silence cast-user-defined GCC warning
Make it explicit that we don't want to call any copy constructor but
only casting a reference type.
2025-02-16 13:30:36 +01:00
Le Philousophe 203d724e41 COMMON: Move remove_reference to type-traits.h
And remove the duplicate implementation in the Common::Std namespace.
2025-02-16 13:10:07 +01:00
Le Philousophe d2ec868154 COMMON: Rename Conditional type
This now matches what STL does
Also add conditional_t type introduced in C++14.
2025-02-16 13:10:07 +01:00
Le Philousophe 89f632ef39 COMMON: Add add_cv, add_const, add_volatiles constructs
And migrate away from the old AddConst
2025-02-16 13:10:07 +01:00
Le Philousophe 95051b52d4 COMMON: Delete RemoveConst construct and move remove_*
We already have remove_const which has the same name as the STL
construct.
Move the STL compliant versions to type-traits.h to match STL more and
lighten util.h.
2025-02-16 13:10:07 +01:00
Le Philousophe e556f54f98 COMMON: Rename type-traits.h to type_traits.h
This now matches the STL header
2025-02-16 13:10:07 +01:00
Torbjörn Andersson 332dc109a2 COMMON: FORMATS: Silence signed/unsigned warnings 2025-02-15 22:49:15 +01:00
Eugene Sandulenko 15a870c584 COMMON: FORMATS: Expose QTVR structures to the outer world 2025-02-15 20:08:26 +01:00
Eugene Sandulenko 089c575352 COMMON: FORMATS: Add helper methods for getting QTVR components 2025-02-14 23:08:58 +01:00
Eugene Sandulenko 135366d174 COMMON: FORMATS: added 'cmov' as a valid QTVR hotspot type 2025-02-13 00:57:37 +01:00
Eugene Sandulenko b00992c0d4 COMMON: FORMATS: Added target track number to QT Track struct 2025-02-04 23:28:04 +01:00
Eugene Sandulenko afda417473 VIDEO: Fix reading of 'pano' chunk from QTVR and initial panorama construction preps 2025-02-04 01:58:59 +01:00
Eugene Sandulenko b0ccadb399 COMMON: FORMATS: Added more node types to QTVR 2025-01-31 16:48:59 +01:00
Paul Gilbert 64d7033cbc HOPKINS: Fix crash using elevator 2025-01-27 14:21:50 -08:00
Eugene Sandulenko 0a6d381b17 COMMON: Initialize Navigation struct in QTVR 2025-01-27 00:20:34 +01:00
Cameron Cawley 99e2cecb41 COMMON: Add a helper to Rect to get the origin point 2025-01-24 08:23:54 +02:00
Le Philousophe 1a4e4c1826 COMMON: Avoid valgrind errors when opening invalid ZIP files
Bail out of the function before jumping on values which failed to read.
2025-01-22 19:14:42 +01:00
Vladimir Serbinenko d31e9e97bb COMMON: Add PS3 and Nintendo Switch Platforms 2025-01-11 14:20:56 +01:00
Vladimir Serbinenko 3c0a1312a0 COMMON: Allow specifying XMLParser stream name 2025-01-11 14:20:56 +01:00
Vladimir Serbinenko 78859312f8 COMMON: Make Archive listable
This allows efficient listing of files in a subdir even if archive has
a large amount of unrelated files.
2025-01-11 14:20:56 +01:00
Orgad Shaneh cf8022dd27 JANITORIAL: Use default for span ctors 2025-01-03 09:30:16 +02:00
Orgad Shaneh c9c2ffd88b JANITORIAL: Require semicolon after COMMON_SPAN_TYPEDEFS macro use 2025-01-03 09:30:16 +02:00
Le Philousophe 5f720aba7c COMMON: Remove undefined behaviours from RNC decoder
Shifting an amount of 16 on a 16 bits variable is UB.
Make the variables larger to not fall inside it and avoid branches.
2024-12-27 22:16:35 +02:00