summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-08-11Added textpopup on mouse hovering support to buttons.Yohann Ferreira3-2/+74
I added a use of it to the menu buttons.
2011-08-11Made the delay between to keyboard move calls functional.Yohann Ferreira8-8/+44
It has been fixed and be made adapted to the being movement speed. Now, for instance, the client sends 3x times less move calls to the tA server, and roughly 20x times for the Manaserv's one. Resolves: Mana-Mantis #346.
2011-08-10Client logs in with salted password now.Stefan Beller4-3/+33
The password is salted by a random number sent by server. Reviewed by Bertram.
2011-07-01make update-po + gettext special comment added.Yohann Ferreira8-394/+412
I added the //xgettext:no-c-format comment because gettext was wrongly guessing the no-c type of those strings. Nicely suggested by Byakushin a lot of time ago.
2011-06-24Fixed path finding by putting back the diagonal values in place.Yohann Ferreira1-4/+2
2011-06-24Made use of the attack speed sent by the tA server.Yohann Ferreira1-2/+5
Part of issue #343.
2011-06-24Small French translation update by myself.Yohann Ferreira1-397/+380
2011-06-24make update-poYohann Ferreira7-2563/+3147
2011-06-23German translation update by Ablu.Yohann Ferreira1-338/+363
Resolve: Mana-mantis #368.
2011-06-23Fixed type in the guildhandler message as reported by Der Loisl.Yohann Ferreira1-1/+1
Thanks for the report. :) Resolves: Mana-issue: 367.
2011-06-23Made the being death sequence better handled.Yohann Ferreira10-6/+43
Now the death animation is set to the minimum of 1.5 seconds just as in the older versions, but permit longer sequences as well. I didn't put a maximum hard cap on it as it may be a burden for the maintainers whatever the hard cap would be, and as it isn't vital to set one anyway. Resolves: Mana-Mantis #364. Reviewed-by: bjorn, Jaxad0127.
2011-06-22Made possible to separate the dye colors and channelsYohann Ferreira9-20/+53
for particle effects. It is now possible to write, for instance: <particlefx>my-particle-file.xml|#cbcb78,345678</particlefx> and in my-particle-file.xml: ... <property image="my-image.png|W" /> ... This will permit the use (and reuse) of generic particle files.
2011-06-22Merge branch 'master' of gitorious.org:~bertram/mana/mana-any-square-tile-sizeYohann Ferreira21-131/+220
2011-06-22Applied fixes requested by cody.Yohann Ferreira7-19/+17
- Made the map teleport distance fixed for manaserv. - Small cleanups. The branch is considered reviewed by: Cody. Resolves Mana-Mantis: #74.
2011-06-19Making party invite functionalStefan Dombrowski3-35/+57
Reviewed-by: Bjorn
2011-06-19More C++0x Windows compilation fixes.Philipp Sehmisch3-6/+7
Another case of M_PI being no longer defined in cmath.h _MAX_PATH doesn't work anymore, but there is still MAX_PATH putenv doesn't work anymore, so I replaced it with a function from the WINApi Reviewed-by: Thorbjorn
2011-06-18Fixed compilation problems on windows caused by the switch to C++0x.Philipp Sehmisch2-12/+33
The M_PI constant from <cmath> is not standard anymore, so I replaced it with an own PI constant. WIN32 isn't defined anymore which caused the enet UNIX header to be included, so I had to define it in the project compilation settings. Reviewed-by: Thorbjorn
2011-06-17Removed dehardcoded values from the Map and MapLayer classes.Yohann Ferreira3-47/+57
2011-06-17First pass on removing tile hard coded values.Yohann Ferreira16-79/+160
Every files has been checked against the hard coded 32 values except the map.cpp file. I also added convenience functions in the Game class, centralized the default item icon size, and removed two unused defines in being.cpp.
2011-06-17Made the client officially handle attack ids.Yohann Ferreira5-7/+7
It already was, but now the the api is clear about it. Client part of the mana issue: #363. Reviewed-by: Bjorn.
2011-06-16Remove useless ping packetBen Longbons7-36/+0
The comment in game.cpp about the server waiting for this is a lie. Reviewed-by: Bertram.
2011-06-16Fix the off-by-one error reported in the issue comments.Yohann Ferreira1-2/+1
Trivial fix.
2011-06-16Added image support to the button widgets.Yohann Ferreira2-23/+156
Resolves: Mana-mantis #96. Reviewed-by: Crush. Note that the option to set the image position next to the text is still needed and will be handled in another issue.
2011-06-07Merged the unknown item definition loadingYohann Ferreira2-11/+19
and added the default hit effects on it. Reviewed-by: Jaxad0127.
2011-06-07Added defaults to empty attacks.Yohann Ferreira1-1/+5
Reviewed-by: Jaxad0127.
2011-06-07Added hit effects on victims from monsters attacks.Yohann Ferreira5-9/+36
Resolves: Mana-Mantis #336. Reviewed-by: Jaxad0127.
2011-06-07Fix particle positionsJared Adams5-11/+17
Particles were being drawn with wrong positions due to their Z coordinate being taken into account when sorting actors. Z is now only taken into account when drawing them. Reviewed-by: Bertram
2011-06-05Removing unknown conversion type character 'l' in formatStefan Dombrowski2-2/+2
This is a problem with gcc 4.4.1. Reviewed-by: Bjorn, Jaxad0127
2011-06-04Fixing movement on tAStefan Dombrowski1-2/+2
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2011-06-04Revert "Fix sending coordinates for tmwAthena"Jared Adams1-12/+6
This reverts commit d2c548e091f203196d93c011fc65944fb1cdc986.
2011-06-04Fix sending coordinates for tmwAthenaJared Adams1-6/+12
2011-06-04Fix handling of 16- and 32-bit number in tmwAthena netcodeJared Adams2-8/+29
2011-06-03Remove outdated Unix target from Code::Blocks project fileJared Adams1-32/+0
Use CMake on all Unix-like systems.
2011-06-03Replace SDL_types.h with cstdintJared Adams36-131/+116
This required moving to C++0x, so it does that too, and fixes a few errors with that. Reviewed-by: Thorbjørn Lindeijer <thorbjorn@lindeijer.nl>
2011-06-03Cleanup network code to use unsigned integers of the relevant sizeBen Longbons12-84/+55
2011-06-03Hopefully fixed the particle offset when controlled by beings.Yohann Ferreira1-1/+8
Reviewed-by: Jaxad0127. Resolves issue: #345.
2011-06-02Fixed missing action event when clicking on a ListBox itemThorbjørn Lindeijer1-0/+5
This event got lost in commit c6a081ba610c5f5f298bc80c2ef28facb41dffae and made it no longer possible to change the client resolution except by pressing Enter or Space after selecting an item.
2011-06-02Arbitrary code cleanupsThorbjørn Lindeijer24-95/+88
Just some stuff that piles up while "looking" at the code, which eventually gets annoying to ignore while staging real changes. * Replaced a few NULL occurrences with 0 * Rely on default parameter for std::vector::resize. * Replaced a few "" with std::string() * Prefer .empty() to == "" * Removed a few comparisons with NULL * Don't check pointers before deleting them * Removed a bunch of redundant semicolons * Made some global variables static (local to their compilation unit) * Prefer prefix ++/-- operators to postfix versions when possible * Corrected location of a comment
2011-06-02Some work on the manaserv equipment backendThorbjørn Lindeijer3-42/+171
Currently the same equipment window is used as for tmwAthena so that at least something is visible. This means the location of equipped items is currently illogical. It is now possible to equip and unequip items. Mantis-issue: 164 Reviewed-by: Stefan Dombrowski
2011-05-31Updating ENet to version 1.3.2Stefan Dombrowski6-51/+270
Source: http://enet.bespin.org/download/enet-1.3.2.tar.gz
2011-05-30Fix changing maps with persistant particle effects activeJared Adams1-1/+1
2011-05-30Routing party invite through the map serverStefan Dombrowski2-5/+17
The player sends party invites to the game server. If the invitee is within the visual range of the inviter, then the game server forwards the invite to the chat server. Reviewed-by: Bjorn, Jaxad0127
2011-05-30Remove some uneeded offsettingJared Adams6-39/+27
Also fix position of being names. Reviewed-by: Bertram
2011-05-30Fix monsters name display.Yohann Ferreira1-1/+2
The monster offset wasn't counted anymore so I had to readd it in the display coordinates. Part of issue: #345.
2011-05-28Fixing setting of being positionStefan Dombrowski1-2/+3
2011-05-26tmwAthena supports 9 characters per accountJared Adams2-8/+4
2011-05-26Fix compilation on gcc 4.6.1.Yohann Ferreira2-2/+2
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