summaryrefslogtreecommitdiff
path: root/src/gui/login.cpp
AgeCommit message (Collapse)AuthorFilesLines
2007-03-24Make sure that when a network error occurs, the error message is available andBjørn Lindeijer1-1/+1
shown to the user. Also, only enable Register button when all necessary fields are filled in.
2007-03-24Go back to login or register state on error, depending on what the user wasBjørn Lindeijer1-0/+1
doing, and fixed the error message when registering an account that already exists. Also another crash fix following from previous commit.
2007-03-22Only enable login button when a username, password and server are filled in.Bjørn Lindeijer1-41/+34
Pass username, password and server on to the register dialog. Go back to login dialog when canceling registration. Fixed a crash caused by deleting an OkDialog twice (it also deletes itself). Made the register dialog a bit wider. Register dialog no longer clears username field when it is invalid.
2007-03-20Fixed small issue where default server didn't fit in the server entry fieldBjørn Lindeijer1-9/+13
properly.
2007-01-14Upgraded to Guichan 0.6.0 (merge from guichan-0.6.0 branch).Bjørn Lindeijer1-9/+9
2006-12-03Made NPC names visible. Windows are now invisible by default.Bjørn Lindeijer1-0/+1
2006-08-13Merged Guichan 0.5.0 support from guichan-0.5.0 branch, plus several updatesBjørn Lindeijer1-2/+2
from the 0.1.0 branch.
2006-03-19Removed some duplicate initializations.Björn Steinbrink1-2/+1
2006-03-16A bunch of cosmetic changes.Björn Steinbrink1-4/+4
2006-03-09Made all class members named like mClassMember.Björn Steinbrink1-62/+62
2006-03-09Made the Button ctor accept eventId and action listener.Björn Steinbrink1-9/+3
2006-02-03Made the login dialog work on LoginData only, without playing with the ↵Björn Steinbrink1-34/+11
config, it's not its job to do so.
2006-02-01Made the OkDialog and ConfirmDialog classes proxies for their buttons' ↵Björn Steinbrink1-4/+8
events. Removed the RequestTradeWindow class, replaced with a plain ConfirmDialog. Fixed a memory leak along the way.
2006-01-31Various small cleanups.Björn Steinbrink1-1/+0
2006-01-22Merged NETWORK branch (includes BEING_OVERHAUL).Björn Steinbrink1-164/+11
2006-01-14Removed unused var.Björn Steinbrink1-5/+1
2006-01-03Really disabled /commands and added proper message when logging in and banned.Eugenio Favalli1-0/+6
2006-01-02Smoothed also character creation, buttons are now disabled during ↵Eugenio Favalli1-0/+3
connection/data phase.
2006-01-01Fix crash in Login with empty name.Björn Steinbrink1-12/+1
2005-12-30Added a new item, improved smooth login sequence, added a registration ↵Eugenio Favalli1-102/+28
window (a lot of duplicated code to be removed).
2005-12-29Restored Dev-Cpp default execution options, updated walkmap in snow map, ↵Eugenio Favalli1-16/+26
smoothed login sequence.
2005-10-18Added automatic widget cleanup to the window class.Björn Steinbrink1-14/+0
2005-10-16Rename {read,write}{Byte,Short,Long} to {read,write}Int{8,16,32}.Björn Steinbrink1-11/+11
2005-10-16The connection should be non-blocking now and fixed the problem with sound ↵Eugenio Favalli1-69/+58
not being played at startup.
2005-10-09* Made Sprite into an interface implemented by both FloorItem and Being, whichBjørn Lindeijer1-29/+35
hook themselves into the map on construction. The improved fringe layer is working as expected now. * Made sure TMW compiles without warnings even when using "-Wconversion -Wshadow -Wcast-qual -Wwrite-strings -ansi -pedantic", lots of cleanups. * Added two new small tilesets that contain the desert tiles that are twice and three times the height of a normal tile. One well in new_3-1 has been converted to use the new double tiles for testing purposes.
2005-10-05Fixed some resource cleanup and memory leaks. Also changed the way danglingBjørn Lindeijer1-21/+26
references to resources are reported to be more informative.
2005-09-27Dont crash if there is an unknown error at login.Cedric Borgese1-0/+5
Remove a bug that do x86_64 arch fail to connect to server : long is 8 bytes on that arch, use int for 4 bytes integer.
2005-09-26Added a nicer handling of when you get disconnected from the server.Eugenio Favalli1-6/+6
2005-09-19Got rid of writeSet() calls.Eugenio Favalli1-2/+0
2005-09-14Header cleanups.Björn Steinbrink1-0/+2
2005-09-13Merged with SDL_NET_TEST branch.Björn Steinbrink1-102/+144
2005-09-13Removed some globals.Björn Steinbrink1-4/+2
2005-09-13Unified the loops for the various dialogs that are shown before the actual ↵Björn Steinbrink1-44/+23
game starts.
2005-08-25Adding min and max length check for password, more code cleanups in login ↵Yohann Ferreira1-11/+44
and removing possible buffer overflows by replacing some global char[] by std::strings.
2005-08-24Simply don't show equipped items in sell dialog since it's annoying. Code ↵Yohann Ferreira1-25/+59
cleanups and improvements to the login sequence.
2005-08-22Removed a unuseful line.Yohann Ferreira1-2/+0
2005-08-22Improved the login sequence a bit.Yohann Ferreira1-3/+32
2005-08-14Removed guiGraphics global pointer and removed dependencies on gui.h in some ↵Björn Steinbrink1-2/+4
places.
2005-08-13Huge header cleanup to reduce dependencies and compile time.Björn Steinbrink1-5/+15
2005-07-16Made Image/SubImage being drawn by Graphics. Removed some redundant code.Björn Steinbrink1-1/+1
2005-07-11Committed header dependencies reducing patch by DoenerBjørn Lindeijer1-2/+3
2005-06-30Blocking too long login names to attempt connection or registration. (Thanks ↵Yohann Ferreira1-0/+2
Usiu)
2005-06-11Improve layout of login dialog slightly and allow login by pressing enter withBjørn Lindeijer1-6/+9
server field focused.
2005-05-13Fixed minimap transparent background to work in both SDL and OpenGL by usingBjørn Lindeijer1-2/+4
Guichan.
2005-05-05Now the server can be set in the login window.Yohann Ferreira1-5/+19
2005-05-02Made config.xml, tmw.log and chatlog.txt always appear in ~/.tmw on *nix.Bjørn Lindeijer1-4/+4
2005-04-09Adding new login error messagesEugenio Favalli1-0/+13
2005-04-09Fixed the previous errorEugenio Favalli1-2/+28
Added "register" button
2005-04-09Added check for username length > 4 charactersEugenio Favalli1-3/+2
2005-03-24Logger Implemented. (3/3)Yohann Ferreira1-5/+5