summaryrefslogtreecommitdiff
path: root/src/options.h
AgeCommit message (Collapse)AuthorFilesLines
2025-05-24Switch source code headers to ManaVerse & update copyrights to 2025Fedja Beader1-3/+3
.. 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-04-26Use stdint.h instead of ifdefing tr1/cstdint, cstdint and stdint.hFedja Beader1-10/+1
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. **** mana/plus!170
2024-02-09Update copyright headers up to 2023Jesusalva Jesusalva1-1/+2
2023-04-07added missing cstdint includejak11-0/+4
2021-05-31added --uniqueSession/-S flag for launcher usagejak11-1/+3
2019-01-01Update copyright year.Andrei Karas1-1/+1
2018-01-04Update copyrights year.Andrei Karas1-1/+1
2017-07-25Remove command line option --default-cursor and add option --hide-cursor.Andrei Karas1-2/+2
2017-07-11Add command like parameter --validate for validating client data.Andrei Karas1-1/+3
2017-06-23Add command line option for crash manaplus on start.Andrei Karas1-1/+3
2017-05-11Add command line option for use default sdl cursor.Andrei Karas1-1/+3
2017-05-08Add command line parameter --enable-ipc for enable ipc at start.Andrei Karas1-1/+3
2017-01-17Add missing A_DEFAULT_COPY / A_DELETE_COPY into other files.Andrei Karas1-0/+2
2017-01-03Update copyright year.Andrei Karas1-1/+1
2016-06-14Remove some useless includes.Andrei Karas1-6/+2
2016-01-02Update copyrights year.Andrei Karas1-1/+1
2015-08-29Fix code style.Andrei Karas1-5/+4
2015-07-20OS X version now current.Socapex1-1/+6
2015-01-01Update copyrights year.Andrei Karas1-1/+1
2014-11-16Add new command option --server-type.Andrei Karas1-0/+2
It can accept values: eathena, evol, evol2, tmwathena
2014-06-14Add --renderer command flag to override rendererAndrei Karas1-0/+2
2014-06-03Add missing include in h files.Andrei Karas1-0/+2
2014-06-02Add missing final/notfinal to classes.Andrei Karas1-1/+1
2014-05-31fix code style.Andrei Karas1-0/+6
2014-05-29Move options into settings.Andrei Karas1-0/+83