Commit Graph

67 Commits (182283a67ce4c28cc47c9b978f8c9b9075538ef4)

Author SHA1 Message Date
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
truelight 7bfc7d19e8 (svn r10276) -Codechange: made a counter based on milliseconds and 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
17 years ago
truelight f58ea51e2a (svn r10255) -Codechange: remove some old debug code nobody was using anymore 17 years ago
glx f7b378df33 (svn r10251) -Fix (r10186, FS#907): alt-tab back into openttd could leave the taskbar visible 17 years ago
glx d183723d39 (svn r10243) -Fix: crash when resizing with 32bpp and 'broken' display with 'non-standard' resolutions 17 years ago
truelight 766168ad43 (svn r10220) -Fix r10216: even more fuck-ups for non-SDL video backends 17 years ago
glx 6f25b5db0d (svn r10218) -Fix r10216: more compile errors 17 years ago
truelight f5271393e1 (svn r10217) -Fix r10216: forgot to declare 'blitter' in win32 and cocoa driver (tnx glx) 17 years ago
truelight cd10965a27 (svn r10216) -Fix: palette animation always redid all palette entries, where 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
17 years ago
truelight 32406b0c18 (svn r10192) -Fix r10190: forgot to change the includes of win32 and cocoa video-driver 17 years ago
truelight 79cd3f5db0 (svn r10190) -Codechange: merged renderer and blitter to one single class 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
17 years ago
glx ffbd022a12 (svn r10186) -Fix (FS#876): don't mess desktop when using alt-tab (win32) 17 years ago
rubidium 3c7a85fe94 (svn r10182) -Codechange: rewrite most part of the file loading/searching to 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.
17 years ago
truelight a1603f51f2 (svn r10124) -Fix r10123: fix the OSX video driver properly 17 years ago
bjarni 5d013d166e (svn r10123) -Fix r10121: the 8 bpp cocoa video driver works again 17 years ago
truelight 0e53fd6d32 (svn r10121) -Codechange: split renderer from rest of code; no longer any code directly accesses the video-buffer
-Add: added NULL blitter and renderer, which are always used for -vnull
-Add: dedicated driver doesn't blit nor render by default. Can be overruled by user. (-D -b 8bpp-optimized)
-Remove: removed CTRL+D from win32, which is incompatible with above
-Add: extended screenshot support for PNG and BMP
-Codechange: remove all hardcoded 8bpp references and replace them with more dynamic ones
-Codechange: minor stuff in blitters
17 years ago
truelight 5f0e384ac0 (svn r9835) -Codechange: use Pixel typedef instead of byte where ever possible 17 years ago
glx 9f9917451d (svn r9728) -Fix r9086: [win32] For some keyboard layout the 'console' key is a dead-key. It needs to be pressed twice to have an effect but the console is then opened and closed on the 'same' keypress (2 WM_CHAR events). So skip the first WM_CHAR generated to restore the 'console' key functionality. 17 years ago
rubidium 7577954ced (svn r9672) -Cleanup: lots of coding style fixes around operands. 17 years ago
rubidium aeb7241db8 (svn r9266) -Codechange: unify the retrieval of the base paths a little more. 18 years ago
bjarni 7d498a55de (svn r9111) -Feature: [OSX] mighty mice and touchpads can now scroll the map (in all directions)
It has to be enabled first (in patches->interface) first and this will disable scrollwheel zooming
  Note: patch setting "Map scrollwheel speed" might need to be changed since the "correct" setting
    appears to depend on what kind of mouse is in use (mighty mouse or touchpad)
18 years ago
Darkvater 8b2f9c8207 (svn r9086) -Feature/Fix: [win32] Rewrite keyboard input and handle all keypresses in a WM_CHAR event. This saves us from doing translation (ToUnicode[Ex], ToAscii[Ex]), and we get free IME-input support as a plus. 18 years ago
Darkvater 8007fb38d4 (svn r9085) -Codechange/Fix: [win32] Move the initialisation of _codepage (non-UNICODE) to winMain as a dedicated server, or different video driver will not have a win32 messageloop. 18 years ago
glx 921d4f58cb (svn r9074) -Codechange: win32 dedicated console now doesn't need an extra 'enter' to fully quit 18 years ago
Darkvater 1a2576cd7e (svn r9055) -Codechange: Change windows unicode handling and allow a pure non-unicode build to function. Win9x binaries will be possible with mingw/nightly system. 18 years ago
rubidium 979ccd45ba (svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {}; 18 years ago
rubidium 4169bfba06 (svn r9050) -Codechange: Foo(void) -> Foo() 18 years ago
bjarni 6ab89d0031 (svn r9039) -Fix r9034: missed the _pause in cocoa_v.mm 18 years ago
truelight b3b14ac2ad (svn r9034) -Codechange: renamed _pause to _pause_game, as some targets already have
a symbol called _pause (and therefor our variable conflicts with 
 thatone. We shouldn't be using _ as global indicator.....)
18 years ago
Darkvater 61a00c99b4 (svn r8994) -Fix [FS642, r3320]: [win32] Resolution doubled in cfg file when fullscreen mode used. Use _wnd.double_size which gives back its correct state with respect to double size and fullscreen. 18 years ago