Age | Commit message (Collapse) | Author | Files | Lines |
|
Should be no change in behaviour.
|
|
(cherry picked from commit 9b4d924d74587f489ac8141134b1c504e54a0684)
|
|
(cherry picked from commit e1b4184da2ece6c9e1518064ffe35b9404b3db18)
|
|
The Game instance was created too late, in some cases after messages
were received by the BeingHandler. This caused crashes since the
BeingHandler tried to use the BeingManager, which hadn't been created
yet.
(cherry picked from commit c7e57369f066ee9b7f9f62eacb19e2d10f8e13c5)
|
|
When entering the error state, the handlers were unregistered, but they
were never registered again. I'm just removing the unregistration for
now.
|
|
Also fixed the progress bar during connecting to reset again when full,
by disabling the smooth updating there.
The ProgressBar now uses gcn::Color instead of three separate color
attributes.
|
|
|
|
Also make sure an appropirate message gets shown on duplicated login.
|
|
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>
|
|
Also make the line only show if compiled for OpenGL
|
|
|
|
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.
|
|
|