From 52f78717dae3cb02eb1539841dd2a6bd351f74c1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 20 Apr 2013 23:00:42 +0300 Subject: add support for GIMP palettes for dye colors. Palette file must be named palette.gpl and contain colors with correct names. To use it in dye string can be used character @. Example: in all dye string it not tested. --- src/client.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/client.cpp') diff --git a/src/client.cpp b/src/client.cpp index 265054e18..45d8ff2e3 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -82,6 +82,7 @@ #include "resources/emotedb.h" #include "resources/imagehelper.h" #include "resources/openglimagehelper.h" +#include "resources/palettedb.h" #include "resources/sdlimagehelper.h" #include "resources/sounddb.h" #include "resources/itemdb.h" @@ -756,6 +757,7 @@ void Client::gameClear() ItemDB::unload(); MonsterDB::unload(); NPCDB::unload(); + PaletteDB::unload(); PETDB::unload(); StatusEffect::unload(); @@ -1382,6 +1384,7 @@ int Client::gameExec() // Load XML databases CharDB::load(); + PaletteDB::load(); ColorDB::load(); SoundDB::load(); MapDB::load(); -- cgit v1.2.3-60-g2f50