From: RĂ©mi Verschelde Date: Sat, 11 Feb 2017 18:20:04 +0000 (+0100) Subject: Devtools: Remove obsolete skin cmds, fix docs X-Git-Url: https://git.jsancho.org/?a=commitdiff_plain;h=5fca41ab430df85d6dd620a7f4130df01bc1430f;p=lugaru.git Devtools: Remove obsolete skin cmds, fix docs --- diff --git a/Docs/DEVTOOLS.txt b/Docs/DEVTOOLS.txt index cfb8232..9e7f973 100644 --- a/Docs/DEVTOOLS.txt +++ b/Docs/DEVTOOLS.txt @@ -124,9 +124,8 @@ cellophane - makes everyone invisible, except for the shadows. Character appearance ~~~~~~~~~~~~~~~~~~~~ -cellar door, rambo, kungfu, white, brown, black - changes your skin to the - respective outfit. Note: this command is a little glitchy sometimes. You - may have to enter it multiple times before it changes. +lizardwolf, darko - changes your skin to the respective easter egg texture. + Normal skins are available via the ctrl+alt+t hotkey. tintr (float) - sets the redness of your clothes. This only affects the color of future clothes, so you must set it in advance. It must be a value from 0 to 1. diff --git a/Source/Devtools/ConsoleCmds.cpp b/Source/Devtools/ConsoleCmds.cpp index 63063ed..e1e553e 100644 --- a/Source/Devtools/ConsoleCmds.cpp +++ b/Source/Devtools/ConsoleCmds.cpp @@ -321,11 +321,6 @@ void ch_save(const char* args) fclose(tfile); } -void ch_cellar(const char*) -{ - Person::players[0]->skeleton.drawmodel.textureptr.load("Textures/FurDarko.jpg", 1, &Person::players[0]->skeleton.skinText[0], &Person::players[0]->skeleton.skinsize); -} - void ch_tint(const char* args) { sscanf(args, "%f%f%f", &tintr, &tintg, &tintb); @@ -492,39 +487,14 @@ void ch_wolfie(const char*) set_proportion(0, "1 1 1 1"); } -void ch_wolf(const char*) -{ - Person::players[0]->skeleton.drawmodel.textureptr.load("Textures/FurWolfGrey.jpg", 1, &Person::players[0]->skeleton.skinText[0], &Person::players[0]->skeleton.skinsize); -} - -void ch_snowwolf(const char*) -{ - Person::players[0]->skeleton.drawmodel.textureptr.load("Textures/FurWolfSnow.jpg", 1, &Person::players[0]->skeleton.skinText[0], &Person::players[0]->skeleton.skinsize); -} - -void ch_darkwolf(const char*) -{ - Person::players[0]->skeleton.drawmodel.textureptr.load("Textures/FurWolfDark.jpg", 1, &Person::players[0]->skeleton.skinText[0], &Person::players[0]->skeleton.skinsize); -} - void ch_lizardwolf(const char*) { Person::players[0]->skeleton.drawmodel.textureptr.load("Textures/FurWolfLizard.jpg", 1, &Person::players[0]->skeleton.skinText[0], &Person::players[0]->skeleton.skinsize); } -void ch_white(const char*) -{ - Person::players[0]->skeleton.drawmodel.textureptr.load("Textures/FurWhite.jpg", 1, &Person::players[0]->skeleton.skinText[0], &Person::players[0]->skeleton.skinsize); -} - -void ch_brown(const char*) +void ch_darko(const char*) { - Person::players[0]->skeleton.drawmodel.textureptr.load("Textures/FurBrown.jpg", 1, &Person::players[0]->skeleton.skinText[0], &Person::players[0]->skeleton.skinsize); -} - -void ch_black(const char*) -{ - Person::players[0]->skeleton.drawmodel.textureptr.load("Textures/FurBlack.jpg", 1, &Person::players[0]->skeleton.skinText[0], &Person::players[0]->skeleton.skinsize); + Person::players[0]->skeleton.drawmodel.textureptr.load("Textures/FurDarko.jpg", 1, &Person::players[0]->skeleton.skinText[0], &Person::players[0]->skeleton.skinsize); } void ch_sizemin(const char*) diff --git a/Source/Devtools/ConsoleCmds.def b/Source/Devtools/ConsoleCmds.def index a4445c9..9bc4fde 100644 --- a/Source/Devtools/ConsoleCmds.def +++ b/Source/Devtools/ConsoleCmds.def @@ -22,7 +22,6 @@ DECLARE_COMMAND(quit) DECLARE_COMMAND(map) DECLARE_COMMAND(save) -DECLARE_COMMAND(cellar) DECLARE_COMMAND(tint) DECLARE_COMMAND(tintr) DECLARE_COMMAND(tintg) @@ -50,13 +49,8 @@ DECLARE_COMMAND(belt) DECLARE_COMMAND(cellophane) DECLARE_COMMAND(funnybunny) DECLARE_COMMAND(wolfie) -DECLARE_COMMAND(wolf) -DECLARE_COMMAND(snowwolf) -DECLARE_COMMAND(darkwolf) DECLARE_COMMAND(lizardwolf) -DECLARE_COMMAND(white) -DECLARE_COMMAND(brown) -DECLARE_COMMAND(black) +DECLARE_COMMAND(darko) DECLARE_COMMAND(sizemin) DECLARE_COMMAND(viewdistance)