53 Commits

Author SHA1 Message Date
Martin Gerhardy 2caf8ea37d TWINE: new lba1 script decompiler 2023-01-11 19:13:33 +01:00
Le Philousophe a1d4f57aba COMMON: Add nullptr_t check for MacOSX i386 2023-01-02 17:17:50 +01:00
Vladimir Serbinenko 7b9337fe2b COMMON: Import common/dcl.cpp 2022-11-20 16:59:55 +01:00
Vladimir Serbinenko 6ff42bafcd COMMON: Import common/stream.cpp 2022-11-20 16:59:55 +01:00
Vladimir Serbinenko 7bc5baf4fd COMMON: Import common/ptr.h 2022-11-20 16:59:55 +01:00
Vladimir Serbinenko 2b7dab2f74 COMMON: Import STATIC_ASSERT 2022-11-20 16:59:55 +01:00
Vladimir Serbinenko 7b1e313fed COMMON: Add big-endian primitives 2022-11-20 16:59:55 +01:00
Vladimir Serbinenko 39563a9fad COMMON: Add 64-bit datatype and related primitives 2022-11-20 16:59:55 +01:00
Paweł Kołodziejski ebbfd826d5 ALL: Upgrade tools licence to GPLv3+ 2022-06-26 19:14:49 +02:00
Orgad Shaneh 474e067714 Fix almost all warnings and compile errors on MinGW64 (#39) 2021-11-18 17:56:26 +01:00
Paweł Kołodziejski 6ab94bec82 GRIM: Integrate grim engine tools 2021-11-16 08:06:58 +01:00
Eugene Sandulenko 19460224a0 UTILS: Add hexdump() 2020-10-19 20:22:24 +02:00
BeWorld bc3a1ca24a Support Morphos Platform (#26) 2020-09-15 19:47:37 +01:00
Bastien Bouclet 4ec5ee3809 TOOLS: Fix SWAP_32 not to truncate at 16 bits 2018-06-24 21:14:56 +02:00
Torbjörn Andersson ef484a16b4 COMMON: Initialize the String class for the std::string case
Otherwise, initWithCStr() will have nowhere to copy the string
data to, and will probably crash.
2018-04-09 07:23:24 +02:00
Willem Jan Palenstijn 9acf70e2f5 COMMON: Add some Common::String/std::string interoperability functions 2017-12-16 22:13:47 +00:00
Willem Jan Palenstijn ad0806d01f COMMON: Rename String::printf to format to match ScummVM 2017-12-16 22:13:36 +00:00
Strangerke cfa6d2f120 TOOLS: Remove obsolete redefine of vsnprintf 2016-01-05 12:08:12 +01:00
Strangerke f051b51b94 TOOLS: Remove a level of define I missed in scummsys.h 2016-01-05 00:59:36 +01:00
Strangerke d83efba499 TOOLS: Synchronize some code from Scummvm::Master in scummsys.h to make some tools compile using MSVC 2016-01-05 00:48:48 +01:00
Thierry Crozat d5c8077933 JANITORIAL: Move copyright notice to a separate file 2014-01-19 18:13:09 +00:00
Thierry Crozat fe2d3c2d71 JANITORIAL: Remove now useless SVN tags 2014-01-06 22:54:34 +00:00
Thierry Crozat d38124f03c TOOLS: Make Common::File and isDirectory() case insensitive
This fixes some tool adding hardcoded upper case directories (e.g.
AUDIO/) to the input path to look for files when run on case
sensitive systems.
2011-11-22 21:25:15 +00:00
Thierry Crozat 62af3658d8 TOOLS: Improve behavior of Filename for directories
When creating a Filename with a path corresponding to a directory
but without a '/' or '\\' at the end the last part is treated as the file
name and not a directory and setFullName() does not behaves as
expected. Now when setting the path in Filename if it corresponds to
an existing directory it makes sure it ends with a '/' or '\\'.
2011-11-21 21:37:21 +00:00
Johannes Schickel e3fad4057d TOOLS: Update build system with changes from ScummVM's main repo.
This should get rid of tons of warnings about incorrect compiler parameters in
recent g++ versions. Also recent MinGW g++ versions should work fine again now.
I only tested this on my Linux box though.
2011-06-21 18:08:52 +02:00
md5 36abd20808 TOOLS: Fixed compilation with MSVC 2011-02-23 21:07:01 +02:00
Gregory Montoir 0ccf1741ce COMMON: add isDirectory wrapper
Use it in compress_tucker to ensure input directories
are present. See bug report #3093138.
2011-02-23 15:08:24 +01:00
Johannes Schickel e6a090d6f7 Strip trailing whitespaces.
svn-id: r51095
2010-07-21 18:24:07 +00:00
Joost Peters 7013192103 Fix File::writeChar() on BE systems.
svn-id: r49049
2010-05-16 17:31:42 +00:00
Max Horn f4a8acf4dc Replace calls to unlink() by new function Common::removeFile()
svn-id: r48937
2010-05-04 12:00:35 +00:00
Ori Avtalion 39830f69cf Copy over some common/ code from scummvm, to fix amiga compilation
common/scummsys.h was copied in its entirety, to keep further synchronizations
simple. It has code that handles non-desktop platforms that will never be a
target for the tools.

svn-id: r48459
2010-04-01 19:16:26 +00:00
David Turner c19be02ebf Removed emptyString usage from Mohawk tools.
Sync'd Common::String class with scummvm trunk.
Segfault still present.

svn-id: r47357
2010-01-18 18:03:09 +00:00
David Turner 1eda5d9918 Removed Mohawk tool specific String class and migrated to Common::String.
svn-id: r47355
2010-01-18 15:40:49 +00:00
David Turner 26a3dbbef7 Fixed nominal build of Mohawk tools.
Removed some of the duplicated engines/mohawk/utils code.

svn-id: r47302
2010-01-15 03:11:35 +00:00
Max Horn cf2a85a17b Add missing uint typedef
svn-id: r47301
2010-01-14 23:42:40 +00:00
Jordi Vilalta Prat eae07f9e8a TOOLS: Whitespace cleanup
svn-id: r46751
2009-12-30 15:34:00 +00:00
Eugene Sandulenko 5835fc9eb3 Add Mohawk engine code. Part 3/3: tools (non working on new framework yet).
svn-id: r46729
2009-12-29 23:23:31 +00:00
Eugene Sandulenko 343103fab2 Fix warning
svn-id: r46674
2009-12-28 14:52:15 +00:00
Max Horn a003aa6309 TOOLS: Move class File into namespace Common
svn-id: r46452
2009-12-20 23:02:50 +00:00
Max Horn d8740eef3e TOOLS: Make File instances non-copyable
svn-id: r46410
2009-12-17 21:42:42 +00:00
Max Horn 940acd16c2 TOOLS: Removed 'FileMode' variants of File constructor & open() method; fix 'r+' file mode; added File::clearErr() method
svn-id: r46408
2009-12-17 21:39:52 +00:00
Max Horn 4a25feb2b6 TOOLS: Rename File::printf to print; fix Filename::setExtension
svn-id: r46405
2009-12-17 20:24:28 +00:00
Sven Hesse 19b30fda76 Adding needed standard includes to make the tools compile again for me
svn-id: r46401
2009-12-17 02:08:22 +00:00
Max Horn b0efaa2364 Avoid including util.h in several source files
svn-id: r46399
2009-12-16 23:58:44 +00:00
Johannes Schickel 1ec814d52b Compare file extension case insensitive on non WIN32 platforms too (this fixes detection of Kyra's .vrm files with lowercase .vrm extension for me).
svn-id: r46388
2009-12-16 15:05:25 +00:00
Max Horn 9e0cbb7c38 TOOLS: Add lots of missing periods to doxygen comments; tweak some doxygen comments further
svn-id: r46375
2009-12-14 00:12:26 +00:00
Max Horn 9c5b48eedb TOOLS: Rename&merge File::read & readN methods to read_throwsOnError & read_noThrow (these should be changed again later, but for now this helps me not getting confused ;)
svn-id: r46373
2009-12-13 23:46:09 +00:00
Joost Peters 458a64039f fix compilation
svn-id: r46372
2009-12-13 22:52:38 +00:00
Max Horn 51ae0edfcb TOOLS: Change signature of File::write to match ScummVM
svn-id: r46370
2009-12-13 22:21:25 +00:00
Max Horn fc5f63b5a5 Move util.cpp to common/util.cpp; some cleanup; fix create_sjisfnt.cpp
svn-id: r46369
2009-12-13 22:06:45 +00:00