Commit graph

165 commits

Author SHA1 Message Date
Cameron Cawley
ac2d99ee9b COMMON: Add variants of memset for 16-bit, 32-bit and 64-bit values 2023-11-06 13:40:38 +02:00
Vladimir Serbinenko
f9b6669241 COMMON: Add DBCS-oriented variant of String 2023-05-10 13:18:54 +02:00
Eugene Sandulenko
e41559cfa5
GUI: Moved icons pack set generation to common/ 2023-01-08 01:15:51 +01:00
Eugene Sandulenko
63f39ca792
COMMON: Rename base-str.* to str-base.* for consistency and file grouping 2023-01-05 14:21:23 +01:00
Cameron Cawley
fd123d6679 COMMON: Split compression and formats into separate modules 2022-12-11 22:33:23 +01:00
Cameron Cawley
28d7b361ea COMMON: Move more file format code into common/formats 2022-12-11 22:33:23 +01:00
Vladimir Serbinenko
ef7a3059e1 COMMON: Uplift powerpacker as it's used by Amiga ITE as well 2022-12-05 08:15:33 +02:00
Eugene Sandulenko
8f8d522913
COMMON: Move achievements.* to engines/ 2022-12-02 00:12:22 +01:00
Eugene Sandulenko
fb7095f5a4
COMMON: Move all compression-related files to a separate directory 2022-12-01 11:53:02 +01:00
elasota
c52eaf92fc COMMON: Move Installer VISE loader from mTropolis engine to Common. 2022-11-30 23:17:47 +02:00
Vladimir Serbinenko
b66d3ec688 COMMON: Implement ConcatReadStream 2022-11-29 04:30:36 +01:00
Vladimir Serbinenko
074888e6b8 COMMON: Move RNC decoder from sky to common
RNC is a common packing algorithm used also in Toonstruck and installer of
Dreamweb floppy.
2022-11-29 04:30:36 +01:00
Cameron Cawley
e04000d4b0 COMMON: Move FFT, DCT, MDCT, RDFT, SineTable, CosineTable and getSineWindow into Math 2022-11-20 14:32:05 +01:00
Vladimir Serbinenko
33475787a2 COMMON: Add clickteam installer unpacker 2022-11-18 01:22:59 +01:00
Vladimir Serbinenko
c72ddd3ec7 COMMON: Import modified gzio from GRUB 2022-11-18 01:22:59 +01:00
Cameron Cawley
ed9c052d57 COMMON: Split Lua into a separate module 2022-11-16 22:45:26 +02:00
Eric Lasota
a90a1a0aed
COMMON: Move 80-bit float parsing from Director to Common (#3953) 2022-06-03 21:28:17 +02:00
djsrv
0db0b2c201 COMMON: Create Path type 2021-08-07 10:44:37 +02:00
Fiodar Stryzhniou
475adcf8aa COMMON: Move text-to-speech.o MODULE_OBJS
It was bulded if USE_TTS enabled before. It builded bu defaault now.
That strange makefile structure break Symbian makefile parser.
2021-08-01 17:23:55 +02:00
Eugene Sandulenko
91d747ac5b
COMMON: Initial code for punycode decoding 2021-07-27 18:14:48 +02:00
Martin Gerhardy
9d82fa51df COMMON: removed USE_TTS check from engines
OSystem now just returns a nullptr if there is no text to speech manager instance
(because none is compiled into the binary, or the system doesn't provide support
for it). This removed the need for the engine authors to add scummvm osystem compile
time options checks into their engine code
2021-05-03 14:13:41 +03:00
neuromancer
ccd4c9a831 PRIVATE: fixes and renamed installer_archive 2021-03-04 02:06:59 +01:00
neuromancer
78febfbd00 PRIVATE: fixed detection from assets without installing 2021-03-04 02:06:59 +01:00
Vladimir Serbinenko
68a9136e4d
COMMON: Rewrite Encoder and drop dependency on iconv (#2586)
Different platforms have different levels of support of encodings and
often have slight variations. We already have tables for most encoding
with only CJK missing. Full transcoding inclusion allows us to get reliable
encoding results independently of platform. The biggest con is the need for
external tables encoding.dat.

It removes a duplicate table for korean in graphics/korfont.cpp
2020-11-15 16:20:35 +01:00
Vladimir Serbinenko
29cfa7bb0f COMMON: Merge code for str.cpp and ustr.cpp
Most of the code in str.cpp and ustr.cpp is actually the same. Do some
template magic to merge them.
2020-10-31 14:05:30 +01:00
Cameron Cawley
d1d305d1b9
GRIM/GROOVIE: Move StuffIt archive code to Common (#2509) 2020-10-11 22:01:00 +02:00
Paweł Kołodziejski
35b9cccbde ALL: Merge ResidualVM 2020-10-09 19:44:13 +02:00
Pawel Kolodziejski
8f4e1c6cf3 Sync with ScummVM rev. 654b8208b8 2020-06-22 08:14:16 +02:00
BLooperZ
ec83715b43 COMMON: add UnicodeBiDiText wrapper 2020-05-12 14:36:09 +02:00
BLooperZ
5b2bc4a9d3 COMMON: move bidi conversion to str-bidi.h 2020-05-12 14:36:09 +02:00
Pawel Kolodziejski
b586571900 ALL: synced with ScummVM commit 09bf38c120 2020-05-09 20:05:54 +02:00
lolbot-iichan
c0e05b1421 COMMON: Add achievements helpers 2020-04-29 10:31:36 +02:00
Bastien Bouclet
e66e35a3fd COMMON: Move isMouseEvent from Keymapper to Common 2020-03-09 20:00:31 +01:00
Bastien Bouclet
ec9c394787 KEYMAPPER: Remove DefaultEventMapper
Now the keymapper is enabled by default, it does not make sense to have
a separate class anymore.
2020-01-29 08:51:29 +01:00
Eugene Sandulenko
50822e708b COMMON: Moved string encoding to separate file 2019-10-19 17:38:26 +02:00
Jaromir Wysoglad
39e74b027e TTS: Add part of linux TTS 2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
dfbbd228e6 COMMON: Add encoding conversion using iconv 2019-08-24 18:12:45 +03:00
Cameron Cawley
46adbfa7b5
LUA: Remove duplicate object file from module.mk 2019-08-13 10:23:32 +01:00
Nipun Garg
c1f029c6dc COMMON: Move Lua into Common and make it into...
an engine feature
2019-08-13 10:18:02 +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
0f57aea2df 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-13 16:24:25 +03:00
Pawel Kolodziejski
19bcd1f3bc ALL: Sync with ScummVM 2016-11-12 12:59:06 +01:00
Pawel Kolodziejski
9ba9c69b3f ALL: Sync with ScummVM - rev. 823c2f899b 2016-11-12 08:49:29 +01:00
Thierry Crozat
e732186724 COMMON: Add OSDMessageQueue singleton
This class can be used to get messages to display on the OSD from
any thread. Those messages are then passed to the backend in the
graphic thread.
2016-10-29 15:13:32 +01:00
Alexander Tkachev
b272bba751 CLOUD: Do minor fixes 2016-08-24 16:07:55 +06:00
Alexander Tkachev
fade746f37 CLOUD: Add USE_CLOUD feature
Adds USE_CLOUD in both configure and create_project.
2016-08-24 16:07:55 +06:00
Alexander Tkachev
ca2eeb2214 CLOUD: Add Cloud::Manager and Cloud::Storage
This commit introduces Common::CloudManager, which can be accessed from
OSystem.

The backend for this manager is Cloud::Manager (defined in
backends/cloud/manager.h). It should load all users storages from
configs and provide access to current Storage instance. For now it just
creates a new one.

Cloud::Storage (backends/cloud/storage.h) provides an API to interact
with cloud storage, for example, create new directory or sync files.
Right now it's not ready and has only two dummy methods: listDirectory()
and syncSaves().

There is Cloud::Dropbox::DropboxStorage backend
(backends/cloud/dropbox/dropboxstorage.h) for Cloud::Storage. Right now
it implements both listDirectory() and syncSaves() with starting timer
task and handling it by printing out some JSON examples.
2016-08-24 16:05:07 +06:00
Alexander Tkachev
79e6368b42 CLOUD: Add SimpleJSON library (module.mk hotfix)
Forgot to edit those.
2016-08-24 16:05:07 +06:00
Eugene Sandulenko
08e7f0ab91 UPDATES: Got rid of hardcoded update intervals list 2016-03-31 09:31:57 +02:00
Bastien Bouclet
86f641ebb9 AUDIO: Add the WMA decoder from xoreos
Credits go to DrMcCoy, clone2727 and the ffmpeg authors
Permission is granted by DrMcCoy and clone2727 relicense this
from GPLv3+ to GPLv2+.
2015-04-19 11:46:01 +02:00