-
Notifications
You must be signed in to change notification settings - Fork 45
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
Various functions, enums, and type modification. #89
Conversation
There are some constants without description. Furthermore, the description of compressed texture was copied from CompressedImageFormat.
There are some problems
|
Thank you! :) I left |
Looks like http://love2d-community.github.io/love-api/ is not updated yet after this merge. |
Since love2d-community/love-api#89 has been merged, then it's unnecessary to use my own fork anymore unless there are more changes.
Sorry @MikuAuahDark, I somehow didn't see your comment unti now. This project doesn't really seem to have an active maintainer, and I don't want to actively maintain it. Would you like to, or know anyone who would? :) I think updating the HTML page is simply a matter of running html-generator.lua and uploading the resulting page. And/or, would you like to maintain loveref.github.io? It is basically the same but with a URL and a design that I prefer. |
Actually I have write access to this repo, but since I don't want to suddenly push lots of change without any discussion first, I made it as PR instead. About loveref.github.io, I personally prefer the love2d-community.github.io/love-api style, although I think some text are simply too small, but that can be fixed by increasing the size of the text. I think automating the updates with GitHub Actions is possible, but I can't promise anything for the next 2 weeks. |
Awesome, well if you find a way to automate the updates I'll do the same thing with loveref.github.io :) Regarding making the text bigger, you might want to check out and merge PR #80 |
After checking the repo, why doesn't this used? https://github.com/love2d-community/love-api/blob/master/.travis/push.sh Anyway we may able to discuss about automating further in Discord. |
I'm not sure, I believe @rm-code and @daviel set this up. While I can't say that I'm the "owner" of this repo (@rm-code again did the work for this, which I'm grateful for), you have my blessing (for what it's worth) @MikuAuahDark to automate and otherwise improve this project in any way you see fit (as does anyone else with write access to this repo). |
Well, I guess I'll wait for their replies first then. I don't want to mess up anything. |
This is somewhat a big changes. These changes were made when I was making Teal type definitions for LOVE, but I think it's useful to have some of the changes to upstream. Feel free to review and add comment, but I'll keep it in draft state until I completed it.
Progress:
dpiscale
parameter tolove.graphics.newFont
2nd and 3rd variants.Drawable
fromlove
tolove.graphics
.ByteData
fromlove
tolove.data
.DisplayOrientation
enum tolove.window
.DroppedFile
type tolove.filesystem
.Object
methods.VertexAttributeStep
enum tolove.graphics
.VertexWinding
enum inlove.graphics
.IndexDataType
enum tolove.graphics
.PixelFormat
enum tolove.image
(partial, some descriptions needs attention).love.graphics.newShader
.love.font
module.GlyphData
type and methods.Rasterizer
type and methods.HintingMode
enum.love.font
functions.Transform:isAffine
toTransform:isAffine2DTransform
.CompressedDataFormat
fromlove.math
tolove.data
.CompressedData
fromlove.math
tolove.data
.CompareMode
enum.GraphicsFeature
enum.GraphicsLimit
enum.Texture
functions.Image
andCanvas
which is available inTexture
.CanvasMipmapMode
toMipmapMode
.