raze-gles/polymer/eduke32/build/include
helixhorned 3753d45601 a-c.c: prevent stray lines on bottom of sprites by saturating v. tex coords.
The functions mvlineasm1, mvlineasm4 and tvlineasm2 can now be set to clamp
the vertical texture coordinate (vplc), preventing the unsightly stray lines
on the bottom of non-y-flipped sprites. (The first part of this effort, r3483,
handled their top).

However, this is only enabled for the mvlineasm ones: the vectorized variants
suffered almost no slowdown (even though a PADDUSD SSE instruction would be a
nice thing to have), while it was pretty significant for the sequential
translucent ones.

Summarizing, this leaves two cases where stray lines may appear in the non-ASM
build (the saturation is NYI for a.nasm):
- at the bottom of y-flipped sprites
- at the bottom of translucent sprites (can be toggled by #define)

Another observation is that recent GCC generates much faster code for this
stuff than Clang from SVN.

git-svn-id: https://svn.eduke32.com/eduke32@4161 1a8010ca-5511-0410-912e-c29ae57300e0
2013-11-16 18:47:11 +00:00
..
msvc Split r3159..r3161, part 3: MSVC, nedmalloc, *layer, startup windows. 2012-11-15 14:27:57 +00:00
a.h a-c.c: prevent stray lines on bottom of sprites by saturating v. tex coords. 2013-11-16 18:47:11 +00:00
baselayer.h SDL: factor out 2x repeated code into keyascfifo_{isfull,insert}. 2013-10-27 21:12:13 +00:00
build.h Wii: Fix build and add custom headers and libs to SVN. (It's helpful to set up a build system from scratch.) 2013-10-13 09:08:31 +00:00
cache1d.h Prevent loading anything except the GRP from the Steam or GOG Duke3D install directories. Loading DUKE.RTS from those paths will be resolved later. 2013-04-05 07:48:20 +00:00
common.h Allow -g, -x, -h, -j, and for the game, -d, to take their file name after a space. This allows quotes to be used with them properly. 2013-11-03 04:02:23 +00:00
compat.h Iron out all errors and warnings when compiling with MinGW-w64, targeting either 32-bit or 64-bit. 2013-10-07 10:03:11 +00:00
crc32.h Work-in-progress adjustment to the C code to compile under C++. It builds for me without errors using Win32 MinGW-GCC, but it still generates warning soup. No guarantees about MSVC or anything using SDL. Enable C++ by building with CPLUSPLUS=1. C remains the default and should compile with no change in setup. 2012-11-05 02:49:08 +00:00
dxdidf.h Fix the DirectInput breakage on Win64. 2012-12-16 05:46:20 +00:00
dxtfilter.h WIP texture cache refactoring 2013-05-15 02:17:17 +00:00
dynamicgtk.h Make the "Start" button of the GTK start-up window the default button of the window, which means pressing Enter now works at you'd expect. 2010-07-02 01:26:56 +00:00
editor.h Mapster32: take initial map file name from ExtPreInit()->G_CheckCommandLine(). 2013-10-28 21:26:25 +00:00
glbuild.h Cleanup of console/on-screen-display (OSD) functionality. 2012-12-25 16:13:50 +00:00
glext.h Work-in-progress adjustment to the C code to compile under C++. It builds for me without errors using Win32 MinGW-GCC, but it still generates warning soup. No guarantees about MSVC or anything using SDL. Enable C++ by building with CPLUSPLUS=1. C remains the default and should compile with no change in setup. 2012-11-05 02:49:08 +00:00
gtkbits.h ass rape 2009-01-09 09:29:17 +00:00
hightile.h Rearrange 'struct hicreplc_t' members so that no padding is inserted on x64. 2012-01-26 21:58:25 +00:00
kplib.h Work-in-progress adjustment to the C code to compile under C++. It builds for me without errors using Win32 MinGW-GCC, but it still generates warning soup. No guarantees about MSVC or anything using SDL. Enable C++ by building with CPLUSPLUS=1. C remains the default and should compile with no change in setup. 2012-11-05 02:49:08 +00:00
lunatic.h Lunatic: make it possible to build with LuaJIT 2.1, add -Lopts=profile there. 2013-10-16 19:43:06 +00:00
lzwnew.h ass rape 2009-01-09 09:29:17 +00:00
m32script.h LunaCON: Add -Wall option and sector[].*bunch, warn on some NYI gamevar flags. 2013-05-24 13:54:25 +00:00
mdsprite.h Fix POLYMER=0 build, cleaning up #include discipline on the way. 2013-02-07 21:01:24 +00:00
mutex.h Wii: Fix build and add custom headers and libs to SVN. (It's helpful to set up a build system from scratch.) 2013-10-13 09:08:31 +00:00
osd.h OSD: retire OSD_GetFmt(), OSD_GetFmtPtr() and OSD_GetTextPtr() functions. 2013-11-04 22:56:10 +00:00
osxbits.h Very few actual changes... mostly formatting fixes from astyle 2010-01-23 22:12:02 +00:00
osxmain.h Moved build to a subdir underneath the eduke32 dir to avoid people trying to compile from the build src dir by mistake 2008-10-20 03:09:19 +00:00
polymer.h Promote pr_customaspect to double from float to match the array of predefined aspect ratios that's in the menu 2013-05-15 14:53:54 +00:00
polymost.h Sanitize hard coded render mode numbers... replace all references to rendmode 0, 3, 4, etc with proper REND_CLASSIC, REND_POLYMOST, REND_POLYMER labels. 2013-05-17 03:44:09 +00:00
pragmas.h Work-in-progress adjustment to the C code to compile under C++. It builds for me without errors using Win32 MinGW-GCC, but it still generates warning soup. No guarantees about MSVC or anything using SDL. Enable C++ by building with CPLUSPLUS=1. C remains the default and should compile with no change in setup. 2012-11-05 02:49:08 +00:00
prlights.h polymer: add support for negative lights 2012-10-21 04:52:43 +00:00
quicklz.h Work-in-progress adjustment to the C code to compile under C++. It builds for me without errors using Win32 MinGW-GCC, but it still generates warning soup. No guarantees about MSVC or anything using SDL. Enable C++ by building with CPLUSPLUS=1. C remains the default and should compile with no change in setup. 2012-11-05 02:49:08 +00:00
rawinput.h win32 stuck input fix among other minor changes 2010-05-16 22:53:08 +00:00
renderlayer.h Clean up some GUI/WM minutiae. Should fix linking Mapster32 on *nix with HAVE_GTK=0. 2013-10-08 10:00:44 +00:00
scancodes.h Source code "cleanup," herein referred to as "rape" 2010-05-02 23:27:30 +00:00
scriptfile.h Work-in-progress adjustment to the C code to compile under C++. It builds for me without errors using Win32 MinGW-GCC, but it still generates warning soup. No guarantees about MSVC or anything using SDL. Enable C++ by building with CPLUSPLUS=1. C remains the default and should compile with no change in setup. 2012-11-05 02:49:08 +00:00
sdl_inc.h Split the handling of audio based on RENDERTYPE into a new variable named MIXERTYPE, allowing Windows builds to use SDL for input and rendering (RENDERTYPE=SDL) while using DirectSound and Windows' MIDI interface (MIXERTYPE=WIN [current default]) so that EMIDI works. 2013-10-07 10:05:03 +00:00
sdlappicon.h Iron out all errors and warnings when compiling with MinGW-w64, targeting either 32-bit or 64-bit. 2013-10-07 10:03:11 +00:00
sdlayer.h Split the handling of audio based on RENDERTYPE into a new variable named MIXERTYPE, allowing Windows builds to use SDL for input and rendering (RENDERTYPE=SDL) while using DirectSound and Windows' MIDI interface (MIXERTYPE=WIN [current default]) so that EMIDI works. 2013-10-07 10:05:03 +00:00
startwin.editor.h Moved build to a subdir underneath the eduke32 dir to avoid people trying to compile from the build src dir by mistake 2008-10-20 03:09:19 +00:00
texcache.h Some further texcache refactoring. Removes all of the texcache globals and shoves them into a struct for easy management. 2013-05-17 03:42:37 +00:00
tracker.hpp Fix warnings involving printf() requiring explicit casts on tracked types. 2012-11-26 08:26:04 +00:00
tracker_operator.hpp Fix warnings involving printf() requiring explicit casts on tracked types. 2012-11-26 08:26:04 +00:00
tracker_operators.hpp Add automatic tracking to the sector[], wall[], sprite[] and tsprite[] 2012-11-09 22:31:02 +00:00
winbits.h In Windows and SDL layers, rename *hitick* to *u64tick*. 2013-07-07 20:59:00 +00:00
winlayer.h Win64 support! (Meaning it works, not that we recommend it for everyday use.) 2012-12-13 02:37:20 +00:00