aboutsummaryrefslogtreecommitdiff
path: root/src/client/keycode.h
diff options
context:
space:
mode:
authorSmallJoker <SmallJoker@users.noreply.github.com>2020-09-07 21:19:38 +0200
committerGitHub <noreply@github.com>2020-09-07 21:19:38 +0200
commit0d128ab344e3d04d2b30dbd5e047f4ac700013b7 (patch)
treeee77232c7ed54ef4fe45b7b78324b9ce986ea809 /src/client/keycode.h
parent6dcc9e63318f815a3de8c9db2ee7b845066e0135 (diff)
downloadminetest-0d128ab344e3d04d2b30dbd5e047f4ac700013b7.tar.gz
minetest-0d128ab344e3d04d2b30dbd5e047f4ac700013b7.tar.bz2
minetest-0d128ab344e3d04d2b30dbd5e047f4ac700013b7.zip
Inventory: Protect Craft and Drop actions (#10353)
Change dangerous pointer to unique_ptr for automated deletion.
Diffstat (limited to 'src/client/keycode.h')
0 files changed, 0 insertions, 0 deletions
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ /* Used for tuning constants when developing. Eg. if you have this constant somewhere that you just can't get right by changing it and recompiling all over again: v3f wield_position = v3f(55, -35, 65); Make it look like this: v3f wield_position = v3f(55, -35, 65); QUICKTUNE_AUTONAME(QVT_FLOAT, wield_position.X, 0, 100); QUICKTUNE_AUTONAME(QVT_FLOAT, wield_position.Y, -80, 20); QUICKTUNE_AUTONAME(QVT_FLOAT, wield_position.Z, 0, 100); Then you can modify the values at runtime, using the keys keymap_quicktune_prev keymap_quicktune_next keymap_quicktune_dec keymap_quicktune_inc Once you have modified the values at runtime and then quit, the game