Commit Graph
2812 Commits
Author SHA1 Message Date
Johannes Schickel b8fb9e6a51 COMMON: Cleanup: Use StringArray instead of custom type. 2016-03-01 19:18:23 +01:00
Johannes Schickel 91b5c5a413 COMMON: Add a method to list files to MacResManager. 2016-03-01 19:16:10 +01:00
Willem Jan Palenstijn d4d4b779aa COMMON: Fix Rect::intersects doc 2016-03-01 19:11:49 +01:00
Colin Snover 4ba0ff8deb COMMON: Add convenience method to Common::Rational for 1:1 ratios
For SCI engine games, ratios may not be normalised and so to avoid
extra scaling, there needs to be a way to simply check whether a
ratio is 1:1.
2016-02-18 13:18:02 -06:00
Colin Snover 7d54f0aaaf COMMON: Add methods for inserting and erasing with iterators
This provides improved feature parity to Common::List and is used
in SCI32 engine.
2016-02-18 13:18:01 -06:00
Alexandre Detiste 6c298e964f JANITORIAL: Typos detected with lintian & grep 2016-02-15 18:27:02 +01:00
Johannes Schickel 01d3d02679 COMMON: Fix formatting issues in archive.cpp. 2016-02-09 12:10:04 +01:00
Willem Jan Palenstijn 3e90a83aa4 COMMON: Fix memory leak in decompressDCL 2016-02-07 00:00:13 +01:00
Johannes Schickel 29b37f473c COMMON: Add render mode for Macintosh.
On request of m_kiewitz who wants to use it for AGI.
2016-02-05 12:38:28 +01:00
Johannes Schickel 06641f29a7 COMMON: Allow '#' to only match digits in matchString. 2016-01-26 16:35:30 +01:00
Johannes Schickel 354a3af717 COMMON: Add another GUIO game option flag.
We still can only display 7 options in our GUI though. Blame m_kiewitz if
anybody runs into that issue now. He wanted this.
2016-01-22 01:20:37 +01:00
Johannes Schickel b166cb84e2 COMMON: Use spaces for beautifying formatting. 2016-01-21 23:48:48 +01:00
Johannes Schickel a481702488 COMMON: Allow translation of PC-98 render modes. 2016-01-21 23:41:30 +01:00
Johannes Schickel 0024519e9c COMMON: Use our standard FM-TOWNS spelling for render modes. 2016-01-21 23:41:30 +01:00
Johannes Schickel 1479219f7a COMMON: Add render modes for Apple IIgs and Atari ST.
On request of m_kiewitz who wants to use it for AGI.
2016-01-21 23:41:30 +01:00
Johannes Schickel 54f5c95832 COMMON: Make FSNode(AbstractFSNode *) private again.
This also fixes a memory leak in OSystem_iOS7::addSysArchivesToSearchSet.
2016-01-07 11:25:02 +01:00
Vincent Bénony 73385584ba IOS: Adds a warning 2016-01-06 16:20:30 +01:00
Vincent Bénony e0bfdb41d0 IOS: Formatting 2016-01-06 16:20:30 +01:00
Vincent Bénony 16605a3e10 IOS: Moves the helper function were it is used. 2016-01-06 16:20:29 +01:00
Vincent Bénony 64f50761ec IOS: Merge master 2016-01-06 16:19:03 +01:00
Vincent Bénony bbf3785bba IOS: Adds two helper functions on strings 2016-01-06 15:35:30 +01:00
Vincent Bénony 108ce38443 IOS: Added a chroot like filesystem
This is needed because it is not possible to keep absolute paths to the iOS document directory, because a part of its name change between each installation / update.
2016-01-06 15:35:17 +01:00
Johannes Schickel e7f54aec7d COMMON: A few formatting fixes. 2015-12-12 06:54:58 +01:00
Filippos Karapetis 7707f05338 COMMON: Throw a warning on inconsistent DCL fixed size buffers
This is useful for debugging, and needed for fixes in Russian fan made
translations of The Neverhood Chronicles
2015-11-19 02:05:12 +02:00
Filippos Karapetis 65a36315ea COMMON: The DCL decompressor is also used in neverhood 2015-11-19 02:05:12 +02:00
Bertrand Augereau 1311fe5c49 COMMON: Avoid useless (and dangerous when cctor/operator= don't support it) SWAP(x, x) in sorting 2015-11-10 20:08:19 +01:00
Bertrand Augereau 4920b3ab3e COMMON: Some ill-formed xml files triggered a seek(CUR, -2) in the parser 2015-11-09 22:51:15 +01:00
Paul Gilbert 89dfd36b60 CREATE_PROJECT: Add support for Visual Studio 2015 2015-09-28 19:23:58 -04:00
Bastien Bouclet 53388bf6e8 COMMON: Plug a memory leak in the FFT class 2015-07-13 18:45:31 +02:00
Martin Kiewitz a07ff81051 COMMON: PKWARE data comp. remove temp. targetPtr
which was used for the temporary workaround in commit 4fb3264
2015-07-04 03:29:06 +02:00
Martin Kiewitz 614162e5fc COMMON: PKWARE data comp. lib. mask dictionary xs
added masking of dictionary offsets when copying from dictionary
issues should now all be fixed
2015-07-04 03:10:26 +02:00
Martin Kiewitz 4fb32647ad COMMON: PKWARE data comp. library fix
add old length+offset code for now, so that the graphical issues
in SCI don't occur anymore. Will investigate more tomorrow.
2015-07-04 02:52:56 +02:00
Martin Kiewitz fafe22731b COMMON: PKWARE data comp. library fix
fixes dictionary issues with some compressed data
2015-07-04 02:26:12 +02:00
Martin Kiewitz 2bd0743125 COMMON: PKWARE data comp. lib. cleanup + enhanced
- uses streams now
- additional method for decompressing, when the target size is not
known
- improved comments
- added AGOS for using it
2015-07-04 01:45:34 +02:00
Bastien Bouclet ed037a527c COMMON: Add getRevTab to FFT 2015-02-01 10:35:23 +01:00
clone2727 db64442c4a COMMON: Fix strict-alignment READ_BE_UINT64 on LE and READ_LE_UINT64 on BE 2015-01-18 14:41:15 -05:00
Willem Jan Palenstijn cc045f7a83 COMMON: Fix strict-alignment READ_UINT64 2015-01-14 23:20:33 +01:00
Willem Jan Palenstijn 1084f2eea6 COMMON: Implement MIPS SWAP_BYTES_64 in terms of SWAP_BYTES_32 2015-01-04 22:00:00 +01:00
Willem Jan Palenstijn 7c7bdf3543 COMMON: Swap order of functions to 16, 32, 64 2015-01-04 21:59:45 +01:00
Johannes Schickel e2e61184c6 COMMON: Fix return type of one READ_BE_UINT64 implementation.
This makes all unit tests pass for my on amd64 again. Thanks clone2727.
2015-01-04 21:30:05 +01:00
Johannes Schickel 64bad2ec4a COMMON: Fix some syntax issues.
Not compile tested. Then again it didn't look test before either. So, yay!
2015-01-04 21:17:33 +01:00
Johannes Schickel eb4d1a6925 COMMON: Add missing readUint64/readSint64 to ReadStreamEndian. 2015-01-04 21:09:32 +01:00
Eugene Sandulenko 7865c78211 COMMON: Put more 64-bit stuff under HAVE_INT64 2015-01-04 20:47:12 +01:00
Eugene Sandulenko f1765db70f COMMON: Put all 64-bit code under new HAVE_INT64 constant
I regrouped all functions in order to make the code less noisy
with #ifdefs
2015-01-04 20:41:50 +01:00
Eugene Sandulenko 9abd92a711 Merge pull request #508 from RichieSams/add_endian_and_stream_support_for_int64
COMMON: Add support for endian-safe reading/writing of int64
2015-01-04 19:50:33 +01:00
Adrian Astley d497b45b1c COMMON: Fix typo that caused uint64 reads to return a uint32 2014-12-21 03:58:58 -06:00
Filippos Karapetis bb120d0fd4 COMMON: Disable unused string 2014-12-07 17:49:55 +02:00
Willem Jan Palenstijn 7ff41ae902 COMMON: Remove executable bit 2014-11-23 17:51:13 +01:00
Stefan Kristiansson 3fb4ab1377 COMMON: make XMLParser::loadStream() fail when stream is null
Some users of this method relies on it to fail when
an invalid stream is passed to it
(E.g. VirtualKeyboard::openPack).
2014-11-22 10:02:42 +02:00
Filippos Karapetis daf110c867 COMMON: Remove trailing whitespace 2014-10-28 15:38:52 +02:00