summaryrefslogtreecommitdiff
path: root/src/main.cpp
AgeCommit message (Collapse)AuthorFilesLines
2025-07-01Change the wrong, but mostly supported WIN32 macro to the correct _WIN32Fedja Beader1-2/+2
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-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
2024-02-09Update copyright headers up to 2023Jesusalva Jesusalva1-1/+2
2019-01-01Update copyright year.Andrei Karas1-1/+1
2018-01-04Update copyrights year.Andrei Karas1-1/+1
2017-06-20Fix sdl warning hiding pragmas for old compilers.Andrei Karas1-3/+3
2017-06-20Prevent Wshadow varnings in SDL code.Andrei Karas1-0/+3
2017-03-06Fix include type in main.cppAndrei Karas1-1/+1
2017-03-06Fix linking with some mingw versions.Andrei Karas1-0/+4
2017-01-05Fix different issues in unit tests.Andrei Karas1-4/+0
Fix crash with some compilers flags. Clean window container to null after it was removed. Init and deinit physfs globally.
2017-01-03Update copyright year.Andrei Karas1-1/+1
2016-09-23Add missing comments into defines.Andrei Karas1-3/+4
2016-01-02Update copyrights year.Andrei Karas1-1/+1
2015-11-30Fix compilation for nacl.Andrei Karas1-0/+3
2015-09-04Fix wrong linkage on Android.Andrei Karas1-1/+1
2015-08-02Move main function code into mainGui.Andrei Karas1-109/+2
2015-08-02Move command line options parsing to separate file.Andrei Karas1-216/+1
2015-05-26Replace gtest with catch. Add basic support for catch.Andrei Karas1-10/+4
Also add make script for tests.
2015-03-16Remove useless includes from cpp filesAndrei Karas1-1/+0
2015-01-01Update copyrights year.Andrei Karas1-1/+1
2014-12-25Improve logging speed.Andrei Karas1-0/+2
2014-11-16Add new command option --server-type.Andrei Karas1-1/+7
It can accept values: eathena, evol, evol2, tmwathena
2014-06-14Add --renderer command flag to override rendererAndrei Karas1-1/+7
2014-05-29Move options into settings.Andrei Karas1-13/+13
2014-03-28simplify variables cleanup.Andrei Karas1-2/+2
2014-01-01update copyright year in all sources.Andrei Karas1-1/+1
2013-11-04Remove nacl debug thingsDan Sagunov1-13/+0
2013-11-01move physfs initialisation code in physfstools.Andrei Karas1-17/+2
2013-10-29Initial porting to NACL by Vasily_Makarov.Andrei Karas1-1/+16
2013-09-28fix compilation with very old SDL.Andrei Karas1-0/+23
2013-09-22remove unused android related includes.Andrei Karas1-2/+0
2013-09-22fix compilation and partial running with SDL2 on Android.Andrei Karas1-1/+3
2013-09-16add init and quit code for SDL_Image and SDL_Mixer.Andrei Karas1-0/+9
2013-09-15add RWops leaks reporting.Andrei Karas1-1/+7
2013-09-14add rwops leak detection.Andrei Karas1-0/+2
2013-09-09remove useless includes from some files.Andrei Karas1-3/+0
2013-08-29move SDL2 preprocessor checks into localconsts.hAndrei Karas1-10/+0
also allow use SDL2 on broken systems where SDL2 is used/stored as SDL1.2.
2013-08-27fix code style.Andrei Karas1-1/+1
2013-08-24save Client object into global variable.Andrei Karas1-5/+9
2013-08-24add configure option --with-sdl2 for enable SDL2 support.Andrei Karas1-0/+13
2013-05-03add comments for translators.Andrei Karas1-0/+24
2013-04-21some other fixes from cpplint.Andrei Karas1-1/+1
2013-04-12first part of style fixed after cpplint checks.Andrei Karas1-2/+2
2013-03-11Fix termination with using help and version command line switches.Andrei Karas1-2/+3
2013-03-09Improve main.cppAndrei Karas1-26/+27
2013-03-02Last fixes after Coverity checks.Andrei Karas1-0/+1
2013-02-26Fix command line parameters.Andrei Karas1-4/+4
Update command line help and man page.
2013-02-24Improve string usage in some files.Andrei Karas1-1/+1
2013-02-21Improve physfs calls to get dir separator.Andrei Karas1-0/+2
2013-02-18Change process priority depend on game state.Andrei Karas1-0/+2
implimented only for windows version.