R dodgytgafiles

From FTE
Revision as of 05:04, 1 November 2005 by Moodles (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Name: r_dodgytgafiles
Default value: "0"
Cvar flags: None
FTEQW Builds: Software Renderer OpenGL Renderer Minimal GL Build Merged Build Linux Build

The original TGA loading code that was commented out in the original source code of quake contains a bug. The engine would always try loading tgas bottom up, even if the topdown flag was specified. This has resulted in a number of TGAs being created for other engines that end up upside down. You can mimic the broken behaviour by setting this value.

Please note: only set this if you have no tools to correct the tga externally to Quake. Also, please encourage other engine coders to fix their engines also.