summaryrefslogtreecommitdiff
path: root/src/i_video.c
AgeCommit message (Collapse)Author
2010-01-17Restore the original cursor when shutting down video code, this shouldSimon Howard
hopefully fix the problem with the mouse cursor disappearing when exiting on Win9x (thanks Janizdreg). Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1819
2009-10-26Initial hacks for compiling under SDL 1.3.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1726
2009-10-01Oops.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1703
2009-09-30Change British English spellings to American English, for consistency.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1699
2009-07-20Save and display the loading disk icon as a fixed 16x16 square, from anSimon Howard
image drawn at the bottom right corner of the screen. This seems to be the same as how Vanilla behaves, and fixes chook3.wad, that uses an STDISK replacement with an offset that pushes the image to the left. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1629
2009-06-13Don't post zero key events.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1602
2009-06-12Always grab input on Windows CE.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1597
2009-06-11Grab the input in setup when reading a new key binding, so that WindowsSimon Howard
CE buttons are read properly. Map buttons to PC function keys. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1594
2009-06-07Make auto-adjust code switch to windowed mode if no fullscreen modes areSimon Howard
available. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1571
2009-06-07Don't try to use the SDL DirectX driver under Windows CE.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1568
2008-12-10Fix window icon/title under Windows XP Luna theme.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1415
2008-12-01Don't try to read SDL events until initialised.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1394
2008-05-02Fix up some more code calling Z_Free instead of W_ReleaseLumpNum.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1135
2008-04-25Generate transparency mask for the application icon from black parts ofSimon Howard
the image. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1128
2008-02-28Add fixes for MSVC warnings (thanks entryway).Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1095
2008-02-24Fix leftover "junk" displayed on the screen on the initial melt whenSimon Howard
using -warp. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1089
2008-02-12Set the default startup_delay to 1s.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1081
2008-02-06Use geometric distance to find the nearest mode when autoadjusting,Simon Howard
rather than number of pixels. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1057
2008-02-06Add -geometry command line parameter to allow the screen size to beSimon Howard
specified with one combined option. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1056
2008-01-30Be more accurate in describing windowboxed modes as eitherSimon Howard
"pillarboxed", "letterboxed" or "windowboxed". Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1036
2008-01-25Rename some files to be package name independent.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1024
2008-01-20Fix loading disk icon. Add back -1, -2, -3 command line options forSimon Howard
scale. Only allow 320x200, 640x400 special case for aspect ratio correct when running fullscreen. Clean up "nearest mode" autoadjustment. Fix crash with autoadjust when running windowed. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1007
2008-01-20Add -width, -height command line parameters for specifying the screenSimon Howard
mode. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1006
2008-01-20Refactor the video mode configuration system.Simon Howard
The previous system was built around the program choosing a screen mode from the user's settings, this is based around choosing settings from the specified screen mode. As such, the old screenmultiply config variable is now gone. Also, aspect ratio correction is now on by default. Add new aspect ratio correction functions for horizontal squashing (as a complement to the existing vertical stretching). Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1005
2007-12-18Don't center the mouse on startup if the mouse is disabled (thanksSimon Howard
Siggi) Reset the palette when the window is restored to clear any screen corruption (thanks Catoptromancy) Subversion-branch: /trunk/chocolate-doom Subversion-revision: 994
2007-12-14Don't grab the mouse if the mouse is disabled by -nomouse or throughSimon Howard
use_mouse in the configuration file (thanks MikeRS). Subversion-branch: /trunk/chocolate-doom Subversion-revision: 990
2007-08-08Move SCREENHEIGHT_4_3 to doomdef.h; remove some unused constants.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 950
2007-07-08Make the numeric keypad behave like Vanilla does.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 935
2007-07-07Don't grab the mouse if a drone player (no input, so it isn't needed).Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 932
2007-06-20Add x5 screen scale (thanks MikeRS!)Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 919
2007-06-14Don't send joystick updates when the joystick is disabled. Shut upSimon Howard
warning caused by missing header. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 904
2007-06-13Working joystick code.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 903
2007-03-16Add config file option to enable/disable native keyboard bindings.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 860
2007-03-15Use SDL for endianness byte swapping. m_swap.c removed; m_swap.h renamedSimon Howard
to i_swap.h. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 857
2007-02-24Fix video_driver setting.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 842
2007-02-23Add a configuration file value to allow the SDL video driver to beSimon Howard
explicitly specified. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 838
2007-01-06Hide the mouse cursor using SDL_SetCursor to a blank cursor, notSimon Howard
SDL_ShowCursor. This fixes mouse lag on Windows. Thanks to entryway. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 823
2006-12-24Javadoc-style self-documenting system for command line options.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 806
2006-12-24Include "SDL.h", not <SDL.h>, as per http://www.libsdl.org/faq.phpSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 805
2006-12-18x3, x4 aspect ratio corrected scale functions.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 786
2006-12-16Fix value in autoadjust message.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 782
2006-12-15Split off scaling code into i_scale.c. Add aspect ratio correctionSimon Howard
stretching (fullscreen 320x240, 640x480, etc)! Subversion-branch: /trunk/chocolate-doom Subversion-revision: 771
2006-11-14Use getenv/putenv, not SDL_getenv/SDL_putenv.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 751
2006-11-14Support running as a screensaver under X!Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 750
2006-11-10Add -gdi command line parameter as a shortcut for SDL_VIDEODRIVER=windibSimon Howard
on Windows. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 748
2006-11-06Use DirectX by default on Windows.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 747
2006-11-06Center the mouse on startup to prevent abrupt turns when launching aSimon Howard
game from the command line. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 746
2006-10-22Catch failure to initialise video when calling SDL_Init.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 709
2006-10-18Strip out CVS logs, RCS Id tags.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 704
2006-10-14Refactor I_InitGraphics.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 701