gfx.c
Sat, 18 Mar 2006 16:03:55 +0000 Darkvater (svn r3970) - FS#56 - [Crash] Missing glyph(s) in big-font. Added several missing glyphs for the big font. Backport of r3940 from trunk 0.4.5
Sat, 18 Mar 2006 15:12:24 +0000 Darkvater (svn r3948) - Fix: [ 1415782 ] crash in string code with openbsd/zaurus; alignment issues (thanks Tron for the help). Backport of r3529, r3553 from trunk 0.4.5
Wed, 27 Dec 2006 16:14:21 +0000 Darkvater (svn r7580) -Fix (r7182): UTF8-merge changed the string handling a bit, now the str pointer for
Tue, 26 Dec 2006 17:36:18 +0000 Darkvater (svn r7565) -Codechange: Rework DEBUG functionality. Look for appropiate debugging levels to
Mon, 19 Mar 2007 21:42:05 +0000 glx (svn r9354) [0.5] -Backport from trunk (r8975, r9003, r9011, r9012): 0.5
Sat, 30 Dec 2006 23:29:33 +0000 Darkvater (svn r7678) -Fix (r7674): DEBUG macro has been changed 0.5
Sat, 30 Dec 2006 23:22:55 +0000 Darkvater (svn r7674) -Backport from trunk (r7580): 0.5
Sun, 03 Dec 2006 17:42:56 +0000 rubidium (svn r7332) -Fix: segmentation fault, discovered by ln-, in the SDL video driver when one goes to fullscreen and there are no suitable resolutions.
Fri, 24 Nov 2006 20:47:29 +0000 peter1138 (svn r7254) -Fix (r7250): move unicode glyph map initialisation to just before newgrf files are loaded, else newgrf glyphs will be cleared out too. (thanks Hadez)
Fri, 24 Nov 2006 18:39:22 +0000 peter1138 (svn r7250) -Codechange: Shuffle sprite loading and character width caching around a bit. This reduces the number of times the sprites are loaded from 5 to 2, just for the intro game.
Thu, 16 Nov 2006 22:05:33 +0000 peter1138 (svn r7182) -Feature: Merge utf8 branch. This brings us support for Unicode/UTF-8 and the option for fonts rendered by FreeType. Language changes to come.
Fri, 27 Oct 2006 11:09:24 +0000 Darkvater (svn r6957) -Cleanup: comments, coding style
Fri, 27 Oct 2006 09:55:38 +0000 Darkvater (svn r6953) -Codechange: Change FormatStringLinebreaks in such a way that if no whitespace was seen
Tue, 24 Oct 2006 23:11:40 +0000 Darkvater (svn r6938) -Codechange: Comments, typo, variable naming, whitespace, strecpy and simplification
Mon, 23 Oct 2006 18:13:24 +0000 peter1138 (svn r6908) - Codechange: Modify DrawStringMultiLine() to return the number of pixel lines used, and use it for drawing NewGRF additional text (mart3p)
Sat, 21 Oct 2006 23:31:34 +0000 Darkvater (svn r6884) -Codechange: Add strict bounds checking in string formatting system.
Thu, 12 Oct 2006 10:14:45 +0000 Darkvater (svn r6743) -Fix (r6462): When determining string length for GetStringBoundingBox SETX and
Sat, 16 Sep 2006 13:44:12 +0000 Darkvater (svn r6463) -Fix (r6462): Reset the string width to zero on every new line of course...
Sat, 16 Sep 2006 13:20:14 +0000 Darkvater (svn r6462) -Codechange: Have GetStringWidth() return width as well as the height bounding
Tue, 05 Sep 2006 23:02:31 +0000 Darkvater (svn r6404) -Fix: GetStringWidth failed to calculate correct string width if the string
Sat, 02 Sep 2006 21:52:06 +0000 tron (svn r6351) -Fix: Due to some off-by-one errors the width or height of a clipping rectangle could become 0, which isn't sensible. This should fix a very rare and hard to trigger assertion in GfxFillRect()
Sat, 02 Sep 2006 20:34:33 +0000 tron (svn r6347) Undo
Sat, 02 Sep 2006 20:34:04 +0000 tron (svn r6346) -Codechange: Remove redundant assignment
Sat, 02 Sep 2006 08:14:16 +0000 tron (svn r6303) -Codechange: Remove dead code
Sat, 02 Sep 2006 07:13:21 +0000 tron (svn r6302) -Codechange: Remove dead code paths, because the lowest bit of Sprite::info is never unset
Sat, 02 Sep 2006 06:36:30 +0000 tron (svn r6301) -Codechange: if () cascades -> switch ()
Tue, 29 Aug 2006 06:07:57 +0000 tron (svn r6209) Move DrawFrameRect() out of gfx.[ch], because it uses data (_color_list) which the renderer shouldn't have know about
Mon, 28 Aug 2006 07:33:51 +0000 tron (svn r6184) Remove the unused (because it was NULL in all callers) second parameter of FillDrawPixelInfo() and simplify some expressions
Mon, 28 Aug 2006 06:21:48 +0000 tron (svn r6183) Move GetDrawStringPlayerColor() out of gfx.[ch]
Mon, 28 Aug 2006 06:05:04 +0000 tron (svn r6180) Use a switch instead of function pointers to choose the blitter
Tue, 22 Aug 2006 14:38:37 +0000 rubidium (svn r6045) -Cleanup: align all table-like structures using spaces, i.e. whitespace fixes only except for a few comments to make them uniform for the whole enum/struct.
Sun, 20 Aug 2006 10:50:23 +0000 rubidium (svn r5967) -Change: use right alignment for the year in the player's balance window instead of centering (about) 'string width' / 2 from the right edge
Sat, 19 Aug 2006 10:00:30 +0000 truelight (svn r5946) -Add: merged the TGP branch to mainline. TGP adds:
Wed, 26 Jul 2006 03:33:12 +0000 belugas (svn r5609) CodeChange : Apply coding style
Tue, 09 May 2006 13:23:04 +0000 peter1138 (svn r4802) - Codechange: replace _stringwidth_base and associated magic numbers with a FontSize enum, using the numbers (which are SpriteIDs) in only the places needed.
Tue, 09 May 2006 11:42:51 +0000 peter1138 (svn r4793) - Replace list of magic numbers (characters that don't exist) with a call to SpriteExists(), when building the character width cache.
Fri, 24 Mar 2006 00:42:35 +0000 Darkvater (svn r4075) - Feature: Undraw the mouse when it leaves the window and Draw it again when it enters. Added both for WIN32 and SDL. Since Win95 has troubles with TrackMouseEvent(), this function was just simply rewritten which was the easiest. Based on a patch by DmitryKo.
Sat, 18 Mar 2006 08:37:58 +0000 Darkvater (svn r3940) - FS#56 [Crash] Missing glyph(s) in big-font. Added several missing glyphs for the big font.
Fri, 03 Feb 2006 21:51:42 +0000 Darkvater (svn r3529) - Fix: [ 1415782 ] crash in string code with openbsd/zaurus; alignment issues (thanks Tron for the help)
Wed, 01 Feb 2006 07:36:15 +0000 tron (svn r3511) More whitespace ([FS#46] by Rubidium)
Wed, 14 Dec 2005 06:28:48 +0000 tron (svn r3298) Remove unused and write-only variables
Wed, 16 Nov 2005 12:21:04 +0000 tron (svn r3200) Remove the unused function GfxScalePalette() and the unused struct WorldSprite
Wed, 16 Nov 2005 08:35:26 +0000 tron (svn r3191) Move declaration and definition of _dbg_screen_rect to a place where it somewhat makes sense and wrap them in #ifdef _DEBUG
Tue, 15 Nov 2005 09:47:25 +0000 tron (svn r3187) Simplify overly complicated ifs, especially if (foo) return false; else return true; is confusing
Mon, 14 Nov 2005 19:48:04 +0000 tron (svn r3181) -Bracing
Mon, 14 Nov 2005 08:09:57 +0000 tron (svn r3177) GB, CLRBIT, HASBIT, TOGGLEBIT
Sun, 13 Nov 2005 21:16:34 +0000 tron (svn r3176) Use proper types, not some variants of int
Sun, 13 Nov 2005 14:54:09 +0000 tron (svn r3173) Use the trinary operator and switch to improve readability
Sat, 22 Oct 2005 06:39:32 +0000 tron (svn r3077) static, const, bracing, indentation, 0 -> '\0'/NULL, typos in comments, excess empty lines, minor other changes
Sun, 18 Sep 2005 20:56:44 +0000 Darkvater (svn r2962) - const correctness for all Get* functions and most Draw* functions that don't change their pointer parameters
Thu, 15 Sep 2005 22:42:59 +0000 Darkvater (svn r2955) Fix: make ottd start with the last resolution you had set (custom) (win32)
Sat, 10 Sep 2005 15:52:19 +0000 tron (svn r2937) Add sprites for {, |, } and ~
Sat, 10 Sep 2005 08:17:30 +0000 tron (svn r2933) Implement the non-breaking space
Thu, 08 Sep 2005 12:48:26 +0000 tron (svn r2924) Introduce the ALIGN() macro which aligns values to multiples of a power of 2, for exact semantics see the commment in macros.h
Sat, 27 Aug 2005 09:49:52 +0000 tron (svn r2893) Two chars got assigned a width of 0 since r2879, fix that ([1274302])'
Sat, 20 Aug 2005 18:14:32 +0000 tron (svn r2879) Major step twoards ISO-8859-15
Thu, 28 Jul 2005 09:17:32 +0000 celestar (svn r2736) -Codechange: De-mystified GfxDrawFillRect a bit, and used enums from table/sprites.h. You can now change the number of bits used for sprites and switches in the SpriteSetup enum and the rest should work automagically. Can be used to increase the number of active sprites to 2^19 in case there are no colortables (recolor sprites) in any newgrf. We should possibly move the the colortables to an own list, but how to detect them in a newgrf.
Tue, 26 Jul 2005 19:34:03 +0000 tron (svn r2720) Remove unused declarations and definitions
Sun, 24 Jul 2005 15:56:31 +0000 celestar (svn r2702) -Codechange: Cleaned up the sprite code and replaced many magic numbers
Sun, 24 Jul 2005 14:12:37 +0000 tron (svn r2701) Insert Id tags into all source files