summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2024-04-16Stop log spam in case download errors outFedja Beader1-0/+2
See manaplus.log in https://git.themanaworld.org/specing/manaplus/-/jobs/168040#L3241 **** mana/plus!72
2024-04-16Fix screenshot size for OpenGL modesewew ukek2-10/+14
Screenshot code didn't take into account scaling setting which resulted in cropped screenshots. I didn't touch SDL modes because they don't support scaling and I'm not sure how that would be implemented for software render. **** mana/plus!70
2024-04-14Show monster info for all, not just GMsFedja Beader1-14/+4
Tested on classic & ML See merge request mana/plus!75 ****
2024-04-09Simplify and remove linter's choking hazardFedja Beader1-10/+9
windowmanager.cpp(456, 9): Incorrect align on long parameter list in front of 'SetClassLongPtr', it should be aligen in column 25. [RULE_4_1_C_align_long_function_parameter_list]
2024-04-09Fix all alignment warnings/errors.Fedja Beader6-31/+41
Other addButton sections intentionally left misaligned as a test for future fix in nsiqcppstyle. .. why does it not complain about every such block?
2024-04-07Fix for login buttonewew ukek2-10/+8
This is the simpler solution for issue #64 proposed by @bjorn. `logic()` gets called on every tick after input is processed so I removed redundant code from `keyPressed()`. * Update login button in logic() instead of keyPressed() See merge request mana/plus!67 **** Reviewed-by: Thorbjørn Lindeijer <bjorn@lindeijer.nl>
2024-04-05Rename hp bar color identifiers for clarityewew ukek4-46/+47
Continuation of https://git.themanaworld.org/mana/plus/-/merge_requests/68#note_12819 I've renamed `*_HP2` to `*_HP_BG` and updated their descriptions. I didn't touch configuration keys intentionally. "Renamed *_HP -> *_HP_FG. Also decided to keep descriptions as is or else they become unreadable." See merge request mana/plus!71
2024-03-26Remove default shortcut for "Hide [all] Windows"Fedja Beader1-1/+1
See merge request mana/plus!63
2024-03-26Auto-focus number and text input fields in NPC dialogsFedja Beader1-2/+5
+reformat one bit See merge request mana/plus!61
2024-03-26Rename "buggy servers protection" to what it does (packet limiter on/off)Fedja Beader1-1/+1
See merge request mana/plus!62
2024-03-25Typofix Guil -> Guild and insert AndFedja Beader6-20/+20
See merge request mana/plus!64
2024-03-20Color setting for attack range of monsters from ignore listewew ukek4-2/+20
This MR displays attack range of monsters from ignore attack list in different color. I picked magenta as default, this may be changed if needed. There are actor types other than monsters but looks like it's not possible to add them to ignore list anyway. * Flip if branches for readability * Color setting for attack range of monsters from ignore list ****
2024-03-11Disable trade tab and trade filter by defaultFedja Beader1-2/+2
By popular agreement: https://forums.themanaworld.org/viewtopic.php?t=21696 [ci skip] **** Approved-by: Jesusalva Jesusalva <jesusalva@themanaworld.org>
2024-03-11Put variable declarations into scope where they are used.Fedja Beader1-3/+3
**** Approved-by: Jesusalva Jesusalva <jesusalva@themanaworld.org>
2024-03-11Remove last-login(time) from char select window.Fedja Beader4-8/+9
No server in use still sends that field. **** Approved-by: Jesusalva Jesusalva <jesusalva@themanaworld.org>
2024-03-11Typofix {add,remove}InventoyListener -> {add,remove}InventoryListenerFedja Beader4-9/+9
**** Approved-by: Jesusalva Jesusalva <jesusalva@themanaworld.org>
2024-03-11Remove right click -> Undress on players.Fedja Beader1-3/+0
Requested by Ledmitz. The /undress <player> command remains. **** Approved-by: Jesusalva Jesusalva <jesusalva@themanaworld.org>
2024-03-11Make pickup code go to nearby tile, not on top of item.Fedja Beader1-4/+18
Fixes most cases of walking through doors/warps on pickup. ****
2024-03-11TypofixFedja Beader2-2/+2
**** Approved-by: Jesusalva Jesusalva <jesusalva@themanaworld.org> Approved-by: Thorbjørn Lindeijer <bjorn@lindeijer.nl>
2024-02-21Add missing include for libxml2ewewukek1-0/+4
2024-02-21Const correct variable to hold __xmlParserVersion() valueewewukek2-2/+2
2024-02-21Don't depend on __clang__ and include <ctime> on all non-Windows platformsewewukek2-8/+4
2024-02-20Emotes: Only load client emotes if the server is lacking themJesusaves1-5/+6
2024-02-16Client rebranding: Partly import changes from !28Jesusalva Jesusalva10-24/+36
Co-Authored-By: jak1 <jak1@themanaworld.org> Co-Authored-By: jesusalva <jesusalva@themanaworld.org> Co-Authored-By: Fedja Beader <fedja@protonmail.ch>
2024-02-13Hotplug support for joysticksewewukek3-15/+34
2024-02-12Fix the issue reported by MadCamel about a fake "Couldn't update" message.Jesusaves1-2/+1
2024-02-11Total weight sortingFedja Beader4-14/+82
2024-02-11Get rid of manaverse-owned updates. (Coverage warning!)Jesusaves2-74/+3
This leaves some dead corpses behind, cleanup after is advised. Reverts b9e27e9563e32a17cd80142ce05b5770479cc709 For short, the client should not be keeping an override on what server shows. This function (backdoor) also don't exist on Mana client.
2024-02-09Update copyright headers up to 2023Jesusalva Jesusalva1916-1918/+3836
2024-02-09Log misses in battle tab, alongside hitsFedja Beader1-9/+29
2024-02-09Fix dragging lum (first item) out of the spells window.Fedja Beader1-1/+1
2023-10-13Allow users to set their own timestamp formats.Fedja Beader3-1/+12
2023-10-13Use strftime to format timestamps.Fedja Beader1-4/+18
+Provide visible fallbacks if either strftime or gmtime/localtime failed. Appease mplint
2023-10-12Use gmtime() for non-local-time chat timestampsFedja Beader1-22/+9
2023-08-16Fix unable to pickup non-ignored items while standing on an ignoredFedja Beader1-3/+2
item. What happened: 1) The pickup code first tries to pickup first item under you without checking if it is ignored. 2) ::pickUp queries ratelimiter, which clears to send. 3) ::pickUp checks if item is ignored and bails out 4) The pickup code did not bail early, despite "success" of (1) and selects a non-ignored item to pick-up. 5) ::pickUp queries ratelimiter, which thinks that a packet has been sent in (2) and aborts.
2023-05-15Blank trade window bugcuoco1-1/+1
2023-04-07fix formatingjak11-6/+6
2023-04-07fixed gcc deprecation (unary & not1)jak12-10/+11
2023-04-07added missing cstdint includejak19-0/+34
2023-04-07fixed curl deprecationjak12-11/+49
2023-04-07added undef so sdl_image macro, got redefined in sdl2 snapshotjak11-0/+1
2023-04-06removed assertion for sdl surface bpp, tests get ugly, but default runtime ↵jak11-1/+0
works fine added "-A 20" to assert grep, so we get the backtrace directly in our pipelines
2023-04-03change serverlist url to tmw2.org, since manaplus.germantmw.de doesnt work ↵jak11-2/+2
(i dont rly know why, but all our updates are hosted there, so our serverlist now)
2023-02-05Disable /fix/ updates.Jesusalva Jesusalva1-1/+1
2022-12-27Add mobinfo command to popup menuccc2-1/+9
2022-12-27increase trade window items to 20ccc1-1/+1
2022-12-18disable SSL for downloads, since Windows\' OpenSSL doesnt support it.jak11-0/+5
2022-12-18fixed formating (linter)jak11-5/+6
2022-12-18[ci skip] Correct a preference labelAdministrator1-1/+1
2022-12-18fix HWND reference for SDL 2 buildsJordan Irwin2-0/+16