Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Aldrin-John-Olaer-Manalansan authored Mar 2, 2025
1 parent 5f64423 commit 59df2e5
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sa/docs/SF_RENDER_CREATE_FONT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
* For more info about fontname and flags, read Font API's by Microsoft.
* RenderFont objects created by this command allocates memory and needs to be manually destroyed by Opcode 0B6E if not used anymore to free it from memory.
1 change: 1 addition & 0 deletions sa/docs/SF_RENDER_DELETE_FONT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Can be used as a condition which evaluates as false if the specified renderfont object is invalid or does not exist.
3 changes: 3 additions & 0 deletions sa/docs/SF_RENDER_DRAW_POLYGON.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
* Avoid using high cornercount values as this could lag the game. Keep the cornercount value to minimal
* coordx, coordy, width, height are window screen values.
* color must be in 0xAARRGGBB format where A = Alpha, R = Red, G = Green, B = Blue
2 changes: 2 additions & 0 deletions sa/docs/SF_RENDER_DRAW_TEXTURE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
* coordx, coordy, width, height are window screen values.
* contrast must be in 0xAARRGGBB format where A = Alpha, R = Red, G = Green, B = Blue
2 changes: 2 additions & 0 deletions sa/docs/SF_RENDER_DRAW_TEXT_WITH_FONT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
* coordx and coordy must be in window screen coordinate system format
* color must be in 0xAARRGGBB format where A = Alpha, R = Red, G = Green, B = Blue
3 changes: 3 additions & 0 deletions sa/docs/SF_RENDER_LOAD_TEXTURE_FROM_FILE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
* filepath accepts cleo5 relative path keywords like "cleo:\<filepath>" or "root:\<filepath>"
* RenderTexture Objects created by this command requires manual cleanup when not used anymore. Use Opcode 0B72 to do so.
* Can be used as a condition which evaluates as true if the texture has been loaded successfully.
1 change: 1 addition & 0 deletions sa/docs/SF_RENDER_RELEASE_TEXTURE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* Can be used as a condition which evaluates as false if the specified RenderTexture Object is invalid or does not exist.

0 comments on commit 59df2e5

Please sign in to comment.