summaryrefslogtreecommitdiff
path: root/src/gfx.cpp
AgeCommit message (Collapse)Author
2008-10-22(svn r14516) -Fix: determine the default text direction based on the ↵rubidium
language file instead of hardcoding one.
2008-10-19(svn r14494) -Fix: few MSVC x64 warnings.rubidium
2008-10-17(svn r14479) -Add: initial (optional) support for handling bidirectional ↵rubidium
scripts and connecting Arabic characters.
2008-09-02(svn r14223) -Codechange: make GetSprite aware of the 4 different types of ↵rubidium
sprites: fonts, recolour, mapgen and normal sprites.
2008-08-23(svn r14146) -Codechange: allow palette override in both ways and remove ↵rubidium
some unneeded '(x == 0) ? 0 : 1' constructs.
2008-08-13(svn r14061) -Codechange: constification and move a declaration more logicallybelugas
2008-08-12(svn r14054) -Fix (rthebeginning): long strings in the edit box would cause ↵rubidium
OpenTTD to stop drawing the string. This is especially noticable with low resolutions and the chat input box.
2008-08-12(svn r14051) -Codechange: enumify the DrawString buffer length.rubidium
2008-08-12(svn r14049) -Codechange: rename a variable to a somewhat more descriptive ↵belugas
one. And constify it too.
2008-08-11(svn r14047) -Codechange: move chatmessage handling to the network directory ↵rubidium
as that's the only case chat messages are used. Furthermore remove any trace of chatmessages when compiling without network support.
2008-08-11(svn r14043) -Codechange: Rename a variable to a more obvious name. And a ↵belugas
few comments added too.
2008-08-11(svn r14042) -Codechange: Rename some structure members to more obvious ↵belugas
names. And add a few comments on the _extra_palette_values array.
2008-08-09(svn r14030) -Fix (r14027): true != false, also rename the parameter to make ↵frosch
'true' and 'false' more intuitively useable.
2008-08-09(svn r14029) -Fix(r14027): reverting the TC_FROMSTRING back to the magical ↵belugas
0xFE number. Exact meaning will need to be found later.
2008-08-09(svn r14027) -Codechange: Document a bit the DoDrawString function while ↵belugas
removing yet som more magic numbers and one "false" colour
2008-08-08(svn r14016) -Codechange: Remove some magical numbersbelugas
2008-08-04(svn r13994) -Codechange: replace a few rogue magic numbers with Colours ↵belugas
enum values
2008-08-01(svn r13910) -Document: string drawing related functions and types (Alberth)rubidium
2008-07-22(svn r13787) -Codechange: resize the red error message box if neededsmatz
2008-07-20(svn r13759) -Fix [FS#2147]: selecting non-full length vehicles in the depot ↵rubidium
gui would place the "mouse pointer" out of the center of the vehicle making it hard to "aim".
2008-07-14(svn r13700) -Fix: possible buffer overflow in string truncation code.rubidium
2008-07-14(svn r13699) -Fix: handle SETX(Y) properly when truncating a string instead ↵rubidium
of ignoring it and returning a too long string.
2008-06-28(svn r13649) -Codechange: Split the GfxFillRect() special flags from 'color' ↵frosch
into their own parameter.
2008-06-16(svn r13537) -Fix [FS#2090](r13523): QSortT won't work this way, use ↵smatz
Dimension instead of uint16[2] for resolutions
2008-06-15(svn r13523) -Codechange: replace qsort by the internal typesafe QSortT for ↵skidd13
resolution sorting
2008-06-13(svn r13502) -Fix (r11212): drawing of zoomed out partial sprites could ↵smatz
cause deadlocks or crashes
2008-05-29(svn r13325) -Codechange: split the client-side only settings from the ↵rubidium
settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
2008-05-25(svn r13255) -Codechange: move _opt to _settings.rubidium
2008-05-21(svn r13206) -Feature(ette): Display all owners of a tile in the ↵frosch
tile-info-window.
2008-05-07(svn r12986) -Codechange: move the landscape and transport related types ↵rubidium
from openttd.h to their own headers.
2008-05-06(svn r12971) -Documentation: add @file in files that missed them and add ↵rubidium
something more than whitespace as description of files that don't have a description.
2008-04-18(svn r12779) -Codechange: remove a few constants from openttd.h.rubidium
2008-04-18(svn r12773) -Codechange: replace some magic numbers with enums.rubidium
2008-04-07(svn r12619) -Codechange: lots of documentation about window related stuff. ↵rubidium
Patch by Alberth.
2008-03-26(svn r12425) -Feature [FS#1846]: On Screen Keyboard for input fields so ↵rubidium
someone without a keyboard can enter text too. Patch by Dominik.
2008-03-04(svn r12335) -Codechange: Don't stuff signed values into a unsigned variable ↵peter1138
when the variable can just be unsigned...
2008-01-13(svn r11834) -Codechange: only include settings_type.h if needed.rubidium
2008-01-13(svn r11828) -Codechange: include table/* as the last includes and remove an ↵rubidium
unneeded include from openttd.h.
2008-01-11(svn r11813) -Fix [FS#1602]: Switch _screen to the output buffer and disable ↵frosch
usage of 32bpp-anim animation buffer during giant screenshots.
2008-01-07(svn r11777) -Codechange: split the string header and make do not include it ↵rubidium
when it's not necessary.
2008-01-01(svn r11734) -Change: Allow ToggleFullScreen to return the result of the ↵belugas
operation' attempt. Previously, only visual clues were available. -Fix[FS#1519]: When you can not use this resolution at full screen, now you'll know that it failed. As for the reason it did not work, each computer/OS has its reason.
2007-12-25(svn r11692) -Codechange: move some functions from 'functions.h' to a more ↵rubidium
logical place and remove about 50% of the includes of 'functions.h'
2007-12-23(svn r11684) -Codechange: split gfx.h in a type and functional header.rubidium
2007-12-22(svn r11682) -Codechange: move some 'generic' geometry related types into a ↵rubidium
single file and do not include gfx.h everywhere to get a Point type.
2007-12-21(svn r11675) -Codechange: split the string types from the string functions.rubidium
2007-12-21(svn r11674) -Codechange: refactor some functions out of macros.h into more ↵rubidium
logical locations.
2007-11-19(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming ↵skidd13
style
2007-11-19(svn r11480) -Codechange: Rename the function ALIGN fitting to the naming styleskidd13
This fixes also FS#1450
2007-11-04(svn r11374) -Codechange: Give meaning to the magical number that specifies ↵belugas
the color of the text in a DrawString call. Patch heavily based on BiBB's work (FS#1383)
2007-10-05(svn r11212) -Codechange: add support for drawing parts of sprites. Patch by ↵rubidium
frosch.