From 64ee470bc462f57f2d8bef79c473b614061df784 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Madar=C3=A1sz?= Date: Fri, 8 Sep 2023 14:42:05 +0200 Subject: [PATCH] fix html5 build --- engine/joint/v4k.h | 8 ++++---- engine/split/v4k_netsync.c | 8 ++++---- engine/v4k.c | 8 ++++---- engine/v4k.html | 38 +++++++++++++++++++------------------- 4 files changed, 31 insertions(+), 31 deletions(-) diff --git a/engine/joint/v4k.h b/engine/joint/v4k.h index dd1eae9..98bf0c8 100644 --- a/engine/joint/v4k.h +++ b/engine/joint/v4k.h @@ -339018,7 +339018,7 @@ char** server_poll(unsigned timeout_ms) { event.peer->data = (void*)client_id; break; - case ENET_EVENT_TYPE_RECEIVE: + case ENET_EVENT_TYPE_RECEIVE: { char *dbg = (char *)event.peer->data; char *ptr = (char *)event.packet->data; unsigned sz = (unsigned)event.packet->dataLength; @@ -339077,7 +339077,7 @@ char** server_poll(unsigned timeout_ms) { } /* Clean up the packet now that we're done using it. */ enet_packet_destroy( event.packet ); - break; + } break; case ENET_EVENT_TYPE_DISCONNECT: msg = va( "%d %s", 0, va("disconnect rank:%lld", (uint64_t)event.peer->data)); @@ -339121,7 +339121,7 @@ char** client_poll(unsigned timeout_ms) { case ENET_EVENT_TYPE_CONNECT: break; - case ENET_EVENT_TYPE_RECEIVE: + case ENET_EVENT_TYPE_RECEIVE: { char *dbg = (char *)event.peer->data; char *ptr = (char *)event.packet->data; unsigned sz = (unsigned)event.packet->dataLength; @@ -339175,7 +339175,7 @@ char** client_poll(unsigned timeout_ms) { } /* Clean up the packet now that we're done using it. */ enet_packet_destroy( event.packet ); - break; + } break; case ENET_EVENT_TYPE_DISCONNECT: msg = va( "%d disconnect", 0 ); diff --git a/engine/split/v4k_netsync.c b/engine/split/v4k_netsync.c index 814c88d..6275cbb 100644 --- a/engine/split/v4k_netsync.c +++ b/engine/split/v4k_netsync.c @@ -471,7 +471,7 @@ char** server_poll(unsigned timeout_ms) { event.peer->data = (void*)client_id; break; - case ENET_EVENT_TYPE_RECEIVE: + case ENET_EVENT_TYPE_RECEIVE: { char *dbg = (char *)event.peer->data; char *ptr = (char *)event.packet->data; unsigned sz = (unsigned)event.packet->dataLength; @@ -530,7 +530,7 @@ char** server_poll(unsigned timeout_ms) { } /* Clean up the packet now that we're done using it. */ enet_packet_destroy( event.packet ); - break; + } break; case ENET_EVENT_TYPE_DISCONNECT: msg = va( "%d %s", 0, va("disconnect rank:%lld", (uint64_t)event.peer->data)); @@ -574,7 +574,7 @@ char** client_poll(unsigned timeout_ms) { case ENET_EVENT_TYPE_CONNECT: break; - case ENET_EVENT_TYPE_RECEIVE: + case ENET_EVENT_TYPE_RECEIVE: { char *dbg = (char *)event.peer->data; char *ptr = (char *)event.packet->data; unsigned sz = (unsigned)event.packet->dataLength; @@ -628,7 +628,7 @@ char** client_poll(unsigned timeout_ms) { } /* Clean up the packet now that we're done using it. */ enet_packet_destroy( event.packet ); - break; + } break; case ENET_EVENT_TYPE_DISCONNECT: msg = va( "%d disconnect", 0 ); diff --git a/engine/v4k.c b/engine/v4k.c index 4e936cf..74d447b 100644 --- a/engine/v4k.c +++ b/engine/v4k.c @@ -9992,7 +9992,7 @@ char** server_poll(unsigned timeout_ms) { event.peer->data = (void*)client_id; break; - case ENET_EVENT_TYPE_RECEIVE: + case ENET_EVENT_TYPE_RECEIVE: { char *dbg = (char *)event.peer->data; char *ptr = (char *)event.packet->data; unsigned sz = (unsigned)event.packet->dataLength; @@ -10051,7 +10051,7 @@ char** server_poll(unsigned timeout_ms) { } /* Clean up the packet now that we're done using it. */ enet_packet_destroy( event.packet ); - break; + } break; case ENET_EVENT_TYPE_DISCONNECT: msg = va( "%d %s", 0, va("disconnect rank:%lld", (uint64_t)event.peer->data)); @@ -10095,7 +10095,7 @@ char** client_poll(unsigned timeout_ms) { case ENET_EVENT_TYPE_CONNECT: break; - case ENET_EVENT_TYPE_RECEIVE: + case ENET_EVENT_TYPE_RECEIVE: { char *dbg = (char *)event.peer->data; char *ptr = (char *)event.packet->data; unsigned sz = (unsigned)event.packet->dataLength; @@ -10149,7 +10149,7 @@ char** client_poll(unsigned timeout_ms) { } /* Clean up the packet now that we're done using it. */ enet_packet_destroy( event.packet ); - break; + } break; case ENET_EVENT_TYPE_DISCONNECT: msg = va( "%d disconnect", 0 ); diff --git a/engine/v4k.html b/engine/v4k.html index 6f22040..a5085f3 100644 --- a/engine/v4k.html +++ b/engine/v4k.html @@ -596,7 +596,7 @@ details > summary::-webkit-details-marker { |Version: | 2023.9 | |:--------------|:------------| |Branch: | main | -|Commit: | 73 | +|Commit: | 74 | # [V·4·K 2023.9 ](https://v4k.dev) @@ -8704,7 +8704,7 @@ Other documentation examples: [dll](#dll), [strsplit](#strsplit), [strjoin](#str ## shaders - +
extern const char* const fs_0_0_shadowmap_lit; Under construction. Yet to be documented. @@ -8713,7 +8713,7 @@ Other documentation examples: [dll](#dll), [strsplit](#strsplit), [strjoin](#str
- +
extern const char* const fs_0_0_shadowmap_unlit; Under construction. Yet to be documented. @@ -8722,7 +8722,7 @@ Other documentation examples: [dll](#dll), [strsplit](#strsplit), [strjoin](#str
- +
extern const char* const fs_24_4_sprite; Under construction. Yet to be documented. @@ -8731,7 +8731,7 @@ Other documentation examples: [dll](#dll), [strsplit](#strsplit), [strjoin](#str
- +
extern const char* const fs_2_4_preamble; Under construction. Yet to be documented. @@ -8740,7 +8740,7 @@ Other documentation examples: [dll](#dll), [strsplit](#strsplit), [strjoin](#str
- +
extern const char* const fs_2_4_texel_inv_gamma; Under construction. Yet to be documented. @@ -8749,7 +8749,7 @@ Other documentation examples: [dll](#dll), [strsplit](#strsplit), [strjoin](#str
- +
extern const char* const fs_2_4_texel_ycbr_gamma_saturation; Under construction. Yet to be documented. @@ -8758,7 +8758,7 @@ Other documentation examples: [dll](#dll), [strsplit](#strsplit), [strjoin](#str
- +
extern const char* const fs_32_4_model; Under construction. Yet to be documented. @@ -8767,7 +8767,7 @@ Other documentation examples: [dll](#dll), [strsplit](#strsplit), [strjoin](#str
- +
extern const char* const fs_32_4_model_basic; Under construction. Yet to be documented. @@ -8776,7 +8776,7 @@ Other documentation examples: [dll](#dll), [strsplit](#strsplit), [strjoin](#str
- +
extern const char* const fs_3_4_skybox; Under construction. Yet to be documented. @@ -8785,7 +8785,7 @@ Other documentation examples: [dll](#dll), [strsplit](#strsplit), [strjoin](#str
- +
extern const char* const fs_3_4_skybox_rayleigh; Under construction. Yet to be documented. @@ -8794,7 +8794,7 @@ Other documentation examples: [dll](#dll), [strsplit](#strsplit), [strjoin](#str
- +
extern const char* const fs_main_shadertoy; Under construction. Yet to be documented. @@ -8803,7 +8803,7 @@ Other documentation examples: [dll](#dll), [strsplit](#strsplit), [strjoin](#str
- +
extern const char* const vs_0_2_fullscreen_quad_A; Under construction. Yet to be documented. @@ -8812,7 +8812,7 @@ Other documentation examples: [dll](#dll), [strsplit](#strsplit), [strjoin](#str
- +
extern const char* const vs_0_2_fullscreen_quad_B; Under construction. Yet to be documented. @@ -8821,7 +8821,7 @@ Other documentation examples: [dll](#dll), [strsplit](#strsplit), [strjoin](#str
- +
extern const char* const vs_0_2_fullscreen_quad_B_flipped; Under construction. Yet to be documented. @@ -8830,7 +8830,7 @@ Other documentation examples: [dll](#dll), [strsplit](#strsplit), [strjoin](#str
- +
extern const char* const vs_323444143_16_332_model; Under construction. Yet to be documented. @@ -8839,7 +8839,7 @@ Other documentation examples: [dll](#dll), [strsplit](#strsplit), [strjoin](#str
- +
extern const char* const vs_324_24_sprite; Under construction. Yet to be documented. @@ -8848,7 +8848,7 @@ Other documentation examples: [dll](#dll), [strsplit](#strsplit), [strjoin](#str
- +
extern const char* const vs_332_32; Under construction. Yet to be documented. @@ -8857,7 +8857,7 @@ Other documentation examples: [dll](#dll), [strsplit](#strsplit), [strjoin](#str
- +
extern const char* const vs_3_3_skybox; Under construction. Yet to be documented.