summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2011-02-20Renamed default branding package from mana to manasource.Yohann Ferreira1-5/+5
Resolves: Mana-mantis #236. Reviewed-by: Mpa4Hu.
2011-02-19Reorder store option to the top, so it is more useful.Ben Longbons1-5/+5
2011-02-19Showing amount of picked up items in particle notificationStefan Dombrowski1-1/+5
2011-02-19Minor code formatting and fixed a comment.Yohann Ferreira1-2/+4
Trivial fix.
2011-02-17Specific messages for each pickup failure reason.Ben Longbons3-9/+39
Reviewed-by: Jaxad0127
2011-02-17Add particle notification for "Unable to pick up item."Ben Longbons1-0/+6
2011-02-16Fixing query command handlingStefan Dombrowski1-1/+15
Tab completion puts quotes around nicks. The query command now removes the quotes. Also avoiding the opening of a tab if no nick was given. Reviewed-by: Freeyorp
2011-02-10Add support for CSV map dataJared Adams1-1/+34
Reviewed-by: Freeyorp
2011-02-10Add support for zlib map layer compression.Andrei Karas1-2/+2
Reviewed-by: Bertram
2011-02-01Make it clear that our current sha256 code is GPLv2 onlyThorbjørn Lindeijer1-3/+2
Due to taking the version from InspIRCd, our version of the file is stuck on GPLv2 and can't legally be released as "GPLv2 or later". Fix the license header accordingly. We should probably consider replacing this code once again. Reviewed-by: Patrick Matthäi
2011-01-28Fix Windows build of the 0.5 version.Yohann Ferreira1-2/+2
The rc and specialfolders files where included with the manaserv specific files.
2011-01-27Made the windows app able to load .ico files at runtime.Yohann Ferreira1-5/+17
Now the icon extension is computed against the os. This means that the 'icons/mana' appIcon branding parameter will now load icons/mana.png files for unices and mac, and icons/mana.ico for Windows. Reviewed-by: Trapdoor. Resolves: Mana-Mantis: #135.
2011-01-26Prune the enet and manaserv files dependency of the 0.5 binary.Yohann Ferreira2-6/+18
Only using cmake conditions and an ifdef. This will greatly help packaging the mana 0.5 version on other distros.
2011-01-22Fixing pick-up with joystickStefan Dombrowski1-3/+3
The pick-up with the joystick happend on the wrong tile. Bug was reported by Feufochmar on IRC.
2011-01-19Fix the wallpapers loading broken logic.Yohann Ferreira1-5/+3
Trivial.
2011-01-13Fix a segfault when attempting to buy free items.Yohann Ferreira1-5/+15
Resolves: Mana-mantis #277 Trivial fix.
2011-01-02Fixed possible crash when receiving player IPThorbjørn Lindeijer1-3/+6
Could happen sometimes for GMs when the message is received either before the player instance is created or after it was destroyed. Also changed to a dynamic_cast, putting a little less trust in the server. Reviewed-by: Freeyorp
2011-01-02Fixing compiler warningsStefan Dombrowski1-2/+2
The compiler gave two times the warning: comparison between signed and unsigned integer expressions. Reviewed-by: thorbjorn
2010-12-26Fix crash with corrupted links in chat.Andrei Karas1-2/+2
Reviewed-by: Kage
2010-12-22Remove ambientoverlay class and filesChuck Miller3-166/+0
It was renamed and duplicated to "ambientlayer"
2010-12-06Removed deprecated autotools support.Yohann Ferreira1-513/+0
2010-11-29Allow enter OK button key in input field.Andrei Karas3-1/+9
By default OK shortcut is space key. Reviewed-by: Jaxad0127, Kage
2010-10-31Using tile coordinates for pick-upStefan Dombrowski2-9/+4
Since the tile coordinates are already avaible the calculation is not needed. Furthermore this avoids the correction of the tile, which was needed because the pixel coordinates are meant as coordinates for drawing the being. This resolves http://bugs.manasource.org/view.php?id=249 Reviewed-by: Thorbjorn
2010-10-22Changed 'Low CPU' options and related gui widgets name to 'Disable ↵Yohann Ferreira3-32/+36
transparency'. That name is more explicit about what it actually does. Reviewed-by: CodyMartin.
2010-10-22Turned the OpenGL and disable transparency options as static members.Yohann Ferreira7-46/+66
- Now OpenGL and the transparency disabling are set at startup and not read again for displaying graphics, preventing graphic errors before startup. - We also agreed long time ago that SDL specific functions should have a SDL prefix. The header has been rearranged a bit to do so. - Also fixed a possible discrepancy in the hasAlphaChannel() function. Reviewed-by: CodyMartin. Resolves: Mana-Mantis: #260.
2010-10-19Fix crash in drawing incorrect strings.Andrei Karas1-11/+11
Reviewed-by: cody
2010-10-18Add portable support for windows version.Andrei Karas2-2/+60
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 Dombrowski3-26/+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-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 Dombrowski4-2/+6
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-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-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