gfx.c
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
Fri, 22 Jul 2005 07:02:20 +0000 tron (svn r2673) Include functions.h directly, not globally via openttd.h
Thu, 21 Jul 2005 19:36:43 +0000 tron (svn r2664) Remove depedency on player.h from variables.h
Thu, 21 Jul 2005 18:44:27 +0000 tron (svn r2663) Include variables.h only in these files which need it, not globally via openttd.h
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 18:11:17 +0000 Darkvater (svn r2617) - Fix: fix some warnings, and reenable vs.net2003 signed/unsigned warnings
Sun, 17 Jul 2005 17:16:35 +0000 Darkvater (svn r2614) - Fix: Trunctuate function used one less character than it was supposed to. Because of this real width and reported width didn't correspond with eachother.
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
Mon, 11 Jul 2005 15:47:20 +0000 tron (svn r2546) Don't calculate a value which never gets used and simplify some calculations
Fri, 08 Jul 2005 21:24:27 +0000 tron (svn r2534) Small cleanup
Tue, 05 Jul 2005 19:54:35 +0000 tron (svn r2522) Reorganize sprite load and decompression in order to remove a special case from the sprite blitter, which decompressed certain sprites every time when blitting them
Tue, 05 Jul 2005 11:09:18 +0000 tron (svn r2518) Small cleanup
Sun, 03 Jul 2005 11:31:03 +0000 tron (svn r2513) Small cleanup
Sun, 03 Jul 2005 10:22:20 +0000 tron (svn r2512) Small cleanup
Fri, 01 Jul 2005 06:25:35 +0000 tron (svn r2503) Small cleanup
Thu, 30 Jun 2005 19:49:01 +0000 tron (svn r2502) Small cleanup
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.
Thu, 02 Jun 2005 19:30:21 +0000 Darkvater (svn r2397) - CodeChange: rename all "ttd" files to "openttd" files.
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 18:59:54 +0000 Darkvater (svn r1894) - Codechange: cleaned up the console a bit, wholly unified handling of text with that of editboxes
Fri, 11 Feb 2005 17:12:11 +0000 tron (svn r1861) Constify Get(Non)Sprite()
Thu, 10 Feb 2005 12:26:41 +0000 tron (svn r1855) Handle endianness of sprite headers when loading a sprite, not everytime when accessing it
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:
Mon, 07 Feb 2005 12:32:35 +0000 tron (svn r1840) Repel str_buffr and use local buffers where possible
Sun, 06 Feb 2005 18:30:45 +0000 tron (svn r1827) Next iteration of the byte -> char transition: some string drawing functions and buffers
Sun, 06 Feb 2005 08:18:00 +0000 tron (svn r1813) Declare functions implemented in strings.c in their own shiny new header (though i think some of these function don't belong into strings.c)
Sun, 23 Jan 2005 23:58:35 +0000 dominik (svn r1631) A couple of fixes for the signed/unsigned warnings. Only train_cmd.c remains to need fixing...