Age | Commit message (Collapse) | Author | Files | Lines |
|
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
|
|
|
|
|
|
|
|
Reviewed-by: Freeyorp
|
|
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
|
|
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
|
|
Also, fixed a compilation warning about passing a NULL value to a boolean
parameter.
The built-ins are kept for now.
Reviewed-by: Jaxad0127.
|
|
Use batch commands and not selecting already selected texture.
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
|
|
Tested-by: BaseBallBoy
|
|
-Double-click items in invetory to equip/unequip
-Double-click items in inventory to use
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
|
|
Signed-off-by: Chuck Miller <shadowmil@gmail.com>
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
Reviewed-by: Bertram
|
|
Reviewed-by: Bertram.
|
|
|
|
Reviewed-by: trapdoor
|
|
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
|
|
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.
|
|
This change allows extending tilesets without causing issues.
Reviewed-by: Freeyorp
|
|
Pre-approved-by: Freeyorp
|
|
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
|
|
Also fix a small compilation error sometimes reported.
Reviewed-by: Chuck Miller
|
|
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
|
|
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
|
|
|
|
Reviewed-by: Thorbjørn Lindeijer
|
|
Reviewed-by: Thorbjørn Lindeijer
|
|
Reviewed-by: Thorbjørn Lindeijer
|
|
Reviewed-by: Thorbjørn Lindeijer
|
|
Reviewed-by: Thorbjørn Lindeijer
|
|
Reviewed-by: Thorbjørn Lindeijer
|
|
Problem reported by Sokon.
Reviewed-by: Ignoring server entry with unknown type:
|
|
This greatly simplifies handling DBs when changing states. No more
need to manage unloading in Client (except when exiting).
Reviewed-by: Thorbjørn Lindeijer
|
|
Reviewed-by: Thorbjørn Lindeijer
|
|
|
|
|
|
Reviewed-by: Bertram
|
|
Reviewed-by: Bertram
Resolve: Manasource Mantis #143
|
|
The tool should be fine now, but some testing on mac would be appreciated.
Mainly removed all the program exits using exception, try catch, etc...
I found them rather irrelevant, creating memleaks, while not returning
information about the error in some case.
Reviewed-by: Jaxad0127
|
|
Reviewed-by: Jaxad0127
|
|
The bug was quite nasty to catch:
The RGBA channels were inversed when writing the image, even if the code parts
taken from the Mana Client were exactly copy/pasted.
This was due to the fact that the client does an Image::load() call after recoloring
which call SDL_displaySurface() that reverse the pixel order.
I reversed then the recolored image pixel output to get back the right color
for the image writer.
Reviewed-by: Jaxad0127
|
|
|