From f2b5d80a59524ed07d5c33c9ac94b3aac151dc15 Mon Sep 17 00:00:00 2001 From: Sam Stajnko Date: Fri, 1 Aug 2025 15:58:52 +1000 Subject: [PATCH 1/7] Fix quad_from_line suffix attribute --- coresdk/src/coresdk/quad_geometry.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coresdk/src/coresdk/quad_geometry.h b/coresdk/src/coresdk/quad_geometry.h index e9412d91..a6ab4c68 100644 --- a/coresdk/src/coresdk/quad_geometry.h +++ b/coresdk/src/coresdk/quad_geometry.h @@ -83,7 +83,7 @@ namespace splashkit_lib * @param width The width of the quad * @return A quad that represents the line with the given width * - * @attribute suffix from_line + * @attribute suffix line */ quad quad_from(const point_2d& line_origin, const point_2d& line_end, double width); From c826be03282f4926e7f2bbf22d5f0c97c4ca0320 Mon Sep 17 00:00:00 2001 From: Sam Stajnko Date: Fri, 1 Aug 2025 16:01:32 +1000 Subject: [PATCH 2/7] Fix draw_bitmap_on_bitmap suffix attribute --- coresdk/src/coresdk/images.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/coresdk/src/coresdk/images.h b/coresdk/src/coresdk/images.h index 35f8397b..d4cc4eda 100644 --- a/coresdk/src/coresdk/images.h +++ b/coresdk/src/coresdk/images.h @@ -179,7 +179,6 @@ namespace splashkit_lib * @attribute class bitmap * @attribute method draw_bitmap * @attribute self bmp - * @attribute suffix on_bitmap */ void draw_bitmap_on_bitmap(bitmap destination, bitmap bmp, double x, double y); @@ -199,7 +198,7 @@ namespace splashkit_lib * @attribute class bitmap * @attribute method draw_bitmap * @attribute self bmp - * @attribute suffix on_bitmap_with_options + * @attribute suffix with_options */ void draw_bitmap_on_bitmap(bitmap destination, bitmap bmp, double x, double y, drawing_options opts); From 18efa77e710dd9d3647a6d14ed88e588cf4e43e2 Mon Sep 17 00:00:00 2001 From: Sam Stajnko Date: Fri, 1 Aug 2025 16:16:38 +1000 Subject: [PATCH 3/7] Fix pixel_drawn_at_point suffix attribute --- coresdk/src/coresdk/images.h | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/coresdk/src/coresdk/images.h b/coresdk/src/coresdk/images.h index d4cc4eda..a5c1c8f1 100644 --- a/coresdk/src/coresdk/images.h +++ b/coresdk/src/coresdk/images.h @@ -583,8 +583,10 @@ namespace splashkit_lib * @param y The y coordinate within the bitmap to check * @returns True if the pixel at that point in the bitmap is drawn. * - * @attribute class bitmap - * @attribute method pixel_drawn_at_point + * + * @attribute class bitmap + * @attribute method pixel_drawn_at_point + * @attribute self bmp */ bool pixel_drawn_at_point(bitmap bmp, double x, double y); @@ -598,10 +600,11 @@ namespace splashkit_lib * @returns True if the pixel at that point in the bitmap's cell is * drawn. * + * + * @attribute class bitmap + * @attribute method pixel_drawn_at_point * @attribute suffix in_cell - * - * @attribute class bitmap - * @attribute method pixel_drawn_at_point + * @attribute self bmp */ bool pixel_drawn_at_point(bitmap bmp, int cell, double x, double y); @@ -612,10 +615,11 @@ namespace splashkit_lib * @param pt The point within the bitmap to check. * @returns True if the pixel at that point in the bitmap is drawn. * + * + * @attribute class bitmap + * @attribute method pixel_drawn_at_point * @attribute suffix pt - * - * @attribute class bitmap - * @attribute method pixel_drawn_at_point + * @attribute self bmp */ bool pixel_drawn_at_point(bitmap bmp, const point_2d &pt); @@ -628,10 +632,11 @@ namespace splashkit_lib * @returns True if the pixel at that point in the bitmap's cell is * drawn. * - * @attribute suffix in_cell_pt * - * @attribute class bitmap - * @attribute method pixel_drawn_at_point_in_cell + * @attribute class bitmap + * @attribute method pixel_drawn_at_point + * @attribute suffix in_cell_pt + * @attribute self bmp */ bool pixel_drawn_at_point(bitmap bmp, int cell, const point_2d &pt); } From 37d83cb3469e21bf2d34c58d94fc4381774a21eb Mon Sep 17 00:00:00 2001 From: Sam Stajnko Date: Fri, 1 Aug 2025 16:22:12 +1000 Subject: [PATCH 4/7] Fix set_interface_font suffix attribute --- coresdk/src/coresdk/interface.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coresdk/src/coresdk/interface.h b/coresdk/src/coresdk/interface.h index 7683e5fc..65cd49b6 100644 --- a/coresdk/src/coresdk/interface.h +++ b/coresdk/src/coresdk/interface.h @@ -39,7 +39,7 @@ namespace splashkit_lib * * @param fnt The name of the font to be used * - * @attribute suffix font_as_string + * @attribute suffix with_string */ void set_interface_font(const string& fnt); From 3ab617f6d0fad863124c4addc56c35947ceff1c6 Mon Sep 17 00:00:00 2001 From: Sam Stajnko Date: Fri, 1 Aug 2025 16:27:55 +1000 Subject: [PATCH 5/7] Fix vector_from_center_sprite_to_point suffix --- coresdk/src/coresdk/sprites.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/coresdk/src/coresdk/sprites.h b/coresdk/src/coresdk/sprites.h index b6fecbcc..08a63f6a 100644 --- a/coresdk/src/coresdk/sprites.h +++ b/coresdk/src/coresdk/sprites.h @@ -953,9 +953,9 @@ namespace splashkit_lib * @param pt The point that is at the end of the vector. * @returns A vector pointing from the sprite to the point. * - * @attribute class sprite - * @attribute method vector_to - * @attribute suffix point + * @attribute class sprite + * @attribute method vector_from_center_to_point + * @attribute self s */ vector_2d vector_from_center_sprite_to_point(sprite s, const point_2d &pt); From 588b7e41369d033d757e703a3ddc1c07c14bef50 Mon Sep 17 00:00:00 2001 From: Sam Stajnko Date: Fri, 1 Aug 2025 16:33:06 +1000 Subject: [PATCH 6/7] Generate files --- generated/csharp/SplashKit.cs | 4 +- generated/docs/api.json | 68 +++++++++++++------------ generated/python/splashkit.py | 10 ++-- generated/translator_cache.json | 88 ++++++++++++++++----------------- 4 files changed, 83 insertions(+), 87 deletions(-) diff --git a/generated/csharp/SplashKit.cs b/generated/csharp/SplashKit.cs index e8e207bf..a2fd3261 100644 --- a/generated/csharp/SplashKit.cs +++ b/generated/csharp/SplashKit.cs @@ -28802,7 +28802,7 @@ public void UpdateAnimation(float pct, bool withSound) /// /// The point that is at the end of the vector. /// A vector pointing from the sprite to the point. - public Vector2D VectorTo(Point2D pt) + public Vector2D VectorFromCenterToPoint(Point2D pt) { return SplashKit.VectorFromCenterSpriteToPoint(this, pt); } @@ -30255,7 +30255,7 @@ public bool PixelDrawnAtPoint(double x, double y) /// The bitmap cell to check. /// The point within the bitmap to check. /// True if the pixel at that point in the bitmap's cell is drawn. - public bool PixelDrawnAtPointInCell(int cell, Point2D pt) + public bool PixelDrawnAtPoint(int cell, Point2D pt) { return SplashKit.PixelDrawnAtPoint(this, cell, pt); } diff --git a/generated/docs/api.json b/generated/docs/api.json index 2bcd9ad5..b36889cf 100644 --- a/generated/docs/api.json +++ b/generated/docs/api.json @@ -18617,7 +18617,7 @@ "signature": "quad quad_from(const point_2d& line_origin,const point_2d& line_end,double width);", "name": "quad_from", "method_name": null, - "unique_global_name": "quad_from_from_line", + "unique_global_name": "quad_from_line", "unique_method_name": null, "suffix_name": null, "description": "Returns a quad from the passed in line and width.\nThe quad will be a rectangle with the line as the diagonal,\nand the width as the width of the rectangle.", @@ -18672,13 +18672,13 @@ } }, "attributes": { - "suffix": "from_line", + "suffix": "line", "group": "geometry", "static": "geometry" }, "signatures": { "python": [ - "def quad_from_from_line(line_origin, line_end, width):" + "def quad_from_line(line_origin, line_end, width):" ], "cpp": [ "quad quad_from(const point_2d &line_origin, const point_2d &line_end, double width)" @@ -31251,8 +31251,8 @@ "signature": "void draw_bitmap_on_bitmap(bitmap destination,bitmap bmp,double x,double y);", "name": "draw_bitmap_on_bitmap", "method_name": "draw_bitmap", - "unique_global_name": "draw_bitmap_on_bitmap_on_bitmap", - "unique_method_name": "bitmap.draw_bitmap_on_bitmap", + "unique_global_name": "draw_bitmap_on_bitmap", + "unique_method_name": "bitmap.draw_bitmap", "suffix_name": null, "description": "Draws the bitmap supplied into `bmp` to the given bitmap.\nat `x` and `y`.", "brief": null, @@ -31322,13 +31322,12 @@ "class": "bitmap", "method": "draw_bitmap", "self": "bmp", - "suffix": "on_bitmap", "group": "graphics", "static": "images" }, "signatures": { "python": [ - "def draw_bitmap_on_bitmap_on_bitmap(destination, bmp, x, y):" + "def draw_bitmap_on_bitmap(destination, bmp, x, y):" ], "cpp": [ "void draw_bitmap_on_bitmap(bitmap destination, bitmap bmp, double x, double y)" @@ -31346,8 +31345,8 @@ "signature": "void draw_bitmap_on_bitmap(bitmap destination,bitmap bmp,double x,double y,drawing_options opts);", "name": "draw_bitmap_on_bitmap", "method_name": "draw_bitmap", - "unique_global_name": "draw_bitmap_on_bitmap_on_bitmap_with_options", - "unique_method_name": "bitmap.draw_bitmap_on_bitmap_with_options", + "unique_global_name": "draw_bitmap_on_bitmap_with_options", + "unique_method_name": "bitmap.draw_bitmap_with_options", "suffix_name": null, "description": "Draws the bitmap supplied into `bmp` to the given bitmap.\nwith extra drawing options supplied in `opts` at `x` and `y`.", "brief": null, @@ -31430,13 +31429,13 @@ "class": "bitmap", "method": "draw_bitmap", "self": "bmp", - "suffix": "on_bitmap_with_options", + "suffix": "with_options", "group": "graphics", "static": "images" }, "signatures": { "python": [ - "def draw_bitmap_on_bitmap_on_bitmap_with_options(destination, bmp, x, y, opts):" + "def draw_bitmap_on_bitmap_with_options(destination, bmp, x, y, opts):" ], "cpp": [ "void draw_bitmap_on_bitmap(bitmap destination, bitmap bmp, double x, double y, drawing_options opts)" @@ -31912,10 +31911,10 @@ "attributes": { "class": "bitmap", "method": "pixel_drawn_at_point", + "self": "bmp", "suffix": "pt", "group": "graphics", - "static": "images", - "self": "bmp" + "static": "images" }, "signatures": { "python": [ @@ -31994,9 +31993,9 @@ "attributes": { "class": "bitmap", "method": "pixel_drawn_at_point", + "self": "bmp", "group": "graphics", - "static": "images", - "self": "bmp" + "static": "images" }, "signatures": { "python": [ @@ -32017,9 +32016,9 @@ { "signature": "bool pixel_drawn_at_point(bitmap bmp,int cell,const point_2d &pt);", "name": "pixel_drawn_at_point", - "method_name": "pixel_drawn_at_point_in_cell", + "method_name": "pixel_drawn_at_point", "unique_global_name": "pixel_drawn_at_point_in_cell_pt", - "unique_method_name": "bitmap.pixel_drawn_at_point_in_cell_in_cell_pt", + "unique_method_name": "bitmap.pixel_drawn_at_point_in_cell_pt", "suffix_name": null, "description": "Check if the bitmap has a pixel drawn at the indicated point in the cell.", "brief": null, @@ -32074,11 +32073,11 @@ }, "attributes": { "class": "bitmap", - "method": "pixel_drawn_at_point_in_cell", + "method": "pixel_drawn_at_point", + "self": "bmp", "suffix": "in_cell_pt", "group": "graphics", - "static": "images", - "self": "bmp" + "static": "images" }, "signatures": { "python": [ @@ -32088,7 +32087,7 @@ "bool pixel_drawn_at_point(bitmap bmp, int cell, const point_2d &pt)" ], "csharp": [ - "public bool Bitmap.PixelDrawnAtPointInCell(int cell, Point2D pt);", + "public bool Bitmap.PixelDrawnAtPoint(int cell, Point2D pt);", "public static bool SplashKit.PixelDrawnAtPoint(Bitmap bmp, int cell, Point2D pt);" ], "pascal": [ @@ -32170,10 +32169,10 @@ "attributes": { "class": "bitmap", "method": "pixel_drawn_at_point", + "self": "bmp", "suffix": "in_cell", "group": "graphics", - "static": "images", - "self": "bmp" + "static": "images" }, "signatures": { "python": [ @@ -50591,7 +50590,7 @@ "signature": "void set_interface_font(const string& fnt);", "name": "set_interface_font", "method_name": null, - "unique_global_name": "set_interface_font_font_as_string", + "unique_global_name": "set_interface_font_with_string", "unique_method_name": null, "suffix_name": null, "description": "Sets the interface's font.", @@ -50620,13 +50619,13 @@ } }, "attributes": { - "suffix": "font_as_string", + "suffix": "with_string", "group": "interface", "static": "interface" }, "signatures": { "python": [ - "def set_interface_font_font_as_string(fnt):" + "def set_interface_font_with_string(fnt):" ], "cpp": [ "void set_interface_font(const string &fnt)" @@ -84497,9 +84496,9 @@ { "signature": "vector_2d vector_from_center_sprite_to_point(sprite s,const point_2d &pt);", "name": "vector_from_center_sprite_to_point", - "method_name": "vector_to", - "unique_global_name": "vector_from_center_sprite_to_point_point", - "unique_method_name": "sprite.vector_to_point", + "method_name": "vector_from_center_to_point", + "unique_global_name": "vector_from_center_sprite_to_point", + "unique_method_name": "sprite.vector_from_center_to_point", "suffix_name": null, "description": "Returns a `vector_2d` that is the difference in location from the center of\nthe sprite `s` to the point `pt`.", "brief": null, @@ -84541,21 +84540,20 @@ }, "attributes": { "class": "sprite", - "method": "vector_to", - "suffix": "point", + "method": "vector_from_center_to_point", + "self": "s", "group": "sprites", - "static": "sprite", - "self": "s" + "static": "sprite" }, "signatures": { "python": [ - "def vector_from_center_sprite_to_point_point(s, pt):" + "def vector_from_center_sprite_to_point(s, pt):" ], "cpp": [ "vector_2d vector_from_center_sprite_to_point(sprite s, const point_2d &pt)" ], "csharp": [ - "public Vector2D Sprite.VectorTo(Point2D pt);", + "public Vector2D Sprite.VectorFromCenterToPoint(Point2D pt);", "public static Vector2D SplashKit.VectorFromCenterSpriteToPoint(Sprite s, Point2D pt);" ], "pascal": [ diff --git a/generated/python/splashkit.py b/generated/python/splashkit.py index 59f6c943..95492172 100644 --- a/generated/python/splashkit.py +++ b/generated/python/splashkit.py @@ -6753,13 +6753,13 @@ def draw_bitmap_named_with_options ( name, x, y, opts ): __skparam__y = __skadapter__to_sklib_double(y) __skparam__opts = __skadapter__to_sklib_drawing_options(opts) sklib.__sklib__draw_bitmap__string__double__double__drawing_options(__skparam__name, __skparam__x, __skparam__y, __skparam__opts) -def draw_bitmap_on_bitmap_on_bitmap ( destination, bmp, x, y ): +def draw_bitmap_on_bitmap ( destination, bmp, x, y ): __skparam__destination = __skadapter__to_sklib_bitmap(destination) __skparam__bmp = __skadapter__to_sklib_bitmap(bmp) __skparam__x = __skadapter__to_sklib_double(x) __skparam__y = __skadapter__to_sklib_double(y) sklib.__sklib__draw_bitmap_on_bitmap__bitmap__bitmap__double__double(__skparam__destination, __skparam__bmp, __skparam__x, __skparam__y) -def draw_bitmap_on_bitmap_on_bitmap_with_options ( destination, bmp, x, y, opts ): +def draw_bitmap_on_bitmap_with_options ( destination, bmp, x, y, opts ): __skparam__destination = __skadapter__to_sklib_bitmap(destination) __skparam__bmp = __skadapter__to_sklib_bitmap(bmp) __skparam__x = __skadapter__to_sklib_double(x) @@ -7023,7 +7023,7 @@ def set_interface_element_shadows ( radius, clr, offset ): __skparam__clr = __skadapter__to_sklib_color(clr) __skparam__offset = __skadapter__to_sklib_point_2d(offset) sklib.__sklib__set_interface_element_shadows__int__color__point_2d(__skparam__radius, __skparam__clr, __skparam__offset) -def set_interface_font_font_as_string ( fnt ): +def set_interface_font_with_string ( fnt ): __skparam__fnt = __skadapter__to_sklib_string(fnt) sklib.__sklib__set_interface_font__string_ref(__skparam__fnt) def set_interface_font ( fnt ): @@ -8263,7 +8263,7 @@ def same_point ( pt1, pt2 ): __skparam__pt2 = __skadapter__to_sklib_point_2d(pt2) __skreturn = sklib.__sklib__same_point__point_2d_ref__point_2d_ref(__skparam__pt1, __skparam__pt2) return __skadapter__to_bool(__skreturn) -def quad_from_from_line ( line_origin, line_end, width ): +def quad_from_line ( line_origin, line_end, width ): __skparam__line_origin = __skadapter__to_sklib_point_2d(line_origin) __skparam__line_end = __skadapter__to_sklib_point_2d(line_end) __skparam__width = __skadapter__to_sklib_double(width) @@ -9486,7 +9486,7 @@ def update_sprite_animation_percent_with_sound ( s, pct, with_sound ): __skparam__pct = __skadapter__to_sklib_float(pct) __skparam__with_sound = __skadapter__to_sklib_bool(with_sound) sklib.__sklib__update_sprite_animation__sprite__float__bool(__skparam__s, __skparam__pct, __skparam__with_sound) -def vector_from_center_sprite_to_point_point ( s, pt ): +def vector_from_center_sprite_to_point ( s, pt ): __skparam__s = __skadapter__to_sklib_sprite(s) __skparam__pt = __skadapter__to_sklib_point_2d(pt) __skreturn = sklib.__sklib__vector_from_center_sprite_to_point__sprite__point_2d_ref(__skparam__s, __skparam__pt) diff --git a/generated/translator_cache.json b/generated/translator_cache.json index 93c33016..c5991920 100644 --- a/generated/translator_cache.json +++ b/generated/translator_cache.json @@ -3,7 +3,7 @@ "group": "animations", "brief": "Animations in SplashKit can be used to move between cells in\nbitmaps and sprites. Each animation generates a number sequence\nthat can then be used when drawing bitmaps.", "description": null, - "parsed_at": 1753421298, + "parsed_at": 1754029915, "path": "coresdk/src/coresdk/animations.h", "functions": [ { @@ -7535,7 +7535,7 @@ "group": "graphics", "brief": null, "description": null, - "parsed_at": 1753421301, + "parsed_at": 1754029916, "path": "coresdk/src/coresdk/clipping.h", "functions": [ { @@ -19997,7 +19997,7 @@ "group": "graphics", "brief": null, "description": null, - "parsed_at": 1753421308, + "parsed_at": 1754029917, "path": "coresdk/src/coresdk/drawing_options.h", "functions": [ { @@ -23594,7 +23594,7 @@ "group": "graphics", "brief": null, "description": null, - "parsed_at": 1753421309, + "parsed_at": 1754029918, "path": "coresdk/src/coresdk/graphics.h", "functions": [ { @@ -24173,7 +24173,7 @@ "group": "graphics", "brief": "SplashKit Images allow drawing of bitmaps and sprites to graphic windows.", "description": null, - "parsed_at": 1753421310, + "parsed_at": 1754029920, "path": "coresdk/src/coresdk/images.h", "functions": [ { @@ -25878,8 +25878,8 @@ "signature": "void draw_bitmap_on_bitmap(bitmap destination,bitmap bmp,double x,double y);", "name": "draw_bitmap_on_bitmap", "method_name": "draw_bitmap", - "unique_global_name": "draw_bitmap_on_bitmap_on_bitmap", - "unique_method_name": "bitmap.draw_bitmap_on_bitmap", + "unique_global_name": "draw_bitmap_on_bitmap", + "unique_method_name": "bitmap.draw_bitmap", "suffix_name": null, "description": "Draws the bitmap supplied into `bmp` to the given bitmap.\nat `x` and `y`.", "brief": null, @@ -25949,7 +25949,6 @@ "class": "bitmap", "method": "draw_bitmap", "self": "bmp", - "suffix": "on_bitmap", "group": "graphics", "static": "images" } @@ -25958,8 +25957,8 @@ "signature": "void draw_bitmap_on_bitmap(bitmap destination,bitmap bmp,double x,double y,drawing_options opts);", "name": "draw_bitmap_on_bitmap", "method_name": "draw_bitmap", - "unique_global_name": "draw_bitmap_on_bitmap_on_bitmap_with_options", - "unique_method_name": "bitmap.draw_bitmap_on_bitmap_with_options", + "unique_global_name": "draw_bitmap_on_bitmap_with_options", + "unique_method_name": "bitmap.draw_bitmap_with_options", "suffix_name": null, "description": "Draws the bitmap supplied into `bmp` to the given bitmap.\nwith extra drawing options supplied in `opts` at `x` and `y`.", "brief": null, @@ -26042,7 +26041,7 @@ "class": "bitmap", "method": "draw_bitmap", "self": "bmp", - "suffix": "on_bitmap_with_options", + "suffix": "with_options", "group": "graphics", "static": "images" } @@ -26421,10 +26420,10 @@ "attributes": { "class": "bitmap", "method": "pixel_drawn_at_point", + "self": "bmp", "suffix": "pt", "group": "graphics", - "static": "images", - "self": "bmp" + "static": "images" } }, { @@ -26488,17 +26487,17 @@ "attributes": { "class": "bitmap", "method": "pixel_drawn_at_point", + "self": "bmp", "group": "graphics", - "static": "images", - "self": "bmp" + "static": "images" } }, { "signature": "bool pixel_drawn_at_point(bitmap bmp,int cell,const point_2d &pt);", "name": "pixel_drawn_at_point", - "method_name": "pixel_drawn_at_point_in_cell", + "method_name": "pixel_drawn_at_point", "unique_global_name": "pixel_drawn_at_point_in_cell_pt", - "unique_method_name": "bitmap.pixel_drawn_at_point_in_cell_in_cell_pt", + "unique_method_name": "bitmap.pixel_drawn_at_point_in_cell_pt", "suffix_name": null, "description": "Check if the bitmap has a pixel drawn at the indicated point in the cell.", "brief": null, @@ -26553,11 +26552,11 @@ }, "attributes": { "class": "bitmap", - "method": "pixel_drawn_at_point_in_cell", + "method": "pixel_drawn_at_point", + "self": "bmp", "suffix": "in_cell_pt", "group": "graphics", - "static": "images", - "self": "bmp" + "static": "images" } }, { @@ -26634,10 +26633,10 @@ "attributes": { "class": "bitmap", "method": "pixel_drawn_at_point", + "self": "bmp", "suffix": "in_cell", "group": "graphics", - "static": "images", - "self": "bmp" + "static": "images" } }, { @@ -26791,7 +26790,7 @@ "group": "interface", "brief": "SplashKit Interface provides functions to create user interfaces, with elements such as draggable panels, buttons and text boxes.", "description": "SplashKit`s interface library provides various functions for creating\npanels, and drawing interface elements such as buttons, text boxes, and more", - "parsed_at": 1753421311, + "parsed_at": 1754029922, "path": "coresdk/src/coresdk/interface.h", "functions": [ { @@ -28927,7 +28926,7 @@ "signature": "void set_interface_font(const string& fnt);", "name": "set_interface_font", "method_name": null, - "unique_global_name": "set_interface_font_font_as_string", + "unique_global_name": "set_interface_font_with_string", "unique_method_name": null, "suffix_name": null, "description": "Sets the interface's font.", @@ -28956,7 +28955,7 @@ } }, "attributes": { - "suffix": "font_as_string", + "suffix": "with_string", "group": "interface", "static": "interface" } @@ -36910,7 +36909,7 @@ "group": "audio", "brief": null, "description": null, - "parsed_at": 1753421315, + "parsed_at": 1754029923, "path": "coresdk/src/coresdk/music.h", "functions": [ { @@ -37941,7 +37940,7 @@ "group": "networking", "brief": "SplashKit's network-related functions allow you to communicate data\nacross networks.", "description": null, - "parsed_at": 1753421317, + "parsed_at": 1754029925, "path": "coresdk/src/coresdk/networking.h", "functions": [ { @@ -41255,7 +41254,7 @@ "group": "graphics", "brief": null, "description": null, - "parsed_at": 1753421317, + "parsed_at": 1754029926, "path": "coresdk/src/coresdk/point_drawing.h", "functions": [ { @@ -42469,7 +42468,7 @@ "group": "geometry", "brief": null, "description": null, - "parsed_at": 1753421318, + "parsed_at": 1754029927, "path": "coresdk/src/coresdk/point_geometry.h", "functions": [ { @@ -43496,14 +43495,14 @@ "group": "geometry", "brief": null, "description": null, - "parsed_at": 1753421318, + "parsed_at": 1754029928, "path": "coresdk/src/coresdk/quad_geometry.h", "functions": [ { "signature": "quad quad_from(const point_2d& line_origin,const point_2d& line_end,double width);", "name": "quad_from", "method_name": null, - "unique_global_name": "quad_from_from_line", + "unique_global_name": "quad_from_line", "unique_method_name": null, "suffix_name": null, "description": "Returns a quad from the passed in line and width.\nThe quad will be a rectangle with the line as the diagonal,\nand the width as the width of the rectangle.", @@ -43558,7 +43557,7 @@ } }, "attributes": { - "suffix": "from_line", + "suffix": "line", "group": "geometry", "static": "geometry" } @@ -44312,7 +44311,7 @@ "group": "raspberry", "brief": "Provides support for using an ADC device with the GPIO pins on the Raspberry Pi.", "description": null, - "parsed_at": 1753421318, + "parsed_at": 1754029928, "path": "coresdk/src/coresdk/raspi_adc.h", "functions": [ { @@ -44760,7 +44759,7 @@ "group": "raspberry", "brief": "Splashkit allows you to read and write to the GPIO pins on the Raspberry Pi.", "description": null, - "parsed_at": 1753421319, + "parsed_at": 1754029929, "path": "coresdk/src/coresdk/raspi_gpio.h", "functions": [ { @@ -50307,7 +50306,7 @@ "group": "audio", "brief": null, "description": null, - "parsed_at": 1753421321, + "parsed_at": 1754029930, "path": "coresdk/src/coresdk/sound.h", "functions": [ { @@ -51316,7 +51315,7 @@ "group": "sprites", "brief": "SplashKit Sprites allows you to create images you can easily\nmove and animate.", "description": "SplashKit sprites are game elements that can be moved, and animated. Sprites\nare located at a position in the game, have a velocity, and an animation.\nThe sprite can also have arbitary data associated with it for game specific\npurposes.", - "parsed_at": 1753421324, + "parsed_at": 1754029934, "path": "coresdk/src/coresdk/sprites.h", "functions": [ { @@ -57886,9 +57885,9 @@ { "signature": "vector_2d vector_from_center_sprite_to_point(sprite s,const point_2d &pt);", "name": "vector_from_center_sprite_to_point", - "method_name": "vector_to", - "unique_global_name": "vector_from_center_sprite_to_point_point", - "unique_method_name": "sprite.vector_to_point", + "method_name": "vector_from_center_to_point", + "unique_global_name": "vector_from_center_sprite_to_point", + "unique_method_name": "sprite.vector_from_center_to_point", "suffix_name": null, "description": "Returns a `vector_2d` that is the difference in location from the center of\nthe sprite `s` to the point `pt`.", "brief": null, @@ -57930,11 +57929,10 @@ }, "attributes": { "class": "sprite", - "method": "vector_to", - "suffix": "point", + "method": "vector_from_center_to_point", + "self": "s", "group": "sprites", - "static": "sprite", - "self": "s" + "static": "sprite" } }, { @@ -65902,7 +65900,7 @@ "group": "types", "brief": "SplashKit Types simplifies data type creation and management for streamlined programming.", "description": null, - "parsed_at": 1753421328, + "parsed_at": 1754029936, "path": "coresdk/src/coresdk/types.h", "functions": [ @@ -68664,7 +68662,7 @@ "group": "networking", "brief": null, "description": null, - "parsed_at": 1753421329, + "parsed_at": 1754029936, "path": "coresdk/src/coresdk/web_client.h", "functions": [ { From 9fb85250a693d0084de78eeb113abba4fc1c8fae Mon Sep 17 00:00:00 2001 From: Sam Stajnko Date: Fri, 1 Aug 2025 16:35:39 +1000 Subject: [PATCH 7/7] Revert "Generate files" This reverts commit 588b7e41369d033d757e703a3ddc1c07c14bef50. --- generated/csharp/SplashKit.cs | 4 +- generated/docs/api.json | 68 ++++++++++++------------- generated/python/splashkit.py | 10 ++-- generated/translator_cache.json | 88 +++++++++++++++++---------------- 4 files changed, 87 insertions(+), 83 deletions(-) diff --git a/generated/csharp/SplashKit.cs b/generated/csharp/SplashKit.cs index a2fd3261..e8e207bf 100644 --- a/generated/csharp/SplashKit.cs +++ b/generated/csharp/SplashKit.cs @@ -28802,7 +28802,7 @@ public void UpdateAnimation(float pct, bool withSound) /// /// The point that is at the end of the vector. /// A vector pointing from the sprite to the point. - public Vector2D VectorFromCenterToPoint(Point2D pt) + public Vector2D VectorTo(Point2D pt) { return SplashKit.VectorFromCenterSpriteToPoint(this, pt); } @@ -30255,7 +30255,7 @@ public bool PixelDrawnAtPoint(double x, double y) /// The bitmap cell to check. /// The point within the bitmap to check. /// True if the pixel at that point in the bitmap's cell is drawn. - public bool PixelDrawnAtPoint(int cell, Point2D pt) + public bool PixelDrawnAtPointInCell(int cell, Point2D pt) { return SplashKit.PixelDrawnAtPoint(this, cell, pt); } diff --git a/generated/docs/api.json b/generated/docs/api.json index b36889cf..2bcd9ad5 100644 --- a/generated/docs/api.json +++ b/generated/docs/api.json @@ -18617,7 +18617,7 @@ "signature": "quad quad_from(const point_2d& line_origin,const point_2d& line_end,double width);", "name": "quad_from", "method_name": null, - "unique_global_name": "quad_from_line", + "unique_global_name": "quad_from_from_line", "unique_method_name": null, "suffix_name": null, "description": "Returns a quad from the passed in line and width.\nThe quad will be a rectangle with the line as the diagonal,\nand the width as the width of the rectangle.", @@ -18672,13 +18672,13 @@ } }, "attributes": { - "suffix": "line", + "suffix": "from_line", "group": "geometry", "static": "geometry" }, "signatures": { "python": [ - "def quad_from_line(line_origin, line_end, width):" + "def quad_from_from_line(line_origin, line_end, width):" ], "cpp": [ "quad quad_from(const point_2d &line_origin, const point_2d &line_end, double width)" @@ -31251,8 +31251,8 @@ "signature": "void draw_bitmap_on_bitmap(bitmap destination,bitmap bmp,double x,double y);", "name": "draw_bitmap_on_bitmap", "method_name": "draw_bitmap", - "unique_global_name": "draw_bitmap_on_bitmap", - "unique_method_name": "bitmap.draw_bitmap", + "unique_global_name": "draw_bitmap_on_bitmap_on_bitmap", + "unique_method_name": "bitmap.draw_bitmap_on_bitmap", "suffix_name": null, "description": "Draws the bitmap supplied into `bmp` to the given bitmap.\nat `x` and `y`.", "brief": null, @@ -31322,12 +31322,13 @@ "class": "bitmap", "method": "draw_bitmap", "self": "bmp", + "suffix": "on_bitmap", "group": "graphics", "static": "images" }, "signatures": { "python": [ - "def draw_bitmap_on_bitmap(destination, bmp, x, y):" + "def draw_bitmap_on_bitmap_on_bitmap(destination, bmp, x, y):" ], "cpp": [ "void draw_bitmap_on_bitmap(bitmap destination, bitmap bmp, double x, double y)" @@ -31345,8 +31346,8 @@ "signature": "void draw_bitmap_on_bitmap(bitmap destination,bitmap bmp,double x,double y,drawing_options opts);", "name": "draw_bitmap_on_bitmap", "method_name": "draw_bitmap", - "unique_global_name": "draw_bitmap_on_bitmap_with_options", - "unique_method_name": "bitmap.draw_bitmap_with_options", + "unique_global_name": "draw_bitmap_on_bitmap_on_bitmap_with_options", + "unique_method_name": "bitmap.draw_bitmap_on_bitmap_with_options", "suffix_name": null, "description": "Draws the bitmap supplied into `bmp` to the given bitmap.\nwith extra drawing options supplied in `opts` at `x` and `y`.", "brief": null, @@ -31429,13 +31430,13 @@ "class": "bitmap", "method": "draw_bitmap", "self": "bmp", - "suffix": "with_options", + "suffix": "on_bitmap_with_options", "group": "graphics", "static": "images" }, "signatures": { "python": [ - "def draw_bitmap_on_bitmap_with_options(destination, bmp, x, y, opts):" + "def draw_bitmap_on_bitmap_on_bitmap_with_options(destination, bmp, x, y, opts):" ], "cpp": [ "void draw_bitmap_on_bitmap(bitmap destination, bitmap bmp, double x, double y, drawing_options opts)" @@ -31911,10 +31912,10 @@ "attributes": { "class": "bitmap", "method": "pixel_drawn_at_point", - "self": "bmp", "suffix": "pt", "group": "graphics", - "static": "images" + "static": "images", + "self": "bmp" }, "signatures": { "python": [ @@ -31993,9 +31994,9 @@ "attributes": { "class": "bitmap", "method": "pixel_drawn_at_point", - "self": "bmp", "group": "graphics", - "static": "images" + "static": "images", + "self": "bmp" }, "signatures": { "python": [ @@ -32016,9 +32017,9 @@ { "signature": "bool pixel_drawn_at_point(bitmap bmp,int cell,const point_2d &pt);", "name": "pixel_drawn_at_point", - "method_name": "pixel_drawn_at_point", + "method_name": "pixel_drawn_at_point_in_cell", "unique_global_name": "pixel_drawn_at_point_in_cell_pt", - "unique_method_name": "bitmap.pixel_drawn_at_point_in_cell_pt", + "unique_method_name": "bitmap.pixel_drawn_at_point_in_cell_in_cell_pt", "suffix_name": null, "description": "Check if the bitmap has a pixel drawn at the indicated point in the cell.", "brief": null, @@ -32073,11 +32074,11 @@ }, "attributes": { "class": "bitmap", - "method": "pixel_drawn_at_point", - "self": "bmp", + "method": "pixel_drawn_at_point_in_cell", "suffix": "in_cell_pt", "group": "graphics", - "static": "images" + "static": "images", + "self": "bmp" }, "signatures": { "python": [ @@ -32087,7 +32088,7 @@ "bool pixel_drawn_at_point(bitmap bmp, int cell, const point_2d &pt)" ], "csharp": [ - "public bool Bitmap.PixelDrawnAtPoint(int cell, Point2D pt);", + "public bool Bitmap.PixelDrawnAtPointInCell(int cell, Point2D pt);", "public static bool SplashKit.PixelDrawnAtPoint(Bitmap bmp, int cell, Point2D pt);" ], "pascal": [ @@ -32169,10 +32170,10 @@ "attributes": { "class": "bitmap", "method": "pixel_drawn_at_point", - "self": "bmp", "suffix": "in_cell", "group": "graphics", - "static": "images" + "static": "images", + "self": "bmp" }, "signatures": { "python": [ @@ -50590,7 +50591,7 @@ "signature": "void set_interface_font(const string& fnt);", "name": "set_interface_font", "method_name": null, - "unique_global_name": "set_interface_font_with_string", + "unique_global_name": "set_interface_font_font_as_string", "unique_method_name": null, "suffix_name": null, "description": "Sets the interface's font.", @@ -50619,13 +50620,13 @@ } }, "attributes": { - "suffix": "with_string", + "suffix": "font_as_string", "group": "interface", "static": "interface" }, "signatures": { "python": [ - "def set_interface_font_with_string(fnt):" + "def set_interface_font_font_as_string(fnt):" ], "cpp": [ "void set_interface_font(const string &fnt)" @@ -84496,9 +84497,9 @@ { "signature": "vector_2d vector_from_center_sprite_to_point(sprite s,const point_2d &pt);", "name": "vector_from_center_sprite_to_point", - "method_name": "vector_from_center_to_point", - "unique_global_name": "vector_from_center_sprite_to_point", - "unique_method_name": "sprite.vector_from_center_to_point", + "method_name": "vector_to", + "unique_global_name": "vector_from_center_sprite_to_point_point", + "unique_method_name": "sprite.vector_to_point", "suffix_name": null, "description": "Returns a `vector_2d` that is the difference in location from the center of\nthe sprite `s` to the point `pt`.", "brief": null, @@ -84540,20 +84541,21 @@ }, "attributes": { "class": "sprite", - "method": "vector_from_center_to_point", - "self": "s", + "method": "vector_to", + "suffix": "point", "group": "sprites", - "static": "sprite" + "static": "sprite", + "self": "s" }, "signatures": { "python": [ - "def vector_from_center_sprite_to_point(s, pt):" + "def vector_from_center_sprite_to_point_point(s, pt):" ], "cpp": [ "vector_2d vector_from_center_sprite_to_point(sprite s, const point_2d &pt)" ], "csharp": [ - "public Vector2D Sprite.VectorFromCenterToPoint(Point2D pt);", + "public Vector2D Sprite.VectorTo(Point2D pt);", "public static Vector2D SplashKit.VectorFromCenterSpriteToPoint(Sprite s, Point2D pt);" ], "pascal": [ diff --git a/generated/python/splashkit.py b/generated/python/splashkit.py index 95492172..59f6c943 100644 --- a/generated/python/splashkit.py +++ b/generated/python/splashkit.py @@ -6753,13 +6753,13 @@ def draw_bitmap_named_with_options ( name, x, y, opts ): __skparam__y = __skadapter__to_sklib_double(y) __skparam__opts = __skadapter__to_sklib_drawing_options(opts) sklib.__sklib__draw_bitmap__string__double__double__drawing_options(__skparam__name, __skparam__x, __skparam__y, __skparam__opts) -def draw_bitmap_on_bitmap ( destination, bmp, x, y ): +def draw_bitmap_on_bitmap_on_bitmap ( destination, bmp, x, y ): __skparam__destination = __skadapter__to_sklib_bitmap(destination) __skparam__bmp = __skadapter__to_sklib_bitmap(bmp) __skparam__x = __skadapter__to_sklib_double(x) __skparam__y = __skadapter__to_sklib_double(y) sklib.__sklib__draw_bitmap_on_bitmap__bitmap__bitmap__double__double(__skparam__destination, __skparam__bmp, __skparam__x, __skparam__y) -def draw_bitmap_on_bitmap_with_options ( destination, bmp, x, y, opts ): +def draw_bitmap_on_bitmap_on_bitmap_with_options ( destination, bmp, x, y, opts ): __skparam__destination = __skadapter__to_sklib_bitmap(destination) __skparam__bmp = __skadapter__to_sklib_bitmap(bmp) __skparam__x = __skadapter__to_sklib_double(x) @@ -7023,7 +7023,7 @@ def set_interface_element_shadows ( radius, clr, offset ): __skparam__clr = __skadapter__to_sklib_color(clr) __skparam__offset = __skadapter__to_sklib_point_2d(offset) sklib.__sklib__set_interface_element_shadows__int__color__point_2d(__skparam__radius, __skparam__clr, __skparam__offset) -def set_interface_font_with_string ( fnt ): +def set_interface_font_font_as_string ( fnt ): __skparam__fnt = __skadapter__to_sklib_string(fnt) sklib.__sklib__set_interface_font__string_ref(__skparam__fnt) def set_interface_font ( fnt ): @@ -8263,7 +8263,7 @@ def same_point ( pt1, pt2 ): __skparam__pt2 = __skadapter__to_sklib_point_2d(pt2) __skreturn = sklib.__sklib__same_point__point_2d_ref__point_2d_ref(__skparam__pt1, __skparam__pt2) return __skadapter__to_bool(__skreturn) -def quad_from_line ( line_origin, line_end, width ): +def quad_from_from_line ( line_origin, line_end, width ): __skparam__line_origin = __skadapter__to_sklib_point_2d(line_origin) __skparam__line_end = __skadapter__to_sklib_point_2d(line_end) __skparam__width = __skadapter__to_sklib_double(width) @@ -9486,7 +9486,7 @@ def update_sprite_animation_percent_with_sound ( s, pct, with_sound ): __skparam__pct = __skadapter__to_sklib_float(pct) __skparam__with_sound = __skadapter__to_sklib_bool(with_sound) sklib.__sklib__update_sprite_animation__sprite__float__bool(__skparam__s, __skparam__pct, __skparam__with_sound) -def vector_from_center_sprite_to_point ( s, pt ): +def vector_from_center_sprite_to_point_point ( s, pt ): __skparam__s = __skadapter__to_sklib_sprite(s) __skparam__pt = __skadapter__to_sklib_point_2d(pt) __skreturn = sklib.__sklib__vector_from_center_sprite_to_point__sprite__point_2d_ref(__skparam__s, __skparam__pt) diff --git a/generated/translator_cache.json b/generated/translator_cache.json index c5991920..93c33016 100644 --- a/generated/translator_cache.json +++ b/generated/translator_cache.json @@ -3,7 +3,7 @@ "group": "animations", "brief": "Animations in SplashKit can be used to move between cells in\nbitmaps and sprites. Each animation generates a number sequence\nthat can then be used when drawing bitmaps.", "description": null, - "parsed_at": 1754029915, + "parsed_at": 1753421298, "path": "coresdk/src/coresdk/animations.h", "functions": [ { @@ -7535,7 +7535,7 @@ "group": "graphics", "brief": null, "description": null, - "parsed_at": 1754029916, + "parsed_at": 1753421301, "path": "coresdk/src/coresdk/clipping.h", "functions": [ { @@ -19997,7 +19997,7 @@ "group": "graphics", "brief": null, "description": null, - "parsed_at": 1754029917, + "parsed_at": 1753421308, "path": "coresdk/src/coresdk/drawing_options.h", "functions": [ { @@ -23594,7 +23594,7 @@ "group": "graphics", "brief": null, "description": null, - "parsed_at": 1754029918, + "parsed_at": 1753421309, "path": "coresdk/src/coresdk/graphics.h", "functions": [ { @@ -24173,7 +24173,7 @@ "group": "graphics", "brief": "SplashKit Images allow drawing of bitmaps and sprites to graphic windows.", "description": null, - "parsed_at": 1754029920, + "parsed_at": 1753421310, "path": "coresdk/src/coresdk/images.h", "functions": [ { @@ -25878,8 +25878,8 @@ "signature": "void draw_bitmap_on_bitmap(bitmap destination,bitmap bmp,double x,double y);", "name": "draw_bitmap_on_bitmap", "method_name": "draw_bitmap", - "unique_global_name": "draw_bitmap_on_bitmap", - "unique_method_name": "bitmap.draw_bitmap", + "unique_global_name": "draw_bitmap_on_bitmap_on_bitmap", + "unique_method_name": "bitmap.draw_bitmap_on_bitmap", "suffix_name": null, "description": "Draws the bitmap supplied into `bmp` to the given bitmap.\nat `x` and `y`.", "brief": null, @@ -25949,6 +25949,7 @@ "class": "bitmap", "method": "draw_bitmap", "self": "bmp", + "suffix": "on_bitmap", "group": "graphics", "static": "images" } @@ -25957,8 +25958,8 @@ "signature": "void draw_bitmap_on_bitmap(bitmap destination,bitmap bmp,double x,double y,drawing_options opts);", "name": "draw_bitmap_on_bitmap", "method_name": "draw_bitmap", - "unique_global_name": "draw_bitmap_on_bitmap_with_options", - "unique_method_name": "bitmap.draw_bitmap_with_options", + "unique_global_name": "draw_bitmap_on_bitmap_on_bitmap_with_options", + "unique_method_name": "bitmap.draw_bitmap_on_bitmap_with_options", "suffix_name": null, "description": "Draws the bitmap supplied into `bmp` to the given bitmap.\nwith extra drawing options supplied in `opts` at `x` and `y`.", "brief": null, @@ -26041,7 +26042,7 @@ "class": "bitmap", "method": "draw_bitmap", "self": "bmp", - "suffix": "with_options", + "suffix": "on_bitmap_with_options", "group": "graphics", "static": "images" } @@ -26420,10 +26421,10 @@ "attributes": { "class": "bitmap", "method": "pixel_drawn_at_point", - "self": "bmp", "suffix": "pt", "group": "graphics", - "static": "images" + "static": "images", + "self": "bmp" } }, { @@ -26487,17 +26488,17 @@ "attributes": { "class": "bitmap", "method": "pixel_drawn_at_point", - "self": "bmp", "group": "graphics", - "static": "images" + "static": "images", + "self": "bmp" } }, { "signature": "bool pixel_drawn_at_point(bitmap bmp,int cell,const point_2d &pt);", "name": "pixel_drawn_at_point", - "method_name": "pixel_drawn_at_point", + "method_name": "pixel_drawn_at_point_in_cell", "unique_global_name": "pixel_drawn_at_point_in_cell_pt", - "unique_method_name": "bitmap.pixel_drawn_at_point_in_cell_pt", + "unique_method_name": "bitmap.pixel_drawn_at_point_in_cell_in_cell_pt", "suffix_name": null, "description": "Check if the bitmap has a pixel drawn at the indicated point in the cell.", "brief": null, @@ -26552,11 +26553,11 @@ }, "attributes": { "class": "bitmap", - "method": "pixel_drawn_at_point", - "self": "bmp", + "method": "pixel_drawn_at_point_in_cell", "suffix": "in_cell_pt", "group": "graphics", - "static": "images" + "static": "images", + "self": "bmp" } }, { @@ -26633,10 +26634,10 @@ "attributes": { "class": "bitmap", "method": "pixel_drawn_at_point", - "self": "bmp", "suffix": "in_cell", "group": "graphics", - "static": "images" + "static": "images", + "self": "bmp" } }, { @@ -26790,7 +26791,7 @@ "group": "interface", "brief": "SplashKit Interface provides functions to create user interfaces, with elements such as draggable panels, buttons and text boxes.", "description": "SplashKit`s interface library provides various functions for creating\npanels, and drawing interface elements such as buttons, text boxes, and more", - "parsed_at": 1754029922, + "parsed_at": 1753421311, "path": "coresdk/src/coresdk/interface.h", "functions": [ { @@ -28926,7 +28927,7 @@ "signature": "void set_interface_font(const string& fnt);", "name": "set_interface_font", "method_name": null, - "unique_global_name": "set_interface_font_with_string", + "unique_global_name": "set_interface_font_font_as_string", "unique_method_name": null, "suffix_name": null, "description": "Sets the interface's font.", @@ -28955,7 +28956,7 @@ } }, "attributes": { - "suffix": "with_string", + "suffix": "font_as_string", "group": "interface", "static": "interface" } @@ -36909,7 +36910,7 @@ "group": "audio", "brief": null, "description": null, - "parsed_at": 1754029923, + "parsed_at": 1753421315, "path": "coresdk/src/coresdk/music.h", "functions": [ { @@ -37940,7 +37941,7 @@ "group": "networking", "brief": "SplashKit's network-related functions allow you to communicate data\nacross networks.", "description": null, - "parsed_at": 1754029925, + "parsed_at": 1753421317, "path": "coresdk/src/coresdk/networking.h", "functions": [ { @@ -41254,7 +41255,7 @@ "group": "graphics", "brief": null, "description": null, - "parsed_at": 1754029926, + "parsed_at": 1753421317, "path": "coresdk/src/coresdk/point_drawing.h", "functions": [ { @@ -42468,7 +42469,7 @@ "group": "geometry", "brief": null, "description": null, - "parsed_at": 1754029927, + "parsed_at": 1753421318, "path": "coresdk/src/coresdk/point_geometry.h", "functions": [ { @@ -43495,14 +43496,14 @@ "group": "geometry", "brief": null, "description": null, - "parsed_at": 1754029928, + "parsed_at": 1753421318, "path": "coresdk/src/coresdk/quad_geometry.h", "functions": [ { "signature": "quad quad_from(const point_2d& line_origin,const point_2d& line_end,double width);", "name": "quad_from", "method_name": null, - "unique_global_name": "quad_from_line", + "unique_global_name": "quad_from_from_line", "unique_method_name": null, "suffix_name": null, "description": "Returns a quad from the passed in line and width.\nThe quad will be a rectangle with the line as the diagonal,\nand the width as the width of the rectangle.", @@ -43557,7 +43558,7 @@ } }, "attributes": { - "suffix": "line", + "suffix": "from_line", "group": "geometry", "static": "geometry" } @@ -44311,7 +44312,7 @@ "group": "raspberry", "brief": "Provides support for using an ADC device with the GPIO pins on the Raspberry Pi.", "description": null, - "parsed_at": 1754029928, + "parsed_at": 1753421318, "path": "coresdk/src/coresdk/raspi_adc.h", "functions": [ { @@ -44759,7 +44760,7 @@ "group": "raspberry", "brief": "Splashkit allows you to read and write to the GPIO pins on the Raspberry Pi.", "description": null, - "parsed_at": 1754029929, + "parsed_at": 1753421319, "path": "coresdk/src/coresdk/raspi_gpio.h", "functions": [ { @@ -50306,7 +50307,7 @@ "group": "audio", "brief": null, "description": null, - "parsed_at": 1754029930, + "parsed_at": 1753421321, "path": "coresdk/src/coresdk/sound.h", "functions": [ { @@ -51315,7 +51316,7 @@ "group": "sprites", "brief": "SplashKit Sprites allows you to create images you can easily\nmove and animate.", "description": "SplashKit sprites are game elements that can be moved, and animated. Sprites\nare located at a position in the game, have a velocity, and an animation.\nThe sprite can also have arbitary data associated with it for game specific\npurposes.", - "parsed_at": 1754029934, + "parsed_at": 1753421324, "path": "coresdk/src/coresdk/sprites.h", "functions": [ { @@ -57885,9 +57886,9 @@ { "signature": "vector_2d vector_from_center_sprite_to_point(sprite s,const point_2d &pt);", "name": "vector_from_center_sprite_to_point", - "method_name": "vector_from_center_to_point", - "unique_global_name": "vector_from_center_sprite_to_point", - "unique_method_name": "sprite.vector_from_center_to_point", + "method_name": "vector_to", + "unique_global_name": "vector_from_center_sprite_to_point_point", + "unique_method_name": "sprite.vector_to_point", "suffix_name": null, "description": "Returns a `vector_2d` that is the difference in location from the center of\nthe sprite `s` to the point `pt`.", "brief": null, @@ -57929,10 +57930,11 @@ }, "attributes": { "class": "sprite", - "method": "vector_from_center_to_point", - "self": "s", + "method": "vector_to", + "suffix": "point", "group": "sprites", - "static": "sprite" + "static": "sprite", + "self": "s" } }, { @@ -65900,7 +65902,7 @@ "group": "types", "brief": "SplashKit Types simplifies data type creation and management for streamlined programming.", "description": null, - "parsed_at": 1754029936, + "parsed_at": 1753421328, "path": "coresdk/src/coresdk/types.h", "functions": [ @@ -68662,7 +68664,7 @@ "group": "networking", "brief": null, "description": null, - "parsed_at": 1754029936, + "parsed_at": 1753421329, "path": "coresdk/src/coresdk/web_client.h", "functions": [ {