summaryrefslogtreecommitdiff
path: root/src/i_video.c
AgeCommit message (Collapse)Author
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
2006-10-14Disable the "loading from disk" icon on MacOS.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 700
2006-09-22Add DEH_String() conversions on more strings that are not being converted.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 653
2006-09-18Repeat key presses when the key is held down - thanks to Mad_Mac for thisSimon Howard
one :-) Subversion-branch: /trunk/chocolate-doom Subversion-revision: 613
2006-09-09Remove hack accidentally committed that always updates the paletteSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 598
2006-05-29Warp mouse to screen center (possibly fix joe's mouse problem).Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 538
2006-05-29Add missing newline to message.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 536
2006-05-29Change the mouse acceleration behavior to accelerate by multiplying by aSimon Howard
linear amount when a threshold is exceeded. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 535
2006-05-26Add an option to disable autoadjusting the video mode.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 532
2006-05-25Add screenmultiply x4 mode.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 526
2006-05-24Remove debug hack used for testing startup delay.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 525
2006-05-20Make Translatekey static.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 489
2006-05-19Add a config file setting to allow a delay to be specified on startup.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 484
2006-05-08Allow -3 scale.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 478
2006-05-06Respect the use_mouse value in configuration files.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 477
2006-05-06Add back -nomouse command line parameter.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 476
2006-04-28Fix spacing of the devparm mode dots!Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 471
2006-03-30Split off timer code into separate i_timer.c file. Add d_dedicated.cSimon Howard
and build chocolate-server, a standalone dedicated server. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 455