summaryrefslogtreecommitdiff
path: root/src/gui/login.cpp
AgeCommit message (Collapse)AuthorFilesLines
2009-01-06Merged layout handler from mainlineBjørn Lindeijer1-57/+20
Also fixed login dialog layout. This is the layout handler by Guillaume Melquiond, which he started in commit 59472ef68fdef3f7e8858a81a46e28c127119c58.
2009-01-06Added support for internationalizationIra Rice1-10/+11
Merged from the mainline client. Originally implemented by Guillaume Melquiond, starting with commit 1828eee6a6d91fd385ad1e69d93044516493aa91. Conflicts: INSTALL configure.ac src/Makefile.am src/gui/buy.cpp src/gui/confirm_dialog.cpp src/gui/inventorywindow.cpp src/gui/login.cpp src/gui/menuwindow.cpp src/gui/minimap.cpp src/gui/ok_dialog.cpp src/gui/popupmenu.cpp src/gui/register.cpp src/gui/sell.cpp src/gui/setup.cpp src/gui/setup_video.cpp Signed-off-by: Ira Rice <irarice@gmail.com>
2008-11-18Pedantic fixes to the client, where I alphabetized all of the include Ira Rice1-8/+6
statements, as well as removing the new skill dialog, which we do not, nor will we use (if we do, it'd be a new one that we'd make). WARNING!!! This, and all other previous builds have a linker error for the Gnome libraries version 4.3.2 on my setup. It's assumed that this is also the case for other users of this library as well. I'm currently assuming that there's a bug in the compiler itself, and will look into reporting this, but in the mean time, it doesn't build for these users, unfortunately. Sorry about this.
2008-11-06Minor interface cleanup. Moved the login selection scrollbox so that it Ira Rice1-1/+4
aligns up with the other fields.
2008-11-03Fixed login server order, so as to not confuse new people.Ira Rice1-1/+1
2008-09-29Modified the client so that it displays both servers as server choices, Ira Rice1-11/+15
as well as changing the default server to point to www.aethyra.org instead of Slinker's IP address now.
2008-09-12Changed default port for Aethyra server to 21001Lloyd Bryant1-1/+1
2008-08-03Changed the default server in the dropdown menu in the loginKraant1-1/+1
screen to the new server
2008-07-18Import of client treeLloyd Bryant1-26/+224
2008-04-07Upgraded to Guichan 0.8.0 (merge from guichan-0.8 branch, except forBjørn Lindeijer1-1/+1
gcn::TabbedArea usage)
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