-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add fixes for gcc 14 #73
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,8 +59,8 @@ extern int fandc; | |
// math tables | ||
// | ||
extern short tantable[FINEANGLES]; | ||
extern fixed sintable[FINEANGLES+FINEANGLEQUAD+1]; | ||
extern fixed *costable; | ||
extern int sintable[FINEANGLES+FINEANGLEQUAD+1]; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Strictly, these tables should be of There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. When I set it to fixed type, I get an error in the BuildTables function, which seems like it might have some logical errors:
This code over there seems a bit off, since it does not use the fixed type, but int:
This code can be found here: https://github.com/fabiangreffrath/taradino/blob/main/rott/rt_draw.c#L228 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Right, it gets more and more fishy. |
||
extern int *costable; | ||
|
||
// | ||
// refresh variables | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know how to not change this, my editor does not support this character. What do I do?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just remove that character from the comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, I've changed it now.