summaryrefslogtreecommitdiff
path: root/src/i_scale.c
AgeCommit message (Collapse)Author
2014-05-05Clean up file headers.Simon Howard
This change rewrites and simplifies the copyright headers at the top of all source files: * Remove "Emacs style mode select" line; this line was included in the headers for the originally released source files and appears to be to set the file type for old versions of Emacs. I'm not sure entirely why it was required but I don't think it is any more. * Remove "You should have received a copy of..." text from copyright header. This refers to the old 59 Temple Place address where the FSF headquarters used to be located and is no longer correct. Rather than change to the new address, just remove the paragraph as it is superfluous anyway. This fixes #311. * Remove ---- separator lines so that the file headers are barer and more simplified.
2014-02-20Mark 512x400 mode as decent quality.Simon Howard
I originally flagged this as a poor quality mode because it doesn't include every original pixel at least once (ie. its dimensions are not >= 640x400 - twice the original resolution). In practise, it's actually okay though. Add long comment adapted from my comment on #339 explaining what the definition of a poor quality mode is.
2013-09-19Add missing newline.Simon Howard
Subversion-branch: /branches/v2-branch Subversion-revision: 2666
2013-09-19Fix crash at Heretic E2 end screen (thanks Leitbild).Simon Howard
Subversion-branch: /branches/v2-branch Subversion-revision: 2665
2011-06-13Merge from trunk.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 2347
2011-05-08Shut up compiler warnings.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2333
2011-04-18Add test hack for simulating Porsche Monty's scanline emulation (seeSimon Howard
comment in file). Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2328
2010-08-31Merge from trunk.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1987
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
2008-10-31- Delete the "all-in-one" project file and rename the solution file toRussell Rice
chocolate.sln - Create separate msvc projects for all games supported, which work the same as the codeblocks ones - Include fixes (nothing compiler specific, just additions of stdio.h) to build with msvc Subversion-branch: /branches/raven-branch Subversion-revision: 1371
2008-09-20Replace all use of screens[0] by I_VideoBuffer.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1249
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-02-28Add fixes for MSVC warnings (thanks entryway).Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1095
2008-02-05fix a few warningsRussell Rice
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1045
2008-02-04Mark 512x400 as a "bad" mode (don't autoadjust to it in fullscreen).Simon Howard
Makes 640x480 the default when 320x200 mode is not available. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1043
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-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-06-20Add x5 screen scale (thanks MikeRS!)Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 919
2006-12-18Add missing copyright statement, comments.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 787
2006-12-18x3, x4 aspect ratio corrected scale functions.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 786
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