gfx.h
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 09:55:38 +0000 Darkvater (svn r6953) -Codechange: Change FormatStringLinebreaks in such a way that if no whitespace was seen
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, 16 Sep 2006 13:20:14 +0000 Darkvater (svn r6462) -Codechange: Have GetStringWidth() return width as well as the height bounding
Tue, 29 Aug 2006 19:26:13 +0000 tron (svn r6222) Remove struct ColorList, because the names of its attributes are plain confusing
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]
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
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.
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.
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
Sun, 13 Nov 2005 21:16:34 +0000 tron (svn r3176) Use proper types, not some variants of int
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
Sat, 10 Sep 2005 08:17:30 +0000 tron (svn r2933) Implement the non-breaking space
Sat, 10 Sep 2005 07:38:03 +0000 tron (svn r2932) Give the strings consisting of an up/a down arrow symbolic names
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
Tue, 19 Jul 2005 22:12:04 +0000 Darkvater (svn r2644) - Fix: my name was mistyped ;p
Sun, 17 Jul 2005 19:23:18 +0000 Darkvater (svn r2623) - CodeChange: rework DrawStringCenteredTruncated() a bit. Instead of giving center + width you give the coordinates of the bounding box (left, right) it has to fit in (ludde)
Sun, 17 Jul 2005 15:54:57 +0000 Darkvater (svn r2607) - Feature: add support for truncating strings to a given (pixel) length. Function courtesy of Ludde.
Fri, 15 Jul 2005 14:16:14 +0000 tron (svn r2571) Add explicit type Pixel for ... Pixels
Thu, 30 Jun 2005 05:27:32 +0000 tron (svn r2497) Use a struct array for palette entries instead of a flat byte array
Mon, 06 Jun 2005 13:47:06 +0000 Darkvater (svn r2420) - Codechange: magic number elminitation of cursorsprites.
Mon, 16 May 2005 16:19:32 +0000 Darkvater (svn r2334) - Fix (regression): moved togglefullscreen into the video-driver, now windows works, dedicated works and sdl works. Also reverted the change to the makefile.
Sat, 14 May 2005 21:01:57 +0000 Darkvater (svn r2310) - Fix: Game would crash if you full-screened with the 'fullscreen' button than chose a resolution from the dropdown box that was no longer valid. Big thanks to DaleStan for track down the crashing bug.
Mon, 21 Feb 2005 19:14:16 +0000 Darkvater (svn r1895) - Fix: add assert for charwidth getter just in case
Mon, 21 Feb 2005 18:59:54 +0000 Darkvater (svn r1894) - Codechange: cleaned up the console a bit, wholly unified handling of text with that of editboxes
Thu, 10 Feb 2005 12:14:38 +0000 tron (svn r1854) Split GetSpritePtr() into GetSprite() for regular sprites (returning a Sprite*) and GetNonSprite() for "sprites" of type 0xFF (returning byte*)
Thu, 10 Feb 2005 05:43:30 +0000 tron (svn r1853) Move spritecache function declarations into a header of their own and use SpriteID as parameter type where appropriate
Tue, 08 Feb 2005 22:22:42 +0000 tron (svn r1852) Start cleaning up sprite handling:
Sun, 06 Feb 2005 18:30:45 +0000 tron (svn r1827) Next iteration of the byte -> char transition: some string drawing functions and buffers
Sat, 22 Jan 2005 20:23:18 +0000 tron (svn r1594) Convert all undefined parameter lists to (void) and add the appropriate warning flags in the Makefile
Tue, 14 Dec 2004 20:54:01 +0000 dominik (svn r1091) Fix: Finally station names use 100% the correct color in transparent mode
Sun, 12 Dec 2004 20:36:24 +0000 dominik (svn r1038) Feature: OpenTTD runs with the grf files of the DOS version
Sat, 04 Dec 2004 17:54:56 +0000 truelight (svn r942) -Merged branch/network back into the trunk
Tue, 21 Sep 2004 20:56:49 +0000 darkvater (svn r304) -Fix: [967096] fullscreen. New button 'Fullscreen' in 'Game Options' menu which lets you set fullscreen ingame.
Fri, 10 Sep 2004 19:02:27 +0000 truelight (svn r194) -Codechange: stripping trailing-spaces. Please keep this that way!
Mon, 09 Aug 2004 17:04:08 +0000 truelight (svn r1) Import of revision 975 of old (crashed) SVN