summaryrefslogtreecommitdiff
path: root/src/gui/charselectdialog.h
AgeCommit message (Collapse)AuthorFilesLines
2012-01-26Updated copyrights to 2012Thorbjørn Lindeijer1-1/+1
2011-04-09Removed a lot of useless "documentation"Thorbjørn Lindeijer1-3/+0
I have to admit I contributed a large part of these. Sorry for that. Less empty space, more attention to the code. Acked-by: Jared Adams
2010-12-16Made the client handle the number of slots given by the server.Yohann Ferreira1-2/+2
I turned the CharacterEntries into a vector. As for now, it's basically working but I discovered bugs about slots handling mainly for Manaserv that were already present before that patch. Hence, there are three remaining issues: - Under ManaServ, the character's slots numbers aren't handled when loading the characters but used when sending selection or deletion attempts. For instance, if you delete the character at slot 1, you won't be able to select or delete characters at slots 2 and 3, since the server believes that the characters are now in slots 1 and 2, even thought the client still displays them at the former slots. - Also under manaserv, you won't be able to create a character at slot 1 and 3, the server will automatically add the new one to the next slot, which is not corresponding to where you clicked to the 'Create' button. I propose to make Manaserv send again the character slots numbers and store them in database since we used them in creation, selection, and deletion attempts. It would make more sense IMHO. - The last remaining issue found is that when switching between different servers, the loginData don't get cleaned up, make the characterSelect dialog look crazy when the number of slots is different between two servers. If this one is accepted, my next patch will make the logindata be cleaned up between each login attempts (as for the slot number, and maybe other sensible data) and the next ones will readd character slot handling server and client side. Reviewed-by: Jaxad0127.
2010-12-06Removed superfluous #includes taken from checkheaders list.Yohann Ferreira1-4/+0
Resolves: Mana-Mantis #265. Trivial fix.
2010-05-17Remove Monster, Player, and NPC classesJared Adams1-1/+1
Instead of having these three subclasses with minor differences, this commit merges them back into Being. In the future, we can make Beings that are talkable to some, attackable by others, etc. This also puts back support for monster equipment. Also changes remaining references to Being::Type and the constants to refer to ActorSprite::Type. Reviewed-by: Freeyorp
2010-02-21Made tick counter and framerate limiter work during login sequenceThorbjørn Lindeijer1-0/+1
Much code was moved from main() to the new Client::exec(). This new event loop now integrates with the Game class, so that the tick counter and framerate limiter apply universally. The Client class is also responsible for some things that used to be global variables. Mantis-issue: ...
2010-02-22Modify copyright headersFreeyorp1-1/+2
2010-02-20License header update for The Mana ClientThorbjørn Lindeijer1-4/+3
2010-02-19Fixed a crash when trying to switch serversThorbjørn Lindeijer1-23/+30
Ownership of the charInfo global variable wasn't well defined. It was being locked, unlocked and generally modified from a lot of places, and somewhere in this mess it ended up crashing when switching servers. Now the CharHandler instances, for eAthena and manaserv respectively, own this list of characters. A new class, Net::Character wraps up the slot index in combination with the player dummy. The list is passed on to the CharSelectDialog each time it changes. Both related and unrelated cleanups were made as well. Reviewed-by: Jared Adams
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-21Corrected the --default option behaviour to follow --help definition.Bertram1-1/+6
The --help options tells: -D --default : Choose default character server and character The client now choose the defaulted last character entry when --default is set. The --character option still has precedence. Also added a return value to the CharSelectDialog->chooseSelected() function while on it, in case of someone willing to add errors handling at this stage.
2010-01-12Standardize header orderJared Adams1-2/+2
Also remove some extra new lines and fix eAthena's PartyTab define guards.
2009-12-19Fixing bug in charselectdialogStefan Dombrowski1-0/+2
How to reproduce the bug: Start eathenas login-server and char-server but not the map-server. On the second attempt to login all slots of the charselectdialog show the same character and login fails.
2009-12-06Improve keyboard accessibility of login sequenceJared Adams1-1/+5
Enter and Escape now move forward and backwards for all dialogs except ServerSelectDialog (Escape quits) and CharSelectDialog (Enter doesn't do anything special).
2009-10-03Update the CharSelectDialog after char creationJared Adams1-0/+2
2009-10-04Replaced setNetworkOptions with LoginHandler::supportedOptionalActionsThorbjørn Lindeijer1-16/+15
Better to ask when needed that rely on static booleans to be set from somewhere. Also tried to fix the layouting a bit, but it's still not perfect.
2009-10-03Made passing character name on the command line work againThorbjørn Lindeijer1-0/+3
It was only selecting it when found, instead of also logging in with the character.
2009-10-01Redesign CharSelectDialogJared Adams1-28/+9
2009-10-01Finish merging registration dialogJared Adams1-0/+5
2009-09-30Merge login state machines for both clientsJared Adams1-2/+0
Also do some cleanup and refactoring of related code.
2009-08-13Clean up Being and it's derivativesJared Adams1-2/+1
Move stuff only needed for Players into Player (like slots and sprite limits). Move name handling into Being (no need for three copies of this code). Clean up terminology (including Map terminology). Remove hair-related variables.
2009-05-25Add change password dialog to athena clientDennis Friis1-8/+4
2009-05-07Moved two files which held net data into the net folder. ConsideringTametomo1-4/+1
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-04-29Removed underscores from some non-conforming filenamesBjørn Lindeijer1-0/+112
We don't use underscores in the filenames generally, and let's be consistent on that matter.