This commit is contained in:
Nishi 2025-12-20 11:06:31 +09:00
commit 65c2ac8212
Signed by: nishi
GPG key ID: 27EF69B208EB9343
6 changed files with 56 additions and 6 deletions

View file

@ -39,6 +39,7 @@ void gl_render(void);
void gl_resize(int width, int height);
void gl_scene_change(void);
void gl_calc_normal3(double* out, double v00, double v01, double v02, double v10, double v11, double v12, double v20, double v21, double v22);
void gl_calc_normal4(double* out, double v00, double v01, double v02, double v10, double v11, double v12, double v20, double v21, double v22, double v30, double v31, double v32);
/* gl_font.c */
void gl_font_init(void);

View file

@ -21,10 +21,14 @@
#define AF_VERSION "0.0.0"
#define AF_COPYRIGHT "Copyright (C) 2025 Fishsoup"
/* should be broadcasted! otherwise other user wouldn't know */
typedef struct af_pkt_join {
unsigned char length;
char* name;
} af_pkt_join_t;
enum AF_USER_PACKETS {
AF_PACKET_JOIN = FISHSOUP_PACKET_USER
};
#pragma pack(1)
typedef struct af_packet_join {
char name[256];
} af_packet_join_t;
#pragma pack()
#endif