-
Notifications
You must be signed in to change notification settings - Fork 14
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
Functions added to Rectangle
, and less verbose enums
#50
base: master
Are you sure you want to change the base?
Changes from 7 commits
4de31b1
743c0c1
3ddf67b
e9d5ea0
c9e0545
b96e268
49a8f2a
9501221
cf27ce6
fa06ebd
995f601
cfc0932
84542bb
269544d
d6d9b84
a113ff9
74baff4
74a9912
a245f6a
3a9e2cf
61b9055
4bae7bc
9343bd8
2948321
3b10653
40687d6
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 |
---|---|---|
|
@@ -103,7 +103,7 @@ int main() { | |
//---------------------------------------------------------------------------------- | ||
|
||
// Custom GUI font loading | ||
//Font font = LoadFontEx("fonts/rainyhearts16.ttf", 12, 0, 0); | ||
//Font font = LoadFontEx("fonts/rainyhearts16.ttf".toStringz, 12, 0, 0); | ||
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. D string literals are compatible with C strings. This line works as-is in D. 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. I have found that sometimes it works, and sometimes it doesn't. As an experiment, I just tried removing all the Do you know why using a D string works for some Raylib functions but not for others? 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. I just figured it out. It works without 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. Yes, any string literals are implicitly convertible to So please remove this change. |
||
//GuiSetFont(font); | ||
|
||
bool exitWindow = false; | ||
|
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.
This shouldn't be necessary.