summaryrefslogtreecommitdiff
path: root/src/gfx.cpp
AgeCommit message (Collapse)Author
2009-03-17(svn r15752) -Fix: don't try to (un)draw the cursor when the screen is not readyglx
2009-03-07(svn r15637) -Fix: when you try to protect something from doing something it ↵truebrain
shouldn't be doing, make sure that the actions happening after that, doesn't start doing what it shouldn't be doing. This of course would only happen in rare corner cases.
2009-03-03(svn r15603) -Fix [FS#2696]: crash when using an extraordinarily large ↵rubidium
sprite as cursor.
2009-02-25(svn r15577) -Codechange: bool _networking belongs in network/ not gfx.cpprubidium
2009-02-25(svn r15576) -Codechange: rename SwitchModes to SwitchMode and don't ↵yexo
hardcode the values for that enum.
2009-02-25(svn r15575) -Codechange: Rename GameModes to GameMode and store _game_mode ↵yexo
as GameMode instead of as byte.
2009-02-09(svn r15431) -Fix (r15425): wrongly added assertion due to unneeded & 0xFF. ↵rubidium
Now use the same method of handling the colour as it would do when drawing a string instead of a character.
2009-02-09(svn r15428) -Codechange: consistently use colour instead of having both ↵rubidium
color and colour.
2009-02-09(svn r15425) -Codechange: some color->colour changes and type safety.rubidium
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-10(svn r14949) -Cleanup: pointer coding stylerubidium
2008-12-12(svn r14668) -Change: use include <> instead of include "" when including ↵rubidium
ICU's headers.
2008-11-02(svn r14555) -Codechange: replace ttd_strlcat and ttd_strlcpy with strecat ↵skidd13
and strecpy where direct conversion is possible
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