mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-30 16:30:43 +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
|
@ -44,8 +44,8 @@ extern int ideal_track;
|
|||
|
||||
void Cam_Lock (int playernum);
|
||||
int Cam_TrackNum (void) __attribute__((pure));
|
||||
qboolean Cam_DrawViewModel(void) __attribute__((pure));
|
||||
qboolean Cam_DrawPlayer(int playernum) __attribute__((pure));
|
||||
bool Cam_DrawViewModel(void) __attribute__((pure));
|
||||
bool Cam_DrawPlayer(int playernum) __attribute__((pure));
|
||||
void Cam_Track(usercmd_t *cmd);
|
||||
void Cam_FinishMove(usercmd_t *cmd);
|
||||
void Cam_Reset(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue