summaryrefslogtreecommitdiff
path: root/src/progs
AgeCommit message (Collapse)AuthorFilesLines
2025-07-04Fix 'Switch' Button in Character Selection to automatically become 'World ↵HEADmasterasuratva1-0/+28
Selection' or 'Logout' This is a suggested fix for !188 Squashed with: * Added new state SWITCH_WORLD. Now everything works correctly. * As a temporary fix, have 'Change Login' in World Selection Dialog do SWITCH_SERVER instead of SWITCH_LOGIN * Move 'Switch World' logic from charselectdialog to SWITCH_LOGIN state * reverting previous commit. State needs to be LOGIN_ATTEMPT, not LOGIN. * Have 'Switch World' set client state to LOGIN instead of LOGIN_ATTEMPT Not strictly necesssary, but LOGIN provides some extra sanity checks before switch to LOGIN_ATTEMPT * Got it working! Purely from client side, but horribly hacky solution! * fixing linter issue. Hopefully it works, otherwise might need to make an extra commit **** mana/verse!191 Reviewed-by: Fedja Beader <fedja@protonmail.ch>
2025-07-01Change the wrong, but mostly supported WIN32 macro to the correct _WIN32Fedja Beader2-17/+18
ManaPlus was apparently forked before Mana 8954a7ca0f70bbf1. However, running a bulk sed replace was easier than cherry-picking, resolving 14 years of conflicts and then still having to do a bulk sed to catch the rest. Special thanks to Meway (for attempting to build on windows) and Bjorn (for pointing to that commit) **** mana/verse!211
2025-06-25Split #include "utils/performance.h" out of localconsts.hFedja Beader4-0/+5
only about 160 out of 1500 files that include localconsts.h need to include performance.h Saves 12% from compile times (with profiler ON) and 0.1% with profiler OFF. **** mana/plus!189
2025-06-24Fix profiler compileFedja Beader2-2/+2
call of overloaded 'toString(long long unsigned int)' is ambiguous, see !189 Squashed with: * Apply perfo[r]mance typofixes that were missed in mana/plus!186 ... because USE_PROFILER was off/undefined. **** mana/plus!200
2025-06-05Add a confirmation dialog for killing/firing/dismissing your homunculousFedja Beader1-1/+17
- [x] Something needs to be done about that deletion as it may leak memory. Ditto for inputActionReplayListener (for EditDialog) - [x] Okay, that M+ -> MV rename must be completed to make the linters pass. Rename was completed and it works, proper cleanup happens in scheduleDelete, so that's not an issue either. Squashed with: * Actually fire homun (code was set to only change name, for testing of replay stuff) * Clarify my worries **** mana/plus!109
2025-05-24Switch source code headers to ManaVerse & update copyrights to 2025Fedja Beader27-81/+81
.. instead of manaplus's header. & update copyrights to 2025. Open problem: should it be "The ManaVerse Client", "the ManaVerse client" or something in between in "This file is part of ..." line? All caps is current situation. Squashed with: * update copyright dates for 2025 * Revert "Switch to branch of mplint that checks for manaverse copyright headers" * Change back to uppercase The Why? This line was changed 3 times in history and all had an uppercase The. PS: ManaVerse has no endorsment from the parent project, ManaPlus. * Change to "This file is part of the ManaVerse Client" poppet says 'the' instead of 'The' find . \( -name "*.h" -o -name "*.cpp" -o -name "*.cc" -o -name "*.inc" \) -execdir sed -i -e 's/This file is part of The ManaPlus Client/This file is part of the ManaVerse Client/' {} \+ * Change 'The ManaPlus Client' to 'The ManaVerse Client' in headers find . \( -name "*.h" -o -name "*.cpp" -o -name "*.cc" -o -name "*.inc" \) -execdir sed -i -e '2s/ManaPlus/ManaVerse/' {} \+ * Switch to branch of mplint that checks for manaverse copyright headers .. instead of manaplus's **** mana/plus!179
2025-03-05Rename manaplus source directories and headers to manaversejak113-8/+8
Split off from mana/plus!45: "Rename the program from ManaPlus to ManaVerse." +POTFILES.in CI fix **** mana/plus!132 Co-authored-by: Fedja Beader <fedja@protonmail.ch>
2025-02-26Rename log file manaplus.log -> manaverse.logjak12-2/+2
(Fedja) I'm suspecting that some CI will break on this. Split off from !45: Rename the program from ManaPlus to ManaVerse. **** mana/plus!135 Co-authored-by: Fedja Beader <fedja@protonmail.ch>
2025-02-24added manaverse' copyright line to src/jak114-0/+14
Split from mana/plus!28 and rebased on master by specing. **** mana/plus!131
2025-02-24updated copyright -2020 for manaplusjak114-14/+14
In theory split out from mana/plus!28, in practice I (specing) just ran sed myself instead of bothering with splitting out changes. **** mana/plus!130
2025-02-20Convert navigateTo to take a Position instead of two integers.Fedja Beader2-19/+16
Tile coordinates dance in pairs, so let's pair them up. also grows exe size by about 3K, hope this will go away when the rest is converted to Position as well. Note: on my local debug build only. Not on gcc10 CI. Squashed with: * Should it be mNavigateDest or mNavigateTo? Hmm, the jury is still out there ... **** mana/plus!116
2025-02-03Fix unable to switch to another character after -D (chooseDefault) is used.Fedja Beader1-0/+1
Addendum to !89 (and !117) Amusing: putting this line before the .clear() grows the exe by 40 bytes. **** mana/plus!118
2024-10-11Add confirmation dialog for leaving guildFedja Beader1-2/+2
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-02-21Don't depend on __clang__ and include <ctime> on all non-Windows platformsewewukek1-4/+2
2024-02-09Update copyright headers up to 2023Jesusalva Jesusalva13-13/+26
2021-12-18added ftp:// to url command also @@ftp:/foo.bar|baz@@ fixes #38jak11-2/+3
2021-12-18added diagnostic ignore -Warray-bounds to gcc-snapshot (gcc11+ bug)jak11-0/+3
2021-06-06added exitcode 7 to unique sessions (-S)jak12-4/+9
2021-05-08Remove -enablecommandlinepassword necessityJesusaves1-8/+0
It is annoying and helps nothing.
2020-05-30Split multi line #if into separate ifsAndrei Karas2-7/+9
2020-05-30Fix left style issues from switch port mergingAndrei Karas2-2/+4
2020-05-07Fix code style after merged switch port codeAndrei Karas1-1/+2
2020-04-25add "SAVE_PASSWORD" define optioncpasjuste1-0/+11
2020-04-24switch: don't use atexit not working on switchcpasjuste1-1/+2
2020-04-23switch: enable opengles2 renderercpasjuste1-1/+1
2020-04-22switch: enable sdl2 keyboardcpasjuste1-1/+1
2020-04-22switch: first commitcpasjuste1-1/+1
2020-02-23Fix some code style issuesAndrei Karas4-5/+11
2019-11-18Fix warnings in gcc trunkAndrei Karas2-4/+4
2019-10-16Fix code style, ignore some warning in clang-tidyAndrei Karas4-5/+5
2019-09-30Add missing static keywordsAndrei Karas1-1/+1
2019-06-27Remove extra includeAndrei Karas1-0/+2
2019-06-27Add missing translation commentAndrei Karas1-0/+1
2019-06-10Add chat command /trimmemory for force trim freed memoryAndrei Karas2-0/+16
2019-04-08If map too small, clear screen before drawing mapAndrei Karas1-0/+2
Clear map not works on software renderer.
2019-01-27Remove useless strprintf from actions/chat.cppAndrei Karas1-1/+1
2019-01-25Add packet SMSG_INVENTORY_EXPANSION_INFO 0x0b18Andrei Karas1-0/+1
2019-01-01Update copyright year.Andrei Karas27-27/+27
2018-11-27Remove extra ; from different code.Andrei Karas5-34/+34
2018-11-12Fix memory leak in dyecmd on exit.Andrei Karas1-0/+4
2018-11-12Fix crash in dyecmd compiled with compiler with support for SIMD.Andrei Karas1-0/+6
2018-11-12Fix code style.Andrei Karas1-1/+2
2018-10-29Fix code style.Andrei Karas3-4/+4
2018-10-19Fix code style.Andrei Karas1-2/+1
2018-09-08Draw at end of frame before fps limiter.Andrei Karas1-16/+16
2018-09-08Apply fps limiter after state logic.Andrei Karas1-8/+9
2018-09-07Add basic performance counters.Andrei Karas1-0/+34
Add in debug window new tab with this counters.
2018-07-27Send talk request from context menu by being id.Andrei Karas1-1/+13
2018-07-26Add support for changed item id size in packets.Andrei Karas2-0/+2
From some packet version hercules support item id fields as int32.
2018-06-18Fix some style issues after automatic checks.Andrei Karas1-1/+1