elasota
155aefb82c
COMMON: Add move constructors and assign operators to Pair
2024-08-06 09:39:02 +03:00
elasota
915eccfa47
COMMON: Fix forwarding of rvalue refs
2024-08-05 09:57:40 +03:00
Cameron Cawley
6903fb4be1
COMMON: Simplify API for getHumanReadableBytes()
2023-02-05 23:08:21 +01:00
Le Philousophe
f0cf08ec91
COMMON: Add move semantics helpers
2022-10-30 18:37:16 +01:00
Le Philousophe
7021b938e5
COMMON: Add remove type helpers for const and volatile
2022-10-30 18:37:16 +01:00
Le Philousophe
1800117031
COMMON: Remove useless str.h inclusion
...
The util.h header must not include str.h as it will get used in it
(inclusion loop).
2022-10-30 18:37:16 +01:00
Cameron Cawley
7bd5497dfe
COMMON: Add Common::Pair
2022-08-12 00:27:15 +03:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+
2021-12-26 18:48:43 +01:00
Eugene Sandulenko
192b05930a
COMMON: Mark human-readable bytes as translatable
2021-11-18 22:38:43 +01:00
Le Philousophe
454e30312c
COMMON: Add isAscii function to replace non standard isascii
2021-10-24 15:11:18 +03:00
Orgad Shaneh
a05e54f00c
JANITORIAL: Remove trailing whitespaces
2021-05-04 11:46:30 +03:00
Eugene Sandulenko
5e7fe2dc57
JANITORIAL: Replace spaces in indentation with tabs
2021-04-15 21:20:36 +02:00
Cameron Cawley
1bfff86090
COMMON: Add replacement for isblank()
2021-02-07 11:51:03 -08:00
Bartosz Gentkowski
fe9c51892c
DOXYGEN: doxygen review on remaining common headers
...
- textconsole.h
- timer.h
- translation.h
- ustr.h
- util.h
2020-11-22 16:57:25 +00:00
Bartosz Gentkowski
ec24687ce4
DOXYGEN: Add doxygen groups to header files in the common folder
...
Adding @defgroup and @ingroup doxygen tags into all headers
in the common folder that contain doxygen blocks.
This improves the structure, readability, and findability
of information in the resulting output.
This commit targets purely structure and does not deal with
the content of the currently existing doxygen documentation.
2020-10-04 18:25:50 +02:00
Vladimir Menshakov
035ddef16c
COMMON: Add ARRAYCLEAR to clear given array using default or provided value.
2020-08-31 21:57:07 +01: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
D G Turner
365e9af4f0
COMMON: Minor Spelling Fix to Util Header Comment
...
No functional change.
2019-12-11 02:19:28 +00:00
Alexander Tkachev
d04c1dfad4
COMMON: Add getHumanReadableBytes() in util.h
...
This function was used in cloud-related DownloadDialog before,
and now it is also used in Options > Cloud tab.
2019-07-30 14:51:41 -04:00
Cameron Cawley
30edabf589
COMMON: Add wrappers for iscntrl() and isgraph()
2019-07-24 22:47:40 +03:00
Paul Gilbert
105a1b94bd
GLK: TADS2: Added code for output, run, various miscellaneous
2019-05-24 18:21:06 -07:00
SupSuper
d0512db25c
WIN32: Move all ARRAYSIZE undefs to util.h
...
Instead of trying to undefine ARRAYSIZE everywhere we use a Windows header, let's just do it before we define our own
2018-12-17 12:28:33 +02:00
Adrian Frühwirth
f8a195b034
COMMON: Fix Doxygen comment
2018-03-29 00:19:33 +02:00
Colin Snover
914bb1bd2d
COMMON: Undefine ABS if it is a macro
...
Fixes iOS7 compilation when common/util.h is included after
NSObjCRuntime.h, as happens in ios7_video.mm.
2017-10-07 13:04:05 -05:00
Eugene Sandulenko
355c4fa646
JANITORIAL: Remove more trailing spaces
2016-10-09 15:02:02 +02:00
Paul Gilbert
68e230182c
TITANIC: Implement TTparser normalize
2016-07-10 16:39:35 -04:00
Joel Teichroeb
c43ce9ecf3
ALL: Remove support for MSVC8 and older
...
MSVC8 gives various compile error relating to templates that were changed
back in 2008, leading me to belive that no one is using it, and that there
is not point adding work arounds for a 9 year old compiler no one uses.
2014-06-21 11:32:45 -07:00
Johannes Schickel
854e22b38b
COMMON: Make GPL headers consistent in themselves.
2014-02-18 02:39:33 +01:00
Johannes Schickel
2f9b7ba686
COMMON: Enforce formatting guidelines a bit more in util.h.
2013-07-30 21:02:01 +02:00
Johannes Schickel
b0ba4b01a4
COMMON: Add wrapper for isprint.
...
This is done in the spirit of 658080deed
.
2012-12-13 21:08:47 +01:00
Joel Teichroeb
f83f5c5677
COMMON: Fix spelling of length
2012-04-04 21:22:31 -07:00
Max Horn
367131ef0e
COMMON: Move Language and Platform functionality into separate files
2012-02-26 15:21:36 +01:00
Max Horn
215b41b244
COMMON: Move RenderMode and GUIOptions functionality into separate files
2012-02-26 15:19:31 +01:00
athrxx
3b574466fa
COMMON: distinguish between 256 colors and 16 colors PC-98 rendering modes
...
KYRA 1 PC-98 supports both modes in the same target. The desired mode can now be selected in the rendering options. We did have good support for the 16 colors mode of KYRA 1 already. This mode could not really be selected though (except by manually modifying the config file or the code).
2012-02-24 18:09:38 +01:00
athrxx
d9c05f7121
COMMON: add gui options for rendering modes
...
The purpose is the same as for the sound gui options: users shouldn't be offered modes that the engine doesn't support.
2012-02-21 21:48:35 +01:00
Max Horn
4f8665fc83
COMMON: Move isFoo functions to namespace Common, add doxygen comments
2012-02-20 16:18:27 +01:00
Max Horn
658080deed
ALL: Avoid using is* macros from ctype.h
...
On some systems, passing signed chars to macros like isspace() etc. lead
to a runtime error. Hence, mark these macros as forbidden by default,
and introduce otherwise equivalent alternatives for them.
2012-02-15 16:51:37 +01:00
Johannes Schickel
8ff9e0cbff
GUI: Fix GUIO flags again.
...
The GUIO flags use an escape sequence for octal numbers. Starting with
18e84f9c11
GUIO_MIDICMS used "\008" which
resulted in the CMS flag adding a zero into the flags and thus terminating the
GUIO flag string.
2011-12-04 15:54:32 +01:00
athrxx
18e84f9c11
GUI: fix GUIO_NOSPEECH/GUIO_NOSFX settings
2011-12-04 15:05:00 +01:00
Filippos Karapetis
c65146cde1
COMMON: Added Croatian language (for a localized version of BS2.5)
2011-11-18 17:52:26 +02:00
Strangerke
bab4b6f729
LAUNCHER: Introduce GUIO0() in order to replace GUIO1(GUIO_NONE)
2011-11-16 22:38:58 +01:00
Strangerke
9912d7b856
GUI: Add GUIO EGA Dithering option
...
This will be used to disable the EGA dithering option
2011-10-24 16:51:18 +02:00
Strangerke
cfa42fee80
LAUNCHER: Add GUIO_NOASPECT to SCUMM engine
2011-10-23 21:45:02 +02:00
Eugene Sandulenko
32972a5ffb
AD: Switched rest of the engines to new GUIO
2011-10-23 17:53:13 +01:00
Eugene Sandulenko
77c65648b1
AD: Swtich GUI options to a char array.
...
This eliminates nasty limitation of caping number of flags to 31.
Current code has limitation of 255 flags, though.
Only SCUMM engine is converted, rest do not even compile.
Detection of fan talkie MI is broken as it has to be implemented
differently.
2011-10-23 17:53:13 +01:00
Eugene Sandulenko
2585de56b6
COMMON: Restore locale <-> Common::Language conversion utils
...
This reverts commit 284b49aabc
.
2011-08-20 12:52:29 +01:00
Christoph Mallon
ab80b20a30
COMMON: Replace x + ARRAYSIZE(x) by the simpler ARRAYEND(x).
2011-08-07 15:19:08 +02:00
Christoph Mallon
84220d2ca0
COMMON: Remove superfluous Common:: qualifiers.
2011-08-07 15:19:07 +02:00
Johannes Schickel
3b7c91f2a7
COMMON: Move HerculesDimensions enum to SCUMM.
...
The enum is only used inside the SCUMM engine so it is rather pointless to
keep it in common/util.h right now. Also if we really want it in some common
place it should probably be better in graphics/ too.
2011-06-21 16:59:50 +02:00
Matthew Hoops
aa49b38c5a
Merge remote branch 'upstream/master' into t7g-ios
...
Conflicts:
engines/groovie/script.cpp
2011-05-31 14:16:29 -04:00