summaryrefslogtreecommitdiff
path: root/src/video
AgeCommit message (Collapse)Author
2007-12-08(svn r11599) -Change: [OSX] 10.4 will now use quickdraw for window mode ↵bjarni
instead of quartz The reason is that quickdraw is way faster (try fast forward) 10.5 will still use quartz as it can't handle quickdraw.
2007-12-08(svn r11597) -Change: replace all remaining instances of (re|m|c)alloc with ↵rubidium
(Re|M|C)allocT and add a check for out-of-memory situations to the *allocT functions.
2007-11-30(svn r11540) -Fix: [OSX] Don't try to compile the quartz video driver on OSX ↵bjarni
10.3. It will fail
2007-11-25(svn r11521) -Codechange: [OSX] Check what the running os version is in a ↵egladil
cleaner way.
2007-11-25(svn r11520) -Fix: [OSX] The cocoa video driver let the mouse cursor escape ↵egladil
the window when using rmb scrolling. Thanks ln- for pointing this out and providing a fix.
2007-11-24(svn r11510) -Codechange: merge the IS_*INSIDE* functions and rename them ↵skidd13
fitting to the naming style
2007-11-24(svn r11508) -Cleanup: Removed unused headers from the cocoa video driver.egladil
2007-11-23(svn r11501) -Fix: [OSX] This remedies a problem with right click scrolling ↵egladil
that was introduced in r11492.
2007-11-23(svn r11498) -Add [FS#1411]: [OSX] Added support for using Quartz instead of ↵egladil
Quickdraw in windowed mode on OS X 10.4 and higher. Based on a patch by blackis.
2007-11-22(svn r11492) -Codechange: [OSX] Split the cocoa video driver into several ↵egladil
files. The reason for this is that the fullscreen and windowed mode api are separate from each other in OS X and thus the driver actual is two drivers in one. This split is to make the code more readable and to prepare for replacing the Quickdraw windowed mode code which uses apis deprecated as of OS X 10.5 (and maybe earlier).
2007-11-19(svn r11480) -Codechange: Rename the function ALIGN fitting to the naming styleskidd13
This fixes also FS#1450
2007-11-19(svn r11475) -Codechange: rename clamp and clampu to Clamp and ClampU to fit ↵skidd13
with the coding style
2007-10-25(svn r11342) -Fix: [OSX] The cocoa driver incorrectly assumed that the ↵egladil
blitter always was 8bpp. Now both 8bpp and 32bpp blitters can be used. The driver will check the blitter screen depth. In fullscreen it will select a proper video mode for this depth, and in windowed mode it will simply skip doing fake 8bpp.
2007-09-08(svn r11061) -Fix [FS#1086]: [win32] some keys were handled twiceglx
2007-08-29(svn r10996) -Feature: [OSX] added more options for right click emulation ↵bjarni
(controlled from the interface tab in the patch window) This only works with the cocoa drivers (you will use the cocoa drivers unless you manually switched to SDL and compiled yourself) Note: if control-click is selected, then the ingame control-click (like presignals and such) will be command-click Requested and tested by ln- (so he should be blamed if this goes wrong :P )
2007-08-19(svn r10946) -Fix (r10932): forgot one occurenceglx
2007-08-19(svn r10932) -Codechange: replace "text" with "chat" for the chat related ↵rubidium
function and variables.
2007-08-10(svn r10839) -Fix [FS#873]: bring up the assert window for OSX even when ↵truelight
there isn't a video-driver loaded (PinguTux)
2007-08-09(svn r10835) -Fix [FS#998] (r10399): don't try to minimise or restore the ↵glx
window when closing openttd
2007-08-09(svn r10834) -Revert (part of r10833): something too much was committed :(rubidium
2007-08-09(svn r10833) -Fix [FS#1115]: assertion (different cost between test and ↵rubidium
execution) of overbuilding road tunnels with tram tracks (and vice versa) when the dragged area contains both ends of the tunnel.
2007-08-04(svn r10782) -Fix: wrongly places #endif a long time ago broke WinCE ↵truelight
compiling for sure
2007-08-04(svn r10781) -Fix: ported more pieces to WinCE, so it compiles a bit moretruelight
-Fix: WinCE doesn't support console -Fix: Set debug lvl4 when running a debug WinCE build (as you can't give parameters any easy way)
2007-08-03(svn r10761) -Fix (FS#1101, r10216): _pal_last_dirty changed to ↵glx
_pal_count_dirty without updating, so it was of by one
2007-07-23(svn r10663) -Fix r10662: bad me, didn't comply with coding style, as ↵truelight
penalty I updated the surrounding code to comply with coding style too; I will never do it again (I hope :p)
2007-07-23(svn r10662) -Add: added 'V' as new shortcut for new viewport (bilbo)truelight
-Add: added 'M' as new shortcut for smallmap (bilbo) -Add: added '+' and '-' as shortcuts to zoom in the mainview (bilbo) -Add: added support for other keycodes to be possible used in the future (bilbo)
2007-07-13(svn r10542) -Codechange: use class member instead of global variable for ↵peter1138
null ticks value
2007-07-13(svn r10537) -Backport r10536: added option for null-driver to configure how ↵truelight
long it should run (-vnull:ticks=10000)
2007-07-07(svn r10472) -Fix (r10741): typos prevented compilationpeter1138
2007-07-07(svn r10471) -Codechange: implement driver probing priority so that ↵peter1138
'preferred' drivers are loaded first
2007-07-06(svn r10458) -Fix (r10444): restore original descriptions for win32 driverspeter1138
2007-07-05(svn r10450) -Fix (r10444): Fix search & replace errorspeter1138
2007-07-05(svn r10444) -Codechange: switch to c++ classes and inheritance for ↵peter1138
sound/music/video drivers, using self-registration based on the blitter-model.
2007-07-02(svn r10410) -Fix [FS458]: [OSX] if the resolution is changed to something ↵bjarni
that's too high for the monitor, then it's reduced to fit the monitor size (PinguTux) This solves a possible crash This also solves a graphical glitch where the titlebar can be drawn on top of the game area Those issues only aplied to window mode
2007-06-30(svn r10399) -Fix (FS#962): [Windows] _wnd.has_focus was not properly set ↵glx
after using ALT-TAB
2007-06-22(svn r10278) -Fix r10276: make the _realtime_tick less demanding on the CPUtruelight
2007-06-22(svn r10276) -Codechange: made a counter based on milliseconds and ↵truelight
independent of the game-state to base double-click and TGP Generation Process on -Codechange: renamed _timer_counter to _palette_animation_counter, as that is what it is
2007-06-21(svn r10255) -Codechange: remove some old debug code nobody was using anymoretruelight
2007-06-21(svn r10251) -Fix (r10186, FS#907): alt-tab back into openttd could leave ↵glx
the taskbar visible
2007-06-21(svn r10243) -Fix: crash when resizing with 32bpp and 'broken' display with ↵glx
'non-standard' resolutions
2007-06-19(svn r10220) -Fix r10216: even more fuck-ups for non-SDL video backendstruelight
2007-06-19(svn r10218) -Fix r10216: more compile errorsglx
2007-06-19(svn r10217) -Fix r10216: forgot to declare 'blitter' in win32 and cocoa ↵truelight
driver (tnx glx)
2007-06-19(svn r10216) -Fix: palette animation always redid all palette entries, where ↵truelight
in fact only a few indexes were needed -Codechange: allow blitters to handle palette animation internally or even disable it; 8bpp uses video-backend for palette animation
2007-06-17(svn r10192) -Fix r10190: forgot to change the includes of win32 and cocoa ↵truelight
video-driver
2007-06-17(svn r10190) -Codechange: merged renderer and blitter to one single class ↵truelight
API: blitter -Codechange: introduced a hierachy of blitters to avoid a lot of code duplication Note: this allows much easier adding other types of video-drivers, like OpenGL
2007-06-17(svn r10186) -Fix (FS#876): don't mess desktop when using alt-tab (win32)glx
2007-06-17(svn r10182) -Codechange: rewrite most part of the file loading/searching to ↵rubidium
be more flexible. -Codechange: add support for personal directories on Windows. -Fix [FS#153, FS#193, FS#502, FS#816, FS#854]: fix issues related to fixed names, fixed places of files/directories and application bundles.
2007-06-12(svn r10124) -Fix r10123: fix the OSX video driver properlytruelight
2007-06-12(svn r10123) -Fix r10121: the 8 bpp cocoa video driver works againbjarni