summaryrefslogtreecommitdiff
path: root/src/video/cocoa
AgeCommit message (Collapse)Author
2021-01-14Feature: Choose a sensible window size on a fresh OTTD config file. (#8536)Michael Lutz
2021-01-03Revert 4ce53cb8: [OSX] Delayed fullscreen switch is not needed anymore.Michael Lutz
The fix for #8067 solves the real issue, making this workaround unneeded.
2021-01-03Fix #8067: [OSX] Calculate title bar height instead of assuming a fixed value.Michael Lutz
2021-01-03Fix: [OSX] Quitting in fullscreen mode would loose the original window size.Michael Lutz
This replicates the behaviour on e.g. Windows, which saves the original window size.
2021-01-03Change: [OSX] Hide Dock and menu during fullscreen mode.Michael Lutz
2021-01-03Codechange: [OSX] Silence some annoying warnings.Michael Lutz
2021-01-03Cleanup: [OSX] Remove cargo cult back-buffer alpha setting on show/hide and ↵Michael Lutz
instead simply initialise the buffer on allocation.
2021-01-03Change: [OSX] Compiling the Cocoa/Quartz video driver cannot be disabled ↵Michael Lutz
anymore.
2021-01-03Codechange: [OSX] Re-arrange the OSX video driver code by combining all ↵Michael Lutz
drawing code and moving the window/event handling to a different file. This is just a code move/rename, not a functionality change.
2020-12-27Codechange: Use std::string in FIO search path handling.Michael Lutz
2020-12-27Codechange: Store file search paths as std::string.Michael Lutz
2020-12-19Fix: [OSX] Warning about ambiguous method (-Wobjc-multiple-method-names). ↵Michael Lutz
(#8399)
2020-06-05Add: introduce CMake for project managementPatric Stout
CMake works on all our supported platforms, like MSVC, Mingw, GCC, Clang, and many more. It allows for a single way of doing things, so no longer we need shell scripts and vbs scripts to work on all our supported platforms. Additionally, CMake allows to generate project files for like MSVC, KDevelop, etc. This heavily reduces the lines of code we need to support multiple platforms from a project perspective. Addtiionally, this heavily improves our detection of libraries, etc.
2020-06-01Fix #8066: Try another fallback colourspace if first one failsNiels Martin Hansen
2020-05-21Codechange: Use std::string in the driver and blitter selection code.Michael Lutz
2020-04-12Remove: [OSX] Stuff that is pre-10.7 from the Cocoa/Quartz video driver.Michael Lutz
2020-04-12Remove: [OSX] Old fullscreen subdriver for pre 10.7 systems.Michael Lutz
Since the move to C++11, building for pre 10.7 is not possible with the native Apple tools. Also, due to bitrot, the file doesn't even compile anymore. While this could be fixed, it shows that this subdriver is basically never used anymore.
2020-04-12Remove: [OSX] QuickDraw video subdriver used for OSX versions up to 10.4.Michael Lutz
Since the C++11 move, getting OpenTTD to compile and run for anything below 10.7 basically requires building a custom compiler and libc++. Also, the QuickDraw subdriver crashes on more modern OSX version. While this is fixable, keeping the driver around is probably pointless.
2020-03-30Fix #7644: [Cocoa] Manually set colorspace to sRGBSebastian Pauka
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-11-01Codechange: [OSX] Use std::unique_ptr with a custom deleter to simply memory ↵Michael Lutz
management of Core Foundation types.
2019-09-29Fix: Some typos found using codespellJMcKiern
2019-09-16Change: [OSX] Recreate backing store if the colour profile of the screen (or ↵Michael Lutz
the screen) the game window is one changes. This will result in changing colours if moving OpenTTD from one screen to another, but should avoid performance problems if the window is moved.
2019-09-16Fix #7644: [OSX] Try to use system colour space to avoid video output ↵Michael Lutz
performance degradation.
2019-09-07Fix: change Quartz driver colorSpace handling to address certain macOS ↵Andy
performance issues (#7644)
2019-04-18Codechange: use std::vector for _resolutionsglx
2019-04-06Codechange: Use platform independent C++11 function for sleeping on a thread.Michael Lutz
2019-03-24Codechange: Use override specifer for overriding member declarationsHenry Wilson
This is a C++11 feature that allows the compiler to check that a virtual member declaration overrides a base-class member with the same signature. Also src/blitter/32bpp_anim_sse4.hpp +38 is no longer erroneously marked as virtual despite being a template.
2019-02-24Change: [OSX] Prevent 2D scrolling for traditional scroll wheel miceAlexander Weiss
2019-02-24Change #6800: [OSX] Use high-precision scrolling deltas for 2D scrollingAlexander Weiss
2018-07-19Feature: Framerate display window (#6822)Niels Martin Hansen
Frame rate and various game loop/graphics timing measurements and graphs. Accessible via the Help menu, and can print some stats in the console via the fps command.
2018-05-27Change: [OSX] Disable macOS Sierra's automatic tab featureAlexander Weiss
2018-05-24Change: [OSX] Reversed pinch to zoom behaviour.Alexander Weiss
Made pinch out zoom in and pinch in zoom out, as virtually all macOS applications do.
2018-04-30Fix 74b7f0a: [OSX] Mouse cursor getting occasionally stuck.Michael Lutz
2018-04-21Fix: [OSX] Compiler warning about an unused NULL argument.Michael Lutz
2018-04-10Codechange: [OSX] Use newer APIs to get resolution information when available.Michael Lutz
2018-04-10Codechange: [OSX] Use non-deprecated API for displaying an alert where ↵Michael Lutz
supported.
2018-04-10Fix: [OSX] Remove some OSX compiler warnings on newer SDKs/compilers.Michael Lutz
2017-08-13(svn r27893) -Codechange: Use fallthrough attribute. (LordAro)frosch
2016-10-31(svn r27675) -Fix [FS#6502]: [OSX] Building with 10.11 or 10.12 SDKs.michi_cc
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-10-26(svn r27046) -Fix [FS#5812]: Don't require double-press from non-dead ↵fonsinchen
console hotkeys.
2014-09-13(svn r26818) -Fix [FS#AndyShouldHaveFoundFlySprayByNow] (r26758): [OSX] Line ↵michi_cc
history and scrolling in the console window went on a walk.
2014-08-24(svn r26758) -Fix [FS#5972]: [OSX] Implement more of the text editing API to ↵michi_cc
prevent crashes and improve IME support.
2014-07-30(svn r26709) -Fix (r15892 and others) [FS#6069]: [OSX] Compilation fails ↵planetmaker
with some lzo2 versions if we define __LP64__ as 0 instead of checking whether it is defined (kernigh2)
2014-04-28(svn r26538) -Codechange: remove double accounting of the driversrubidium
2014-04-25(svn r26509) -Codechange: replace strdup with stredup (the latter ensures ↵rubidium
the return is not NULL)
2014-04-24(svn r26502) -Fix: OSX compilation errorrubidium
2014-01-02(svn r26209) -Codechange: remove some template magic and simplify some coderubidium
2013-12-30(svn r26186) -Fix: Don't check for equality of MAC_OS_X_VERSION_MAX_ALLOWED.fonsinchen