- removed some pointless comments.

This commit is contained in:
Christoph Oelckers 2022-10-06 00:56:03 +02:00
parent 4a3ff0bd50
commit 78bf99434e
3 changed files with 16 additions and 16 deletions

View file

@ -70,14 +70,14 @@ struct THINGINFO
int16_t mass;
uint8_t clipdist;
int16_t flags;
int32_t elastic; // elasticity
int32_t dmgResist; // damage resistance
int32_t elastic;
int32_t dmgResist;
ESpriteFlags cstat;
int16_t picnum;
int8_t shade;
uint8_t pal;
uint8_t _xrepeat; // xrepeat
uint8_t _yrepeat; // yrepeat
uint8_t _xrepeat;
uint8_t _yrepeat;
int dmgControl[kDamageMax]; // damage
double fClipdist() const { return clipdist * 0.25; }

View file

@ -1576,7 +1576,7 @@ static void scaleDamage(DBloodActor* actor)
}
}
// take in account yrepeat of sprite
// take in account scale of sprite
int yscale = int(actor->spr.ScaleY() * 64);
if (yscale < 64)
{

View file

@ -32,19 +32,19 @@ BEGIN_BLD_NS
CFX gFX;
struct FXDATA {
CALLBACK_ID funcID; // callback
uint8_t detail; // detail
int16_t seq; // seq
int16_t flags; // flags
int32_t gravity; // gravity
CALLBACK_ID funcID;
uint8_t detail;
int16_t seq;
int16_t flags;
int32_t gravity;
int32_t drag; // air drag
int32_t defangle;
int16_t picnum; // picnum
uint8_t xrepeat; // xrepeat
uint8_t yrepeat; // yrepeat
ESpriteFlags cstat; // cstat
int8_t shade; // shade
uint8_t pal; // pal
int16_t picnum;
uint8_t xrepeat;
uint8_t yrepeat;
ESpriteFlags cstat;
int8_t shade;
uint8_t pal;
};
FXDATA gFXData[] = {