File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -58,11 +58,11 @@ using bool8_t = uint8_t;
5858
5959// renderfx flags
6060enum RenderFx : uint8_t {
61- RF_THIRD_PERSON = 0x000001 , // don't draw through eyes, only mirrors (player bodies, chat sprites)
62- RF_FIRST_PERSON = 0x000002 , // only draw through eyes (view weapon, damage blood blob)
63- RF_DEPTHHACK = 0x000004 , // for view weapon Z crunching
64- RF_NOSHADOW = 0x000008 , // don't add stencil shadows
65- RF_SWAPCULL = 0x000010 // swap CT_FRONT_SIDED and CT_BACK_SIDED
61+ RF_THIRD_PERSON = 0x01 , // don't draw through eyes, only mirrors (player bodies, chat sprites)
62+ RF_FIRST_PERSON = 0x02 , // only draw through eyes (view weapon, damage blood blob)
63+ RF_DEPTHHACK = 0x04 , // for view weapon Z crunching
64+ RF_NOSHADOW = 0x08 , // don't add stencil shadows
65+ RF_SWAPCULL = 0x10 // swap CT_FRONT_SIDED and CT_BACK_SIDED
6666};
6767
6868// refdef flags
@@ -230,14 +230,14 @@ struct refEntity_t
230230
231231 EntityTag positionOnTag;
232232
233- int8_t clearOrigin;
234- int8_t clearOrigin2;
233+ bool8_t clearOrigin;
234+ bool8_t clearOrigin2;
235235
236- int8_t boundsAdd;
236+ bool8_t boundsAdd;
237237
238- int8_t nonNormalizedAxes; // axis are not normalized, i.e. they have scale
238+ bool8_t nonNormalizedAxes; // axis are not normalized, i.e. they have scale
239239
240- int8_t active;
240+ bool8_t active;
241241
242242 uint16_t attachmentEntity;
243243
You can’t perform that action at this time.
0 commit comments