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
|
@ -553,7 +553,7 @@ IMT_BindButton (imt_t *imt, int button, const char *binding)
|
|||
}
|
||||
}
|
||||
|
||||
qboolean
|
||||
bool
|
||||
IMT_ProcessAxis (int axis, int value)
|
||||
{
|
||||
imt_t *imt = in_contexts.a[imt_current_context].active_imt;
|
||||
|
@ -643,7 +643,7 @@ process_binding (int button, int state, const char *cmd)
|
|||
}
|
||||
}
|
||||
|
||||
qboolean
|
||||
bool
|
||||
IMT_ProcessButton (int button, int state)
|
||||
{
|
||||
imt_t *imt = in_contexts.a[imt_current_context].active_imt;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue