Age | Commit message (Collapse) | Author | Files | Lines |
|
Also made mPx and mPy private and synchronize with mPos on
setPosition(). The side effects of setting destination and clearing the
path have been removed from setPosition(). Only the tmwserv
PlayerHandler seemed to rely on that feature.
Mantis-issue: 672
|
|
Also some code prettyfication.
|
|
|
|
|
|
NPCListDialog couldn't be opened because of infinite recursion, and it
and NPCTextDialog both had resize bugs.
|
|
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
|
|
Fixed a faulty == statement that should have been an assignment and a
mismatched 'else' block.
|
|
Also dynamically calculated the size of the array, so that you don't
have to count the messages manually. :P
|
|
|
|
|
|
ChatTabs now manage their own adding/removal from the chat window, which
lost most of it's chat related messages. Whisper handling is stil done
by the ChatWindow, but it no longer manages any other tabs. ChannelTab
handling is now the sole responsability of the Channels they are
attached to. The general tab is handled by Game.
|
|
|
|
|
|
wasn't really useful or used at all. Also removed some unneeded includes
in the popup class.
Signed-off-by: Ira Rice <irarice@gmail.com>
|
|
this currently does not provide any useful functionality to popups, as
well as doing anything for that matter.
Signed-off-by: Ira Rice <irarice@gmail.com>
|
|
created.
Signed-off-by: Ira Rice <irarice@gmail.com>
|
|
1715d0afe44a282a356ca88e47c92ec556f094dd
Signed-off-by: Ira Rice <irarice@gmail.com>
|
|
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.
|
|
|
|
There is also a new rule that trivial constructors and destructors
should no longer be trivially "documented", since this just takes up
space with no gain.
|
|
Mostly unsigned/signed mismatches and an unused variable.
|
|
|
|
|
|
Mostly unsigned/signed mismatches and an unused variable.
|
|
|
|
|
|
|
|
|
|
done in certain statements, rearranging arguements to make them look
cleaner, or overall making the code slightly more flexible)
Signed-off-by: Ira Rice <irarice@gmail.com>
|
|
|
|
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.
|
|
Since the relative includes are getting ugly and somewhat inconvenient,
we'll switch to includes relative to the project root. We've done this
for a while already with tmwserv.
Another rule which we've always had but was never written down, is that
each source file first includes its own header. This is common practice
and ensures each header compiles without needing other stuff to be
included first.
Somebody using Code::Blocks might want to fix the project file by adding
the 'src' directory to the list of include paths.
|
|
slider as well, rather than just in the preview, on startup.
Signed-off-by: Ira Rice <irarice@gmail.com>
|
|
dfcc6397848d4597b386b688f689352de6c19ae2
Signed-off-by: Ira Rice <irarice@gmail.com>
|
|
Mostly removal of branding for tmwserv related files, as was done for
the eAthena client before.
|
|
|
|
This reverts commit c2e4a7a70971355f1446bb01053af8a1da8c98e1.
|
|
Mostly putting & and * in the right place and making some getters const.
|
|
|
|
Conflicts:
.mailmap
|
|
This reverts commit c2e4a7a70971355f1446bb01053af8a1da8c98e1.
|
|
Conflicts:
A lot of files.
|
|
Signed-off-by: Ira Rice <irarice@gmail.com>
|
|
start with collision or fringe, instead of being required to be the
same case throughout the beginning of the layer name.
Also made a default name for popup menus so that their skins can also be
changed by users.
Signed-off-by: Ira Rice <irarice@gmail.com>
|
|
modified the skin loading method to take a default value, in case the
value in the configuration file fails to load for one reason or another.
While this doesn't directly expose skinning on a per window basis to the
user at the moment, it does allow people to change what skins get loaded
with which windows now without needing to modify the code.
TODO: Determine a decent approach to allowing the user to change their
window skins in game, as well as moving all widget skin loading to the
skin class (for instance, the button skins, progressbar skins, etc.) so
that different skin configurations can use different widget skins.
Signed-off-by: Ira Rice <irarice@gmail.com>
|
|
This fixes a break that occured where skins wouldn't update in real time
in the client, due to being passed a reference, rather than getting the
skin itself.
Signed-off-by: Ira Rice <shogun@odin.(none)>
|
|
|
|
|
|
|