summaryrefslogtreecommitdiff
path: root/src/resources/dye.h
AgeCommit message (Collapse)AuthorFilesLines
2014-02-21fix signed shifts.Andrei Karas1-1/+1
2014-01-01update copyright year in all sources.Andrei Karas1-1/+1
2013-12-17add restrict keyword into dye class.Andrei Karas1-8/+10
2013-09-28add const for methods return values.Andrei Karas1-2/+2
2013-08-19improve a bit normal dye code.Andrei Karas1-5/+4
move dye code to methods.
2013-08-18improve OpenGL A,S dye speed.Andrei Karas1-2/+2
2013-08-18improve software A,S dye speed.Andrei Karas1-2/+2
2013-05-28fix guard header part3.Andrei Karas1-3/+3
2013-04-20add support for GIMP palettes for dye colors.Andrei Karas1-6/+3
Palette file must be named palette.gpl and contain colors with correct names. To use it in dye string can be used character @. Example: <color id="2" name="black" value="@Untitled7,Untitled8,Untitled6"/> in all dye string it not tested.
2013-04-14another fixes from cpplint.Andrei Karas1-2/+0
2013-04-07fix cide style.Andrei Karas1-1/+1
Add explicit keyword to some constructors.
2013-01-16update copyrights year.Andrei Karas1-1/+1
2012-10-30Add unused warnings to other files.Andrei Karas1-4/+4
2012-10-16Fix some signed/unsigned chars issues.Andrei Karas1-1/+1
2012-10-15Fix compilation warnings without C++11 support.Andrei Karas1-2/+2
2012-10-10Delete copy constructor from other classes.Andrei Karas1-0/+4
2012-09-24Fix compilation errors.Andrei Karas1-0/+2
2012-09-23Add missing final keywords to classes.Andrei Karas1-3/+2
2012-09-02Add const to more classes.Andrei Karas1-7/+7
2012-07-16Add new dye type A.Andrei Karas1-17/+34
Same as type S for colors + alpha channel. Example: equipment/feet/boots.png|A:#3c3c3cff,40332d40,4d4d4dff,5e4a3d40 here colors in format RRGGBBAA.
2012-07-16Simplify dye palette parsing.Andrei Karas1-0/+2
2012-06-17Replace SDL int types to C++ types.Andrei Karas1-2/+2
2012-06-07More improve load image speed in opengl mode.Andrei Karas1-0/+2
2012-06-03Improve dye speed.Andrei Karas1-1/+15
2012-03-09Add new dye mode S.Andrei Karas1-5/+9
It simple colors replace dye method. Dye palate should be in format: source1,destination1,source2,destination2 etc
2012-01-05Update copyrights year.Andrei Karas1-1/+1
2011-02-19Update copyrights.Andrei Karas1-2/+3
2011-01-02Initial commit.Andrei Karas1-0/+107
This code based on mana client http://www.gitorious.org/mana/mana and my private repository.