summaryrefslogtreecommitdiff
path: root/src/i_video.c
AgeCommit message (Collapse)Author
2012-02-02Only use the SDL mouse lag workaround on Windows - not all systems allowSimon Howard
the cursor to be changed. This fixes Chocolate Doom on AmigaOS (thanks Timo Sievänen). Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2483
2011-10-16Zero out bottom two bits of palette data, to more accurately emulate theSimon Howard
PC hardware that only supports 6 bits per channel (thanks GhostlyDeath). Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2433
2011-04-17Fix libtextscreen window hotkeys to work when shift is held down /Simon Howard
capslock turned on. Fix a similar problem in-game when typing cheat codes or using menu hotkeys (thanks Alexandre Xavier). Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2327
2011-01-02Turn off dynamic window resizing feature on OS X, as it adds an uglySimon Howard
resize handle to the corner of the window that overlaps the view of the game. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2231
2010-12-18Add a M_CheckParmWithArgs function, that behaves like M_CheckParm butSimon Howard
also checks that extra options were provided on the command line (thanks Sander van Dijk). Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2223
2010-12-10Fix memory leak when dynamically resizing window in true color videoSimon Howard
modes. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2215
2010-11-29Auto-adjust the screen color depth if the configured color depth is notSimon Howard
supported by the hardware. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2174
2010-11-26In non-palettized boxed screen modes, don't update the border areas ofSimon Howard
the screen. This is more CPU and memory efficient, and also fixes the "flashing border" bug when palette flashes occur. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2170
2010-11-26Turn double buffering on for non-palettized screen modes, as this may beSimon Howard
the cause of screen tearing reports. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2169
2010-11-24Add configuration file parameter and command line option to specify theSimon Howard
screen pixel depth. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2166
2010-11-21Add -8in32 command line parameter to make the game run in 32-bit colorSimon Howard
mode, scaling up into an intermediate 8-bit buffer first. This should help with the palette problems experienced by Windows Vista/7 users. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2164
2010-08-20Remove debug printf().Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1960
2010-08-20Extend mouse code to support up to 8 buttons (allows mouse wheel to beSimon Howard
used). Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1958
2010-08-03When in windowed mode, allow the screen size to be dynamically resizedSimon Howard
by dragging the window borders. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1949
2010-05-14Don't grab the mouse when the demo sequence advances.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1935
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