summaryrefslogtreecommitdiff
path: root/src/video
AgeCommit message (Collapse)Author
2012-07-10(svn r24394) -Fix (r24188): changing resolution didn't resize the windowglx
2012-04-30(svn r24189) -Fix: when going to fullscreen and back, restore to the ↵truebrain
resolution you were, not to the fullscreen resolution (Windows only)
2012-04-30(svn r24188) -Fix-ish [FS#5151] (r1): when changing the basics of a window ↵truebrain
(fullscreen, 8bpp/32bpp), and a window already exists, it was forced out of maximize mode, and its resolution/position was reset, often causing unwanted side-effects. As a "bonus", a WC_SIZE was triggered, and if the system was going from 8bpp to 32pp, this caused a forced window update in a limbo-state of the blitter (not fully 32bpp just yet, but for sure no longer 8bpp); this could cause random memory access which could lead to ACCESS_VIOLATIONS
2012-02-23(svn r23980) -Fix (r23977): crash when starting with the 32bpp anim blitterrubidium
2012-02-23(svn r23978) -Fix: [SDL] Palette update was done too late making switching ↵rubidium
from 8bpp -> 32bpp look ugly
2012-02-07(svn r23910) -Fix: [SDL] Handle the SDL_VIDEOEXPOSE event.matthijs
- It seems this event is never triggered when using 1.2 (it has some autorefresh feature which seems to have been removed in 1.3), but in theory this event could also trigger on 1.2. - Note that this fixes redraw issues when compiling against SDL 1.3, but it still uses the "compatibility" rendering API using SDL_SetVideoMode and SDL_UpdateRects. Eventually (when 1.3 is stable and released as 2.0), this should probably be rewritting to use the new Windows and Renderers available in SDL 1.3.
2012-02-07(svn r23909) -Fix: [SDL] Fix keyboard-related segfault when compiling ↵matthijs
against SDL 1.3.
2012-02-04(svn r23891) -Fix-ish: compile failures with SDL 1.3rubidium
2012-01-04(svn r23749) -Fix: [Win32] Work around a possible deadlock when initialising ↵michi_cc
threaded drawing.
2011-12-15(svn r23527) -Codechange: unify colo(u)r as far as it goesrubidium
2011-12-11(svn r23488) -Fix [FS#4879] (r23241): artefacts when right click mouse ↵rubidium
moving with the allegro video driver
2011-12-10(svn r23482) -Change: [Win32] Move re-painting the window and doing palette ↵michi_cc
animation into a separate thread.
2011-12-10(svn r23470) -Codechange: move declaration of SwitchToMode to a header ↵rubidium
instead of declaring it in 6 other files
2011-12-08(svn r23451) -Codechange: [SDL] Move 32bpp-anim palette animation to the ↵rubidium
draw thread instead of the single threaded bit of the game loop. This causes a speedup of up to 15% when animation is turned on with the 32bpp-anim blitter
2011-12-08(svn r23448) -Fix: keep a local copy of the palette in the 32bpp animated ↵rubidium
blitter so changes of the palette data during the game don't influence drawing (with SDL)
2011-12-08(svn r23446) -Codechange: move _cur_palette and it's related first/count ↵rubidium
dirty variables into a single structure
2011-11-17(svn r23241) -Codechange: make the decision when to go to the custom drawn ↵rubidium
cursor more prominently during the initialisation of OpenTTD
2011-11-04(svn r23119) -Fix: [Win32] Don't show a crash/assertion message box for a ↵michi_cc
GUI-less video driver.
2011-10-04(svn r23003) -Fix (r22999): Missing semicolon.michi_cc
2011-10-04(svn r22999) -Codechange: Allow changing the blitter during the running game.michi_cc
2011-09-19(svn r22943) -Fix: [OSX] Typo broke debug compilationplanetmaker
2011-09-11(svn r22921) -Fix: [OSX] Don't allow the old fullscreen mode also not as ↵planetmaker
fallback on OSX 10.7. Also add a few sprinkles of coding style accross cocoa display drivers
2011-09-09(svn r22910) -Fix [FS#4617]: icon would (almost) never be shown for SDL buildsrubidium
2011-09-05(svn r22895) -Add: [OSX] Alternative code for the API calls deprecated in ↵planetmaker
OSX 10.6 in the quartz video driver
2011-09-05(svn r22894) -Doc: Some sprinkles of doxygen for the cocoa video driverplanetmaker
2011-09-04(svn r22893) -Fix [FS#4744]: [OSX] Compilation on OSX 10.7 was broken (based ↵planetmaker
on patch by leecbaker) -Add: [OSX] Support for fullscreen mode when compiled against SDK 10.7. Otherwise fullscreen mode is disabled when OpenTTD is run on OSX Lion
2011-08-24(svn r22818) -Fix [FS#4742] (r22796, rlongago): don't spawn threads for ↵rubidium
world generation and NewGRF scanning when using the dedicated or null video driver regardless of the used blitter
2011-08-21(svn r22788) -Codechange: move modal progress related functions and ↵rubidium
variables to progress.cpp/h
2011-08-21(svn r22785) -Codechange: rename IsGeneratingWorld to HasModalProgressrubidium
2011-07-21(svn r22678) -Doc: More doxygen sprinkles in MacOSX code and cocoa video driverplanetmaker
2011-05-28(svn r22512) -Add: Save heightmap.alberth
2011-05-02(svn r22410) -Document: some more bits ;)rubidium
2011-05-01(svn r22405) -Document: some more "random-ish" tidbitsrubidium
2011-02-26(svn r22149) -Fix [FS#4521]: Windows video driver crashed when it couldn't ↵rubidium
go to full screen at the resolution of the configuration file when starting OpenTTD
2011-02-25(svn r22145) -Codechange: Do explicit test for non-bool values.alberth
2011-02-25(svn r22144) -Codechange: Unify 'while (true)' to 'for (;;)'alberth
2011-02-14(svn r22081) -Fix [FS#4489]: if fullscreen fails with current resolution, ↵glx
use desktop resolution
2011-02-07(svn r22021) -Fix (r22019): ofcourse make doesn't notice files are gone, so ↵rubidium
it doesn't recompile everything that needs to be recompiled...
2011-01-01(svn r21684) -Fix [FS#4360] (r21573): Silence some compile warningsplanetmaker
2010-12-21(svn r21578) -Fix [FS#2585]: [OSX] A double mouse cursor was shown under ↵planetmaker
certain circumstances (based on patch by matheweis)
2010-12-21(svn r21577) -Codechange: [OSX] Deduplicate code by moving the handling of ↵planetmaker
the window class for screen drivers to a common class
2010-12-21(svn r21576) -Codechange: [OSX] Deduplicate code by moving the handling of ↵planetmaker
the view for windowed screen drivers to a common class
2010-12-21(svn r21575) -Codechange: [OSX] Use the same class for the window delegate ↵planetmaker
routines in windowed screen drivers
2010-12-21(svn r21574) -Codechange: [OSX] Move the variable declaration of the screen ↵planetmaker
drivers to the generic class, deduplicating code
2010-12-21(svn r21573) -Codechange: [OSX] Unify the naming of variables among ↵planetmaker
different screen drivers a bit
2010-12-21(svn r21572) -Codechange: [OSX] One palette is enough, we cannot use two ↵planetmaker
colour depths at once
2010-12-18(svn r21537) -Cleanup: Add a few sprinkles of coding styleplanetmaker
2010-12-15(svn r21522) -Fix: [OSX] Silence a warning when compiling without quartz and ↵planetmaker
quickdraw
2010-12-05(svn r21396) -Codechange: rename SafeSaveOrLoad to SaveLoad (it only did ↵rubidium
load), and add support for (safe) loading with a LoadFilter
2010-11-19(svn r21252) -Codechange: introduce a constant for the number of ↵rubidium
milliseconds per game tick and use it