summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2011-04-16Bumped version to 0.5.2 and updated the NEWS filev0.5.2Thorbjørn Lindeijer2-3/+3
Reviewed-by: Stefan Dombrowski Reviewed-by: Yohann Ferreira
2011-04-16Fixing potential buffer overflowStefan Dombrowski1-2/+3
Reviewed-by: Jaxad0127
2011-04-15Fix mkdir_r to not assume existence of PATH_MAXBen Longbons1-8/+4
Required to build on HURD, but good practice anyway. Reviewed-by: Thorbjørn Lindeijer
2011-04-14Add missing auth failure reasonsBen Longbons1-0/+9
2011-04-12Limit the number of pick-up packets to avoid kick from the serverStefan Dombrowski1-0/+5
Reviewd-by: Thorbjorn
2011-04-11Fixing missing call to updateButtonsAndLabels() in NPC buy dialogStefan Dombrowski1-5/+1
Reviewed-by: Thorbjorn
2011-04-11Removing annoying NPC trade messages from chatStefan Dombrowski2-15/+15
The thanks messages got removed, because they are useless and when selling many items they completely trashed the chat. The pick-up information for money now respects the configuration. Reviewed-by: thorbjorn
2011-03-13Bumped version to 0.5.1 and updated the NEWS filev0.5.1Thorbjørn Lindeijer2-3/+3
2011-03-05Fixing removal of custom serverStefan Dombrowski1-1/+1
The server got selected from a list that still contained the unwanted server.
2011-02-21Renamed local data directory back to just "mana"Thorbjørn Lindeijer1-7/+8
This name represents the name of the client software, not the branding it received. Cleaned up the rest of the code a bit. Reviewed-by: Jared Adams
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