From 23c8e49280d12c71d4d42555de7ee3d287dbe2cd Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Wed, 22 Jul 2020 15:33:30 +1000 Subject: [PATCH] Export NetPlayer_Init per request --- src/Entity.h | 2 +- src/LWidgets.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Entity.h b/src/Entity.h index 2f63d99a9..7902d0059 100644 --- a/src/Entity.h +++ b/src/Entity.h @@ -179,7 +179,7 @@ struct NetPlayer { struct NetInterpComp Interp; cc_bool ShouldRender; }; -void NetPlayer_Init(struct NetPlayer* player); +CC_API void NetPlayer_Init(struct NetPlayer* player); extern struct NetPlayer NetPlayers_List[ENTITIES_SELF_ID]; /* Represents the user/player's own entity. */ diff --git a/src/LWidgets.h b/src/LWidgets.h index bd66cd6f7..bfa315ed3 100644 --- a/src/LWidgets.h +++ b/src/LWidgets.h @@ -34,7 +34,7 @@ struct LWidgetVTABLE { #define LWidget_Layout \ const struct LWidgetVTABLE* VTABLE; /* General widget functions */ \ - int x, y, width, height; /* Top left corner, and dimensions, of this widget */ \ + int x, y, width, height; /* Top left corner and dimensions of this widget */ \ cc_bool hovered; /* Whether this widget is currently being moused over */ \ cc_bool selected; /* Whether this widget is last widget to be clicked on */ \ cc_bool hidden; /* Whether this widget is hidden from view */ \