Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
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.
|
|
By only limiting redraws when no SDL events were handled.
|
|
We don't use underscores in the filenames generally, and let's be
consistent on that matter.
|
|
|
|
Looks better and is more consistent with most command line tools. Also
changed the short form for --port to -p.
|
|
|
|
Complete the help for the -D option.
|
|
|
|
|
|
|
|
And remove an unneeded variable
|
|
|
|
Mainly avoid all the convertions from integer to float and then to
string and also back from string to float and then to integer.
|
|
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.
|
|
|
|
|
|
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.
|
|
Abstracts it away and out of main.cpp and register.cpp.
|
|
|
|
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.
|
|
Cleans up main.cpp a little.
|
|
Unused variable, compiler suggested braces to disambiguate an else
statement and another comparision between signed and unsigned integers.
|
|
|
|
|
|
Also some cleanup in main.cpp
|
|
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.
|
|
Also make Net::LogoutHandler
|
|
|
|
Also cleanup character creation, which isn't functional at the moment.
|
|
|
|
Also add ping to MapHandler and fill in eAthena's MapHandler's connect
method.
|
|
Map, chat, and admin have been finished (to the degree they handle all
existing cases).
|
|
|
|
|
|
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.
|
|
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.
|
|
Now that messages can be sent without requiring a pointer to the
Network instance, a lot of cleanup was possible.
|
|
Now the instance doesn't need to be passed into the MessageOut class
anymore. Expect a lot of cleanup in the next commit.
|
|
|
|
Command line parameters were being overridden by old configuration
settings.
|
|
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
|
|
Also dynamically calculated the size of the array, so that you don't
have to count the messages manually. :P
|
|
dfcc6397848d4597b386b688f689352de6c19ae2
Signed-off-by: Ira Rice <irarice@gmail.com>
|
|
|
|
Mostly putting & and * in the right place and making some getters const.
|
|
Conflicts:
A lot of files.
|
|
Conflicts:
Many files.
|
|
|
|
Also fix several instances where the same net handler was being used for
both servers, and a few other related oddities.
|