Haru
d214aa57fc
fixup! wip on map server
2026-08-15 08:08:57 +02:00
Haru
924de28a01
wip on map server
2026-08-15 08:05:52 +02:00
Haru
cdca697393
wip on map server
2026-08-15 08:03:49 +02:00
Haru
8777946ac1
wip on char server
2026-08-15 08:03:18 +02:00
Haru
a3340dc5f9
wip on map server to be cleaned up and split
2026-08-15 08:03:18 +02:00
Ibrahim Zidan
a85ed277cf
Implement required code changes for login-server target to compile as C++
...
* Add casts where necessary mostly for void * -> any other type
* Replaced use of min, max, swap macros with std variant
* Changed functions that takes non-const char when it takes constant and const char values
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2026-08-15 08:03:14 +02:00
Ibrahim Zidan
af06bbb009
Implement required code changes for login-server target to compile as C++
...
* Add casts where necessary mostly for void * -> any other type
* Replaced use of min, max, swap macros with std variant
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2026-08-15 08:02:18 +02:00
Ibrahim Zidan
68616dbd86
HPM Hooks update
...
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2026-08-15 08:01:47 +02:00
Ibrahim Zidan
31e8270d66
Implement required code changes for api-server target to compile as C++
...
* Add casts where necessary mostly for void * -> any other type
* Fixed where `const char` strings were passed/stored to non-const variables
* Fixed structure initialization were approprite
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2026-08-15 08:01:42 +02:00
Ibrahim Zidan
b8b0bc0054
Implement type aware version of RFIFO_CHUNKED_COMPLETE for C++
...
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2026-08-15 08:01:15 +02:00
Ibrahim Zidan
54bbe76f76
Change HPM Datacheck structure name field to const char
...
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2026-08-15 08:01:15 +02:00
Ibrahim Zidan
7c9e3b64e2
Fix HPMHooks data check generator marking API server as unknown type
...
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2026-08-15 08:01:15 +02:00
Ibrahim Zidan
527dc3770b
Implement type aware C++ versions of WFIFO_CHUNKED_BLOCK_START_RAW1 and WFIFO_CHUNKED_FINAL_START_RAW1 macros
...
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2026-08-15 08:01:14 +02:00
Ibrahim Zidan
738552f89e
Implement required code changes for common target to compile as C++
...
* Add casts where necessary mostly for void * -> any other type
* Replaced use of min, max, swap macros with std variant
* Fixed where `const char` strings were passed/stored to non-const variables
* Updated VECTOR_RESIZE with C++ variant that relays on decltype to make type safe cast from memory manager
2026-08-15 08:01:14 +02:00
Haru
7f5e7266b1
Replace RFIFOP() with RP2PTR() where appropriate
...
Signed-off-by: Haru <haru@dotalux.com>
2026-08-15 08:01:08 +02:00
Haru
064a4e3c4b
Change the WFIFOP macro to take an additional type argument and automatically cast to that type
...
This prepares the code to the c++ conversion, removing implicit casts from void* to other pointer types
Signed-off-by: Haru <haru@dotalux.com>
2026-08-15 07:13:55 +02:00
Haru
8d056eae45
Replace WFIFOP() with WP2PTR() where appropriate
...
Signed-off-by: Haru <haru@dotalux.com>
2026-08-15 07:12:52 +02:00
Haru
3f073f5fd1
Change the RBUFP macro to take an additional type argument and automatically cast to that type
...
This prepares the code to the c++ conversion, removing implicit casts from void* to other pointer types
Signed-off-by: Haru <haru@dotalux.com>
2026-08-15 04:51:02 +02:00
Haru
59286ee26f
Change the WBUFP macro to take an additional type argument and automatically cast to that type
...
This prepares the code to the c++ conversion, removing implicit casts from void* to other pointer types
Signed-off-by: Haru <haru@dotalux.com>
2026-08-15 04:47:55 +02:00
Haru
d650d135f8
Change RFIFO2PTR/RP2PTR macros to take an additional type argument and automatically cast to that type
...
This prepares the code to the c++ conversion, removing implicit casts from void* to other pointer types
Signed-off-by: Haru <haru@dotalux.com>
2026-08-15 04:15:45 +02:00
Haru
5b646bed53
Change WFIFO2PTR/WP2PTR macros to take an additional type argument and automatically cast to that type
...
This prepares the code to the c++ conversion, removing implicit casts from void* to other pointer types
Signed-off-by: Haru <haru@dotalux.com>
2026-08-15 03:55:57 +02:00
Ibrahim Zidan
bd8fe24a31
Update changelog with missing changes for release v2026.07
...
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2026-07-21 15:46:02 +03:00
Ibrahim Zidan
410b9738c0
Release v2026.07
...
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2026-07-21 03:22:12 +03:00
Ibrahim Zidan
63044ea94a
Merge pull request #3416 from HerculesWS/compile_cpp
...
Part 1: Removal of various warnings supression and fixing their warnings, chagning class and delete C++ keywords in names, and changes related to compile common target as C++
2026-07-21 03:14:53 +03:00
Ibrahim Zidan
eae53ec5e0
HPM Hooks update
...
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2026-07-21 02:03:51 +03:00
Ibrahim Zidan
3d3a63914c
Implemented a github action step that pre-compiles all conan
...
dependencies and caches them for use in later builds, improving build
speed.
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2026-07-21 02:03:50 +03:00
Ibrahim Zidan
072edfbdc2
Change SSL library used for mariadb to default to schannel on windows
...
and openssl on other platforms
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2026-07-21 02:03:50 +03:00
Ibrahim Zidan
f6f35f4652
Update windows github actions and re-enable them
...
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2026-07-21 02:03:49 +03:00
Ibrahim Zidan
6fdb14c52f
Fix setup_env.ps1 using the deprecated gwmi cmdlet
...
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2026-07-21 02:03:49 +03:00
Ibrahim Zidan
fefeb0d3da
Raise warning level on MSVC to 4 (highest) and disable few warnings that reports intended behavior/features
...
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2026-07-21 02:03:49 +03:00
Ibrahim Zidan
809802a0e8
Silence C4702 unreachable code in llhttp library
...
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2026-07-21 02:03:48 +03:00
Ibrahim Zidan
d0e6cccca9
Fix warning C4702 (unreachable code) in clif_open_ui
...
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2026-07-21 02:03:48 +03:00
Ibrahim Zidan
1a782a6ae9
Fix warning C4702 (unreachable code) in clif_format_itemlink
...
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2026-07-21 02:03:47 +03:00
Ibrahim Zidan
4ccf878b75
Fix warning C4702 (unreachable code) in httpparser_parse
...
* According to original author the code might have been a left over from
a previous fix, a test was conducted and confirmed the code isn't
required.
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2026-07-21 02:03:47 +03:00
Haru
d2d9ad98af
Fix warning C4702 (unreachable code) in skill_check_condition_char_sub
2026-07-21 02:03:46 +03:00
Haru
031786ecb3
Fix warning C4701 potentially uninitialized local variable 'func' used in debug builds
2026-07-21 02:03:46 +03:00
Haru
e4e1afbf77
Suppress warning C4702 (unreachable code) in various script.c functions caused by code after disp_error_message()
...
The warning is suppressed instead of removing the dead code because in debug builds it fails to detect that disp_error_message never returns
2026-07-21 02:03:45 +03:00
Haru
b6cd68aa21
Remove some else after return/break in script.c to make the code flow easier and remove extra indentation
2026-07-21 02:03:45 +03:00
Haru
a3c8ad96eb
Remove an unnecessary level of indentation (else after return) in skill_check_condition_char_sub
2026-07-21 02:03:45 +03:00
Haru
7001950e5c
Fix warning C4702 (unreachable code) in BUILDIN(getbattleflag) by changing the logic to return early
2026-07-21 02:03:44 +03:00
Haru
cc8447bdb2
Fix warning C4702 (unreachable code) in path_search by removing an else after a return
2026-07-21 02:03:44 +03:00
Haru
68ffd391d2
Fix warning C4702 (unreachable code) in clif_bl_type
2026-07-21 02:03:43 +03:00
Haru
805077e31d
Fix warning C4702 (unreachable code) in ACMD(breakguild) by changing the logic to return early
2026-07-21 02:03:43 +03:00
Haru
0511f6ad5a
Fix warning C4702 (unreachable code) in lapiif_parse_fromapi_api_proxy
2026-07-21 02:03:42 +03:00
Haru
2811e8d31d
Fix warning C4702 (unreachable code) in get_executable_path
2026-07-21 02:03:42 +03:00
Haru
3ac77db7c8
Fix warning C4702 (unreachable code) in aclif_get_first_world_name
2026-07-21 02:03:41 +03:00
Haru
0b5c18b857
Suppress warning C4702 in libconfig due to false positives in the generated bison code
2026-07-21 02:03:41 +03:00
Ibrahim Zidan
ee1e8b7bd0
Supress C4366 in intif_parse_GuildInfo as the error is happening because of a packet structure
...
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2026-07-21 02:03:40 +03:00
Ibrahim Zidan
84407e167a
Fix MSVC C4701 possible uninitalized variable used
...
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2026-07-21 02:03:40 +03:00
Ibrahim Zidan
0a59d80d23
Fix MSVC C4310 constant value turncation
...
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2026-07-21 02:03:39 +03:00