Nuke qboolean from orbit

I never liked it, but with C2x coming out, it's best to handle bools
properly. I haven't gone through all the uses of int as bool (I'll leave
that for fixing when I encounter them), but this gets QF working with
both c2x (really, gnu2x because of raw strings).
This commit is contained in:
Bill Currie 2023-06-13 18:06:11 +09:00
parent 9871b44d68
commit dbd3d6502a
273 changed files with 894 additions and 897 deletions

View file

@ -207,7 +207,7 @@ typedef struct sv_data_s {
link_t area; ///< linked to a division node or leaf
edict_leaf_t *leafs;
entity_state_t state;
qboolean add_grav;
bool add_grav;
} sv_data_t;
#define SVdata(e) ((sv_data_t *) ((e)->edata))