Le Philousophe
1f2c78adfe
ALL: Make sure str.h is included when using String
...
Fix all cases working because str.h is included in util.h
2022-10-30 18:37:16 +01:00
Paul Gilbert
4cab476394
AGS: in String use constant NoIndex instead of nps
...
From upstream aca0285937f96002b76d61f4c1cc6f3a11242c2c
2022-04-24 16:00:04 -07:00
Paul Gilbert
ccba1ca389
AGS: Code rewrite: split MakeGameDataDir() to make things bit clear
...
From upstream 403e680373732d984c97845d20f32dd53f5c23f1
2022-03-31 20:29:04 -07:00
D G Turner
b548bcfa28
AGS: Fix Undefined Macro Compiler Warnings
...
These are emitted by GCC when -Wundef is passed.
The AGS_PLATFORM_DEFINES_PSP_VARS may have previously caused those variables
to be present since undefined macros are assumed to be 0, thus the test would
have passed.
2022-03-16 09:13:02 +00:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+
2021-12-26 18:48:43 +01:00
Alexandre Detiste
6044504762
JANITORIAL: typos
...
some in the variable names, some in the comments;
no change for the strings that interract with original games assets
2021-10-31 20:46:31 +01:00
Paul Gilbert
0dd0e436b2
AGS: Second try at String AppendFmt GCC_PRINTF
2021-08-05 20:35:33 -07:00
Paul Gilbert
763a29e791
AGS: Revert GCC_PRINTF macro from String AppendFmt method
...
This reverts commit de1f2b086b .
I'm not sure what the errors mean, so reverting it for now
2021-08-04 22:41:27 -07:00
Paul Gilbert
de1f2b086b
AGS: Add GCC_PRINTF macro to String AppendFmt method
2021-08-04 21:07:49 -07:00
Paul Gilbert
ddc99c673d
AGS: Implemented String::AppendFmt() for easier formatted append
...
From upstream 78b934e1b02ca4c772026a65907e4a1cd9c0bfcc
2021-08-03 18:56:35 -07:00
Paul Gilbert
0ba468d1c9
AGS: CreateAllDirectories works explicitly with sub_dirs parameter
...
From upstream 80f54e2c17830121bbe8b8501f22536c90b3f760
2021-07-10 18:56:56 -07:00
Paul Gilbert
f1711431f6
AGS: Unicode-aware line splitting and right-to-left text mode
...
From upstream 00fee7e61e5746fe3c8722028f4f497b1949559e
2021-07-10 14:33:35 -07:00
Paul Gilbert
eb1e337edd
AGS: Removed String's "const char*" conversion operator
...
From upstream 7c426674e7e53bffe9120f8ffc059b77fa03a606
2021-06-13 21:08:59 -07:00
Paul Gilbert
91c7eeef14
AGS: Provided String method variants with "const String&" argument
...
From upstream 1e33b06b3329b6b0a79c9fe818c012741c08ae2a
2021-06-13 21:08:57 -07:00
Paul Gilbert
fa48200366
AGS: Removed redundant static String::WriteString()
...
From upstream 937907f8cf5777071ab78f6050709e3069815ec2
2021-06-13 21:08:57 -07:00
Paul Gilbert
37178efc40
AGS: Common: String::_cstr always non-null, simplified GetCStr()
...
+ use _len directly in implementation instead of GetLength() (GetCStr
and GetLength in implementation had more complicated meaning in the past).
From upstream 86eea0873c358a99bf2c1c963057710ef9383b50
2021-06-13 21:08:57 -07:00
Paul Gilbert
e468302585
AGS: Standardize the AGS String npos
2021-06-13 21:08:53 -07:00
Paul Gilbert
701396361c
AGS: Import of fresh codebase
2021-06-13 21:08:44 -07:00
Paul Gilbert
354441a862
AGS: Remove deprecated assert.h
2021-03-06 19:51:04 -08:00
Paul Gilbert
34c86ce1a1
AGS: Removal of commented out includes
2021-03-06 19:43:13 -08:00
Paul Gilbert
69b6cfab29
AGS: Move std/ folder into lib/
2021-02-06 16:37:31 -08:00
Paul Gilbert
9a78e04039
AGS: Beginnings of engine/ inclusion
2021-02-06 16:37:31 -08:00
Paul Gilbert
6c8789264d
AGS: Added shared/util/ folder
2021-02-06 16:37:31 -08:00
Paul Gilbert
d8e471b03c
AGS: Changing Common namespace to Shared
2021-02-06 16:37:31 -08:00
Paul Gilbert
76a2e90366
AGS: Wrapping headers in an AGS3 namespace
2021-02-06 16:37:31 -08:00
dreammaster
8026e4bb30
AGS: Run astyle formatting
2021-02-06 16:37:31 -08:00
Paul Gilbert
90ec822f76
AGS: Cleaning up header file guard defines
2021-02-06 16:37:31 -08:00
Paul Gilbert
bd6a58d1a1
AGS: Adding ScummVM comment headers
2021-02-06 16:37:31 -08:00
Paul Gilbert
a60d290a08
AGS: Initial addition of engine/ and shared/ folders
2021-02-06 16:37:31 -08:00