From: terencehill Date: Thu, 12 Dec 2019 13:56:13 +0000 (+0000) Subject: Added "Loading the code you've just compiled" section X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=2b63e5af9ff2272ec29ee6da1352dfc1bff98750;p=xonotic%2Fxonotic.wiki.git Added "Loading the code you've just compiled" section --- 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`).