summaryrefslogtreecommitdiff
path: root/src/resources/dye.cpp
AgeCommit message (Collapse)AuthorFilesLines
2015-01-01Update copyrights year.Andrei Karas1-1/+1
2014-07-13Fix code style.Andrei Karas1-22/+26
2014-05-19fix code style.Andrei Karas1-3/+0
2014-05-18Move dyepalatte into separate file.Andrei Karas1-366/+2
2014-05-08Fix code style in resources.Andrei Karas1-9/+21
2014-04-30Fix code style in resources.Andrei Karas1-4/+4
2014-03-28simplify variables cleanup.Andrei Karas1-4/+3
2014-02-21fix signed shifts.Andrei Karas1-1/+1
2014-01-01update copyright year in all sources.Andrei Karas1-1/+1
2013-12-18fix code style.Andrei Karas1-1/+2
2013-12-17add restrict keyword into dye class.Andrei Karas1-7/+11
2013-10-19remove unused variable from dyeAndrei Karas1-2/+0
2013-10-08remove unused system headers.Andrei Karas1-1/+1
also remplace legacy headers.
2013-09-30move db files into db directory.Andrei Karas1-1/+1
2013-08-24fix SDL includes.Andrei Karas1-1/+1
2013-08-20fix normal dye in big endian systems.Andrei Karas1-3/+33
2013-08-19improve a bit normal dye code.Andrei Karas1-23/+76
move dye code to methods.
2013-08-19fix dye for big endian system again.Andrei Karas1-10/+26
2013-08-18fix A and S dye for big endian systems.Andrei Karas1-3/+27
2013-08-18improve OpenGL A,S dye speed.Andrei Karas1-33/+63
2013-08-18improve software A,S dye speed.Andrei Karas1-33/+63
2013-07-25Improve a bit dye code formatting.Andrei Karas1-5/+5
2013-06-11fix channel search order in S and A dye.Andrei Karas1-8/+8
2013-04-20add support for GIMP palettes for dye colors.Andrei Karas1-44/+56
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-20fix style in resources directory.Andrei Karas1-1/+3
2013-04-15improve dye file.Andrei Karas1-4/+5
2013-04-14some more style fixes from cpplint.Andrei Karas1-1/+0
2013-02-26Improve string usage in other files.Andrei Karas1-1/+1
2013-01-16update copyrights year.Andrei Karas1-1/+1
2012-10-16Fix some signed/unsigned chars issues.Andrei Karas1-1/+1
2012-09-16Add const to variables with type size_t.Andrei Karas1-4/+5
2012-09-02Add const to more classes.Andrei Karas1-29/+30
2012-07-20Fix code style.Andrei Karas1-1/+1
2012-07-17Fix more code style and additional warnings.Andrei Karas1-2/+3
2012-07-16Add new dye type A.Andrei Karas1-22/+67
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-34/+21
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/+23
2012-06-03Improve dye speed.Andrei Karas1-9/+3
2012-04-01Last part of fixes.Andrei Karas1-6/+6
2012-03-09Add new dye mode S.Andrei Karas1-4/+34
It simple colors replace dye method. Dye palate should be in format: source1,destination1,source2,destination2 etc
2012-02-18Fix code style.Andrei Karas1-1/+1
2012-01-05Update copyrights year.Andrei Karas1-1/+1
2011-11-08Fix more gcc 4.7 warnings.Andrei Karas1-2/+2
2011-08-12Rename file names log and chatlog to correct logger and chatlogger.Andrei Karas1-1/+1
2011-05-24Add simple memory leak detector.Andrei Karas1-0/+2
Can be enabled by configure option -enable-memdebug=yes. Known issue: not all memory allocations hooked with it.
2011-03-19Fix code style and add small optimisations.Andrei Karas1-1/+1
2011-03-16Add checks and fix some code style.Andrei Karas1-2/+3
2011-02-19Update copyrights.Andrei Karas1-2/+3
2011-01-16Remove goto from dye.cppv1.1.1.16Andrei Karas1-2/+11