Eugene Sandulenko
045df72426
EVENTRECORDER: Fix crash on attempt to save. Fixed #10045
...
Since we have two event managers during recording, we invalidate
cache in order to avoid cache miss
2020-08-29 17:22:38 +02:00
Cameron Cawley
7745ffdac1
BACKENDS: Simplify EventsBaseBackend
2020-08-24 14:22:35 +02:00
Cameron Cawley
9a61a99590
BACKENDS: Add init() to OSystem
2020-08-24 14:22:35 +02:00
Eugene Sandulenko
bd8eb63e9a
COMMON: Moved GUIO constants to hex codes for avoiding devs' confusion
2020-08-23 01:08:47 +02:00
Eugene Sandulenko
dcfcb39de9
COMMON: Removed non-octal number from GUIO
2020-08-23 01:04:02 +02:00
Eugene Sandulenko
3f6efbb84b
COMMON: Attempt to solve diamong class hierarchy in MemoryReadStreamEndian. by athrxx
2020-08-22 22:58:43 +02:00
Cameron Cawley
cf068bcc08
ALL: Remove direct use of OSystem::createMutex()
2020-08-21 09:39:00 +02:00
BeWorld
ac573487de
MORPHOS: use libz shared from MORPHOS
...
Need to use -lz_shared on linking.
2020-08-21 00:59:18 +02:00
BeWorld
775f6c4803
MORPHOS: Update scummsys.h
...
MorphOS support
2020-08-21 00:59:18 +02:00
BeWorld
61f86025fe
MORPHOS: MorphOS Support
2020-08-21 00:59:18 +02:00
Walter van Niftrik
d4ecbbc5d3
COMMON: Fix Span::toStream() when given index
...
When providing an index but no numEntries, the computed numEntries is
not adjust for index and an error is thrown
2020-08-20 23:58:37 +02:00
djsrv
f3a179a873
COMMON: Add dispose arg to MemoryReadStreamEndian
2020-08-12 12:23:43 -04:00
Eugene Sandulenko
1bb73862a1
COMMON: Lightened another MacBinary check so ISOBuster files really work
2020-08-01 22:38:09 +02:00
Eugene Sandulenko
4221c38167
COMMON: Support MacBinary3 files produced by ISOBuster
2020-08-01 20:25:39 +02:00
Eugene Sandulenko
aa563f0c81
ALL: Remove PS2 port
2020-08-01 15:15:49 +02:00
athrxx
5e276286ae
AUDIO/GUI: add SegaCD sound settings
2020-07-30 22:19:21 +02:00
SupSuper
55db9e92e9
Revert "COMMON: Fix abstract SeekableReadStreamEndian calling virtual constructor"
...
This reverts commit bed3550cbd
.
2020-07-28 00:27:03 +01:00
SupSuper
bed3550cbd
COMMON: Fix abstract SeekableReadStreamEndian calling virtual constructor
2020-07-27 23:07:06 +01:00
aryanrawlani28
22842d1a88
GUI: RTL: Do not repeatedly print warnings if fribidi is not available
...
- Previously, if using an RTL-based language and disabled fribidi, console would repeatedly have the same messages spamming.
- Reduce this to only print warning one time.
2020-07-25 00:32:34 +02:00
Eugene Sandulenko
1aea38cc63
COMMON: Makw SeekableSubReadStreamEndian subclass of SeekableReadStreamEndian
2020-07-21 18:20:00 +02:00
Eugene Sandulenko
8939609787
COMMON: Make MemoryReadStreamEndian inherit from SeekableReadStreamEndian
2020-07-21 12:46:22 +02:00
SupSuper
4d855ff6c0
COMMON: Fix warning from incorrect parameter type in fribidi call
...
fribidi_log2vis takes a FriBidiParType, not a FriBidiCharType
(though the values are identical)
2020-07-21 07:11:09 +01:00
Henrik "Henke37" Andersson
dc7b0a7909
COMMON: Dedicated function for in buffer check
...
It's UB to compare pointers that aren't from the same array. Cast to uintptr to reduce the issue to IB.
2020-07-19 23:07:35 +01:00
Michał Janiszewski
e0505d5fbf
COMMON: Add MSVC ARM64 support
2020-07-15 15:30:55 +02:00
Eugene Sandulenko
f534e11ccf
COMMON: Added VersionInfo parser to WinResources
2020-07-09 23:13:47 +02:00
Eugene Sandulenko
bcd1d3c688
COMMON: Add 'vers' resource parser to MacResMan
2020-07-08 11:42:59 +02:00
Eugene Sandulenko
be388e644a
COMMON: Give direct access to Data fork in MacResMan
2020-07-07 22:31:13 +02:00
Thierry Crozat
3591003ea3
TTS: Add method to get the default voice
...
This returns by default the first voice, but can be reimplemented
in derived classes to return the system default voice.
2020-06-21 16:31:15 +01:00
Cameron Cawley
34901536a7
LUA: Remove use of final as a variable name
2020-06-18 20:14:46 +01:00
Colin Snover
7c131e0277
COMMON: Allow use of C++11 final keyword
2020-06-18 20:14:46 +01:00
Eugene Sandulenko
6059566777
COMMON: Added scumm_strcasestr()
2020-06-18 14:38:12 +02:00
Zvika Haramaty
41f3d4b488
COMMON: Encoding::convertIconv - check errors on last call to iconv
...
There was a bug when trying to convert the Hebrew string "\e0\e1\e2"
from WINDOWS-1255 to UTF-32LE, because there was a last call to
`iconv` with `NULL`s, without error checking, and buffer needed to
be extended for that last one call.
Now this call is inserted to the main `iconv` loop, with error checking.
2020-06-09 23:01:47 +02:00
Philippe Valembois
66b8cf9cac
COMMON: Fix build when uint32_t and uint32 are not defined the same
...
FriBidiChar is mapped to uint32_t (from stdint.h) while U32String is
composed of uint32 (from scummsys.h/config.h). On some platforms those
two types aren't defined using the same base type (long int vs int) and
compilation errors occur.
2020-06-07 12:02:55 +02:00
Bastien Bouclet
bad365c97e
COMMON: Add a helper to update a ConfMan entry and flush to disk
2020-06-07 07:40:27 +02:00
Antoniou Athanasios
c2a12908c2
COMMON: Use assert for CLIP() if bounds are not properly ordered ( #2298 )
...
COMMON: Use assert in debug builds to prevent bad ordering of bounds
The only macro to check against for debug vs release builds that I found is RELEASE_BUILD
2020-06-06 17:53:47 +03:00
Eugene Sandulenko
b1c5e63de0
JANITORIAL: Whitespace fixes
2020-06-06 15:08:33 +02:00
Eugene Sandulenko
83c8035fbc
MATH: Added hypotenuse() call
2020-06-06 15:08:17 +02:00
Eugene Sandulenko
6bea770e6d
COMMON: Fix PS2 build
2020-06-06 00:09:35 +02:00
Eugene Sandulenko
787f3e4e61
DIRECTOR: Added test score for the test target
2020-06-04 00:07:34 +02:00
Eugene Sandulenko
7200acb791
COMMON: Clarify comment in MacResMan
2020-05-29 15:55:07 +02:00
Paul Gilbert
9c5ced80c5
COMMON: added note about using shake in ULTIMA engine
2020-05-20 17:33:29 -07:00
Andrei Prykhodko
379168ade4
COMMON: added note about using shake in PETKA engine
2020-05-20 22:05:31 +03:00
Zvika Haramaty
1f9d421558
COMMON: moved convertBiDiString(..lang)
to unicode-bidi.h
...
Continuing the work at https://github.com/scummvm/scummvm/pull/2236 ,
which moved `convertBiDiString(..page)` to unicode-bidi.h,
now moving to there also the `(..lang)` flavour.
Thus, translation.h has only the SVM-GUI related function, and the
two util functions page+code are in unicode-bidi.
2020-05-19 12:32:58 +02:00
lolbot-iichan
d8951b2aa1
COMMON: Add Persian language & CP1256 encoding
2020-05-18 23:24:15 +02:00
Cameron Cawley
e207fda7f7
COMMON: Allow ignoring CR line breaks in SeekableReadStream::readLine()
2020-05-12 14:41:53 +02:00
BLooperZ
ec83715b43
COMMON: add UnicodeBiDiText wrapper
2020-05-12 14:36:09 +02:00
BLooperZ
028e4be835
COMMON: add method to get visual position for bidi
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
BLooperZ
c30b22c628
COMMON: add bidi support for U32String
2020-05-12 14:36:09 +02:00
mataniko
321a02aff2
JANITORIAL: Rename shouldRTL, resetRTL and FORCE_RTL
2020-05-12 10:36:38 +02:00