From f58b327650d9ecaba454d626c07fd01351d0880c Mon Sep 17 00:00:00 2001 From: Danny Holman Date: Thu, 20 Mar 2025 14:23:19 -0500 Subject: core: init: remove hot reload support Remove hot code reloading support from the core API. This functionality is not achievable under current conditions and does not align with project goals. Signed-off-by: Danny Holman --- core/init.c | 23 +++++++++++++++++++++-- include/rune/core/init.h | 5 ----- 2 files changed, 21 insertions(+), 7 deletions(-) diff --git a/core/init.c b/core/init.c index 1a600ef..5df4d04 100644 --- a/core/init.c +++ b/core/init.c @@ -1,11 +1,30 @@ +/* + * Rune Game Engine + * Copyright 2024 Danny Holman + * + * This software is provided 'as-is', without any express or implied + * warranty. In no event will the authors be held liable for any damages + * arising from the use of this software. + * + * Permission is granted to anyone to use this software for any purpose, + * including commercial applications, and to alter it and redistribute it + * freely, subject to the following restrictions: + * + * 1. The origin of this software must not be misrepresented; you must not + * claim that you wrote the original software. If you use this software + * in a product, an acknowledgment in the product documentation would be + * appreciated but is not required. + * 2. Altered source versions must be plainly marked as such, and must not be + * misrepresented as being the original software. + * 3. This notice may not be removed or altered from any source distribution. + */ + #include -#include #include #include #include int rune_init(int argc, char* argv[]) { - enable_log_color(); log_output(LOG_INFO, "Started Rune Engine version %s", RUNE_VER); _parse_args(argc, argv); rune_init_thread_api(); diff --git a/include/rune/core/init.h b/include/rune/core/init.h index 50f7188..2518e8b 100644 --- a/include/rune/core/init.h +++ b/include/rune/core/init.h @@ -38,9 +38,4 @@ RAPI int rune_init(int argc, char* argv[]); */ RAPI void rune_exit(void); -/** - * \brief Hot-reloads the entire engine library from disk - */ -RAPI int rune_hot_reload(void); - #endif -- cgit v1.2.3