Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
5 days | Use stdint.h instead of ifdefing tr1/cstdint, cstdint and stdint.hstdint.h | Fedja Beader | 2 | -20/+3 | |
Rationale: By the standard, cstdint guarantees these basic types in std::, but *may* put them into the global namespace. By including stdint.h directly, we guarantee that these types are in the global namespace. stdint.h is also a C++ standard header guaranteed as part of the C compatibility support, thus toolchains should support this. The proper(tm) way of going about this would mean either prefixing [u]int[0-9]*_t with std:: everywhere where they are used (a chore) or having a proxy header that includes cstdint and around 50 using statements. The latter sounds to me like a good approach for toolchains that do not provide stdint.h and do not pollute global namespace. If such a toolchain exists in the wild. See discussion at https://stackoverflow.com/questions/13642827/cstdint-vs-stdint-h In practice, my toolchain's (gcc 14 on GNU) cstdint includes stdint.h then drags those types into std:: as well. | |||||
2025-04-03 | Fix wrong read of clif_GM_kickack packet | Fedja Beader | 2 | -87/+0 | |
2024-08/01/#Debug.log:[14:25:43] Wrong actual or planned inbound packet size!. Packet id: 205(0xcd), Planned size: 3, Actual size: 6 2 bytes packet id + 1 byte flag = 3 2 bytes packet id + 4 byte flag (wrong) = 6 Squashed with: * Separate processKickAck handler for eathena * Move ea's adminrecv and its sole handler processKickAck into TMWA namespace * Revert "Fix wrong read of clif_GM_kickack packet" This would break TMWA packet processing, as @thorbjorn pointed out. This reverts commit efe43bac4de90b3e427d985b77cb3dd3206bcf9d. **** mana/plus!148 | |||||
2024-10-11 | Fix switchmap during switch character crash (@toevent) | Fedja Beader | 1 | -1/+6 | |
use @toevent, then switch character (and stay on character screen). Thread 1 "manaplus" received signal SIGSEGV, Segmentation fault. 0x.. in Game::getCurrentMap (this=<optimized out>) at ./game.h:108 108 { return mCurrentMap; } (gdb) bt 0x.. in Game::getCurrentMap (this=<optimized out>) at ./game.h:108 Ea::PlayerRecv::processMapMask (msg=...) at net/ea/playerrecv.cpp:242 **** mana/plus!108 | |||||
2024-08-28 | Remove silly msg.read* duplication | Fedja Beader | 1 | -2/+3 | |
& shaves ~5KB from debug binary. previd=""; while read -r line; do if [[ $line =~ .*"msg.read"[^\"]*"\""([^\"]*).* ]]; then id="${BASH_REMATCH[1]}"; if [[ "$id" == "$previd" ]]; then printf "%s\n" "$line"; fi; previd="$id"; fi; done < <(grep -r 'msg.read.*' src/net/) **** mana/plus!91 | |||||
2024-05-16 | Refactor loadFromLogFile calls into ChatTab contructor | Fedja Beader | 1 | -2/+0 | |
This has the side effect that now #Debug history is also loaded. **** mana/plus!84 | |||||
2024-02-16 | Client rebranding: Partly import changes from !28 | Jesusalva Jesusalva | 1 | -2/+3 | |
Co-Authored-By: jak1 <jak1@themanaworld.org> Co-Authored-By: jesusalva <jesusalva@themanaworld.org> Co-Authored-By: Fedja Beader <fedja@protonmail.ch> | |||||
2024-02-09 | Update copyright headers up to 2023 | Jesusalva Jesusalva | 63 | -63/+126 | |
2023-04-07 | added missing cstdint include | jak1 | 2 | -0/+4 | |
2022-12-27 | increase trade window items to 20 | ccc | 1 | -1/+1 | |
2020-05-07 | Fix code style after merged switch port code | Andrei Karas | 1 | -2/+4 | |
2020-04-25 | add "SAVE_PASSWORD" define option | cpasjuste | 1 | -5/+13 | |
2020-03-13 | Fix alternate ip address for char and map servers [ci skip] | Andrei Karas | 1 | -0/+1 | |
2020-02-23 | Fix some code style issues | Andrei Karas | 1 | -1/+1 | |
2019-03-21 | Remove useless explicit keyword from BeingHandler constructors. | Andrei Karas | 1 | -1/+1 | |
2019-03-21 | Possible fix for desync in moving | Andrei Karas | 3 | -5/+3 | |
Handle player stop packet always. Check desync always if tile changed client side. Check desync always if server move response packet received. Removed unused configuration option. | |||||
2019-03-16 | Sort fields in class InventoryItem | Andrei Karas | 1 | -15/+15 | |
2019-03-02 | Impliment packet SMSG_PLAYER_COMBINED_EQUIPMENT 0x0b0a | Andrei Karas | 1 | -3/+7 | |
2019-03-02 | Impliment packet SMSG_INVENTORY_START 0x0b08 | Andrei Karas | 4 | -6/+6 | |
2019-01-01 | Update copyright year. | Andrei Karas | 64 | -64/+64 | |
2018-11-27 | Remove extra ; from different code. | Andrei Karas | 4 | -7/+7 | |
2018-10-29 | Fix code style.s20181102 | Andrei Karas | 4 | -6/+6 | |
2018-08-06 | Move InventoryRecv::processPlayerInventoryUse from ea namespace into tmwa ↵ | Andrei Karas | 2 | -26/+0 | |
and eathena. | |||||
2018-07-26 | Add support for changed item id size in packets. | Andrei Karas | 1 | -1/+1 | |
From some packet version hercules support item id fields as int32. | |||||
2018-06-30 | Rename "other" gender into "hidden" gender. | Andrei Karas | 1 | -1/+1 | |
2018-05-23 | Fix crash with wrong moving path. | Andrei Karas | 1 | -0/+5 | |
2018-02-15 | Remove unused channel parameter from talk methods.s20180215 | Andrei Karas | 2 | -5/+3 | |
2018-02-12 | Fix code style. Add missing actorManager null checks. | Andrei Karas | 1 | -0/+2 | |
2018-01-09 | Remove useless A_CONST attributes. | Andrei Karas | 7 | -12/+12 | |
2018-01-04 | Update copyrights year. | Andrei Karas | 64 | -64/+64 | |
2017-12-28 | Remove extra includes. | Andrei Karas | 1 | -0/+2 | |
2017-12-28 | Add missing override and final to destructors. | Andrei Karas | 6 | -6/+6 | |
Also remove some empty destructors. | |||||
2017-12-23 | Remove default parameters from npcdialog. | Andrei Karas | 1 | -3/+3 | |
2017-12-23 | Remove default parameters in inventorywindow. | Andrei Karas | 1 | -1/+1 | |
2017-12-22 | Remove default parameters from chatwindow.h | Andrei Karas | 1 | -2/+2 | |
2017-12-22 | Remove default parameters from confirmdialog.h | Andrei Karas | 1 | -1/+3 | |
2017-12-17 | Remove default parameters from viewport.h | Andrei Karas | 1 | -1/+1 | |
2017-12-17 | Remove default parameters from localplayer. | Andrei Karas | 1 | -1/+1 | |
2017-12-17 | Remove default parameter from PlayerInfo::setStatMod. | Andrei Karas | 1 | -1/+3 | |
2017-12-17 | Remove default parameter from PlayerInfo::setStatBase. | Andrei Karas | 1 | -1/+3 | |
2017-12-17 | Remove default parameter from PlayerInfo::setAttribute. | Andrei Karas | 1 | -1/+3 | |
2017-12-16 | Remove default parameters from Being::takeDamage. | Andrei Karas | 1 | -1/+1 | |
2017-09-07 | Fix possible thread structure memory leak on SDL2 if thread terminated ↵ | Andrei Karas | 1 | -5/+2 | |
before cleanup. | |||||
2017-08-30 | Move some variables to better scope. | Andrei Karas | 1 | -1/+3 | |
2017-08-26 | Add inventory type for mail view window. Not allow drag from/to this inventory. | Andrei Karas | 1 | -0/+1 | |
2017-08-26 | Rename InventoryType::Mail into InventoryType::MailEdit. | Andrei Karas | 1 | -1/+1 | |
2017-08-23 | Add partial adding items into new mail message. | Andrei Karas | 1 | -1/+1 | |
2017-08-21 | Remove useless variables. | Andrei Karas | 1 | -2/+1 | |
2017-08-21 | Remove useless else. | Andrei Karas | 1 | -2/+1 | |
2017-08-14 | Replace static members usage from pointers to direct classes. | Andrei Karas | 1 | -8/+8 | |
clang-tidy warning: readability-static-accessed-through-instance | |||||
2017-08-03 | Remove network handlers in general handler was deleted. | Andrei Karas | 5 | -0/+15 | |