summaryrefslogtreecommitdiff
path: root/src/gfx.cpp
AgeCommit message (Collapse)Author
2010-12-26(svn r21641) -Fix (r21639): ofcourse MSVC wants to have something to warn aboutrubidium
2010-12-25(svn r21640) -Change/Feature-ish: allow disabling the shading when drawing textrubidium
2010-12-25(svn r21639) -Codechange: simplify setting the colour remaprubidium
2010-12-25(svn r21637) -Codechange: make it more clear that IS_PALETTE_COLOUR belongs ↵rubidium
to TextColour
2010-11-13(svn r21157) -Codechange: remove information about the text direction out of ↵rubidium
the language "list"
2010-10-30(svn r21060) -Doc: Improved wording of comments (mostly by __ln__)alberth
2010-10-22(svn r21006) -Fix (r21004): don't print the text direction character when ↵rubidium
ICU isn't linked and thus doesn't remove them
2010-08-26(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to ↵rubidium
some headers
2010-08-20(svn r20578) -Fix [FS#4051]: Draw bounding boxes using white instead of pure ↵frosch
white, so they are recoloured to grey in coloured newspaper instead of blue.
2010-08-05(svn r20384) -Fix: Update cursor dimensions when reloading grfs resp. ↵frosch
changing base graphics, so the cursor does not glitch if it becomes bigger.
2010-08-01(svn r20286) -Codechange: Unify end of doxygen comments.frosch
2010-08-01(svn r20283) -Codechange: Unify start of doygen comments.frosch
2010-07-31(svn r20256) -Codechange: add a DrawStringMultiline variant that accepts ↵yexo
const char* instead of StringID
2010-07-24(svn r20211) -Codechange: Indented code should have curly braces around it.alberth
2010-07-19(svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be ↵rubidium
missed :)
2010-07-19(svn r20185) -Codechange: reduce the scope of _palette_animation_counterrubidium
2010-07-02(svn r20045) -Add: Allow SA_BOTTOM alignment in DrawStringMultiLine().alberth
2010-07-02(svn r20044) -Codechange: Using number of lines rather than number of added ↵alberth
lines simplifies code.
2010-07-02(svn r20043) -Codechange: Introduce vertical alignment for ↵alberth
DrawStringMultiLine().
2010-07-02(svn r20042) -Codechange: Add set methods to DrawStringParams.alberth
2010-06-27(svn r20026) -Codechange: No need to copy a formal parameter if the value is ↵alberth
not needed further.
2010-05-30(svn r19911) -Codechange: Simplify text drawing by eliminating global ↵frosch
variables and side effects. This also fixes the 'colour' parameter of DrawStringMultiLine().
2010-05-13(svn r19817) -Fix: MSVC compile warningsrubidium
2010-05-13(svn r19814) -Codechange: give some more unnamed enums a name, in case they ↵rubidium
consisted of unrelated values use static const (u)int
2010-04-28(svn r19736) -Fix [FS#3802]: Spritepicker still failed for 32bpp-anim blitter.frosch
2010-04-27(svn r19732) -Fix [FS#3802]: Spritepicker failed for 32bpp blitters due to ↵frosch
pitch measured in pixels rather than bytes.
2010-04-26(svn r19731) -Add: Spritepicker to sprite alignment tool.frosch
2010-04-18(svn r19671) -Fix (r19670): RoundDiv() needs to deal with signed numerators.frosch
2010-04-18(svn r19670) -Codechange: Add CeilDiv() and RoundDiv() to simplify integer ↵frosch
divisions with rounding.
2010-02-09(svn r19067) -Fix [FS#3604]: remove Bidi control characters from the ↵glx
reordered text
2010-01-21(svn r18872) -Codechange: introduce PaletteID and use itrubidium
2010-01-12(svn r18789) -Codechange: when we're not in a network game we don't even ↵rubidium
need to consider undrawing the chat messages
2009-12-20(svn r18575) -Fix [FS#3393]: unit numbers weren't always fully shown in the ↵rubidium
depot
2009-12-03(svn r18391) -Fix (r0): (Invalid) GRFs could trigger invalid reads.frosch
2009-12-01(svn r18358) -Cleanup: More usage of EPV_CYCLES_(DARK|GLITTER)_WATER.frosch
2009-11-28(svn r18330) -Cleanup: remove some unneeded includesrubidium
2009-11-22(svn r18228) -Fix: make string drawing big font aware, i.e. don't big ↵rubidium
characters flicker like a stroboscope.
2009-11-17(svn r18143) -Codechange: allow stripping/ignoring of SETX(Y) during DrawStringrubidium
2009-11-15(svn r18106) -Codechange: Draw string underline FONT_HEIGHT_NORMAL pixels ↵peter1138
down, not 10.
2009-11-09(svn r18027) -Codechange: make some unneededly global variables static and ↵rubidium
remove some unused variables
2009-10-29(svn r17900) -Fix (r2497): ExtraPaletteValues' tables were all a factor 3 ↵rubidium
too big -Codechange: replace some magic numbers related to palette animation with constants
2009-10-22(svn r17842) -Fix: DrawStringMultiLine would in some corner case, top = ↵rubidium
bottom + 1, draw the string
2009-10-13(svn r17772) -Fix [FS#3264]: CJK languages don't have spaces, so for adding ↵rubidium
newlines (multi line strings) we need to (properly) handle the case when there are no spaces instead of truncating the string.
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-09-19(svn r17570) -Fix: a number of Doxygen warnings about missing parameters, ↵rubidium
which were sometimes missing and sometimes just typos
2009-09-02(svn r17391) -Codechange: Add string box calculation routine for multi-line ↵alberth
strings.
2009-09-01(svn r17339) -Codechange: move thread related files to their own directory ↵rubidium
(like done for video, music, sound, etc)
2009-08-29(svn r17306) -Fix: DrawStringMultiLine() computed available width and height ↵alberth
wrongly.
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-07-12(svn r16798) -Fix [FS#3016]: Added several new widget distances for better ↵alberth
widget size computations.