summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-04-18Remove illegal macro names starting with underscore and capitalBen Longbons8-19/+19
2011-04-18Added a client-side position tolerance check.Yohann Ferreira2-10/+26
This is based on the information given by the server which now permit resyncs when necessary. Reviewed-by: Thorbjorn.
2011-04-18A bit of cleanup in the way the Client pops up error dialogsThorbjørn Lindeijer3-82/+52
No point in using mCurrentDialog for the OkDialog, since it will clean up after itself, as was pointed out in many places throughout the code. Now there are two convenience functions for popping up the OkDialog and having it change to a specified state afterwards. This also gets rid of the 4 different ActionListener classes that existed solely for this purpose. Reviewed-by: Yohann Ferreira
2011-04-16Bumped version to 0.5.2 and updated the NEWS filev0.5.2Thorbjørn Lindeijer7-32/+22
Reviewed-by: Stefan Dombrowski Reviewed-by: Yohann Ferreira
2011-04-16Removed ENet version checks since only 1.3 should be used anywayThorbjørn Lindeijer3-14/+0
Reviewed-by: Stefan Dombrowski
2011-04-16Removing unused enum EMAILCHG_EXISTS_EMAILStefan Dombrowski1-5/+0
The protocol uses ERRMSG_EMAIL_ALREADY_EXISTS instead. Reviewed-by: Jaxad0127
2011-04-16Fixing potential buffer overflowStefan Dombrowski1-2/+3
Reviewed-by: Jaxad0127
2011-04-16Post-review fixes.Yohann Ferreira4-12/+4
- Removed unnecessary comments - Removed a useless contains() check in getTileCenter() - Fix the above function documentation - Don't permit FloorItem to be created without a map object. Reviewed-by: Thorbjorn Lindeijer.
2011-04-16Fixed player movement desyncs on tile-based implementation.Yohann Ferreira1-2/+27
The new destination wasn't sent correctly since the destination was centered but checked pixel exact afterward. Now the destination check has been adapted for tile-wise implementation, leading to an almost desync free movement. Hurray!
2011-04-16Made the attackers look at their victims when possible.Yohann Ferreira1-0/+3
That simply make the game a bit more realistic as I saw many archers back fire arrows lately ;) Plus, that's what the servers should expect.
2011-04-16Introduced the Being::lookAt() function.Yohann Ferreira3-36/+120
We're now using it when picking up items. Also, de-overnested the Game::handleInput() function when handling pickups.
2011-04-15Fix mkdir_r to not assume existence of PATH_MAXBen Longbons1-8/+4
Required to build on HURD, but good practice anyway. Reviewed-by: Thorbjørn Lindeijer
2011-04-14Add missing auth failure reasonsBen Longbons1-0/+9
2011-04-13Portable install saves logs and configs in a folder called settingsStefan Dombrowski1-2/+2
2011-04-12Limit the number of pick-up packets to avoid kick from the serverStefan Dombrowski1-0/+5
Reviewd-by: Thorbjorn
2011-04-11Fixing missing call to updateButtonsAndLabels() in NPC buy dialogStefan Dombrowski1-5/+1
Reviewed-by: Thorbjorn
2011-04-11Implemented a simple non-blocking fadeOutAndPlay system.Yohann Ferreira4-12/+81
It's currently used when changing maps. Resolves: TMW-Mantis: #750. Reviewed-by: Thorbjorn.
2011-04-11Removing annoying NPC trade messages from chatStefan Dombrowski2-15/+15
The thanks messages got removed, because they are useless and when selling many items they completely trashed the chat. The pick-up information for money now respects the configuration. Reviewed-by: thorbjorn
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-11Added the forgotten SDL_gfx dependency in the README.Yohann Ferreira1-1/+1
Thanks to bcs86 for that. Trivial.
2011-04-10Updated Finnish translation thanks to Byakushin.Yohann Ferreira2-799/+726
The fi translation is now back from the dead!
2011-04-10French translation update by Jumpy.Yohann Ferreira1-577/+512
Acked-by: Bertram
2011-04-09Renamed Listener to EventListener in C::BStefan Dombrowski1-2/+2
The files had been renamed in commit 72d83cf5ae523f16fd5313c20f711f6030350d05.
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 Lindeijer27-62/+62
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-06Removed the music download section.Yohann Ferreira1-11/+0
It doesn't make sense on the generic client.
2011-04-06Only create gmo files for po files active in LINGUAS.Bernd Wachter1-2/+2
This avoids adding every translations in the installer. Reviewed-by: Bertram.
2011-04-06Removed unsufficiently translated po files from build and release.Yohann Ferreira2-30/+30
I also removed the fact to tell the number of language provided as it's useless and harder to maintain.
2011-04-06Request admin permissions in Windows installerThorbjørn Lindeijer1-0/+1
Not always necessary, for example when installing in a user directory, but not asking for admin rights does more harm than good (your average Joe will just be complaining that the installer isn't working). Reviewed-by: Yohann Ferreira
2011-04-06Make the set of included DLLs in the Windows installer explicitThorbjørn Lindeijer1-1/+16
This is to make sure the right DLLs are shipped, not too many and not too few. Reviewed-by: Yohann Ferreira
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 Douze8-3519/+3528
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 Lindeijer8-3519/+3528
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.