summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
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>
2010-08-17Add missing include and add enet files to codeblocksStefan Dombrowski1-5/+3
The missing include generated compiler error on windows. Because of compiler warnings generated by enet, warnings are switched of for: * unknown #pragmas, which are for MSVC compiler * enumeration with missing case Reviewed-by: Bertram
2010-08-15Add included enet to CMakeBernd Wachter1-3/+9
2010-08-13Add code to change gameservers to manaserv netcodeJared Adams2-6/+21
Reviewed-by: Freeyorp
2010-08-13Simplify handling of compressed filesJared Adams8-174/+283
ResourceManager will now check for ".gz" and act appropriately (unless told not to). Compression handling functions are now in new utils/zlib files, along with a function to load a file from drive, uncompressing it if it ends in ".gz". Reviewed-by: Freeyorp
2010-08-05Add better XML error logging and do some related cleanupJared Adams3-34/+54
Error details from libxml2 are no longer ignored and are properly logged now. XML initialization code is now in the XML namespace. The XML::Document constructor that took a data pointer was removed because it wasn't being used and it would make the new logging less useful (no filename). Signed-off-by: Chuck Miller
2010-08-04Changed the stats.xml to attributes.xml according to the server commit.Yohann Ferreira3-7/+12
Also, fixed a compilation warning about passing a NULL value to a boolean parameter. The built-ins are kept for now. Reviewed-by: Jaxad0127.
2010-08-03Improve OpenGL speed.Andrei Karas3-110/+422
Use batch commands and not selecting already selected texture. Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-08-03Fix enet version checkJared Adams2-0/+8
Tested-by: BaseBallBoy
2010-08-03Added double click to equip unequip and use itemsdweems1-4/+36
-Double-click items in invetory to equip/unequip -Double-click items in inventory to use Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-08-01Fix chat spoofing. Remove colors from nicks in public chat.Andrei Karas1-10/+29
Signed-off-by: Chuck Miller <shadowmil@gmail.com>
2010-07-23Merge branch '1.0' of gitorious.org:mana/mana into 1.0David Athay1-2/+2
2010-07-23Fixing compatibility with cmake 2.6.0Renato Alves1-2/+2
The syntax IF ((condition) OR (condition)) is not accepted by cmake prior to 2.6.4. The syntax IF (NOT (condition OR condition)) is also not accepted. The patch should address this without affecting newer versions. A newline character was also automatically added to the end of the file.
2010-07-20Merge branch '1.0' of gitorious.org:mana/mana into 1.0David Athay1-0/+6
2010-07-19Finished to add the xmessage support thanks to Kook.kook1-1/+3
Reviewed-by: Bertram
2010-07-19added xmessage for linux case of errorkoom1-0/+4
Reviewed-by: Bertram.
2010-07-17Fixed config directory, updated project file.David Athay1-2/+2
2010-07-17Fix handing configuration files that don't exist yetJared Adams1-5/+5
Reviewed-by: trapdoor
2010-07-16Fix memory corruption in chat on exit.Andrei Karas3-6/+24
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-07-11Made the different hard-coded paths and files be now taken from theYohann Ferreira29-72/+176
data/paths.xml configuration file. Also added default gui theme path in branding and default wallpaper path and file searched respectively in the branding and paths.xml files. Hard-coded values are still used as fallbacks. Resolves: Manasource Mantis #148. Reviewed-by: jaxad0127.
2010-07-09Fix tileset gid handling to better match TiledJared Adams1-16/+6
This change allows extending tilesets without causing issues. Reviewed-by: Freeyorp
2010-06-24Fix a logic error in tmwAthena's PartyHandlerJared Adams1-1/+1
Pre-approved-by: Freeyorp
2010-06-13Fix memory leaks in different windows.Andrei Karas3-0/+8
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-06-13Handle char-server login errors betterJared Adams3-6/+6
Also fix a small compilation error sometimes reported. Reviewed-by: Chuck Miller
2010-06-12Add error.xml to client repository and move error.pngJared Adams1-0/+2
There is no reason why error.xml shouldn't be in this repository, as it is used when no sprite data is present and is a very small file anyways. Servers can still replace these if they want to. error.png is only used in sprites, so should be in the new sprites folder too. Reviewed-by: 4144
2010-06-12Fix memory leak in socialwindow.cpp.Andrei Karas1-1/+17
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-06-10Fix a bug with empty update hostsJared Adams1-0/+4
2010-06-06Softcode the stat for character creation for manaservJared Adams4-18/+27
Reviewed-by: Thorbjørn Lindeijer
2010-06-06Fix memory leak in setup_playersAndrei Karas1-9/+7
Reviewed-by: Thorbjørn Lindeijer
2010-06-06Fix memory leak in statuswindowAndrei Karas1-0/+7
Reviewed-by: Thorbjørn Lindeijer
2010-06-06Fix memory leak in playerrelationsAndrei Karas1-1/+10
Reviewed-by: Thorbjørn Lindeijer
2010-06-05Fix memory leak in minimapAndrei Karas3-9/+4
Reviewed-by: Thorbjørn Lindeijer
2010-06-03Cleanup some logging statementsJared Adams2-9/+3
Reviewed-by: Thorbjørn Lindeijer
2010-06-03Ignore unknown server types in the server listJared Adams1-0/+9
Problem reported by Sokon. Reviewed-by: Ignoring server entry with unknown type:
2010-06-03Unload loaded DBs before loading them againJared Adams8-13/+24
This greatly simplifies handling DBs when changing states. No more need to manage unloading in Client (except when exiting). Reviewed-by: Thorbjørn Lindeijer
2010-06-03Fix an unitialized variable problem in ThemeJared Adams1-0/+1
Reviewed-by: Thorbjørn Lindeijer
2010-05-28Fix memory leak in last patch.Andrei Karas1-0/+1
Reviewed-by: Bertram
2010-05-27Fix drawing incorrect utf8 strings issue.Andrei Karas3-3/+21
Reviewed-by: Bertram Resolve: Manasource Mantis #143
2010-05-22Fix handling of tmwAthena registration disabled bitJared Adams3-8/+9
2010-05-21Fix a crash dealing with rescaled overlays under SDLJared Adams1-0/+1
Reviewed-by: Philipp Sehmisch
2010-05-21Fix some issues found by CppcheckJared Adams5-14/+22
2010-05-21Merge protocol from manaserv about thing types.Yohann Ferreira2-8/+15
Reviewed-by: Jaxad0127 (A few days ago...)
2010-05-13Draw item image in item popups.Andrei Karas4-11/+55
Now draw image only in chat item popup. Reviewed-by: Bertram
2010-05-06Fix reading arrays at index -1.Andrei Karas2-3/+12
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2010-05-06Remove hardcoded standard server urlsseeseekey1-5/+3
Signed-off-by: Thorbjørn Lindeijer <thorbjorn@lindeijer.nl>
2010-05-06Make the logic for collision tiles more strictThorbjørn Lindeijer1-1/+1
Only recognize the collision tile as colliding, since having everything except the empty non-collision tile collide is confusing. Should also be changed on the server and in the tmwAthena exporter of Tiled. Reviewed-by: Dennis Friis
2010-05-06Fixed some copy/pasted documentationThorbjørn Lindeijer1-3/+3
2010-05-05Fix showing the type of the default serverJared Adams2-1/+3
Reviewed-by: Thorbjørn Lindeijer
2010-05-05Allow start game if update server is down.Andrei Karas1-9/+23
Small code style changes. Signed-off-by: Jared Adams <jaxad0127@gmail.com>