summaryrefslogtreecommitdiff
path: root/src/gui
AgeCommit message (Collapse)AuthorFilesLines
2024-10-12Add dark magic to text command magic schools listHEADmasterFedja Beader1-3/+7
Further idea: a lot of these models are wrappers around a string options array. Maybe convert the classes into a single template class taking an array parameter? **** mana/plus!111 Approved-by: Led Mitz <smoothshifter@tuta.io>
2024-10-11Move trade filtering setting to immidiately under trade tab & fix ↵Fedja Beader1-10/+9
description/tooltip. **** mana/plus!105
2024-10-11Introduce a kludge to deduplicate server type strings.Fedja Beader2-39/+23
**** mana/plus!104
2024-10-11Add confirmation dialog for leaving guildFedja Beader2-0/+37
Memory may not be freed properly, also code is IMO ugly. See !109 for the other way of implementing this (unrelated). Was done in socialWindow as the join confirmation is already there. **** mana/plus!110
2024-10-11Remove redundant nullptr checkFedja Beader1-1/+1
Curiously, this increases -g -O2 exe size by 96 bytes, but disassembly dump around this code is the same (redundant check was already optimised out?) **** mana/plus!106
2024-09-23Show MP bar below HP barewew ukek2-0/+16
Adds a light blue bar for MP below player's HP bar. It shows only if M.Atk is above 0. I didn't add a checkbox to the settings to disable this, let me know if I should. Squashed with: * Sneak in another TODO * Sneak in a TODO **** mana/plus!68 Co-authored-by: Fedja Beader <fedja@protonmail.ch>
2024-09-19Rename server types - Test_User spent time figuring out why herc doesen't ↵Fedja Beader1-3/+3
work for ML Squashed with: * Sync with last comment (Evol->Evol2) * Another rename, to reflect TMW->Manasource rebrand (maybe?) **** mana/plus!79
2024-09-19Horizontally extend the login screen server type selection boxFedja Beader1-1/+9
Split from mana/plus!79
2024-09-08Refactor outfit saving logicFedja Beader1-13/+23
Shaves some bytes from exe, too **** mana/plus!102
2024-09-07There is no need to first pack this into a vector and then into arrayFedja Beader1-17/+4
TODO: are all these casts actually required? SMH **** mana/plus!101
2024-08-27Show mail expiry timeFedja Beader2-0/+5
Server does not communicate sent time.. or it did, until 2017 ?? See src/map/clif.c #if PACKETVER >= 20170419 The RODEX_EXPIRY constant seems not to be communicated either, preventing us from deducing send time from expiry time. **** mana/plus!90
2024-08-17Limit shop's Max button to available carry weightFedja Beader1-1/+15
**** mana/plus!88
2024-05-29Switch "show chat history" into a line limit field and considerablyFedja Beader3-9/+13
raise default (5->100).
2024-05-29Fix paste in registration windowFedja Beader2-9/+8
Addendum to cbab9d6d "Fix for login button" See also mana/plus!67 and mana/plus#64 **** mana/plus!86
2024-05-16Refactor loadFromLogFile calls into ChatTab contructorFedja Beader3-6/+3
This has the side effect that now #Debug history is also loaded. **** mana/plus!84
2024-05-15Rename axis tolerance to joystick dead zone + reformat as per discussionFedja Beader1-6/+6
2024-05-15Consume input event in QuitDialog instead of relying on a hackewewukek1-0/+5
2024-05-15Make sticks/triggers behave like regular buttonsewewukek1-0/+1
2024-05-15Extend gui support to joystick hat (d-pad)ewewukek1-0/+1
2024-05-15Gui support for joystick buttonsewewukek1-0/+14
2024-05-15Add a checkbox for d-pad to switch between movement and button behaviorewewukek2-5/+18
2024-05-14Switch joystick axis tolerance type to floatewewukek1-6/+8
2024-05-14Remove joystick calibration logicewewukek2-37/+1
2024-05-14Add a slider to joystick settings to set axis toleranceewewukek2-5/+34
2024-05-14Fix: Job XP Bar not updating on monster kill in mini status windowasuratva1-2/+5
**** mana/plus!83
2024-05-08Don't use pathJoin for URLsFedja Beader1-2/+1
Problem happens only on Windows that uses \ for path separators and only when primary download location does not contain requested file with requested checksum. To repro, it should be enough to change one checksum in resources.xml Report from Manatauro: ![pathjoin](/uploads/4b969168ba7babc21108c1db1a680f66/pathjoin.jpg) **** mana/plus!82
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-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 Beader5-30/+39
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 ukek2-26/+27
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-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-20Color setting for attack range of monsters from ignore listewew ukek2-0/+9
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-11Remove last-login(time) from char select window.Fedja Beader1-3/+3
No server in use still sends that field. **** Approved-by: Jesusalva Jesusalva <jesusalva@themanaworld.org>
2024-03-11Typofix {add,remove}InventoyListener -> {add,remove}InventoryListenerFedja Beader2-5/+5
**** 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-02-16Client rebranding: Partly import changes from !28Jesusalva Jesusalva3-7/+13
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 joysticksewewukek1-4/+4
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 Jesusalva460-460/+920
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 Beader2-1/+11
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-02-05Disable /fix/ updates.Jesusalva Jesusalva1-1/+1
2022-12-27Add mobinfo command to popup menuccc1-0/+7
2022-12-18fixed formating (linter)jak11-5/+6