mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +00:00
Fix digitalnumberz spacing and saving/loading of screen size
git-svn-id: https://svn.eduke32.com/eduke32@1732 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
234ac1b9bb
commit
92fc1d3566
2 changed files with 4 additions and 3 deletions
|
@ -900,7 +900,7 @@ void G_DrawTXDigiNumZ(int32_t starttile, int32_t x,int32_t y,int32_t n,int32_t s
|
|||
for (k=i-1; k>=0; k--)
|
||||
{
|
||||
p = starttile+*(b+k)-'0';
|
||||
j += (1+tilesizx[p]*z)>>16;
|
||||
j += ((1+tilesizx[p])*z)>>16;
|
||||
}
|
||||
if (cs&ROTATESPRITE_MAX) j<<=16;
|
||||
c = x-(j>>1);
|
||||
|
@ -910,7 +910,7 @@ void G_DrawTXDigiNumZ(int32_t starttile, int32_t x,int32_t y,int32_t n,int32_t s
|
|||
{
|
||||
p = starttile+*(b+k)-'0';
|
||||
rotatesprite((c+j)<<shift,y<<shift,z,0,p,s,pal,2|cs,x1,y1,x2,y2);
|
||||
j += ((1+tilesizx[p]*z)>>((cs&ROTATESPRITE_MAX)?0:16));
|
||||
j += (((1+tilesizx[p])*z)>>((cs&ROTATESPRITE_MAX)?0:16));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1440,10 +1440,11 @@ int32_t registerosdcommands(void)
|
|||
{ "r_drawweapon", "r_drawweapon: enable/disable weapon drawing", (void *)&ud.drawweapon, CVAR_INT, 0, 2 },
|
||||
{ "r_showfps", "r_showfps: show the frame rate counter", (void *)&ud.tickrate, CVAR_BOOL, 0, 1 },
|
||||
{ "r_shadows", "r_shadows: enable/disable sprite and model shadows", (void *)&ud.shadows, CVAR_BOOL, 0, 1 },
|
||||
{ "r_size", "r_size: change size of viewable area", (void *)&ud.screen_size, CVAR_INT, 0, 64 },
|
||||
{ "r_precache", "r_precache: enable/disable the pre-level caching routine", (void *)&ud.config.useprecache, CVAR_BOOL, 0, 1 },
|
||||
|
||||
{ "r_ambientlight", "r_ambientlight: sets the global map light level",(void *)&r_ambientlight, CVAR_FLOAT|CVAR_FUNCPTR, 0, 10 },
|
||||
{ "r_maxfps", "r_maxfps: sets a framerate cap",(void *)&r_maxfps, CVAR_INT|CVAR_FUNCPTR, 0, 1000 },
|
||||
{ "r_maxfps", "r_maxfps: limit the frame rate",(void *)&r_maxfps, CVAR_INT|CVAR_FUNCPTR, 0, 1000 },
|
||||
|
||||
{ "sensitivity","sensitivity <value>: changes the mouse sensitivity", (void *)&CONTROL_MouseSensitivity, CVAR_FLOAT|CVAR_FUNCPTR, 0, 25 },
|
||||
|
||||
|
|
Loading…
Reference in a new issue