Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
This code moved into EmotePopup.
|
|
The popup is meant to be temporary, showing the emote instantly when you
click on it. It adapts nicely to show any number of emotes.
I still need to add a better way of assigning emote shortcuts, since
currently you can only change which emote is assigned to which shortcut
by actually using it.
|
|
shoots them.
|
|
|
|
Also add support for the new TMWServ NPC packets
|
|
We don't use underscores in the filenames generally, and let's be
consistent on that matter.
|
|
Is a better place. The reading part was already in MessageIn.
|
|
A function call could be quite a large overhead on top of a fast square
root function.
|
|
It has fast(inv)sqrt and weightedAverage.
Also cleanup the last ocmmit a bit.
|
|
|
|
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.
|
|
|
|
Also some cleanup in main.cpp
|
|
|
|
Keeps things together in the right place and allowed writing a bit more
generic code in the Setup class.
|
|
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 namespace both Player- and TradeHandlers
|
|
Also make the dialog build for all servers
|
|
|
|
Also started temparary implementation of the Net::getXHandler() methods
and started using them.
|
|
|
|
Map, chat, and admin have been finished (to the degree they handle all
existing cases).
|
|
Party, skill, and trade handlers made for eAthena.
|
|
|
|
|
|
|
|
|
|
|
|
This class would store the buddy list in a file on the client, which is
really not that useful.
It was removed before in d268447e18c6e3edd80658f8f8d4317740c33af9, but
apprently had come back with the merge with mainline.
|
|
This fixes TMWServ compilation form the previous commit.
|
|
TMWServ compilation is likely not functional after this, I didn't check.
THe next commit will address that.
|
|
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.
|
|
Also drop Aethyra's custom magic code
|
|
This merge involved major changes on both sides, and as such took
several weeks. Lots of things are expected to be broken now, however, we
now have a single code base to improve and extend, which can be compiled
to support either eAthena or tmwserv.
In the coming months, the plan is to work towards a client that supports
both eAthena and tmwserv, without needing to be recompiled.
Conflicts:
Everywhere!
|
|
the palette colors. While technically, this can be accomplished through
other means, it's rather clumsy overall, and is prone to introducing in
programmer errors.
This commit finally catches every case where text is used, and applies
the text color from the color dialog to each of them appropriately.
Signed-off-by: Ira Rice <irarice@gmail.com>
|
|
The new color palette supports many more colors that the browserbox can
display. So a change to the color config gui was needed.
|
|
The internal storage for colors was in the file color.h/color.cpp. It
mainly managed the colors in the chat.
The Color class was extended to be more generic now and it stores
gcn::Color objects instead of integers now. A lot of new colortypes are
now available, though not many of them are used for now, that will come
in the next patches.
The Color class was renamed to Palette and color.{h,cpp} to
palette.{h,cpp} to better describe its purpose.
The color config gui now lists the new colors, even changes them, but the
result is not displayed properly for now.
|
|
The new color palette supports many more colors that the browserbox can
display. So a change to the color config gui was needed.
|
|
The internal storage for colors was in the file color.h/color.cpp. It
mainly managed the colors in the chat.
The Color class was extended to be more generic now and it stores
gcn::Color objects instead of integers now. A lot of new colortypes are
now available, though not many of them are used for now, that will come
in the next patches.
The Color class was renamed to Palette and color.{h,cpp} to
palette.{h,cpp} to better describe its purpose.
The color config gui now lists the new colors, even changes them, but the
result is not displayed properly for now.
|
|
Window class, but stripped down to the bare essential functionality to
just draw and position them. This means no resizing, no close buttons,
no ability to move them, etc. This should help reduce the overhead in
drawing speech bubbles, as well as other popup type dialogs, but is also
not a drop in replacement for the Window class as well.
Signed-off-by: Ira Rice <irarice@gmail.com>
|
|
other widget containers to use skins as well, and to make it easier to
extend later.
Signed-off-by: Ira Rice <irarice@gmail.com>
|
|
|
|
|
|
The string utility methods are now grouped together in the stringutils.h
header. Also, a toLower method was added for convenience.
|