Eugene Sandulenko
403a7eaf15
I18N: Added I18N comments for rotation modes
2024-11-08 01:13:23 +01:00
Eugene Sandulenko
656ae92585
Revert "COMMON: Add destructor to TextToSpeechManager. CID 1453087"
...
This reverts commit d06a7f1168 .
The destruction is happening in the backend.
2024-10-25 17:27:46 +02:00
Eugene Sandulenko
d06a7f1168
COMMON: Add destructor to TextToSpeechManager. CID 1453087
2024-10-25 15:59:56 +02:00
Paul Gilbert
2e5eaba8f1
M4: RIDDLE: Merge duplicated click_x/y and player.click_x/y
...
This fixes the Gallery room, where looking at the cartoons
was previously all showing the same cartoon
2024-10-20 10:50:49 -07:00
Le Philousophe
e61dac6c68
BACKENDS: Allow write streams to be created atomically
...
When creating an atomic write stream, the file is only created once it
is closed.
This can be done using a temporary file.
This commit only adds the API but not the proper implementation.
2024-10-15 22:45:50 +02:00
Martin Gerhardy
d0d366de50
COMMON: fixed whitespaces
2024-10-11 10:36:14 +02:00
athrxx
c11193f35c
COMMON: add Windows 16 colors render mode option
2024-10-09 08:35:11 +03:00
AndywinXp
384968ced2
COMMON: Add getResLength() to MacResManager
2024-10-04 12:40:12 +02:00
Le Philousophe
6d6b48ab64
COMMON: Fix typo in string
...
Reported by @tunnelsociety
2024-09-29 17:10:05 +02:00
Le Philousophe
27c7a64683
COMMON: Add ImGui API to create images
2024-09-29 17:04:03 +02:00
Vladimir Serbinenko
488353480f
SDL, COMMON: Support screen rotation
2024-09-29 02:10:39 +03:00
sluicebox
9e54b692e4
COMMON: Fix memory leak in releaseCJKTables
2024-09-22 19:13:58 -07:00
Thierry Crozat
8f6ab97f67
COMMON: Add scumm_assert macro
...
This macro is similar to the assert macro but differs in two aspects.
First it is not disabled when NDEBUG is defined and thus remains
enabled in release builds. Secondly it uses error() for the error
message which ensures it is available to the user (e.g. shown on
screen, or at least logged) on all platforms.
Those differences make it more appropriate than assert() for sanity
checks that we want to keep in release builds, for example related
to reading content from game data files that may be corrupted.
2024-09-20 19:54:52 +03:00
Filippos Karapetis
a689ba0d95
COMMON: Replace NDEBUG define checks with RELEASE_BUILD
2024-09-20 19:05:29 +03:00
Eugene Sandulenko
c71697975a
COMMON: Make the collision warnings unique
...
This fixes 3 equal warnings in different code branches, so the
rootcause could be identified more easily
2024-09-16 21:35:15 +02:00
Hubert Maier
c96b045510
JANITORIAL: COMMON: Fix typos
2024-09-13 12:06:46 +03:00
Vladimir Serbinenko
fb045768e3
COMMON: Support transcoding Traditional Chinese to Simplified
2024-09-13 00:11:38 +02:00
Vladimir Serbinenko
510d97dae8
COMMON: Fix bug when using old encoding.dat
2024-09-13 00:11:38 +02:00
Le Philousophe and Filippos Karapetis
d7f0142af1
COMMON: Force use of int for uint32 for some platforms
...
These platforms define int32_t as being `long int` which makes a lot of warnings when %d is used for uint32 values.
On these platforms `int` and `long int` are equivalent.
Co-authored-by: Filippos Karapetis <bluegr@gmail.com >
2024-09-08 00:47:36 +03:00
Cameron Cawley
8162951761
COMMON: Replace type detection in configure with aliases for stdint.h types
2024-09-08 00:47:36 +03:00
Le Philousophe
35491fdea8
PSP: Load additional headers at the end after all typedefs
...
We need byte type for them
2024-09-08 00:47:36 +03:00
sluicebox
9f91a01124
COMMON: Fix DiskImage stream deletion
2024-08-26 11:55:36 -07:00
kunxl-gg
6c2c8924d7
COMMON: Add ConfigManager::setFloat and ConfigManager::getFloat
...
Signed-off-by: kunxl-gg <tiwari.25@iitj.ac.in >
2024-08-25 23:17:20 +02:00
kunxl-gg
624d5a59b3
JANITORIAL: Get rid of redundant whitespaces
...
Signed-off-by: kunxl-gg <tiwari.25@iitj.ac.in >
2024-08-25 23:17:20 +02:00
Eugene Sandulenko
83f07ddc49
COMMON: Added Lithuanian to the language list
2024-08-25 20:46:45 +02:00
sluicebox
23a9f4ed54
COMMON: Add DiskImage lazy-decoding mode
...
Images can now be read without decoding all disk tracks.
This allows DiskImage to be used in detection code, where only
a little disk data is needed. Otherwise, formats such as WOZ
would cause noticeable delays due to decoding entire disks.
2024-08-25 14:57:06 +03:00
sluicebox
5a7555dfcc
COMMON: Add BitArray::size()
2024-08-25 14:57:06 +03:00
sluicebox
f31eb92d7a
COMMON: Add DiskImage enhancements
...
- open(FSNode)
- releaseStream()
- ".do" file extension recognized
- Parsing errors handled instead of calling error()
- Skip sector logging when it does nothing
2024-08-25 14:57:06 +03:00
sluicebox
78552492b1
ADL: Move DiskImage into COMMON
2024-08-25 14:57:06 +03:00
sluicebox
b5c4802ea8
COMMON: Remove MemoryReadStream::seek() assertion
2024-08-24 14:38:09 -07:00
Donovan Watteau
4092006494
COMMON: Fix inttypes.h behavior on macOS 10.4
...
The macOS 10.4 SDK uses the non-standard (BSD) '%q' value, instead of
the more standard '%ll' value, triggering -Wformat warnings. This was
fixed in the 10.5 SDK, so borrow its fixes when targeting 10.4.
Also, __STDC_CONSTANT_MACROS is be necessary for OSX < 10.7.
2024-08-24 00:42:47 +02:00
Eugene Sandulenko
4f247f6e80
COMMON: Fix potentially uninitalized variable. CID 1559623
2024-08-23 15:33:27 +02:00
Krish
764e4c15ae
COMMON: FORMATS: Make _panoTrack protected
2024-08-14 21:52:03 +02:00
Krish
aee953ca0b
COMMON: FORMATS: Make QTVRType enum public
2024-08-14 21:52:03 +02:00
Orgad Shaneh
255d0d35fa
COMMON: Fix function comment
...
It was copied from emplace.
2024-08-13 22:46:36 +03:00
Cameron Cawley
5f24ed9a83
COMMON: Remove emplace_back variant from Std::vector
2024-08-11 19:46:37 +03:00
Donovan Watteau
b79cc6ebfc
COMMON: Fix inttypes.h support on RISC OS
2024-08-10 23:20:39 +03:00
Eugene Sandulenko
a95427f964
COMMON: Add Common::reverse() implementation with iterators
2024-08-06 21:55:09 +02:00
elasota
155aefb82c
COMMON: Add move constructors and assign operators to Pair
2024-08-06 09:39:02 +03:00
athrxx
0aca97d8f5
COMMON: add PC-98 8-color render mode to launcher
2024-08-06 08:47:25 +03:00
elasota
179f7ecdc3
COMMON: Add emplace, emplace_back, and rvalue push_back
2024-08-05 09:57:40 +03:00
elasota
915eccfa47
COMMON: Fix forwarding of rvalue refs
2024-08-05 09:57:40 +03:00
Cameron Cawley
f1b04fb5b7
COMMON: Make Std::vector a subclass of Common::Array
2024-08-03 10:43:05 -07:00
Cameron Cawley
08010fa185
COMMON: Return an iterator for List::insert
2024-07-30 13:29:18 +03:00
Cameron Cawley
421cb1f087
COMMON: Rename common/math.h to common/intrinsics.h
2024-07-27 14:00:48 +03:00
Cameron Cawley
89c57d29ef
COMMON: Move more maths functions into the Math namespace
2024-07-27 14:00:48 +03:00
Cameron Cawley
d99ed4f1d4
COMMON: Use uninitialized_move when resizing arrays
2024-07-20 14:17:15 +02:00
Cameron Cawley
0ad948d51a
COMMON: Add uninitialized move functions
2024-07-20 14:17:15 +02:00
Cameron Cawley
6b9d40ee71
DETECTION: Support Clickteam installers in detection tables
2024-07-15 20:48:55 +03:00
Paul Gilbert
3d71d8e08c
COMMON: Move huffman.h to common/compression/
2024-07-15 02:56:12 +02:00