summaryrefslogtreecommitdiff
path: root/src/main.cpp
AgeCommit message (Collapse)AuthorFilesLines
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
2009-03-28Take the server port out of the updates dirBjørn Lindeijer1-2/+1
It doesn't make much sense to combine the update host with the server port. Either use the update host (and path) or the server and its port. To me it makes more sense that if different servers share the same update host, this data should be shared by the client. Ultimately we should store the updates by their hash, so that we can stick everything in the same place and avoid storing any duplicates.
2009-03-27Moved the inventory and storage offset handling into netcodeBjørn Lindeijer1-8/+11
No need to complicate the item containers and inventory classes with a silly offset used by the eAthena server. Also fixed the logToStandardOut option by reading it from the config after the configuration has been initialized.
2009-03-27Clean up of most of the Network pointersBjørn Lindeijer1-1/+1
Now that messages can be sent without requiring a pointer to the Network instance, a lot of cleanup was possible.
2009-03-27Made eAthena's Network class statically accessibleBjørn Lindeijer1-7/+3
Now the instance doesn't need to be passed into the MessageOut class anymore. Expect a lot of cleanup in the next commit.
2009-03-27Removed unnecessary parenthesis on constructorsBjørn Lindeijer1-2/+2
2009-03-27Simplified and fixed initialization of login dataBjørn Lindeijer1-27/+14
Command line parameters were being overridden by old configuration settings.
2009-03-27Merge branch 'aethyra/master'Bjørn Lindeijer1-2/+4
Conflicts: src/beingmanager.cpp src/gui/confirm_dialog.cpp src/gui/inventorywindow.cpp src/gui/inventorywindow.h src/gui/label.cpp src/gui/label.h src/gui/popup.cpp src/gui/popup.h src/gui/scrollarea.cpp src/gui/skin.cpp src/gui/skin.h src/gui/speechbubble.cpp src/gui/window.cpp src/gui/window.h src/localplayer.h src/main.cpp src/net/ea/playerhandler.cpp src/resources/ambientoverlay.h src/resources/dye.cpp src/resources/imagewriter.cpp src/resources/itemdb.cpp src/shopitem.cpp
2009-03-27Moved choosing of random death message to a functionBjørn Lindeijer1-13/+13
Also dynamically calculated the size of the array, so that you don't have to count the messages manually. :P
2009-03-25Merged relevent changes from TMW commitIra Rice1-22/+32
dfcc6397848d4597b386b688f689352de6c19ae2 Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-26Remove redundancy, fix variable names and other code cleanupsBjørn Lindeijer1-39/+44
2009-03-25A host of code style fixesBjørn Lindeijer1-2/+2
Mostly putting & and * in the right place and making some getters const.
2009-03-25Merge branch 'eathena/master'Bjørn Lindeijer1-49/+54
Conflicts: A lot of files.
2009-03-23Merge branch 'aethyra/master'Bjørn Lindeijer1-30/+35
Conflicts: Many files.
2009-03-23Change version to 0.0.29 and label in the GUIJared Adams1-2/+11
2009-03-23Move all TMWServ-specific code to net/tmwservJared Adams1-9/+9
Also fix several instances where the same net handler was being used for both servers, and a few other related oddities.