summaryrefslogtreecommitdiff
path: root/src/video/win32_v.cpp
AgeCommit message (Collapse)Author
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-09-08(svn r11061) -Fix [FS#1086]: [win32] some keys were handled twiceglx
2007-08-19(svn r10932) -Codechange: replace "text" with "chat" for the chat related ↵rubidium
function and variables.
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-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-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-12(svn r10121) -Codechange: split renderer from rest of code; no longer any ↵truelight
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
2007-05-14(svn r9835) -Codechange: use Pixel typedef instead of byte where ever possibletruelight
2007-04-27(svn r9728) -Fix r9086: [win32] For some keyboard layout the 'console' key ↵glx
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.
2007-04-18(svn r9672) -Cleanup: lots of coding style fixes around operands.rubidium
2007-03-10(svn r9086) -Feature/Fix: [win32] Rewrite keyboard input and handle all ↵Darkvater
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.
2007-03-10(svn r9085) -Codechange/Fix: [win32] Move the initialisation of _codepage ↵Darkvater
(non-UNICODE) to winMain as a dedicated server, or different video driver will not have a win32 messageloop.
2007-03-07(svn r9055) -Codechange: Change windows unicode handling and allow a pure ↵Darkvater
non-unicode build to function. Win9x binaries will be possible with mingw/nightly system.
2007-03-07(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};rubidium
2007-03-07(svn r9050) -Codechange: Foo(void) -> Foo()rubidium
2007-03-06(svn r9034) -Codechange: renamed _pause to _pause_game, as some targets ↵truelight
already have a symbol called _pause (and therefor our variable conflicts with thatone. We shouldn't be using _ as global indicator.....)
2007-03-03(svn r8994) -Fix [FS642, r3320]: [win32] Resolution doubled in cfg file when ↵Darkvater
fullscreen mode used. Use _wnd.double_size which gives back its correct state with respect to double size and fullscreen.
2007-01-21(svn r8310) -Fix r8309: it is wise to put #endifs in the right place ;)truelight
2007-01-21(svn r8309) [WinCE] -Fix: WinCE doesn't know resolution changingtruelight
-Fix: WinCE doesn't know GetKeyboardState -Fix: made a replacement of GetCurrentDirectory, where CurDir is assumed to be the dir the executable is located (esoftinteractive.com) -Fix: the GCC compiler is more happy if the WinMain is called that -Fix: a really old typo (missing ')') ;) -Fix: GdiFlush() isn't supported on WinCE
2007-01-10(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, ↵rubidium
stillunknown and pv2b.
2007-01-10(svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files ↵KUDr
renamed to .cpp)