summaryrefslogtreecommitdiff
path: root/src/gfx_type.h
AgeCommit message (Collapse)Author
2021-04-22Codechange: Add internal widget alignment property, along with widget part.Peter Nelson
2020-12-27Codechange: Replace assert_compile macro with static_assertCharles Pigott
2020-12-15Add: [Emscripten] use "relative mouse mode" with SDL2Patric Stout
This mode doesn't wrap the mouse constantly, but requests SDL to lock the mouse pointer. This is needed, as with Emscripten you are not allowed to change the mouse poisition (only to lock it into place).
2020-12-15Add: support for emscripten (play-OpenTTD-in-the-browser)Patric Stout
Emscripten compiles to WASM, which can be loaded via HTML / JavaScript. This allows you to play OpenTTD inside a browser. Co-authored-by: milek7 <me@milek7.pl>
2019-12-23Add: a TextColour flag to ignore colour changes from stringsglx
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-04-29Codechange: Remove SpriteTypeByte typeCharles Pigott
2019-01-31Feature: Group liveries, and livery window usability enhancements. (#7108)PeterN
* Change: Replace checkbox in livery selection window with Default option in drop down selection. This reduces clutter in the UI and allows for primary/secondary colours to independently follow the default scheme if desired. * Feature: Add vehicle group liveries.
2018-10-31Doc: Lots and lots of doxymentation fixesCharles Pigott
2016-08-15(svn r27628) -Codechange: Prepare for drawing cursors consisting of multiple ↵frosch
sprites.
2016-08-15(svn r27625) -Doc: CursorVarsfrosch
2015-07-26(svn r27340) -Fix [FS#6338]: Silence warning by moving _string_colourmap to ↵frosch
a file no its own. (Cif)
2015-02-22(svn r27167) -Fix: [SDL, Windows] Right-mouse-button scrolling ↵frosch
scrolled/jumped way to far, when OpenTTD lagged during mouse event processing.
2014-04-27(svn r26522) -Add: A config-file-only setting to disable usage of 8bpp video ↵frosch
modes. -Remove: [win32] fullscreen_bpp setting, which is replaced by above setting. -Change: Disable usage of 8bpp blitters and video modes by default. Many modern OS and hardware cause issues with those.
2012-04-10(svn r24111) -Codechange: use Colour more instead of manually bitstuffingrubidium
2011-12-08(svn r23446) -Codechange: move _cur_palette and it's related first/count ↵rubidium
dirty variables into a single structure
2011-11-20(svn r23274) -Add: internal support for a monospaced sprite fontrubidium
2011-05-04(svn r22419) -Change: Always use the DOS palette for drawing.frosch
-Remove: the '-i' option for palette selection.
2011-01-23(svn r21897) -Fix (21707): Kenobi visited IsValidConsoleColour shortlyrubidium
2011-01-03(svn r21702) -Fix: make sure the colour argument of echoc is properly ↵rubidium
validated to be a text colour
2010-12-25(svn r21640) -Change/Feature-ish: allow disabling the shading when drawing textrubidium
2010-12-25(svn r21637) -Codechange: make it more clear that IS_PALETTE_COLOUR belongs ↵rubidium
to TextColour
2010-11-19(svn r21252) -Codechange: introduce a constant for the number of ↵rubidium
milliseconds per game tick and use it
2010-07-03(svn r20067) -Add: special modifier (GLOBAL) to mark hotkeys as global hotkeysyexo
2010-07-03(svn r20055) -Feature: save/load hotkeys to/from hotkeys.cfgyexo
2010-04-17(svn r19654) -Codechange: Use Extract<> in more places.frosch
2010-03-23(svn r19507) -Codechange: remove semicolon after DECLARE_POSTFIX_INCREMENT ↵smatz
and DECLARE_ENUM_AS_BIT_SET
2010-01-21(svn r18872) -Codechange: introduce PaletteID and use itrubidium
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-06-22(svn r16628) -Codechange: remove one gcc2 hacksmatz
2009-06-20(svn r16606) -Doc: Added/fixed doxygen comments.alberth
2009-06-20(svn r16604) -Codechange: Use FS_BEGIN for iterating over fonts.alberth
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-11(svn r14997) -Fix [FS#2524](r14223): when handling invalid sprites, entry in ↵smatz
spritecache data could lose its parent
2008-10-13(svn r14461) -Document: add some doxygen comments (Albert)rubidium
2008-09-07(svn r14260) -Fix [FS#2277]: merge keycode for "normal" 0-9 keys and keypad ↵rubidium
0-9 keys so people don't get confused that the keypad doesn't work as expected.
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-24(svn r14152) -Fix (r14146): Apple decided to use a name I wanted to use... ↵rubidium
thus making compilation fail on OSX (planetmaker)
2008-08-23(svn r14146) -Codechange: allow palette override in both ways and remove ↵rubidium
some unneeded '(x == 0) ? 0 : 1' constructs.
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-01(svn r13910) -Document: string drawing related functions and types (Alberth)rubidium
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-06-28(svn r13649) -Codechange: Split the GfxFillRect() special flags from 'color' ↵frosch
into their own parameter.
2008-06-26(svn r13639) -Codechange: rewrite 32bpp-anim and 32bpp-optimized drawing and ↵smatz
encoding so it uses similiar scheme as 8bpp-optimized All zoom levels are stored and a kind of RLE is used. Together with further changes and reducing number of variables, drawing is ~50% faster in average.
2008-06-18(svn r13571) -Codechange: define channels in struct Colour in different ↵smatz
order on LE and BE machines
2008-04-24(svn r12863) -Codechange: rewrite GeneratePlayerColour to be better ↵rubidium
understandable.
2008-04-05(svn r12576) -Feature(tte) [FS#337]: highlight vehicle chain when dragging ↵smatz
in the group and depot GUI if appropriate