summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
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.