mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-31 08:41:11 +00:00
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:
parent
9871b44d68
commit
dbd3d6502a
273 changed files with 894 additions and 897 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue