summaryrefslogtreecommitdiff
path: root/src/net/tmwa/npchandler.cpp
AgeCommit message (Collapse)AuthorFilesLines
2024-08-04Removed a bunch of unused NPC related eventssome-cleanupsThorbjørn Lindeijer1-27/+0
Nobody cared for the events that were emitted when NPC related network messages had been sent.
2024-03-04Added support for handling SMSG_NPC_COMMANDThorbjørn Lindeijer1-26/+65
This only adds support for the NPC_CLOSE_DIALOG and NPC_CLEAR_DIALOG sub-commands. Closes #47
2024-01-26Apply C++11 fixitsThorbjørn Lindeijer1-1/+1
modernize-use-auto modernize-use-nullptr modernize-use-override modernize-use-using
2012-05-05Removed the shared base classes of MessageIn and MessageOutThorbjørn Lindeijer1-3/+3
There wasn't a whole lot gained by sharing a common base class, and it makes extending the manaserv Message{In,Out} classes with a debugging mode unnecessarily complicated. Reviewed-by: Yohann Ferreira
2012-01-26Updated copyrights to 2012Thorbjørn Lindeijer1-1/+1
2012-01-10player_node -> local_playerYohann Ferreira1-2/+2
Reviewed-by: Ablu
2011-06-03Replace SDL_types.h with cstdintJared Adams1-3/+1
This required moving to C++0x, so it does that too, and fixes a few errors with that. Reviewed-by: Thorbjørn Lindeijer <thorbjorn@lindeijer.nl>
2011-04-09Removed the Mana namespaceThorbjørn Lindeijer1-26/+26
It's just an annoyance when it's only applied to a few classes. Either we place everything in this namespace or nothing, and at the moment I don't see any rationale for placing everything in a Mana namespace. Acked-by: Jared Adams
2011-04-09Moved Channels to Mana::Event::ChannelThorbjørn Lindeijer1-12/+12
Acked-by: Jared Adams
2011-04-09Moved Events to Mana::Event::TypeThorbjørn Lindeijer1-12/+12
Acked-by: Jared Adams
2010-11-12Change NPC handling in the net codeChuck Miller1-46/+75
Instead of using events to invoke netcode, invoke netcode directly and have it send events Reviewed-by: Freeyorp
2010-11-11Replace Event names with enums instead of stringsChuck Miller1-12/+12
2010-11-11Have the event system channels use enums instead of stringsChuck Miller1-9/+9
Reviewed-by: Freeyorp
2010-08-12Simplify working with the event systemJared Adams1-8/+8
EventManager has been merged into Event, with some new convinience methods added. Reviewed-by: Chuck Miller
2010-08-12Replace most of Net::NpcHandler with eventsJared Adams1-45/+43
Reviewed-by: Chuck Miller
2010-08-10Remove NpcDialog references from netcodeJared Adams1-70/+62
Reviewed-by: Chuck Miller
2010-06-10Merge BeingManager and FloorItemManager as ActorSpriteManagerJared Adams1-1/+1
No need for two different classes to manage ActorSprites. Reviewed-by: Chuck Miller
2010-05-21Merge branch '1.0'Thorbjørn Lindeijer1-0/+5
Conflicts: src/beingmanager.cpp src/beingmanager.h src/client.cpp src/localplayer.cpp
2010-05-17Remove Monster, Player, and NPC classesJared Adams1-1/+0
Instead of having these three subclasses with minor differences, this commit merges them back into Being. In the future, we can make Beings that are talkable to some, attackable by others, etc. This also puts back support for monster equipment. Also changes remaining references to Being::Type and the constants to refer to ActorSprite::Type. Reviewed-by: Freeyorp
2010-05-04Clear NPC dialogs when the player diesJared Adams1-0/+5
Reviewed-by: Freeyorp
2010-04-17Changed eAthena protocol name to TmwAthena and changed the config files ↵Bertram1-0/+226
accordingly. This makes room for the actual eAthena protocol future inclusion.