Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
Since we'll have three "InventoryHandler" classes, etc. this shows an
example of how we can compile with all of them at the same time using
namespaces. We'll have:
Net::InventoryHandler - the interface
EAthena::InventoryHandler - the eAthena implementation
TmwServ::InventoryHandler - the tmwserv implementation
Maybe we'll find a better way later, but for now this works. I'm not
convinced yet that using namespaces is better than just using longer
class names like EAthenaInventoryHandler.
|
|
Initialization order, return values, unused variables, missing
enumerator.
|
|
Also started temparary implementation of the Net::getXHandler() methods
and started using them.
|
|
|
|
Also add ping to MapHandler and fill in eAthena's MapHandler's connect
method.
|
|
|
|
Not nice if some data corruption would cause the client to crash
unnecessarily.
|
|
* Removed superfluous 'virtual' keyword in *Handler implementations
* Renamed NPCHandler to NpcHandler
* Renamed InvyHandler to InventoryHandler
* Made all *Handler interface methods pure virtual
* Used forward declarations in net.h
* Renamed {start,end}Shoping to {start,end}Shopping
|
|
Also expand aAthena's AdminHandler
|
|
When confirming item add for trade, the inventory offset was not
substracted from the item index.
|
|
|
|
|
|
|
|
Map, chat, and admin have been finished (to the degree they handle all
existing cases).
|
|
Also cleanup some related #ifdefs in LocalPlayer.
|
|
|
|
Party, skill, and trade handlers made for eAthena.
|
|
|
|
eAthena NPC handler has been implemented and is being used for NPC
interraction.
|
|
|
|
|
|
Also move the Monster type offset handling into the eAthena netcode.
|
|
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.
|
|
|
|
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
|
|
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
|
|
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.
|
|
|
|
|
|
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.
|
|
Mostly removal of branding for tmwserv related files, as was done for
the eAthena client before.
|
|
Mostly putting & and * in the right place and making some getters const.
|
|
Conflicts:
.mailmap
|
|
Conflicts:
A lot of files.
|
|
|
|
Conflicts:
Many files.
|