Skip to content
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

Added missing functions #164

Closed
wants to merge 3 commits into from
Closed

Conversation

Iskander0
Copy link
Contributor

@Iskander0 Iskander0 commented Jan 16, 2022

GetWindowHandle
GetWorldToScreenEx
LoadFileData
SaveFileData
LoadFileText
SaveFileText
FileExists
DirectoryExists
IsFileExtension
GetFileExtension
GetFileName
GetFileNameWithoutExt
GetDirectoryPath
GetPrevDirectoryPath
GetWorkingDirectory
ChangeDirectory
GetFileModTime
OpenURL
SetGamepadMappings <- fixed name

`rl.SetRandomSeed`
`rl.SetMouseCursor`
`GetWindowHandle`
`GetWorldToScreenEx`
`LoadFileData`
`SaveFileData`
`LoadFileText`
`SaveFileText`
`FileExists`
`DirectoryExists`
`IsFileExtension`
`GetFileExtension`
`GetFileName`
`GetFileNameWithoutExt`
`GetDirectoryPath`
`GetPrevDirectoryPath`
`GetWorkingDirectory`
`ChangeDirectory`
`GetFileModTime`
`OpenURL`
`SetGamepadMappings`
@gen2brain
Copy link
Owner

Thanks, I would prefer not to add file/dir functions that are all available in the standard Go library. Also, no need for SetRandomSeed. This makes maintenance easier for future raylib renames etc.
Cursor functions used to go in the platforms file, they needed to be there, probably not the case anymore.

Can you just add

GetWindowHandle
GetWorldToScreenEx
OpenURL
SetGamepadMappings

@gen2brain
Copy link
Owner

Thanks, I hand-picked some functions and added them.

@gen2brain gen2brain closed this Aug 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants