summaryrefslogtreecommitdiff
path: root/src/i_video.c
AgeCommit message (Collapse)Author
2008-10-10Move shiftxform table to i_video.c; make 'data2' for key eventsSimon Howard
consistently be the properly translated version of the key pressed. Subversion-branch: /branches/raven-branch Subversion-revision: 1352
2008-10-04Draw loading disk into a temporary buffer rather than the screen, to fixSimon Howard
bug with leftover junk at startup melt. Subversion-branch: /branches/raven-branch Subversion-revision: 1333
2008-09-28Move novert support into common i_video.c code.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1302
2008-09-24Add I_EnableLoadingDisk function to enable Doom's "loading disk" - it isSimon Howard
not present in Heretic. Subversion-branch: /branches/raven-branch Subversion-revision: 1279
2008-09-20Remove definitions from heretic/doomdef.h and use common headers. MergeSimon Howard
heretic ticcmd_t to common type. Subversion-branch: /branches/raven-branch Subversion-revision: 1261
2008-09-20Replace all use of screens[0] by I_VideoBuffer.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1249
2008-09-20Remove screen parameter from V_DrawPatch functions; update code to useSimon Howard
V_UseBuffer where necessary. Subversion-branch: /branches/raven-branch Subversion-revision: 1248
2008-09-20Add a dest_buffer pointer for the v_video code, and V_UseBuffer to allowSimon Howard
that to be temporarily changed. Make V_DrawBlock always draw to the screen. Subversion-branch: /branches/raven-branch Subversion-revision: 1246
2008-09-20Add I_VideoBuffer variable for pointer to screen buffer used bySimon Howard
i_video.c code. Make V_CopyRect always blit to the screen. Subversion-branch: /branches/raven-branch Subversion-revision: 1245
2008-09-11Refactor configuration file system to allow configuration file variablesSimon Howard
to be bound in a distributed fashion around the program. Remove dependency of m_config.c on doom/. Subversion-branch: /branches/raven-branch Subversion-revision: 1222
2008-09-08Remove i_system.c dependency on doom/ code and add a generic I_AtExit()Simon Howard
API for scheduling functions to call on quit. Subversion-branch: /branches/raven-branch Subversion-revision: 1216
2008-09-07Move m_bbox.[ch] back to common (needed by v_video.c). Remove someSimon Howard
common->doom header dependencies. Subversion-branch: /branches/raven-branch Subversion-revision: 1211
2008-09-07Move dehacked code to doom/. Split dehacked string replacement code intoSimon Howard
common code and remove dependencies on deh_main.h. Subversion-branch: /branches/raven-branch Subversion-revision: 1210
2008-09-06Remove dependencies of i_video.c on doom/ code.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1205
2008-09-06Remove includes of doomdef.h where possible, move generic parts into topSimon Howard
level. Subversion-branch: /branches/raven-branch Subversion-revision: 1204
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