Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add C++20 support for Client #3636

Open
wants to merge 54 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
4d49b80
Main
Moris-Onz Aug 9, 2024
1f10a85
Fixed part 1
Moris-Onz Aug 9, 2024
79b76ef
Fixed part 2
Moris-Onz Aug 9, 2024
d59efc1
Fix crash
Moris-Onz Aug 9, 2024
5cd6fc3
Fast fix by TracerDS
Moris-Onz Aug 9, 2024
1d8c1d7
Fixed by Tederis
Moris-Onz Aug 10, 2024
6a86788
Fast 666
Moris-Onz Aug 10, 2024
87a30e2
Merge branch 'master' into client_c20
G-Moris Aug 12, 2024
bd8e747
Merge branch 'master' into client_c20
G-Moris Aug 14, 2024
d64cd42
Merge branch 'master' into client_c20
G-Moris Aug 15, 2024
649cc85
Merge branch 'master' into client_c20
G-Moris Aug 15, 2024
41a6ccb
Merge branch 'master' into client_c20
G-Moris Aug 17, 2024
c55ed03
Merge branch 'master' into client_c20
G-Moris Aug 18, 2024
876e654
Merge branch 'master' into client_c20
G-Moris Aug 19, 2024
8c58a63
Merge branch 'master' into client_c20
G-Moris Aug 19, 2024
17f9dae
Merge branch 'master' into client_c20
G-Moris Aug 20, 2024
9fbe17f
Merge branch 'master' into client_c20
G-Moris Aug 22, 2024
3e8779b
Merge branch 'master' into client_c20
G-Moris Aug 25, 2024
160909f
Fixed by Botder
Moris-Onz Aug 25, 2024
9f3ebd3
Merge branch 'client_c20' of https://github.com/G-Moris/mtasa-blue in…
Moris-Onz Aug 25, 2024
fb1b6f7
Merge branch 'master' into client_c20
G-Moris Aug 28, 2024
9b171c2
Mini refactor
Moris-Onz Aug 28, 2024
6383ddf
Merge branch 'client_c20' of https://github.com/G-Moris/mtasa-blue in…
Moris-Onz Aug 28, 2024
4f0f087
Merge branch 'master' into client_c20
G-Moris Aug 31, 2024
65644c4
Merge branch 'master' into client_c20
G-Moris Sep 3, 2024
e964cb2
Merge branch 'master' into client_c20
G-Moris Sep 6, 2024
30c42e7
Update CEGUI
Moris-Onz Sep 6, 2024
01f3de7
Merge branch 'client_c20' of https://github.com/G-Moris/mtasa-blue in…
Moris-Onz Sep 6, 2024
33981ff
Update CEGUI (Full)
Moris-Onz Sep 6, 2024
055752b
Update Discord RPC and Tinygettext
Moris-Onz Sep 6, 2024
e7f3a86
Update Lunasvg
Moris-Onz Sep 6, 2024
7a11241
Test Fix multiplayer_sa
Moris-Onz Sep 6, 2024
903f812
Test fix game_sa
Moris-Onz Sep 6, 2024
50b0ac8
Merge branch 'master' into client_c20
G-Moris Sep 17, 2024
a9ff24c
Merge branch 'master' into client_c20
G-Moris Sep 22, 2024
0e16f15
Merge branch 'master' into client_c20
G-Moris Sep 26, 2024
ec3c7de
Merge branch 'master' into client_c20
G-Moris Sep 28, 2024
56990d5
Merge branch 'master' into client_c20
G-Moris Oct 5, 2024
5c137e2
Merge branch 'master' into client_c20
G-Moris Oct 11, 2024
c589f0b
Merge branch 'master' into client_c20
G-Moris Oct 14, 2024
10af729
std::string from CCommands
Moris-Onz Oct 14, 2024
b98217d
Merge branch 'client_c20' of https://github.com/G-Moris/mtasa-blue in…
Moris-Onz Oct 14, 2024
062cdff
Refactoring changes
Moris-Onz Oct 14, 2024
034fbf0
a fix for the minimalism of changes #1
Moris-Onz Oct 14, 2024
22f98f7
adjustments
Moris-Onz Oct 14, 2024
7daf065
Merge branch 'master' into client_c20
G-Moris Oct 16, 2024
8b44e2a
Merge branch 'master' into client_c20
G-Moris Oct 19, 2024
1face51
Merge branch 'master' into client_c20
G-Moris Nov 7, 2024
249aadf
Merge branch 'master' into client_c20
G-Moris Nov 16, 2024
7ae7194
Merge branch 'master' into client_c20
G-Moris Nov 20, 2024
440b169
Merge branch 'master' into client_c20
G-Moris Nov 21, 2024
021fda4
Merge branch 'master' into client_c20
G-Moris Nov 27, 2024
0b9a97b
Merge branch 'master' into client_c20
G-Moris Nov 30, 2024
60865bb
Merge branch 'master' into client_c20
G-Moris Dec 4, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Client/core/CCommands.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,10 @@ bool CCommands::Execute(const char* szCommand, const char* szParametersIn, bool
// Copy szParametersIn so the contents can be changed
char* szParameters = nullptr;
if (szParametersIn)
{
szParameters = static_cast<char*>(alloca(strlen(szParametersIn) + 1));
G-Moris marked this conversation as resolved.
Show resolved Hide resolved
std::strcpy(szParameters, szParametersIn);
}

// HACK: if its a 'chatboxsay' command, use the next parameter
// Is the command "say" and the arguments start with /? (command comes from the chatbox)
Expand Down
Loading