summaryrefslogtreecommitdiff
path: root/src/log.cpp
AgeCommit message (Collapse)AuthorFilesLines
2024-04-02General code cleanupsThorbjørn Lindeijer1-1/+1
* Removed some unused includes * Removed unused ListBox::mFont * Removed wrong cast to SDL_Scancode * Removed superfluous .c_str() * Removed superfluous explicit std::string construction * Removed unused variable * Use more emplace_back * Turned FindBeingFunctor into a lambda * Avoid needless pointer references for ambient layers and use a vector
2024-03-02Added support for customizing NPC and Monster hover cursorThorbjørn Lindeijer1-13/+3
To match support for this in M+, since TMW uses this functionality on two of its NPCs.
2024-02-05Use SDL2 to show a simple message box on errorThorbjørn Lindeijer1-16/+2
Replacing the various OS-specific ways implemented for macOS, Windows and Linux (based on xmessage).
2024-01-29Apply C++11 fixitsThorbjørn Lindeijer1-3/+3
modernize-loop-convert modernize-deprecated-headers
2024-01-26Apply C++11 fixitsThorbjørn Lindeijer1-1/+1
modernize-use-auto modernize-use-nullptr modernize-use-override modernize-use-using
2012-04-01Made changes to compile on Mac OSX 10.6 and laterDavid Athay1-10/+2
Also added Xcode project for others to compile for Mac OSX. Reviewed-by: Thorbjørn Lindeijer
2012-01-26Updated copyrights to 2012Thorbjørn Lindeijer1-1/+1
2011-10-25Change the wrong, but mostly supported WIN32 macro to the correct _WIN32, ↵Bernd Wachter1-2/+2
enforced by -std=c++0x Reviewed-by: Thorbjørn Lindeijer
2011-04-30Merge branch '0.5'Yohann Ferreira1-2/+3
Conflicts: CMakeLists.txt po/fi.po po/fr.po src/gui/skilldialog.cpp src/localplayer.cpp src/net/manaserv/generalhandler.cpp src/net/tmwa/buysellhandler.cpp src/net/tmwa/generalhandler.cpp src/net/tmwa/playerhandler.cpp src/net/tmwa/specialhandler.cpp src/winver.h
2011-04-16Fixing potential buffer overflowStefan Dombrowski1-2/+3
Reviewed-by: Jaxad0127
2010-08-18Merge branch '1.0'Thorbjørn Lindeijer1-8/+5
Conflicts: src/log.cpp
2010-08-17Add missing include and add enet files to codeblocksStefan Dombrowski1-5/+3
The missing include generated compiler error on windows. Because of compiler warnings generated by enet, warnings are switched of for: * unknown #pragmas, which are for MSVC compiler * enumeration with missing case Reviewed-by: Bertram
2010-08-15Remove the logToChat optionChuck Miller1-9/+4
This is a very old legacy option. Today its not very useful because the logger had become quite verbose that using it during run-time is not helpful. Reviewed-By: Jared Adams Reviewed-By: Freeyorp
2010-07-19Finished to add the xmessage support thanks to Kook.kook1-1/+3
Reviewed-by: Bertram
2010-07-19added xmessage for linux case of errorkoom1-0/+4
Reviewed-by: Bertram.
2010-07-19Finished to add the xmessage support thanks to Kook.kook1-1/+3
Reviewed-by: Bertram
2010-07-19added xmessage for linux case of errorkoom1-0/+4
Reviewed-by: Bertram.
2010-02-25Use recursive mkdir for config directories, fix log initializationBernd Wachter1-7/+5
Logger now logs to stdout by default, and allows logging without having a log file open. This allows using logger for error logging in early startup functions. Reviewed-by: Jared Adams
2010-02-22Modify copyright headersFreeyorp1-1/+2
2010-02-20License header update for The Mana ClientThorbjørn Lindeijer1-4/+3
2010-02-07Updated Copyright year to 2010!Bertram1-1/+1
Also added the update copyright tool from the Wormux Team. ( And not forgetting credit's due. :P )
2010-01-12Standardize header orderJared Adams1-4/+4
Also remove some extra new lines and fix eAthena's PartyTab define guards.
2009-03-27Clean up chat and chat tabs some moreJared Adams1-1/+1
2009-03-26Major clean up of ChatTab handlingJared Adams1-1/+1
ChatTabs now manage their own adding/removal from the chat window, which lost most of it's chat related messages. Whisper handling is stil done by the ChatWindow, but it no longer manages any other tabs. ChannelTab handling is now the sole responsability of the Channels they are attached to. The general tab is handled by Game.
2009-02-07Some more include cleanups.Ira Rice1-2/+0
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-23Removed unnecessary references to The Mana World in code headersBjørn Lindeijer1-4/+4
This dates back to the old days of TMW, but the usage instructions of GPLv2 don't mention this being necessary. Since it doesn't add anything, avoid the branding in these sections.
2007-12-10Added an option to show log messages in the chat console.Philipp Sehmisch1-1/+9
2007-11-20Merged revisions 3692 via svnmerge from Bjørn Lindeijer1-4/+5
https://themanaworld.svn.sourceforge.net/svnroot/themanaworld/tmw/trunk ........ r3692 | gmelquio | 2007-10-27 11:03:13 +0200 (Sat, 27 Oct 2007) | 1 line Made it compile with GCC 4.3 ........
2007-11-19Merged revisions 3739,3743-3744,3746-3747 via svnmerge from Bjørn Lindeijer1-5/+3
https://themanaworld.svn.sourceforge.net/svnroot/themanaworld/tmw/trunk ........ r3739 | umperio | 2007-11-16 11:49:58 +0100 (Fri, 16 Nov 2007) | 1 line Removed useless win32 implementation of gettimeofday. ........ r3743 | umperio | 2007-11-16 15:14:00 +0100 (Fri, 16 Nov 2007) | 1 line Fixed minor issues. ........ r3747 | b_lindeijer | 2007-11-18 23:05:16 +0100 (Sun, 18 Nov 2007) | 2 lines Fixed small mapping error, collision layer not changed. ........
2007-09-20Merged a bunch of small changes from trunk to 0.0 and set svn:eol-style Bjørn Lindeijer1-0/+9
to native for some files that were still missing this property. This is a feeble attempt to reduce the amount of conflicts for future merges.
2007-02-20Applied patch by trapdoor to fix the usage of a deprecated function on MacOS XBjørn Lindeijer1-5/+12
10.4 and later.
2006-11-27fix for windows machines that do have gettimeofday defined in sys/time.hPhilipp Sehmisch1-2/+3
2006-11-27Added implementation of gettimeofday() for windows machines.Philipp Sehmisch1-1/+1
2006-11-26Higher precision log timestamps, some more logging and support for TGA images.Bjørn Lindeijer1-8/+12
2006-07-24Implemented caching of spritesets, including a lot of cleanups to the newBjørn Lindeijer1-1/+2
animation system. Action now refers to the Spriteset directly and AnimatedSprite refers to the current Action directly instead of using the std::map with a std::string constantly. Some methods and parameters are marked as const. The READ_PROP macro was replaced by static methods. Warnings are logged when unnamed actions are defined or when actions refer to undefined imagesets. Code is more tolerant towards missing actions.
2006-03-19Unreverted latest change by Doener due to my lack of proper communication ↵Eugenio Favalli1-10/+10
abilities.
2006-03-19Reverted changeset r2269 (toString) as requested by ElvenProgrammer.Björn Steinbrink1-10/+10
2006-03-18Added a toString conversion function.Björn Steinbrink1-10/+10
2006-03-09Made all class members named like mClassMember.Björn Steinbrink1-6/+6
2005-09-14Header cleanups.Björn Steinbrink1-1/+1
2005-09-10Committed patch by Nayr for displaying a messagebox when an error occurs onBjørn Lindeijer1-0/+8
MacOS.
2005-08-25Move extern declaration of the floor item list. Lower indentation level.Björn Steinbrink1-27/+28
2005-08-19Added support for parsing command line options. Added option to skip the ↵Björn Steinbrink1-9/+9
update process. Made the logger being created immediately after start, because some destructors use it.
2005-08-13Huge header cleanup to reduce dependencies and compile time.Björn Steinbrink1-0/+2
2005-05-10Fixed progress bars in OpenGL mode, now uses Guichan's fillRectangle.Bjørn Lindeijer1-1/+1
2005-05-02Prettier errors when things go wrong.Bjørn Lindeijer1-1/+2
2005-04-02Less Image::setAlpha calls.Bjørn Lindeijer1-2/+1
2005-04-01* The client will now only attempt to load .tmx or .tmx.gz files.Bjørn Lindeijer1-21/+24
* When unable to connect to char server, report IP to which it can't connect. * Cleaned up logger a bit.
2005-03-24Logger Implemented. (3/3)Yohann Ferreira1-83/+1
2005-03-23First working implementation of new logger (Step 2/3)Yohann Ferreira1-24/+23