summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2011-04-11Adjust action timer to something reasonableJared Adams1-2/+2
1 action per second was annoyingly slow. Reviewed-by: Thorbjørn Lindeijer Reviewed-by: Yohann Ferreira
2011-04-11Disable sprite caching for nowJared Adams1-0/+5
Reviewed-by: Thorbjørn Lindeijer
2011-04-11Fixing uninitialized variables in guild inviteStefan Dombrowski1-4/+3
2011-04-09Removed a lot of useless "documentation"Thorbjørn Lindeijer98-488/+25
I have to admit I contributed a large part of these. Sorry for that. Less empty space, more attention to the code. Acked-by: Jared Adams
2011-04-09Renamed Listener to EventListenerThorbjørn Lindeijer26-60/+60
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 Lindeijer60-370/+343
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 Lindeijer51-193/+194
Acked-by: Jared Adams
2011-04-09Moved Events to Mana::Event::TypeThorbjørn Lindeijer37-213/+215
Acked-by: Jared Adams
2011-04-07Fix compiler warning about incorrect use of the logger's log memberChuck Miller1-1/+1
Reviewed-By: Jared Adams
2011-04-02Fix a bug with SkillDialog which doesn't listen to attributes changedBlue Sans Douze2-1/+18
2011-03-30Fixing zombies in char select dialogStefan Dombrowski1-2/+21
How to reproduce the bug: * Delete a character. * Create a new character in another slot. * Now the deleted character reappears. Also fixing handling of error messages from character select response. This resolves http://bugs.manasource.org/view.php?id=322 Reviewed-by: Jaxad0127, VUT
2011-03-29Made the Map::findPath() private as it should be used internally.Yohann Ferreira1-9/+8
I also precised the find/Pixel/Tile/Path() documentation.
2011-03-29Made the flooritems position set back in pixels.Yohann Ferreira6-36/+34
The position is centered to the nearest tile center in tA.
2011-03-29Added the Map::getTileCenter() convenience function.Yohann Ferreira5-36/+40
and made use of it through the tA code. I also remove the obsolete TODO in the flooritem class.
2011-03-28Random cleanups - Part 2Yohann Ferreira2-6/+6
- Removed another bogus comment. - Made functions used only in the tA::beinghandler static. - Don't init the destination to an irrelevant value in being::setDestination()
2011-03-28Random code cleanups requested righteously by Thorbjorn - part 1.Yohann Ferreira9-38/+29
- Fixed bogus documentation. - Fixed Vector parameters to const Vector& where releavant. - Removed a false comment. - Removed superfluous headers in src/net/tmwa/beinghandler.h. - Optimize a bit the tmwa::beingHandler::getPixelsPerTickMoveSpeed() function.
2011-03-28Added some tolerance on the tA being position message.Yohann Ferreira1-1/+11
Also made the destination equal to the desired position in that case since it's what the tA server expects. This fixes monsters going to strange destinations while fighting them, and makes it all much smoother.
2011-03-26Merge branch 'master' of gitorious.org:mana/manaBlue Sans Douze2-2/+2
2011-03-26Add search bar to storage and inventory windowsBlue Sans Douze5-18/+112
Reviewed-by: thorbjorn
2011-03-25Merge branch '0.5'Thorbjørn Lindeijer2-2/+2
Conflicts: CMakeLists.txt po/pt_BR.po po/ru.po src/winver.h
2011-03-22Fix a warning on serverdialogBlue Sans Douze1-2/+1
2011-03-22Add option for sorting servers list (issue 316)Blue Sans Douze4-0/+103
2011-03-17Fixed pick up using keyboard for both servers.Yohann Ferreira2-22/+32
The character picks up one item at a time (to remain kinda realistic) and turns to the item picked up.
2011-03-17Fixed wrong comments in and optimize findTilePath() a bit.Yohann Ferreira1-13/+3
2011-03-17Fix actor and floor items offsets on tA.Yohann Ferreira2-4/+2
The code was simplified a bit, too.
2011-03-17Simplified the get/setAttackRange() functions as requested.Yohann Ferreira5-35/+19
The attack range is still hardcoded for Manaserv as long as generic equipment handling hasn't been implemented.
2011-03-17Fixed the Being::logic() once again as pointed out by Thorbjorn.Yohann Ferreira1-3/+3
Luckily or not, the code did the intended without even being right. :)
2011-03-17Handle ta move and position message in a more generic way.Yohann Ferreira1-86/+47
This avoids code duplication.
2011-03-17Now the client centers the pixel positions when using tA.Yohann Ferreira7-14/+111
I made it so that the behaviour can be changed with only a boolean setting in the playerhandler.
2011-03-16Fixed the bug with remote player movement animation,Yohann Ferreira2-8/+10
by removing a now useless reset in the beinghandler. Also added checks for flawed directions.
2011-03-16Fixed the attack range handling for both servers.Yohann Ferreira4-22/+62
The attack range is always the default for manaserv, as proper equipment handling is to be added. Anyway, now the proper attack range is handled in tmwAthena and is always set a proper minimum for both protocols.
2011-03-15Adapted the Being::logic() to handle very slow beings.Yohann Ferreira1-4/+6
This fixes the bug about monsters direction not being updated. The good news is that the bug was also present for Manaserv and is now corrected. I also moved back the ActorSprite::logic() call at its initial place.
2011-03-15Made the tA Beinghandler avoid dealing with flawed coordinates.Yohann Ferreira2-54/+84
Also fixed again a condition in Being::logic(). I'll beautify the code in tmwAthena:Beinghandler once everything will be working better. Note: I also suspect current clients to flood the server with keyboard messages, hence blocking the animation when they are remote. I'll need to test that with someone having the same client than here..
2011-03-15Fixed a small condition.Yohann Ferreira1-1/+1
Should be invisible on behaviour change.
2011-03-15Add a tolerance check on current position to limit desyncs.Yohann Ferreira2-15/+42
Also removed dead code.
2011-03-15Implemented a screen shake effect system in the viewport class.Philipp Sehmisch6-1/+106
The screen can either be "nudged" in a random direction with a specific intensity or you can define an exact x and y intensity, decay factor and duration. On a tmwAthena server an effect is triggered when the player character dies. A method for stopping all shake effects is also implemented, but not used yet. I added a netcode message for Manaserv to trigger an effect server-sided. Because our protocol has currently no way to transport floating point values, the decay is transported as a fixed point value with 4 decimals which is entirely sufficient for this purpose.
2011-03-15Reset destination to position at warp time for TmwAthena.Yohann Ferreira1-2/+5
This fix the following bug: When changing map, the local player sometimes walks randomly until the player reacts.
2011-03-15Simplify the tmwAthena calculation of the pixel/tick speed.Yohann Ferreira1-11/+3
2011-03-15Basically merged the two movement algorithms into one.Yohann Ferreira19-648/+377
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!
2011-03-13Bumped version to 0.5.1 and updated the NEWS filev0.5.1Thorbjørn Lindeijer2-3/+3
2011-03-10Fix the pathfinding method to acccept every walkmasks.Yohann Ferreira1-1/+1
Previously, the walkmask was hardcoded to handling walls. Trivial.
2011-03-10Wrap the open and closed list members in path finding.Yohann Ferreira2-12/+25
This prevent some weird things happening in path finding when playing for a very long time. Reviewed-by: Thorbjorn.
2011-03-08Added a tab scrolling system in tabarea.Yohann Ferreira2-1/+189
Currently working on the chat window. Resolves: Mana-Mantis #308. Reviewed-by: Thorbjorn.
2011-03-05Fixing removal of custom serverStefan Dombrowski1-1/+1
The server got selected from a list that still contained the unwanted server.
2011-03-04Empty std::string don't need to be constructed from ""Thorbjørn Lindeijer1-3/+3
2011-02-21Merge branch '0.5'Thorbjørn Lindeijer7-22/+79
Translation file updates ignored. Conflicts: src/client.cpp src/commandhandler.cpp src/gui/popupmenu.cpp src/localplayer.cpp
2011-02-21Renamed local data directory back to just "mana"Thorbjørn Lindeijer1-7/+8
This name represents the name of the client software, not the branding it received. Cleaned up the rest of the code a bit. Reviewed-by: Jared Adams
2011-02-21Fixing segmentation fault in chathandlerStefan Dombrowski1-5/+7
Reviewed-by: Jaxad0127, Thorbjorn
2011-02-20Renamed default branding package from mana to manasource.Yohann Ferreira1-5/+5
Resolves: Mana-mantis #236. Reviewed-by: Mpa4Hu.
2011-02-20Add support for CSV map dataJared Adams1-1/+34
Reviewed-by: Freeyorp