summaryrefslogtreecommitdiff
path: root/src/video
AgeCommit message (Collapse)Author
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
2010-11-18(svn r21245) -Fix (r21200): [OSX] Make gcc 4.2 happyplanetmaker
2010-11-15(svn r21200) -Fix: [OSX] Don't let the mouse cursor jump when switching to ↵planetmaker
full screen mode
2010-10-25(svn r21037) -Fix: [OSX] Mouse cursor would leave footprint with 8bpp ↵planetmaker
blitter when switching to full screen
2010-10-25(svn r21036) -Fix: [OSX] Properly set the palette when using the 8bpp ↵planetmaker
blitter during start-up
2010-09-15(svn r20809) -Fix (r20809): as usual with these user provided Mac OS X ↵rubidium
patches lately... they either fail to compile or spew warnings
2010-09-15(svn r20808) -Add [FS#4110]: [OSX] support for input using dead keys (Zydeco)rubidium
2010-09-10(svn r20783) -Change/Fix: do autosave-on-exit as well when using kill/CTRL-C ↵rubidium
to terminate a dedicated OpenTTD
2010-08-25(svn r20619) -Fix [FS#4070]: [OSX] Limit minimum window size to 64x64 like ↵rubidium
all other platforms (matheweis)
2010-08-01(svn r20286) -Codechange: Unify end of doxygen comments.frosch
2010-08-01(svn r20283) -Codechange: Unify start of doygen comments.frosch
2010-08-01(svn r20281) -Codechange: unify case scope closure + break coding stylerubidium
2010-07-29(svn r20239) -Doc: Give a common name to all fall throughs (FALL THROUGH).terkhen
2010-07-24(svn r20211) -Codechange: Indented code should have curly braces around it.alberth
2010-07-19(svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be ↵rubidium
missed :)
2010-07-19(svn r20186) -Codechange: remove VARDEF from _realtime_tick and ↵rubidium
_rightclick_emulate
2010-07-19(svn r20183) -Codechange: make _do_autosave and _dedicated_forks not use ↵rubidium
VARDEF and put them in a more logical location
2010-07-06(svn r20084) -Fix [FS#3919] (r7157): don't try to handle mouse events when ↵glx
the cursor ha left the window
2010-06-12(svn r19965) -Cleanup: Use size of buffer, not magic number.peter1138
2010-06-05(svn r19933) -Fix [FS#3804]: Keep _current_company and _local_company in ↵frosch
sync during GUI operation.
2010-05-19(svn r19861) -Fix (r19814): Silence a warning.frosch
2010-05-13(svn r19814) -Codechange: give some more unnamed enums a name, in case they ↵rubidium
consisted of unrelated values use static const (u)int
2010-04-09(svn r19593) -Codechange: improve loading/executing the desync logsrubidium
2010-02-10(svn r19084) -Codechange: minor coding-style fixupssmatz
2010-02-04(svn r19012) -Fix (r19003): macos.h is not in video/cocoa/ but in os/macosx/.yexo
2010-02-04(svn r19003) -Fix [FS#3194]: [OSX] OS X 10.5+ does not (always?) handle 8bpp ↵rubidium
graphics in a suitable manner. This is actually not a fix but a nasty work around; you can still easily trigger the bug/issue by overriding the 'default' blitter choice (Brad Oliver). I can/have not test(ed) (including compiling) this fix. Bjarni once suggested that 8bpp works for him on 10.5, so apparantly not all 10.5+ does not handle 8bpp graphics. Nevertheless, it seemed that for some systems the already existing 'does this support 8bpp' did not work, i.e. the OS API seemed to suggest that 8bpp worked when it actually did not. So, I don't know what is going on precisely here but it's definitely not nice to suggest that it supports 8bpp when it doesn't. So just ditch 8bpp support for anything that we suspect might not support 8bpp...
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
2010-01-13(svn r18796) -Fix [FS#3521]: [SDL] possible deadlock when killing OpenTTD ↵rubidium
while starting it
2010-01-12(svn r18792) -Fix [FS#3522] (r18709): crash when using the 32bpp blitter ↵rubidium
with a dedicated server
2010-01-12(svn r18790) -Revert (r18001,r18177,FS#3515): Viewport could still jump ↵peter1138
under high CPU load. Revert as change caused more problems than it fixed.
2010-01-04(svn r18709) -Fix (r10227,FS#3464): Animation buffer for 32bpp-anim blitter ↵peter1138
was only validated during sprite blitting, other drawing operations didn't check it. Initial startup and window resize could therefore lead to crash.
2009-12-20(svn r18573) -Fix [FS#3198]: [OSX] Try to get a generic RGB colour space if ↵michi_cc
getting the system colour profile failed. (tyler)
2009-12-19(svn r18547) -Fix [FS#3388]: missing thread synchronisation when changing ↵rubidium
the resolution for SDL via the in game menu
2009-12-19(svn r18545) -Fix [FS#3292]: Assign '_screen.dst_ptr' as soon as it is ↵frosch
allocated.
2009-12-03(svn r18390) -Fix (r17776): [SDL] Reinstate pointer update on 'idle' loop.peter1138
2009-11-18(svn r18177) -Fix (r18001): [SDL] Viewport could jump when mouse moved and ↵peter1138
right button pressed at the same time.
2009-11-09(svn r18031) -Codechange: since basically r7157 adding up 'all' mouse ↵rubidium
movement isn't needed anymore because after each even that movement is handled and the counter is reset. As such simply assigning instead of adding works.
2009-11-09(svn r18030) -Fix: screen jumped a bit for at least SDL and Allegro when ↵rubidium
right-click-dragging
2009-11-07(svn r18001) -Codechange: [SDL] When the mouse cursor is locked into ↵peter1138
position when scrolling a viewport, warp the mouse pointer to the centre of the window. This gives maximum freedom of movement. The pointer position is restored when the lock is removed. Visually the mouse cursor stays where it was.
2009-11-02(svn r17950) -Fix (r17776): _draw_mutex was never destroyed, _draw_thread ↵smatz
was never joined
2009-11-02(svn r17949) -Fix (r17776): unlock mutex before deleting it when creating ↵smatz
drawing thread failed