summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-10-18Add portable support for windows version.Andrei Karas4-2/+72
Add portable option to windows installer. Reviewed-by: Thorbjorn
2010-10-18Fixing saving of lowcpu value in configStefan Dombrowski1-7/+3
Trivial fix.
2010-10-17Making the setup for lowcpu robustStefan Dombrowski1-4/+15
Reviewed-by: Bertram, Thorbjorn
2010-10-17Changing client version to 0.5Stefan Dombrowski4-29/+3
Removing mana-ea.rc, because it was the same as mana.rc. Reviewed-by: Aard, Bertram
2010-10-17Removed unnecessary condition in net::readCoordinates.Yohann Ferreira1-6/+2
It is used only by tmwa handlers. Trivial fix.
2010-10-17Fixing commandline option for local data directoryStefan Dombrowski1-1/+1
2010-10-17Fixed wrong alpha calculation of text particlesPhilipp Sehmisch4-18/+18
This resolves: http://bugs.manasource.org/view.php?id=51 Reviewed-by: Bertram
2010-10-17Added Low CPU Mode toggle in video setup. Defaults to On.madcamel@gmail.com5-13/+74
This disables the Image::setAlpha() function, which uses 60% of the client's CPU cycles. When enabled, visual quality is slightly decreased, especially with the particle system. Toggling this setting On from an Off state requires a client restart or the graphics look quite funny. Bertram's addition: - Renamed 'Low CPU' to 'Disable transparency (Low CPU)' in the gui for better understanding. - Removed the sprite display with 30% opacity when disabling transparency since it made monsters and drops be drawn above all layers at full opacity. - Made the OpenGL mode disable the 'low CPU mode'. - Fixed the GUI logic as much as possible. Please note that the GUI opacity slider stays enabled when transparency is disabled even if told to be disabled in that case. Reviewed-by: CodyMartin, 4144, MadCamel.
2010-10-17Fixing missing translation of direction for tA-serverStefan Dombrowski1-0/+7
Reviewed-by: Bertram
2010-10-17Add new three colors.Andrei Karas3-4/+34
Add colors: Local Player Hits Monster Local Player Critical Hit Local Player Miss Reviewed-by: cody
2010-10-16Return to color config options prefix Color.Andrei Karas1-15/+15
Reviewed-by: cody
2010-10-16Implement opacity cache for SDL surfaces.Andrei Karas6-10/+135
Enabled by default. Can be disabled in configuration option "alphaCache" if set it to 0. Reviewed-by: Bertram
2010-10-16Fixing wrong SpriteDirection of attacking monstersStefan Dombrowski1-10/+8
Reviewed-by: Bertram
2010-10-16Changed client version to 0.5.0.Yohann Ferreira1-1/+1
Trivial fix.
2010-10-14Disable showing of IP addresses while taking a screenshotMadCamel1-0/+15
This could potentially leak confidential information. Reviewed-by: cody
2010-10-13Adding theme colors for party tabsStefan Dombrowski5-2/+8
Following Rotonen's advise to "make anything and everything you can think of recolorable", a theme can now define colors for PARTY_CHAT_TAB and PARTY_SOCIAL_TAB. This was badly needed, because the requirements for a color of a chat tab and of a player name are quite different. TODO: When guild support gets enabled, then have a look at the colors for guilds. Reviewed-by: 4144
2010-10-13Fixing switch loginStefan Dombrowski1-8/+6
Switch login gets you stuck at the ConnectionDialog. That happens because logout is not implemented. TODO: Implementing proper logout. This resolves http://bugs.manasource.org/view.php?id=225
2010-10-13Hiding Manaserv from the player on TMW-Athena only releaseStefan Dombrowski3-0/+58
With the preprocessor definition MANASERV_SUPPORT the manaserv support is avaible as before. * Removing server type from server dialog GUI. * Ignoring Manaserv entries in serverlist.xml. * In order not to lose Manaserv CustomServers from the config.xml, they get stored in mManaservServers. * The entries in mManaservServers are saved in config.xml again. But they are now behind the TMWA-Athena servers. * For custom server the GUI sets 6901 as default value for port. * If the server type is unknown, then we use TMW-Athena. This is relevant, if the client is started with command line options for server. Reviewed-by: Bertram
2010-10-13Updating F1-helpStefan Dombrowski11-237/+135
Based on Bertram's start some more updates to the F1-help. The team page was removed, because the last update was done in March 2006 and no one volunteered to write a new one. TODO: Improvements can be done during the beta test. A team list can be added if someone wants to do it. This resolves http://bugs.manasource.org/view.php?id=210
2010-10-12Little setup tweaksStefan Dombrowski2-4/+4
* Shortening option names that got cropped in video setup * Moving options to the left hand side in player setup, because they looked like they belong to the "when ignoring" part. Reviewed-by: Bertram
2010-10-11Implementing show IP for game mastersStefan Dombrowski10-7/+85
As an upcoming feature the TMW-Athena server sends IP addresses or IP hashes to game masters. The current client freezes if it receives such a packet, therefor the game masters need to use a new client before the server can use it. Normal players are not affected, because they do not get this packet. Showing the IP is optional and can be enable with the chat command "/showip 1". The IP is then shown behind the players name. Reviewed-by: Bertram
2010-10-10Adding Okdialog if registration is disabledStefan Dombrowski1-6/+11
Reviewed-by: Jaxad0127
2010-10-10Fixing unusable config.xmlStefan Dombrowski1-12/+4
If config variable screenshotDirectory has national symbols in it, the client could not read cofig.xml, and always used default settings. In order to get ready for a client release, now the config.xml does not save the screenshot folder. The --screenshot-dir commandline option is working as before, the value is just not permanent anymore. This makes actually sense, since the options for update folder and config folder are not permanent either. This resolves http://bugs.manasource.org/view.php?id=112 Reviewed-by: Jaxad0127
2010-10-08Remove the following systemStefan Dombrowski6-65/+0
Removed due to unresolved social issues. In master it had been already removed by Kage in commit 89f192b9039f9c000515f0a12f4bb9fb55c4691c.
2010-10-08Removing non-existing preprocessor definitions from C::B projectStefan Dombrowski1-2/+1
Clean up for upcoming release. Furthermore switching debugger symbols on. Trivial fix.
2010-10-08Fixing pick-upStefan Dombrowski1-2/+2
If the player wanted to pick up an item one tile up, then he moved to that tile before he picked it up. The same fix is already used in Game::handleInput() for KEY_PICKUP. TODO: Understand why the position is wrong. As a reminder I made a mantis ticket: http://bugs.manasource.org/view.php?id=249
2010-10-07Disable guilds netcode.Andrei Karas1-0/+2
Reviewed-by: Jaxad0127
2010-10-06Fixing movement with the mouseStefan Dombrowski1-4/+2
When a player clicked on a tile in order to go to it, then he went to the wrong tile. Trivial fix.
2010-10-05Send the server changed player direction if it changes during attackStefan Dombrowski1-4/+7
Reviewed-by: Jaxad0127
2010-10-05Fixing segmentation fault in social windowStefan Dombrowski1-2/+2
How to reproduce the bug: * Press button Leave in social window. * In the confirm dialog press No. * Then switching character makes the client crash. Trivial fix.
2010-10-03Fixing segmentation fault and updating the cursor type after mouse pressStefan Dombrowski2-0/+18
Until now the being was only set after a mouse move. If the mouse was pressed after the being was out of sight or dead, then a segmentation fault happened. Furthermore, pressing the mouse now updates the cursor type and sets the being popup invisible. Reviewed-by: Thorbjorn
2010-10-02Avoiding the creation of a party or guild without a nameStefan Dombrowski1-10/+12
If no name is given, then the player obviously didn't want to create it. Now the empty input is handled just the same way as in the invite dialog. Trivial fix.
2010-10-01Fix possible invisible chat.Andrei Karas1-5/+2
Reviewed-by: Thorbjorn
2010-09-30Setting alpha for items in ItemShortcutContainerStefan Dombrowski1-0/+1
Reviewed-by: Thorbjorn
2010-09-29Improve chat speed.Andrei Karas3-193/+128
Parse chat lines in BrowserBox once after changes. Reviewed-by: Thorbjorn
2010-09-29Fixing segfault when switching serverStefan Dombrowski1-0/+3
Reviewed-by: Thorbjorn
2010-09-28Removing click-countStefan Dombrowski4-59/+4
Click-count is not double-click, because it does neither check if the clicks happen on the same object nor if the clicks happen in rapid succession. * In the server dialog it can happen that you can get connected by just selecting a server. * In the social window it can happen that you open a chat by just clicking once on a name. * In the inventory window you better only select useable items if you want to use them, because they might get used by just selecting them. * And in case you actually want to use double-click, it often does not work, because click-count is already larger than 2. This reverts the commits: 8b4d9f9b5eaf175baf0c4209c312133bb457742c b1aef06ac85b1ed7db7725e50b2dbfcdfd1a0925 4c27bfbf6ca84546e5b914b7909df14dd2966081 Reviewed-by: Thorbjorn
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-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-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