warzone2100/lib/ivis_opengl
Per Inge Mathisen ff13be0b96 Do not disable lighting if it was never enabled in the first place, to avoid
doing unnecessary OpenGL state changes. Also make sure we turn off normalization.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2778 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-10 13:56:14 +00:00
..
Makefile.am Remove more unused code. This includes iV_GetMouseFrame, which returned an undefined value before. scriptextern.c might want to be adapted. 2007-06-14 21:56:36 +00:00
Makefile.raw Forgot to actually commit this: 2007-06-14 22:17:45 +00:00
ivi.c Clean up LOG_3D 2007-10-27 13:58:01 +00:00
pieblitfunc.c Clean up pieblitfunc. Dump dead code. 2007-11-03 22:48:46 +00:00
piedraw.c Do not disable lighting if it was never enabled in the first place, to avoid 2007-11-10 13:56:14 +00:00
piefunc.c Replace int x,y,z in TERRAIN_VERTEX with a Vector2i, and fix two cases of 2007-10-29 22:00:55 +00:00
piematrix.c Clean up LOG_3D 2007-10-27 13:58:01 +00:00
piematrix.h Revisit data loading (image/texture related) and remove unecessary fVertex pietype. 2007-07-25 22:37:48 +00:00
piemode.c - pie_MAX_POINTS became pie_MAX_VERTICES and was increased to 768 from 512. (Grim's request.) 2007-07-11 21:09:40 +00:00
piepalette.c More cleanup... 2007-06-18 15:46:12 +00:00
piestate.c - WORLD_COORD() and MAP_COORD() macros to make world->tile and tile->world conversions (>>TILE_SHIFT,<<TILE_SHIFT,*TILE_UNITS,/TILE_UNITS) better readable 2007-04-28 20:21:16 +00:00
pietexture.c Add GPL notices to all sourcecode files. 2007-01-15 20:09:25 +00:00
pietexture.h Small cleanup of texture loading and handling, removing unused 2007-02-16 23:19:33 +00:00
rendmode.c Clean up LOG_3D 2007-10-27 13:58:01 +00:00
screen.c Use OLD_TEXTURE_SIZE_FIX instead of 256.0f to scale texcoords, to make clear that this is a fix for the old ... 2007-11-09 17:43:50 +00:00
screen.h - 1st attempt to create an API for image loading (support for PNG features like non 8bit channels still needs to be thought of). Appropriate code location is also missing (added new functions to tex.c, since they were not PNG related) 2007-05-01 20:34:54 +00:00
tex.c * Replace a large amount of strncpy() calls with the safer strlcpy() 2007-10-27 16:18:52 +00:00
textdraw.c Use GLC_TEXTURE for font rendering. Patch by Bertrand Coconnier in bug #10188. 2007-10-27 19:20:25 +00:00