3759 Commits

Author SHA1 Message Date
lb_ii
9eef2c954d COMMON: Support Farsi at convertBiDiString(input, lang, dir) 2021-06-18 23:03:36 +03:00
lb_ii
dce92c8e41 COMMON: Introduce BiDi paragraph direction types 2021-06-18 23:03:36 +03:00
lb_ii
9cd8bbafa9 COMMON: Remove unused UnicodeBiDiText constructor 2021-06-18 23:03:36 +03:00
Martin Gerhardy
dfd6b6a9a4 COMMON: moved AchievementDescriptionList into Common namespace
getAchievementsInfo is also moved into the MetaEngine to reduce code duplication
2021-06-16 00:25:14 +03:00
sluicebox
f2f28c4549 COMMON: Rename DebugManager methods, update comments 2021-06-14 12:42:38 -05:00
sluicebox
efd4f9ff9d COMMON: Remove DebugManager::debugFlagsClear() 2021-06-14 12:42:38 -05:00
sluicebox
fa247d13de COMMON: Rename DebugManager global/member names 2021-06-14 12:42:38 -05:00
lb_ii
0975ab0eaf COMMON: Rename "Persian (Iran)" to "Persian", since there are no other regions in the list 2021-06-13 00:25:53 +03:00
Le Philousophe
3b61377f6b ACHIEVEMENTS: Remove C++11 constructs 2021-06-12 17:06:31 +02:00
lb_ii
8aa6911cca ACHIEVEMENTS: Fix codacy issues 2021-06-10 01:56:23 +03:00
lb_ii
a556ccf894 ACHIEVEMENTS: Use TransMan to decide which achievements language to use 2021-06-10 01:56:23 +03:00
lb_ii
fa018b4b84 ACHIEVEMENTS: Check VERSION at achievements.dat 2021-06-10 01:56:23 +03:00
lb_ii
dea2085eb2 ACHIEVEMENTS: Add API to get stats and achivements descriptions 2021-06-10 01:56:23 +03:00
lb_ii
629e5c2783 ACHIEVEMENTS: Load achivements descriptions from achievements.dat 2021-06-10 01:56:23 +03:00
trembyle
30dfb37623 COMMON: Add Pippin platform for Director engine
Differences with Mac platform include disc authentication and the
presence of Mac System 7 files on disc.
2021-06-09 21:49:28 +02:00
Martin Gerhardy
6772dabd9a COMMON: replaced NULL with nullptr in wrapCompressedReadStream 2021-06-07 01:36:30 +03:00
Martin Gerhardy
b259e168a4 COMMON: fixed invalid read in zlib read stream
==1313424== Conditional jump or move depends on uninitialised value(s)
==1313424==    at 0x682225: Common::wrapCompressedReadStream(Common::SeekableReadStream*, unsigned int) (zlib.cpp:498)
==1313424==    by 0x46CDB9: DefaultSaveFileManager::openForLoading(Common::String const&) (default-saves.cpp:134)
==1313424==    by 0x68334D: Common::PlaybackFile::openRead(Common::String const&) (recorderfile.cpp:74)
==1313424==    by 0x444558: GUI::RecorderDialog::updateList() (recorderdialog.cpp:206)
==1313424==    by 0x4446BD: GUI::RecorderDialog::runModal(Common::String&) (recorderdialog.cpp:218)
==1313424==    by 0x3DF0E5: GUI::LauncherDialog::recordGame(int) (launcher.cpp:461)
==1313424==    by 0x3E0397: GUI::LauncherDialog::handleCommand(GUI::CommandSender*, unsigned int, unsigned int) (launcher.cpp:671)
==1313424==    by 0x400BF8: GUI::CommandSender::sendCommand(unsigned int, unsigned int) (object.h:55)
==1313424==    by 0x42DAB8: GUI::DropdownButtonWidget::handleMouseUp(int, int, int, int) (widget.cpp:497)
==1313424==    by 0x3D3A37: GUI::Dialog::handleMouseUp(int, int, int, int) (dialog.cpp:228)
==1313424==    by 0x3DB72C: GUI::GuiManager::processEvent(Common::Event const&, GUI::Dialog*) (gui-manager.cpp:668)
==1313424==    by 0x3DA9EA: GUI::GuiManager::runLoop() (gui-manager.cpp:429)

