summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-04-30Fixed disconnected dialog to only pop up onceThorbjørn Lindeijer2-3/+5
Bug introduced in 88934303761ba950be56eac8b60de2dede88a29f and spotted by Stefan Dombrowski. Reviewed-by: Stefan Dombrowski Reviewed-by: Yohann Ferreira
2011-04-30De-dustify the get_elapsed-time function documentation a bit.Yohann Ferreira2-11/+16
Trivial.
2011-04-30Fix attack speed on both servers.Yohann Ferreira1-2/+9
Currently, we actually receive the local player attack speed in milliseconds for tA. Yet, we don't support receiving the attack speed for other beings, so the old behaviour will remain for them until someone adds that. As for Manaserv, we're only using the default speed atm. Most urgent part of mana-mantis: #343. Reviewed-by: Thorbjorn.
2011-04-30Updated fr translation to 100% thanks to Jumpy.Yohann Ferreira1-428/+421
Reviewed-by: Bertram
2011-04-30Fixed target circle installation.Yohann Ferreira1-0/+2
Should resolve: Mana-mantis #341.
2011-04-30Use default values for pickup options.Yohann Ferreira1-3/+3
2011-04-30Merge branch '0.5'Yohann Ferreira28-16942/+18088
Conflicts: CMakeLists.txt po/fi.po po/fr.po src/gui/skilldialog.cpp src/localplayer.cpp src/net/manaserv/generalhandler.cpp src/net/tmwa/buysellhandler.cpp src/net/tmwa/generalhandler.cpp src/net/tmwa/playerhandler.cpp src/net/tmwa/specialhandler.cpp src/winver.h
2011-04-30Added customizable on-hit effects for characters.Yohann Ferreira5-13/+54
This patch adds support for the following two parameters in weapon items: hit-effect-id: Effect triggered on the victim on normal hit. critical-hit-effect-id: Triggered on the victim on critical hit. (Specified in effects.xml) The patch also permits the use of custom defaults set in paths.xml by setting the following keys: (Paths are relative to the 'particles' key value, here.) hitEffectId: defaulted to effect id 26. criticalHitEffectId: defaulted to effect id 28. Resolves: Mana-mantis #337. Reviewed-by: bcs86
2011-04-30Revert "Add option for sorting servers list"Stefan Dombrowski4-102/+0
This reverts commits e35b3bdd0a74464e4b4d3b931ca416f0c7864ba6 and e35b3bdd0a74464e4b4d3b931ca416f0c7864ba6. Sometimes the text fields and the list show different server selected, so you don't see to what server you connect. It is a big security risk sending your user name and password to the wrong server. Reviewed-by: Freeyorp, Bertram
2011-04-30Add missing initialization of variableStefan Dombrowski1-0/+2
2011-04-30Applied the product short name handling for mana.Yohann Ferreira1-14/+16
Already done and reviewed on the tmw branding repo.
2011-04-29Remove default assignment of an attack action to non-weaponsStefan Dombrowski3-12/+3
This avoids log warnings for missing weapon range. Reviewed-by: thorbjorn, bcs86
2011-04-29Making the check for the node name earlier while reading items.xmlStefan Dombrowski1-3/+6
Reviewed-by: Jaxad0127
2011-04-29Made the client load the skills.xml again.Yohann Ferreira4-10/+15
This, instead of the protocol specific filenames that are mana-skills.xml and ea-skills.xml. This is backward compatible as the old skills.xml file was once used before the 0.0.29.1 release which is the last alive from the 0.0.x serie. The skills.xml will have to added to world data to make this working, though. (Done in another patch.)
2011-04-28Fixing endless loop if the xml promises too many imagesStefan Dombrowski1-1/+1
Reviewed-by: Bertram
2011-04-27Avoiding compiler warnings about possible uninitialized variablesStefan Dombrowski1-1/+1
Reviewed-by: Bertram
2011-04-27Fixing crash when selecting a character that has a Dark Talisman equippedStefan Dombrowski3-2/+6
This resolves http://bugs.manasource.org/view.php?id=330 Reviewed-by: Bertram
2011-04-27Removed unused variable 'handledEvents'Thorbjørn Lindeijer1-4/+0
At some point this variable was used to avoid limiting the framerate when user input events were coming in. This is no longer relevant now that we limit the framerate globally using SDL_gfx.
2011-04-26Made the client use a unique kind of movement code.Yohann Ferreira32-769/+741
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-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