improved type names
This commit is contained in:
15
ts-lua/types/RAGE/ScriptDraw.d.ts
vendored
15
ts-lua/types/RAGE/ScriptDraw.d.ts
vendored
@@ -4,7 +4,20 @@
|
||||
*/
|
||||
declare namespace scriptdraw {
|
||||
|
||||
|
||||
//void draw_text(string text, v2 pos, v2 size, float scale, uint32_t color, uint32_t flags)
|
||||
//void wdraw_text(wstring text, v2 pos, v2 size, float scale, uint32_t color, uint32_t flags)
|
||||
//uint32_t register_sprite(string path)
|
||||
//void draw_sprite(uint32_t id, v2 pos, float scale, float rot, uint32_t color)
|
||||
//void draw_line(v2 start, v2 end, uint32_t size, uint32_t color)
|
||||
//void draw_rect(v2 pos, v2 size, uint32_t color)
|
||||
//float pos_pixel_to_rel_x(float in)
|
||||
//float pos_pixel_to_rel_y(float in)
|
||||
//float pos_rel_to_pixel_x(float in)
|
||||
//float pos_rel_to_pixel_y(float in)
|
||||
//float size_pixel_to_rel_x(float in)
|
||||
//float size_pixel_to_rel_y(float in)
|
||||
//float size_rel_to_pixel_x(float in)
|
||||
//float size_rel_to_pixel_y(float in)
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user