Commit Graph

96 Commits (64d691bacc11cfca3b5c948dffb4eeb29aa8746e)

Author SHA1 Message Date
peter1138 ba4ab96bcc (svn r11780) -Codechange: When compiling a dedicated server build, select the dedicated video driver by default. 17 years ago
belugas 61285721a4 (svn r11734) -Change: Allow ToggleFullScreen to return the result of the operation' attempt. Previously, only visual clues were available.
-Fix[FS#1519]: When you can not use this resolution at full screen, now you'll know that it failed.
As for the reason it did not work, each computer/OS has its reason.
17 years ago
egladil bb45f46355 (svn r11718) -Fix [FS#1483]: Show the fullscreen modes available to the cocoa driver in windowed mode too. 17 years ago
belugas db45093f7b (svn r11713) -Codechange: Move some declarations and definitions in a more logical disposition 17 years ago
egladil fc3312d8a3 (svn r11708) -Fix [FS#1598]: Removed include of variables.h as it was no longer needed and caused compilation to fail. 17 years ago
rubidium 81bf9f8503 (svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h' 17 years ago
rubidium 00c9d3ef20 (svn r11691) -Codechange: move+rename helpers.hpp and only include it when it is really needed. 17 years ago
egladil 217539ee24 (svn r11688) -Fix [FS#1581]: Compilation was broken on OS X again. 17 years ago
rubidium 507463e420 (svn r11684) -Codechange: split gfx.h in a type and functional header. 17 years ago
rubidium 1f6043458c (svn r11682) -Codechange: move some 'generic' geometry related types into a single file and do not include gfx.h everywhere to get a Point type. 17 years ago
glx a122971ae2 (svn r11676) -Fix (r11674): some references to macros.h were left 17 years ago
rubidium 8ebdfb258f (svn r11674) -Codechange: refactor some functions out of macros.h into more logical locations. 17 years ago
rubidium 8bfbfd0031 (svn r11667) -Codechange: split window.h into a header that defines some 'global' window related types, on that defined 'global' window functions and one that defines functions and types only used by *_gui.cpps. 17 years ago
egladil 4c3186d2d0 (svn r11653) -Feature: [OSX] Allow windowed mode subdrivers to be disabled at compile time. 17 years ago
bjarni 593b49dc49 (svn r11599) -Change: [OSX] 10.4 will now use quickdraw for window mode 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.
17 years ago
rubidium 33cdfc71dc (svn r11597) -Change: replace all remaining instances of (re|m|c)alloc with (Re|M|C)allocT and add a check for out-of-memory situations to the *allocT functions. 17 years ago
bjarni 40cb6922bd (svn r11540) -Fix: [OSX] Don't try to compile the quartz video driver on OSX 10.3. It will fail 17 years ago
egladil 35159d5db3 (svn r11521) -Codechange: [OSX] Check what the running os version is in a cleaner way. 17 years ago
egladil b24392dfdd (svn r11520) -Fix: [OSX] The cocoa video driver let the mouse cursor escape the window when using rmb scrolling. Thanks ln- for pointing this out and providing a fix. 17 years ago
skidd13 815b8d8df1 (svn r11510) -Codechange: merge the IS_*INSIDE* functions and rename them fitting to the naming style 17 years ago
egladil d8e9bb4089 (svn r11508) -Cleanup: Removed unused headers from the cocoa video driver. 17 years ago
egladil db70be611c (svn r11501) -Fix: [OSX] This remedies a problem with right click scrolling that was introduced in r11492. 17 years ago
egladil 0fce8dbf1f (svn r11498) -Add [FS#1411]: [OSX] Added support for using Quartz instead of Quickdraw in windowed mode on OS X 10.4 and higher. Based on a patch by blackis. 17 years ago
egladil d50bf9b7bd (svn r11492) -Codechange: [OSX] Split the cocoa video driver into several 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). 17 years ago
skidd13 7a4d96f629 (svn r11480) -Codechange: Rename the function ALIGN fitting to the naming style
This fixes also FS#1450
17 years ago
skidd13 98f66552be (svn r11475) -Codechange: rename clamp and clampu to Clamp and ClampU to fit with the coding style 17 years ago
egladil a1c3d51f7f (svn r11342) -Fix: [OSX] The cocoa driver incorrectly assumed that the 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. 17 years ago
glx f12a2cabdb (svn r11061) -Fix [FS#1086]: [win32] some keys were handled twice 17 years ago
bjarni 97135f2b7e (svn r10996) -Feature: [OSX] added more options for right click emulation (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 )
17 years ago
glx 1faaedb83f (svn r10946) -Fix (r10932): forgot one occurence 17 years ago
rubidium 4ef6e75609 (svn r10932) -Codechange: replace "text" with "chat" for the chat related function and variables. 17 years ago
truelight 76ab8ab86c (svn r10839) -Fix [FS#873]: bring up the assert window for OSX even when there isn't a video-driver loaded (PinguTux) 17 years ago
glx db65f0ea8d (svn r10835) -Fix [FS#998] (r10399): don't try to minimise or restore the window when closing openttd 17 years ago
rubidium b9370f0247 (svn r10834) -Revert (part of r10833): something too much was committed :( 17 years ago
rubidium 36da8a2a38 (svn r10833) -Fix [FS#1115]: assertion (different cost between test and execution) of overbuilding road tunnels with tram tracks (and vice versa) when the dragged area contains both ends of the tunnel. 17 years ago
truelight 20db6ee069 (svn r10782) -Fix: wrongly places #endif a long time ago broke WinCE compiling for sure 17 years ago
truelight 8ca03887b9 (svn r10781) -Fix: ported more pieces to WinCE, so it compiles a bit more
-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)
17 years ago
glx f95df6bb61 (svn r10761) -Fix (FS#1101, r10216): _pal_last_dirty changed to _pal_count_dirty without updating, so it was of by one 17 years ago
truelight 59702af996 (svn r10663) -Fix r10662: bad me, didn't comply with coding style, as penalty I updated the surrounding code to comply with coding style too; I will never do it again (I hope :p) 17 years ago
truelight e15c5fc6b0 (svn r10662) -Add: added 'V' as new shortcut for new viewport (bilbo)
-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)
17 years ago
peter1138 3f4a0eb806 (svn r10542) -Codechange: use class member instead of global variable for null ticks value 17 years ago
truelight 56dfe3031c (svn r10537) -Backport r10536: added option for null-driver to configure how long it should run (-vnull:ticks=10000) 17 years ago
peter1138 00c6a8f076 (svn r10472) -Fix (r10741): typos prevented compilation 17 years ago
peter1138 2723db2884 (svn r10471) -Codechange: implement driver probing priority so that 'preferred' drivers are loaded first 17 years ago
peter1138 d2f4310bfe (svn r10458) -Fix (r10444): restore original descriptions for win32 drivers 17 years ago
peter1138 191a479e8d (svn r10450) -Fix (r10444): Fix search & replace errors 17 years ago
peter1138 5e85e8c5e0 (svn r10444) -Codechange: switch to c++ classes and inheritance for sound/music/video drivers, using self-registration based on the blitter-model. 17 years ago
bjarni 6574e622f7 (svn r10410) -Fix [FS458]: [OSX] if the resolution is changed to something 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
17 years ago
glx 170292e75f (svn r10399) -Fix (FS#962): [Windows] _wnd.has_focus was not properly set after using ALT-TAB 17 years ago
truelight 44a9fea388 (svn r10278) -Fix r10276: make the _realtime_tick less demanding on the CPU 17 years ago