reworked texture loading. now favours shallower files over preferred extensions.
attempt to use wad/*.png for hud images too (ezquake compat). image_list can now be used to show the filename the texture loader actually picked (including which package its from). reworked loading screens a little. hopefully this should give qc a better chance of working with them. added invert mouse pitch option to menusys menus, a couple of other tweaks too. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5049 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
e23267b295
commit
1fcba85e20
20 changed files with 278 additions and 122 deletions
|
@ -1962,7 +1962,7 @@ static int Con_DrawConsoleLines(console_t *con, conline_t *l, int sx, int ex, in
|
|||
imgname = Info_ValueForKey(linkinfo, "img");
|
||||
if (*imgname)
|
||||
{
|
||||
pic = R_RegisterPic(imgname);
|
||||
pic = R_RegisterPic(imgname, NULL);
|
||||
if (pic)
|
||||
{
|
||||
imgname = Info_ValueForKey(linkinfo, "w");
|
||||
|
@ -2317,7 +2317,7 @@ void Con_DrawConsole (int lines, qboolean noback)
|
|||
{
|
||||
shader_t *shader = w->backshader;
|
||||
if (!shader)
|
||||
shader = w->backshader = R_RegisterPic(w->backimage);// R_RegisterCustom(w->backimage, SUF_NONE, Shader_DefaultCinematic, w->backimage);
|
||||
shader = w->backshader = R_RegisterPic(w->backimage, NULL);// R_RegisterCustom(w->backimage, SUF_NONE, Shader_DefaultCinematic, w->backimage);
|
||||
if (shader)
|
||||
{
|
||||
int top = 8;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue