Commit Graph

88 Commits (9071461789405c23a3e5f976ccb29b102b65b39c)

Author SHA1 Message Date
rubidium e6c46d4cf4 (svn r23448) -Fix: keep a local copy of the palette in the 32bpp animated blitter so changes of the palette data during the game don't influence drawing (with SDL) 13 years ago
rubidium a531ec1899 (svn r23446) -Codechange: move _cur_palette and it's related first/count dirty variables into a single structure 13 years ago
michi_cc d3e32121c9 (svn r22999) -Codechange: Allow changing the blitter during the running game. 13 years ago
planetmaker b7545e9e9e (svn r22943) -Fix: [OSX] Typo broke debug compilation 13 years ago
planetmaker 40d7b3c861 (svn r22921) -Fix: [OSX] Don't allow the old fullscreen mode also not as fallback on OSX 10.7. Also add a few sprinkles of coding style accross cocoa display drivers 13 years ago
planetmaker 011a73f024 (svn r22895) -Add: [OSX] Alternative code for the API calls deprecated in OSX 10.6 in the quartz video driver 13 years ago
planetmaker 69eae55fb1 (svn r22894) -Doc: Some sprinkles of doxygen for the cocoa video driver 13 years ago
planetmaker 350812a90a (svn r22893) -Fix [FS#4744]: [OSX] Compilation on OSX 10.7 was broken (based 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
13 years ago
planetmaker 52c09189b7 (svn r22678) -Doc: More doxygen sprinkles in MacOSX code and cocoa video driver 13 years ago
rubidium 8183922813 (svn r22021) -Fix (r22019): ofcourse make doesn't notice files are gone, so it doesn't recompile everything that needs to be recompiled... 14 years ago
planetmaker 6ac1a139d0 (svn r21684) -Fix [FS#4360] (r21573): Silence some compile warnings 14 years ago
planetmaker 652deb7ee6 (svn r21578) -Fix [FS#2585]: [OSX] A double mouse cursor was shown under certain circumstances (based on patch by matheweis) 14 years ago
planetmaker 6c595362de (svn r21577) -Codechange: [OSX] Deduplicate code by moving the handling of the window class for screen drivers to a common class 14 years ago
planetmaker 9b999923e5 (svn r21576) -Codechange: [OSX] Deduplicate code by moving the handling of the view for windowed screen drivers to a common class 14 years ago
planetmaker 3e42e97681 (svn r21575) -Codechange: [OSX] Use the same class for the window delegate routines in windowed screen drivers 14 years ago
planetmaker 5a901ed82e (svn r21574) -Codechange: [OSX] Move the variable declaration of the screen drivers to the generic class, deduplicating code 14 years ago
planetmaker 8dfefaf1ec (svn r21573) -Codechange: [OSX] Unify the naming of variables among different screen drivers a bit 14 years ago
planetmaker f11e0ae053 (svn r21572) -Codechange: [OSX] One palette is enough, we cannot use two colour depths at once 14 years ago
planetmaker 97e62615e6 (svn r21537) -Cleanup: Add a few sprinkles of coding style 14 years ago
planetmaker ab413313ef (svn r21522) -Fix: [OSX] Silence a warning when compiling without quartz and quickdraw 14 years ago
rubidium 4c9d47ae60 (svn r21252) -Codechange: introduce a constant for the number of milliseconds per game tick and use it 14 years ago
planetmaker 1baf6fbae8 (svn r21245) -Fix (r21200): [OSX] Make gcc 4.2 happy 14 years ago
planetmaker e52ee78d94 (svn r21200) -Fix: [OSX] Don't let the mouse cursor jump when switching to full screen mode 14 years ago
planetmaker bbc6f54822 (svn r21037) -Fix: [OSX] Mouse cursor would leave footprint with 8bpp blitter when switching to full screen 14 years ago
planetmaker 040571ea3d (svn r21036) -Fix: [OSX] Properly set the palette when using the 8bpp blitter during start-up 14 years ago
rubidium d9c5a3e344 (svn r20809) -Fix (r20809): as usual with these user provided Mac OS X patches lately... they either fail to compile or spew warnings 14 years ago
rubidium 65d4fc990e (svn r20808) -Add [FS#4110]: [OSX] support for input using dead keys (Zydeco) 14 years ago
rubidium b3cae21722 (svn r20619) -Fix [FS#4070]: [OSX] Limit minimum window size to 64x64 like all other platforms (matheweis) 14 years ago
rubidium 9fd2afb147 (svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :) 14 years ago
rubidium a70fd540fc (svn r19814) -Codechange: give some more unnamed enums a name, in case they consisted of unrelated values use static const (u)int 15 years ago
smatz 6d92880bb3 (svn r19084) -Codechange: minor coding-style fixups 15 years ago
yexo 0cd9bc27de (svn r19012) -Fix (r19003): macos.h is not in video/cocoa/ but in os/macosx/. 15 years ago
rubidium d53ec3d1b6 (svn r19003) -Fix [FS#3194]: [OSX] OS X 10.5+ does not (always?) handle 8bpp 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...
15 years ago
peter1138 ebe260f575 (svn r18709) -Fix (r10227,FS#3464): Animation buffer for 32bpp-anim blitter was only validated during sprite blitting, other drawing operations didn't check it. Initial startup and window resize could therefore lead to crash. 15 years ago
michi_cc 73cd818445 (svn r18573) -Fix [FS#3198]: [OSX] Try to get a generic RGB colour space if getting the system colour profile failed. (tyler) 15 years ago
frosch 440ab2cf84 (svn r18545) -Fix [FS#3292]: Assign '_screen.dst_ptr' as soon as it is allocated. 15 years ago
michi_cc c1f6dc4342 (svn r17793) -Fix: [OSX] The splash image wasn't displayed if the Quartz video driver was used. 15 years ago
michi_cc 8a097b48d7 (svn r17768) -Fix (r17715): [OSX] Newer GCC versions don't like jumping over variable definitions with goto's. (planetmaker) 15 years ago
michi_cc a3b1717282 (svn r17717) -Codechange: [OSX] Replace deprecated variable type. 15 years ago
michi_cc f4f5387537 (svn r17716) -Codechange: [OSX] Invoke a (semi-)private Objective-C method in a way that does not rely on the SDK version. 15 years ago
michi_cc 375fd4b2cf (svn r17715) -Cleanup: [OSX] And a final round of coding style and some cleaning. 15 years ago
michi_cc 997f1c191a (svn r17714) -Cleanup: [OSX] Apply more coding style. 15 years ago
michi_cc c477544b92 (svn r17713) -Cleanup: [OSX] Move variable definitions to first use and apply more coding style. 15 years ago
michi_cc 9e3be2ff33 (svn r17712) -Codechange [FS#1411]: [OSX] Replace undocumented process manager API calls with a documented alternative. (pyth) 15 years ago
michi_cc 3bf4f13f3b (svn r17711) -Codechange: [OSX] Don't use deprecated methods to construct a Cocoa string. 15 years ago
michi_cc 434bd81ef0 (svn r17707) -Fix: [OSX] Show the OS mouse cursor when displaying a dialog box if it was hidden. 15 years ago
michi_cc 83e1f7358f (svn r17706) -Codechange: [OSX] Rework the crash handling to use the common CrashLog infrastructure. 15 years ago
michi_cc e583861798 (svn r17702) -Change: [OSX] Assure that the minimal OSX version is defined in all cases.
-Codechange: [OSX] Improve conditional defines for OS version dependant code.
15 years ago
smatz fa937901cb (svn r17701) -Codechange: don't start line with a space if it's not inside comment 15 years ago
rubidium ef42e87e31 (svn r17438) -Fix (r17428): ofcourse some part of the OSX port would be forgotten due to it being so much different than the rest :( 15 years ago