From 2b63e5af9ff2272ec29ee6da1352dfc1bff98750 Mon Sep 17 00:00:00 2001 From: terencehill Date: Thu, 12 Dec 2019 13:56:13 +0000 Subject: [PATCH] Added "Loading the code you've just compiled" section --- Programming-Tips.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Programming-Tips.md b/Programming-Tips.md index b56c04d..8f47980 100644 --- a/Programming-Tips.md +++ b/Programming-Tips.md @@ -1,3 +1,7 @@ +### Loading the code you've just compiled + +Once your QC code is compiled to progs.dat for server and csprogs.dat for client you don't need to restart Xonotic, it suffices to start a new map with `map XXX` (depending on how you launch Xonotic you may need to use `fs_rescan; map XXX`). For menu code you can restart the menu with `menu_restart`. + ### Debug prints Use `con_notify 4` together with `LOG_INFOF("my_var: %s", my_var);` (`%s` string, `%f` float, `%d` integer, `%v` vector) to see debug output without opening the console. Type `con_notify` and press `` to see descriptions and more options (or use `apropos con_notify`). -- 2.39.2