summaryrefslogtreecommitdiff
path: root/src/main.cpp
AgeCommit message (Collapse)AuthorFilesLines
2010-01-10Change code styleAndrei Karas1-26/+39
2010-01-08Fix a segfault when exiting before netcode is loadedJared Adams1-1/+1
2009-12-19Fixes functionality change broke in ↵Chuck Miller1-1/+1
cbc14c8a3c6614987d2331057e114d92336cbac0, where updates are loaded even if the -d option is given
2009-12-19Added support for resources.xml from update server... Also added option to ↵Chuck Miller1-26/+1
download music optionally I had to edit the XML wrapper a bit, basicilly its constructor can now take a optional thrid arguement which will tell it to use a resman or open the file directly Also I added fallback support for the old resouce2.txt so servers don't have to upgrade if they do not want to
2009-12-19Client now returns to server selection after server disconnectionStefan Dombrowski1-11/+6
This resolves http://bugs.manasource.org/view.php?id=37
2009-12-09Unifying the default folder for screenshots and making it configurableStefan Dombrowski1-30/+38
For all operating systems screenshots are now saved in ~/Desktop. If this folder does not exist, then the user's home is used. The players can change this with the new option --screenshot-dir. This patch is for http://mantis.themanaworld.org/view.php?id=969
2009-12-06Improve keyboard accessibility of login sequenceJared Adams1-7/+7
Enter and Escape now move forward and backwards for all dialogs except ServerSelectDialog (Escape quits) and CharSelectDialog (Enter doesn't do anything special).
2009-12-04Register credentials information serviceJared Adams1-0/+6
2009-11-21Remove another support ifdefJared Adams1-4/+0
2009-11-03Remove two unneeded methods of Net::GeneralHandlerJared Adams1-1/+0
2009-11-03Remove more _SUPPORT ifdefs and do some cleanupJared Adams1-11/+0
2009-11-02Remove more support #ifdefsJared Adams1-26/+6
2009-11-02Fix connecting to ManaServJared Adams1-1/+3
2009-11-02Fixing disconnection bug.Andrei Karas1-1/+1
And revert commit 30db6c4375f932370d4fce0c5b35a0cab93a2a18.
2009-11-02Got rid of GameHandler::clearThorbjørn Lindeijer1-3/+3
It was just forwarding to disconnect().
2009-11-02Fix segfault after login error under eAthena buildJared Adams1-1/+0
2009-10-31Fixed crash on startupThorbjørn Lindeijer1-3/+3
Was introduced in d5d10a30ceb4a9d6bbb19fe8cbcf878cd841cd53. In particular, the progress bar was not initialized to 0, even though it is checked for 0 later on and used if it isn't 0. Thanks to 4144 for reporting this issue.
2009-10-30Support switching characters under eAthenaJared Adams1-23/+37
2009-10-29Put back the music fade out after gameHandler->ingame(),Bertram1-7/+7
reverting what was made in main.cpp about it.
2009-10-24Make homedir accessible from other filesJared Adams1-0/+5
2009-10-24Basically finish rebrandingJared Adams1-2/+2
2009-10-24More rebrandingJared Adams1-11/+11
2009-10-24REplace instances of TMW with ManaJared Adams1-14/+14
2009-10-23Refixed the -u and -d parameter again, resolving for sure Mantis #951 ;)Bertram1-13/+9
2009-10-21Add an option to skip loading updatesJared Adams1-2/+12
2009-10-21Revert "Made the -d data path don't be bothered by updates and customdata ↵Jared Adams1-11/+8
files." This reverts commit 078544a2dcc54cd3e52914a39d0cbebfc62024f4.
2009-10-22Made the -d data path don't be bothered by updates and customdata files.Bertram1-8/+11
2009-10-22Optimized game startup sequence for eAthena in order to cope a bit better ↵Bertram1-5/+8
with network errors. Unfortunately, it isn't enough: The bug seems to be elsewhere...
2009-10-21Made the skip updates (-u) and set custom data path (-d) startup options ↵Bertram1-14/+12
work again, even separately. Be aware, that skiping the updates download does still the already downloaded data files. If needed, a "don't use updates" options should be made to explicitely get temporary rid of updates files.
2009-10-13Add an asynchronous download classJared Adams1-6/+7
And use it to download news, updates, and the server list.
2009-10-07Clean up state machine some moreJared Adams1-137/+172
2009-10-06Some cleanup regarding keeping track of gender for eAthenaThorbjørn Lindeijer1-4/+8
LoginHandler now owns the world list and the token, instead of having them as global variables with pointers to the 'sex' member of the token from the GUI.
2009-10-06Implemented server selection list loaded from online xml file.Andreas Habel1-6/+0
2009-10-04Introduced Net::LoginHandler::SetEmailOnRegisterThorbjørn Lindeijer1-1/+1
This "optional action" specifies whether the server expects to get an email address during registration. It is used now instead of having the general handlers of eAthena and tmwserv set a pointer to an email string on the GUI dialogs (to keep things understandable, the dependency should preferably go one way).
2009-10-04Add ability to delect characters from accountJared Adams1-3/+0
2009-10-03Polish login procedure and fix some bugs with itJared Adams1-3/+3
WorldSelectDialog now works correctly. Buttons for several dialogs have more explainatory text and consistant locations.
2009-10-03Fix connecting to servers when selected in the GUIJared Adams1-2/+4
2009-10-03Do some more post-merge cleanupJared Adams1-11/+10
Fixes a few more bugs
2009-10-03Made passing character name on the command line work againThorbjørn Lindeijer1-2/+1
It was only selecting it when found, instead of also logging in with the character.
2009-10-03Added support for the "too fast" login errorThorbjørn Lindeijer1-2/+2
So that next time somebody encounters it, it doesn't turn up as "unknown error".
2009-10-01Finish merging registration dialogJared Adams1-11/+6
2009-10-01Fix segfault betterJared Adams1-2/+3
2009-10-01Fix a segfault when choosing the serverJared Adams1-2/+2
2009-09-30Merge login state machines for both clientsJared Adams1-478/+129
Also do some cleanup and refactoring of related code.
2009-09-23Made the TMWserv client handles the FORCE_QUIT connection state.Bertram1-0/+7
I was getting fed up with killing the TMWserv client in order to quit it. The two cases left before having a full working set, is to handle correctly Switch Character and Switch Server in QuitDialog which must have been broken during the clients merge.
2009-09-02Added a minimum alpha opacity value handle in SkinLoader and made use of it.Bertram1-0/+33
Part 1 of 3 for Mantis #847 Only a few controls follow minimum opacity value at login stage. Part 2 will make all other controls do the same. Part 3 will try to set default gui opacity value as a constant.
2009-08-30Tweak to previous commitKess Vargavind1-1/+1
Now when I've wakened up I realize I could have used a more sane check.
2009-08-30Fix exit hang of eA client on AmigaOS4Kess Vargavind1-0/+3
As reported and fixed by afxgroup on the forums. Note that the tmwserv client still hangs on exit.
2009-07-27Added the ability to ask a ambient layer to keep its ratio when the ↵Bertram1-3/+0
resolution isn't the default. You'll have to add this in map properties, for instance if you're want to keep ratio on overlay 0: <map version="1.0" orientation="orthogonal" width="128" height="128" tilewidth="32" tileheight="32"> <properties> ... <property name="overlay0keepratio" value="true"/> ... </properties> </map>
2009-07-17Various gettext fixesKess Vargavind1-30/+22
* Merged a few split strings * Fixed some spellings and wordings * Turned a couple of std::cout and std::cerr into logger messages