summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-10-31Fix memory leak of localplayer classes in the charserverhandlerChuck Miller2-2/+2
They are initialized else where in the code Reviewed-by: Jared Adams
2010-10-22Removed short forms for --localdata-dir and --chat-log-dirThorbjørn Lindeijer1-3/+3
They are more confusing than helpful. Users of these options would likely set up a shortcut or alias already anyway.
2010-10-22Fixed command line parameter '--localdata-dir'A.R. iceslice1-5/+5
Also changed '--chat-log-dir' to use -T as short form, to avoid conflict with -l option used by ManaPlus.
2010-10-19Heavy GUI fixes related to stats for Manaserv.Yohann Ferreira4-40/+144
Also tested to be compatible with tA. Now the Status window is much more nicer when using Manaserv. HP, max hp, ... are now working fine along with corrections made in the attributes.xml file (in next commit.) Reviewed-by: Thorbjorn.
2010-10-17Added death effects to particle engine.Philipp Sehmisch7-30/+124
Every particle can now have a death effect. This is an effect which is created when the particle dies. Which death reasons (timeout, touching floor, touching sky, reaching target or deleted by external call) trigger the effect can also be specified. This is useful for exploding projectiles and many other effects. Reviewed-by: Bertram
2010-10-16Removed a misleading comment (trivial change)Philipp Sehmisch1-4/+0
2010-10-04Remove the AFK response systemChuck Miller4-105/+1
This would be if it was handled by a addon later. Reviewed-By: Freeyorp < Freeyorp101@hotmail.com >
2010-10-04Remove the following systemChuck Miller6-64/+0
The implamentation is poor, and this is something that would be better handled by the addon engine later down the road. Reviewed-By: Freeyorp < Freeyorp101@hotmail.com >
2010-09-27Centralized String to bool conversion into the client.Yohann Ferreira4-15/+21
The former XML::getBoolProperty() had a potential memleak and was unsafe when dealing with unknown values. Reviewed-by: CodyMartin. Resolves: Mana-Mantis #213.
2010-09-25Merge branch '1.0'Thorbjørn Lindeijer46-343/+572
Conflicts: src/actorspritemanager.h src/beingmanager.cpp src/game.cpp src/gui/beingpopup.cpp src/gui/chat.cpp src/gui/chat.h src/gui/inventorywindow.h src/gui/itempopup.cpp src/gui/socialwindow.cpp src/gui/statuswindow.cpp src/gui/widgets/chattab.cpp src/gui/widgets/chattab.h src/net/tmwa/inventoryhandler.cpp src/net/tmwa/partyhandler.cpp src/party.cpp src/sound.cpp src/utils/stringutils.cpp src/utils/stringutils.h
2010-09-18Fixed attribute built-ins display at character's creation.Yohann Ferreira1-10/+21
Reviewed-by: Thorbjorn. Resolves: Mana-Mantis #229.
2010-09-19Fix a typo.Freeyorp1-1/+1
Trivial fix.
2010-09-15Improve speed in configuration get methods.Andrei Karas2-69/+81
Small code style changes Reviewed-by: Bertram. Resolves: Mana-Mantis #227.
2010-09-15Avoid log message for unhandled SMSG_BEING_SPAWNStefan Dombrowski1-0/+8
This log message shows up in mana.log: "Unhandled packet: 7c". Later, the client will have to actually take care of it, though. Reviewed-by: Bertram, jaxad0127.
2010-09-13Fix loading of manaserv's attributes fileJared Adams2-6/+11
Reviewed-by: Bertram
2010-09-13Avoid loading non-existing music and minimapsStefan Dombrowski3-8/+9
Reviewed-by: Thorbjorn
2010-09-12Fixing command line argument for serverStefan Dombrowski1-1/+1
The short option for the server -s did not work. Reviewed-by: Thorbjorn
2010-09-12Deactivating OpenGL by default on WindowsStefan Dombrowski2-3/+13
For Linux OpenGL was already deactivated. For OSX it is still by default switched on. Reviewed-by: Jaxad0127
2010-09-11Fixing misspelling in Setup_Video and removing empty lines from logStefan Dombrowski6-9/+9
Reviewed-by: Jaxad0127
2010-09-11Making sure the inventory window shows the correct number of used slotsStefan Dombrowski1-2/+10
The SlotsBar is updated, if InventoryWindow::slotsChanged() is called. This did not happen when an item disappeared from the inventory, because of using it. Then the item quantity was just set to 0, but the SlotBar was not notified. Reviewed-by: Jaxad0127
2010-09-09Fixing sound effectsStefan Dombrowski1-2/+1
The sound effects did not get played, because the path was wrong. Reviewed-by: Turmfalke
2010-09-08Adding missing updates for buttons in InventoryWindowStefan Dombrowski4-2/+26
Reviewed-by: Thorbjorn
2010-09-08Adding missing update for attributes in StatusWindowStefan Dombrowski3-4/+15
Reviewed-by: Thorbjorn
2010-09-07Fixing logic that decides if ServerDialog shows upStefan Dombrowski1-13/+13
2010-09-07Fixing reconnection after lost connectionStefan Dombrowski1-4/+4
An orderly disconnect of the map-server does work fine. Then in Game::logic() an OkDialog is created, which triggers an event that set the state to STATE_CHOOSE_SERVER. Upon an unexpected disconnect the same OkDialog is created, but the player does not see it. That is because the state gets changed to STATE_ERROR, which creates another OkDialog. It changes the state to STATE_CHOOSE_SERVER as well, but the ServerDialog does not take any input. Reviewed-by: Jaxad0127
2010-09-06Changed CREATE_ATTRIBUTES_EQUAL_TO_ZERO to OUT_OF_RANGEYohann Ferreira2-3/+6
to fit manaserv latest changes. Reviwed-by: Freeyorp, Thorbjorn.
2010-09-05Unloading mNamedItemInfosStefan Dombrowski1-0/+1
How to reproduce the bug: Switch login, then for every item there is this warning in the log file: "ItemDB: Duplicate name of item found". Reviewed-by: thorbjorn
2010-09-05Fixing ghost characters in charselectdialogStefan Dombrowski1-0/+3
How to reproduce the bug: Switch the login to an account with fewer characters. Then those character slots are not empty, but show characters from the previous account. Reviewed-by: thorbjorn
2010-09-05Fixing segmentation fault if server is given on command lineStefan Dombrowski3-7/+19
If server and port was given on the command line, then the server type was unknown. The command line options do work now, but only if standard ports 6901 and 9601 are used. This resolves http://bugs.manasource.org/view.php?id=177 TODO: Query the server about itself and choose the server type based on that. Reviewed-by: Jaxad0127
2010-09-04Fix crash with missing skill iconJared Adams1-2/+8
Reviewed-by: Bertram
2010-09-02Avoiding empty lines in historyStefan Dombrowski1-1/+2
2010-09-02Fixing escape key in charselectdialogStefan Dombrowski1-14/+6
* In charselectdialog the requestFocus is now called later, because before it had no effect, since it was called before the characters were present. Having no char with focus has the side effect that the escape key gets ignored. * Removing the code for variable width of CharacterDisplay, because with recent changes it is executed before the characters are present, therefore it had no effect.
2010-08-31Fixing auto complete and chat historyStefan Dombrowski2-14/+8
Reviewed-by: Jaxad0127
2010-08-30Fixing segmentation fault and making invite to guild in pop-up conditionalStefan Dombrowski2-1/+3
How to reproduce the segmentation fault: Open the emote pop-up. Then press the escape key and switch the character. The emote pop-up is still open and clicking on it makes the game crash. Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-08-29Move handling of autocomplete and input history into TextFieldJared Adams11-221/+318
Reviewed-by: Freeyorp
2010-08-29Changing order in which windows are createdStefan Dombrowski1-2/+2
The mini status window is higher than its visible area. Creating it first makes sure that it does not overlap other windows. For example put the equipment window right below the mini status window. After a restart you cannot use the close button nor drag it, because you are actually clicking on the mini status window. Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-08-28Fixing omitted items in equipment windowStefan Dombrowski1-2/+1
Bug description: If a player has equipable items only, then the equipment backend gets not initialized. As a consequence the equipment window remains empty. This is particularly a problem for new characters. Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-08-27Changing findBeingByName so that it searches case insensitiveStefan Dombrowski4-6/+6
Adding error message when trying to create a party with to long name. Removing non-existing files from C::B project. Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-08-26Fixing segmentation fault when creating a new accountStefan Dombrowski1-0/+2
This resolves http://bugs.manasource.org/view.php?id=171 Reviewed-by: Bertram.
2010-08-26Fixing segmentation fault when creating a new accountStefan Dombrowski1-0/+2
This resolves http://bugs.manasource.org/view.php?id=171 Reviewed-by: Bertram.
2010-08-26Merged testing branch into master.Yohann Ferreira40-553/+779
2010-08-25Adding autoComplete for inviteStefan Dombrowski7-11/+48
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-08-24Giving functionality to invite in socialwindow and allow enter key in textdialogStefan Dombrowski3-8/+13
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-08-23Fixing segmentation fault in partyhandlerStefan Dombrowski1-1/+1
Segmentation fault happens if a player leaves your party while he is out of sight. Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-08-22Fixing segmentation fault when tab gets removedStefan Dombrowski1-17/+3
How to reproduce the bug: Leave a party, while the party tab in the chat window is not selected. Then click with the mouse on the chat window. Signed-off-by: Thorbjørn Lindeijer <thorbjorn@lindeijer.nl>
2010-08-21Fixing segmentation fault and improving gui for partyStefan Dombrowski3-4/+4
* Segmentation fault happened if a player left a party while other party members are offline. * While creating a party the key input is not anymore reused for game play. * The vertical scrollbar is only shown when needed. * The default height was raised, because before much of the functionality was hidden. Signed-off-by: Thorbjørn Lindeijer <thorbjorn@lindeijer.nl>
2010-08-20Show info popups for all playersStefan Dombrowski1-11/+14
Until now popups were only shown for players who are member of a party. This resolves http://bugs.manasource.org/view.php?id=197 Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-08-19Fixing some bugs in NPC-shop guiStefan Dombrowski3-0/+26
* Price and total money is now shown from the beginning in sell dialog. * Item popup is set invisible when mouse has moved away from items. * Item popup gets deleted when shop closes. Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-08-18Fix Theme loadingJared Adams1-0/+4
Reviewed-by: Freeyorp
2010-08-18Fixing overlapping icons in item popupsStefan Dombrowski1-17/+18
The bug could not be reproduced by everyone. Many thanks to Jaxad0127 for testing it on an affected system. This patch resolves http://bugs.manasource.org/view.php?id=191 Signed-off-by: Jared Adams <jaxad0127@gmail.com>