diff --git a/sa/docs/SF_RENDER_CREATE_FONT.md b/sa/docs/SF_RENDER_CREATE_FONT.md new file mode 100644 index 00000000..2c4706a2 --- /dev/null +++ b/sa/docs/SF_RENDER_CREATE_FONT.md @@ -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. \ No newline at end of file diff --git a/sa/docs/SF_RENDER_DELETE_FONT.md b/sa/docs/SF_RENDER_DELETE_FONT.md new file mode 100644 index 00000000..f433a7d3 --- /dev/null +++ b/sa/docs/SF_RENDER_DELETE_FONT.md @@ -0,0 +1 @@ +Can be used as a condition which evaluates as false if the specified renderfont object is invalid or does not exist. \ No newline at end of file diff --git a/sa/docs/SF_RENDER_DRAW_POLYGON.md b/sa/docs/SF_RENDER_DRAW_POLYGON.md new file mode 100644 index 00000000..cc14de0f --- /dev/null +++ b/sa/docs/SF_RENDER_DRAW_POLYGON.md @@ -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 \ No newline at end of file diff --git a/sa/docs/SF_RENDER_DRAW_TEXTURE.md b/sa/docs/SF_RENDER_DRAW_TEXTURE.md new file mode 100644 index 00000000..a5cdfb67 --- /dev/null +++ b/sa/docs/SF_RENDER_DRAW_TEXTURE.md @@ -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 \ No newline at end of file diff --git a/sa/docs/SF_RENDER_DRAW_TEXT_WITH_FONT.md b/sa/docs/SF_RENDER_DRAW_TEXT_WITH_FONT.md new file mode 100644 index 00000000..050e0ecf --- /dev/null +++ b/sa/docs/SF_RENDER_DRAW_TEXT_WITH_FONT.md @@ -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 \ No newline at end of file diff --git a/sa/docs/SF_RENDER_LOAD_TEXTURE_FROM_FILE.md b/sa/docs/SF_RENDER_LOAD_TEXTURE_FROM_FILE.md new file mode 100644 index 00000000..6a662038 --- /dev/null +++ b/sa/docs/SF_RENDER_LOAD_TEXTURE_FROM_FILE.md @@ -0,0 +1,3 @@ +* filepath accepts cleo5 relative path keywords like "cleo:\" or "root:\" +* 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. \ No newline at end of file diff --git a/sa/docs/SF_RENDER_RELEASE_TEXTURE.md b/sa/docs/SF_RENDER_RELEASE_TEXTURE.md new file mode 100644 index 00000000..0c3dd924 --- /dev/null +++ b/sa/docs/SF_RENDER_RELEASE_TEXTURE.md @@ -0,0 +1 @@ +* Can be used as a condition which evaluates as false if the specified RenderTexture Object is invalid or does not exist. \ No newline at end of file