summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-05-26Added effects support in monsters attacks.Yohann Ferreira7-54/+57
This is provided through the use of the 'effect-id' property of the <attack> tag. Note that the 'particle-effect' support has been removed as it was redundant, but can be kept for backward compatibility. Now, on both Manaserv and tA, only the attack id 1 is supported, i.e: <monster> ... <attack id="1" effect-id="11" action="attack" /> </monster> More to come with re-enabling of the attack type support. I had to fix a crash in the Being::takeDamage() function when there were no attacker (in Manaserv), and add rotation support to the effectManager to achieve this. Reviwed-by: Jaxad0127.
2011-05-25Added more double clickable actionsAngelo Castellani8-6/+69
- double clicking a do_choice item submits it - double clicking the npc chat will hit 'next' - double click to buy/sell a single item - clicking on no item in the inventory now deselects - double click to use/activate items in inventory
2011-05-25Refining switches in the debug viewStefan Dombrowski5-124/+169
Reviewed-by: Bjorn
2011-05-25Removing setting of client data path in codeblocksStefan Dombrowski1-1/+0
2011-05-24Used spacer to pretty up setupAngelo Castellani2-5/+26
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2011-05-24Extended Guichan with an empty spacer widgetAngelo Castellani4-0/+85
Useful for making nicer layouts Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2011-05-24Widened the setup window by 5pxAngelo Castellani10-11/+11
To make room for the interface tab Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2011-05-24Broke the setup tab "Video" in twoAngelo Castellani8-237/+390
Added an 'Interface' tab for the items that seemed to fit better there than in 'Video'. Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2011-05-24Fixed mouse cursor offsetsAngelo Castellani1-0/+0
The cursor hopped around too much when mousing over stuff. Cursors were off center by + 5x3 pixels. Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2011-05-22Install the monospace font, so mana can be started from outside the git cloneBen Longbons1-0/+1
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2011-05-23Fixed listbox selection issueAngelo Castellani2-1/+16
Clicking below the last item of a listbox would select the last item. Made it do nothing instead.
2011-05-20Set minimum size for Status and Skills windowsAngelo Castellani2-1/+5
2011-05-20Fixed 'InventoyListener' typoAngelo Castellani3-6/+6
2011-05-20Removing KEY_PATHFIND and moving its function into the debug windowStefan Dombrowski7-98/+154
* The f-key is no longer used. That means new players are less likely to get into trouble by accidentally activating the debug mode. * The debug mode can now be activated in a new tab in the debug window. * The main advantage of using a gui is its extensibility. At the moment the debug mode does show too much information at once. In a follow-up patch the user should get more choices. Reviewed-by: Bjorn
2011-05-18Fix sprite cachingJared Adams1-29/+21
2011-05-18Fix detection of ActorSprites under OpenGLJared Adams1-0/+3
2011-05-17Fix sprite buffering size issuesJared Adams8-101/+140
Reviewed-by: Yohann Ferreira
2011-05-15Starting to fix party inviteStefan Dombrowski7-19/+25
2011-05-14Updating fonts to DejaVu 2.33 and adding licenseStefan Dombrowski3-0/+99
Source: http://dejavu-fonts.org/wiki/Main_Page Reviewed-by: Thorbjørn Lindeijer
2011-05-13Made the setup keyboard tab prettier.Angelo Castellani7-7/+54
Incidentally I added support for a monospaced font (which may come in handy).
2011-05-09Remove or comment duplicate tmwA packets, and fix a typoBen Longbons2-8/+6
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2011-05-04Avoid mixing the system login music with the existing song in TMW.Yohann Ferreira2-1/+2
Reviewed-by: CodyMartin.
2011-05-04Made the client show much more path debug information.Yohann Ferreira1-31/+68
First of all, the mouse path is only computed when necessary, This will save a bit of CPU when in debug view. Secondly, every being paths, collision radius, and position are graphically represented now. This will help code and content developers when checking their sprite offsets. Reviewed-by: CodyMartin.
2011-05-04Added the Magick - Real.ogg file as official Mana login music.Yohann Ferreira1-0/+0
Let's not remove it from tmw-music before the 0.6 release becomes the official one, to not despise older clients.
2011-05-02Remove an unused variable in packet handling.Jared Adams1-2/+2
Trivial change, no review needed.
2011-05-01Fixing checking of being positions send by the serverStefan Dombrowski2-7/+7
Reviewed-by: thorbjorn
2011-05-01Handle the old <being-effects> tag until the 0.5 series has died.Yohann Ferreira1-2/+6
2011-05-01Look for <effects> tags in the effects.xml file.Yohann Ferreira2-2/+2
This, instead, of <being-effects>, which is irrelevant, as effects aren't only used for beings.
2011-05-01Checking being positions send by the serverStefan Dombrowski3-0/+36
Reviewed-by: Bertram
2011-05-01Fixed my fix on the get_elapsed_time function.Yohann Ferreira1-3/+1
My apologies.
2011-04-30Fixed documentation about beings attack speed unit.Yohann Ferreira1-2/+3
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.