Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 298 → Rev 333

/programs/games/doom/trunk/st_lib.c
32,6 → 32,8
#include "z_zone.h"
#include "v_video.h"
 
#include "m_swap.h"
 
#include "i_system.h"
 
#include "w_wad.h"
94,8 → 96,8
int numdigits = n->width;
int num = *n->num;
int w = (n->p[0]->width);
int h = (n->p[0]->height);
int w = SHORT(n->p[0]->width);
int h = SHORT(n->p[0]->height);
int x = n->x;
int neg;
222,10 → 224,10
{
if (mi->oldinum != -1)
{
x = mi->x - (mi->p[mi->oldinum]->leftoffset);
y = mi->y - (mi->p[mi->oldinum]->topoffset);
w = (mi->p[mi->oldinum]->width);
h = (mi->p[mi->oldinum]->height);
x = mi->x - SHORT(mi->p[mi->oldinum]->leftoffset);
y = mi->y - SHORT(mi->p[mi->oldinum]->topoffset);
w = SHORT(mi->p[mi->oldinum]->width);
h = SHORT(mi->p[mi->oldinum]->height);
 
if (y - ST_Y < 0)
I_Error("updateMultIcon: y - ST_Y < 0");
271,10 → 273,10
if (*bi->on
&& (bi->oldval != *bi->val || refresh))
{
x = bi->x - (bi->p->leftoffset);
y = bi->y - (bi->p->topoffset);
w = (bi->p->width);
h = (bi->p->height);
x = bi->x - SHORT(bi->p->leftoffset);
y = bi->y - SHORT(bi->p->topoffset);
w = SHORT(bi->p->width);
h = SHORT(bi->p->height);
 
if (y - ST_Y < 0)
I_Error("updateBinIcon: y - ST_Y < 0");