summaryrefslogtreecommitdiff
path: root/src/main.cpp
AgeCommit message (Collapse)AuthorFilesLines
2009-05-23Fixed a few strings for better translationKess Vargavind1-3/+3
Just a few notes that would help us translators immensly: * Please do not split one sentence into several strings * Please try to refrain from inserting extra spaces into the strings (cherry picked from commit 9712489ef67f95d6a5fa1fc3102bb7c4ee6a1f59)
2009-05-23Default port consistently uses 6901 on eAthena. branding.xml also defaults ↵Fate1-6/+8
to 6901 now since most players play on eAthena, so the -P client parameter finally works out of the box again. (cherry picked from commit 3dd404ee8a02958089bf2c6901fb877d2fae760e)
2009-05-21Fixed a few strings for better translationKess Vargavind1-3/+3
Just a few notes that would help us translators immensly: * Please do not split one sentence into several strings * Please try to refrain from inserting extra spaces into the strings
2009-05-19Default port consistently uses 6901 on eAthena. branding.xml also defaults ↵Fate1-6/+8
to 6901 now since most players play on eAthena, so the -P client parameter finally works out of the box again.
2009-05-18Added target combatDavid Athay1-1/+1
2009-05-17Make the state variable a bit more type-safeBjørn Lindeijer1-4/+4
Should be no change in behaviour.
2009-05-17Init state variable to make valgrind happy.Dennis Friis1-1/+1
(cherry picked from commit 9b4d924d74587f489ac8141134b1c504e54a0684)
2009-05-17Fixed the -S/--home-dir command line option.Michon van Dooren1-6/+12
(cherry picked from commit e1b4184da2ece6c9e1518064ffe35b9404b3db18)
2009-05-17Fixed a possible crash on logging in to the map serverBjørn Lindeijer1-2/+3
The Game instance was created too late, in some cases after messages were received by the BeingHandler. This caused crashes since the BeingHandler tried to use the BeingManager, which hadn't been created yet. (cherry picked from commit c7e57369f066ee9b7f9f62eacb19e2d10f8e13c5)
2009-05-14Fixed handling of messages after a failed loginBjørn Lindeijer1-3/+0
When entering the error state, the handlers were unregistered, but they were never registered again. I'm just removing the unregistration for now.
2009-05-08Fixed one pixel missing from progress barsBjørn Lindeijer1-1/+3
Also fixed the progress bar during connecting to reset again when full, by disabling the smooth updating there. The ProgressBar now uses gcn::Color instead of three separate color attributes.
2009-05-08One error dialog is enoughJared Adams1-2/+1
2009-05-07Fix handling of error messages in the game stateJared Adams1-2/+3
Also make sure an appropirate message gets shown on duplicated login.
2009-05-07Moved two files which held net data into the net folder. ConsideringTametomo1-2/+2
their function, this is a much better place to put them. Signed-off-by: Tametomo <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-05-04Fix a typo in --help outputJared Adams1-1/+3
Also make the line only show if compiled for OpenGL
2009-05-03Moved strprintf into stringutils.{h,cpp}Bjørn Lindeijer1-1/+0
2009-05-03Don't choose default character server when given a character nameBjørn Lindeijer1-2/+1
Just cause a character name was given on the command line doesn't mean we should pick any random character server. For the latter we have -D.
2009-05-01Make sure mouse still moves smoothly during loginBjørn Lindeijer1-1/+6
By only limiting redraws when no SDL events were handled.
2009-04-29Removed underscores from some non-conforming filenamesBjørn Lindeijer1-3/+3
We don't use underscores in the filenames generally, and let's be consistent on that matter.
2009-04-29Fixed openGL being disabled from time to time.Philipp Sehmisch1-2/+3
2009-04-26Used dashes to separate words in command line argumentsBjørn Lindeijer1-35/+36
Looks better and is more consistent with most command line tools. Also changed the short form for --port to -p.
2009-04-26Add a command line option to disable OpenGLJared Adams1-2/+9
2009-04-22Help updateblue1121-2/+3
Complete the help for the -D option.
2009-04-21Fix hang on exitDavid Athay1-19/+6
2009-04-20Remove desktop and setup button when logging into tmwservBjørn Lindeijer1-0/+5
2009-04-20Fix clearing handlers on connecting to game server.David Athay1-1/+2
2009-04-15Clean up some more memory leaksJared Adams1-2/+1
And remove an unneeded variable
2009-04-14Add a default login music file nameJared Adams1-1/+1
2009-04-13Some cleanup of the Configuration interfaceBjørn Lindeijer1-7/+7
Mainly avoid all the convertions from integer to float and then to string and also back from string to float and then to integer.
2009-04-13Revert forced FPS limitBjørn Lindeijer1-1/+1
Don't force an FPS limit when people don't want it. Just default to limit on 60 fps instead, but do allow it to be disabled. This reverts part of commit 4b7755fcae0de15951c508ec034158007c8b6cf3.
2009-04-12Remove remaining references to versionLabelJared Adams1-4/+0
2009-04-12Moved client version string creation to preprocessorBjørn1-24/+3
2009-04-12Merge version strings, add version to setup, etcJared Adams1-29/+21
All instances of version strings should now use the same text. The version label was moved from main.cpp to Desktop. A new version label was added to SetupDialog to make it easier to get the version if you are already in game.
2009-04-12Append _F or _M to username in eAthena network layerBjørn Lindeijer1-15/+7
Abstracts it away and out of main.cpp and register.cpp.
2009-04-11Remove more support #ifdefsJared Adams1-21/+4
2009-04-10Reduced the GCContainer to be even more trivialBjørn Lindeijer1-8/+0
A container that deletes all its children on destruction doesn't have to be so complicated. Also renamed it to simply Container, since I think it should simply be default behavior. WindowContainer and Popup classes now inherit from this Container.
2009-04-10Introduced a Desktop widget to handle the wallpaperBjørn Lindeijer1-77/+24
Cleans up main.cpp a little.
2009-04-09Fixed some warningsBjørn Lindeijer1-1/+1
Unused variable, compiler suggested braces to disambiguate an else statement and another comparision between signed and unsigned integers.
2009-04-09Remove a segfault when exiting the clientJared Adams1-1/+0
2009-04-08Add a more flexible wallpaper systemJared Adams1-18/+42
2009-04-08Make some more file build for both serversJared Adams1-36/+12
Also some cleanup in main.cpp
2009-04-07Moved basic widgets into the gui/widgets directoryBjørn Lindeijer1-3/+4
In an attempt to make the GUI code a little more structured, basic widgets are now put in gui/widgets. Many includes were also cleaned up.
2009-04-07Make GeneralHandlers for both networksJared Adams1-172/+42
Also make Net::LogoutHandler
2009-04-07Fixed compile for tmwserv clientBjørn Lindeijer1-3/+0
2009-04-06Implement TMWServ's CharHandlerJared Adams1-1/+3
Also cleanup character creation, which isn't functional at the moment.
2009-04-05Implement TMWServ's Admin-, Chat-, and MapHandlersJared Adams1-1/+1
2009-04-02Make eAthena's CharHandlerJared Adams1-9/+4
Also add ping to MapHandler and fill in eAthena's MapHandler's connect method.
2009-04-01Create a few more handlers for eAthenaJared Adams1-3/+3
Map, chat, and admin have been finished (to the degree they handle all existing cases).
2009-03-29Merge branch 'master' of git@gitorious.org:tmw/mainlinePhilipp Sehmisch1-20/+18
2009-03-29Fixed compilation on WindowsPhilipp Sehmisch1-3/+4