summaryrefslogtreecommitdiff
path: root/src/net/tmwa/gamehandler.h
AgeCommit message (Collapse)AuthorFilesLines
2011-06-16Remove useless ping packetBen Longbons1-2/+0
The comment in game.cpp about the server waiting for this is a lie. Reviewed-by: Bertram.
2011-04-26Made the client use a unique kind of movement code.Yohann Ferreira1-1/+6
This is fixng many issues and (hopefully) will make the movement rendering much smoother. Merge branch 'master' of gitorious.org:~bertram/mana/mana-movement-code-merge Conflicts: src/being.cpp src/net/manaserv/beinghandler.cpp Resolves: TMW-Mantis #946. Reviewed-by: Thorbjorn.
2011-04-09Renamed Listener to EventListenerThorbjørn Lindeijer1-2/+2
Makes it clear what kind of listener it is, since there are other listener classes as well. Acked-by: Jared Adams
2011-04-09Removed the Mana namespaceThorbjørn Lindeijer1-2/+2
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-1/+1
Acked-by: Jared Adams
2011-03-15Basically merged the two movement algorithms into one.Yohann Ferreira1-1/+6
This was made in favour of the manaserv way of doing things. I also added a way to keep the original server speed value so the pixel value can be recomputed at each map change, as this was necessary since the speed is given before the first map is loaded. The code is much more simpler now about movement handling, and we can already see improvements on other characters movements in The Mana World with this. Everything can't be perfect the first time; here are bugs identified so far: - Monsters direction isn't updated on TmwAthena for obscure reasons. - Remote players walking animation is sometimes reset on each steps. - When changing map, the local player sometimes walks randomly until the player reacts. Stay tuned!
2010-11-11Have the event system channels use enums instead of stringsChuck Miller1-1/+1
Reviewed-by: Freeyorp
2010-07-18Replace some state-related netcode methods with eventsJared Adams1-6/+7
Also move the virtual destructors of the Net handler base classes to the top of their method lists. Reviewed-by: Chuck Miller
2010-06-01Made the MP bar be shown only if the protocol is using it.Yohann Ferreira1-0/+3
Reviewed-by: Jaxad0127.
2010-04-17Changed eAthena protocol name to TmwAthena and changed the config files ↵Bertram1-0/+70
accordingly. This makes room for the actual eAthena protocol future inclusion.