Happens when you start with the event recorder compiled into scummvm and open the dialog to start
a new record.
2021-06-07 01:36:30 +03:00
SupSuper
fa5149e3ac COMMON: Fix old GCC compilation 2021-06-03 03:50:51 +01:00
SupSuper
e3d082df65 MSVC: Add compiler printf validation 2021-06-02 08:35:31 +03:00
lb_ii
b9f4e1a6bd ACHIEVEMENTS: Mark const methods as const 2021-06-02 01:21:37 +03:00
lb_ii
9c699358ea ACHIEVEMENTS: Make getStatRaw() const 2021-06-01 02:20:53 +03:00
lb_ii
e11ef2f21e ACHIEVEMENTS: Add more traces 2021-06-01 02:20:53 +03:00
lb_ii
2cfbc9bd43 ACHIEVEMENTS: Add API for getting raw string value for stats 2021-06-01 02:20:53 +03:00
lb_ii
ea18561650 ACHIEVEMENTS: Extend AchievementsInfo, set stats initial value 2021-06-01 02:20:53 +03:00
SupSuper
721b7376bb COMMON: Clean up ReadStream::readString 2021-05-31 23:04:06 +01:00
SupSuper
48b9f54bfc COMMON: Add support for fixed-size strings in ReadStream::readString 2021-05-31 06:40:05 +01:00
SupSuper
5daeab2e76 COMMON: Add floating-point functions to ReadStreamEndian 2021-05-31 06:40:03 +01:00
lb_ii
6513bab7af ACHIEVEMENTS: Add an API to store platform-specific special strings like ClientSecret 2021-05-30 20:15:55 +03:00
Filippos Karapetis
6c47cb0ec5 COMMON: Add serializers for float and double types 2021-05-29 21:23:20 +01:00
SupSuper
8bc861cb1a VIDEO: Added dirty rects to SmackerDecoder
This emulates the "slow" render mode of the Smacker lib,
which returns the blocks changed each frame instead of full frames.
Nightlong relies on this to correctly refresh its screen buffer.
2021-05-29 21:22:58 +01:00
lb_ii
65a8943624 ACHIEVEMENTS: add average rate statistics API 2021-05-29 22:40:05 +03:00
lb_ii
3fe4d8fc0f ACHIEVEMENTS: Remove old API methods 2021-05-28 21:07:08 +03:00
lb_ii
a4aa95b2b3 ACHIEVEMENTS: Minor refactoring 2021-05-28 21:07:08 +03:00
lb_ii
6ed025dd89 ACHIEVEMENTS: Add API methods that are easy to use 2021-05-28 21:07:08 +03:00
ysj1173886760
361c723e8a ENGINE: introduce kDebugGlobalDetection which is used for print debug messages of advancedDetector 2021-05-22 01:34:57 +02:00
ysj1173886760
6d1aece1a8 COMMON: remove kDebugGlobalTest flag 2021-05-22 01:34:57 +02:00
ysj1173886760
7a0d9546ce GUI: move kDebugLevelEventRec flag to global flag 2021-05-22 01:34:57 +02:00
ysj1173886760
44e2285003 BASE: add duplicate debug channel check for addDebugChannel 2021-05-22 01:34:57 +02:00
ysj1173886760
d2ea7cea88 COMMON: fix the bug when using default implementation of getDebugChannel 2021-05-22 01:34:57 +02:00
ysj1173886760
96aa98ed14 ENGINE: change the name of the delimiter of DebugChannelDef 2021-05-22 01:34:57 +02:00
ysj1173886760
9ca5ce1390 COMMON: fix the include file of debug.h and debug-channels.h 2021-05-22 01:34:57 +02:00
ysj1173886760
a64a097ca3 COMMON: change passing pointer instead of passing the array when passing the debug channels 2021-05-22 01:34:57 +02:00
ysj1173886760
9609406205 COMMON: introduce debugFlagsClear and debugFlagsRegister to debug manager 2021-05-22 01:34:57 +02:00
ysj1173886760
f07ceca9cb BASE: add global debug flag 2021-05-22 01:34:57 +02:00
Kaloyan Chehlarski
cba24194e2 COMMON: Fix InstallShield cabinet version detection
The file version of InstallShield cabinets is now detected correctly.
2021-05-15 23:03:19 +03:00
Kaloyan Chehlarski
3f5ea7bbb7 COMMON: Add another file version to InstallShield cabinet code
Added a previously unknown version id to the InstallShield code.
2021-05-15 23:03:19 +03:00
Kaloyan Chehlarski
a8103e2eb5 COMMON: Add support for multi-file InstallShield cabinets
Added support for InstallShield v6 cabinets, which can be made up of
multiple files. The interface for creating an Archive instance now takes
the base filename (e.g. the "data" in "data1.cab") for all cabinets,
including single-file ones.

Co-Authored-By: clone2727 <236052+clone2727@users.noreply.github.com>
Co-Authored-By: Walter van Niftrik <615114+waltervn@users.noreply.github.com>
2021-05-15 23:03:19 +03:00
Orgad Shaneh
a05e54f00c JANITORIAL: Remove trailing whitespaces 2021-05-04 11:46:30 +03: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
Cameron Cawley
d67b16a55d COMMON: Improve debugging of forbidden symbol issues 2021-04-27 04:05:11 +01:00