Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
There's still an offset problem that I can't figure out.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Also move the Monster type offset handling into the eAthena netcode.
|
|
The Minimap window uses this so you can froce it to always be open. The
Minimap toggle button can be used to show or hide it temporarily, as
warping will reset it's visibility based on the sticky state and weather
the 'new' map has a minimap.
|
|
Defaults to:
[ for previous tab
] for next tab
|
|
Renamed Skill_Tab to SkillTab and got rid of MAX_SLOT, using maxSlot
instead.
|
|
Take into account incomplete rows.
|
|
|
|
Was broken due to tmwserv having only 50 as opposed to 100 places in the
inventory at the moment.
|
|
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.
|
|
The draw() method of a widget isn't called when a widget is not visible.
|
|
|
|
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.
|
|
|
|
|
|
Also fixed positioning for emoticons above the player sprite.
Mantis-issue: 675
|
|
Resizing of the inventory window may come back later. Also did some more
code cleanups, moving defines to enums, getting rid of eAthena-specific
offset handling (to be done in the network layer), etc.
Mantis-issue: 666
|
|
Restored code that probably got lost in a merge somewhere.
Mantis-issue: 663
|
|
Started with not being able to click NPCs properly, and I ended up
correcting the draw positions of overhead text, targets and sprite
ordering.
It's now a bit more straight-forward. The position of a being is simply
in the middle of the sprite at the bottom. When drawing the sprite, an
offset remains because all the sprites are compensating for getting
drawn half a tile to the left and one tile up.
|
|
Seems to be remnant from before we had a proper tabbed area.
|
|
They happened before the configuration was initialized, so that didn't
make any sense. It never showed up as a problem since the value is
constantly set in the draw methods anyway.
|
|
Command line parameters were being overridden by old configuration
settings.
|
|
|
|
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.
|
|
|
|
|