X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FGameTick.cpp;h=2328eb8f0ce50367d660c7126c2b856466d8ab2a;hb=5dc3c16842b5ad0c4fe72fafe0eed61f12fbf93a;hp=4d7af69750c0b09c06585d07d0d4ffdab0e29ef1;hpb=37aebc9e3fe24a45f04b35ff27e9d767014f3247;p=lugaru.git diff --git a/Source/GameTick.cpp b/Source/GameTick.cpp index 4d7af69..2328eb8 100644 --- a/Source/GameTick.cpp +++ b/Source/GameTick.cpp @@ -101,6 +101,7 @@ extern bool foliage; extern bool trilinear; extern bool damageeffects; extern bool showpoints; +extern bool showdamagebar; // (des)activate the damage bar extern bool texttoggle; extern bool alwaysblur; extern float gamespeed; @@ -737,6 +738,11 @@ static void ch_wolfie(Game *game, const char *args) set_proportion(0, "1 1 1 1"); } +static void ch_wolfieisgod(Game *game, const char *args) +{ + ch_wolfie(game, args); +} + static void ch_wolf(Game *game, const char *args) { game->LoadTextureSave(":Data:Textures:Wolf.jpg",&player[0].skeleton.drawmodel.textureptr,1, @@ -755,6 +761,12 @@ static void ch_darkwolf(Game *game, const char *args) &player[0].skeleton.skinText[0],&player[0].skeleton.skinsize); } +static void ch_lizardwolf(Game *game, const char *args) +{ + game->LoadTextureSave(":Data:Textures:Lizardwolf.jpg",&player[0].skeleton.drawmodel.textureptr,1, + &player[0].skeleton.skinText[0],&player[0].skeleton.skinsize); +} + static void ch_white(Game *game, const char *args) { game->LoadTextureSave(":Data:Textures:fur.jpg",&player[0].skeleton.drawmodel.textureptr,1, @@ -3098,6 +3110,9 @@ void Game::Tick() mainmenu=18; keyselect = -1; } + if(Button() && !oldbutton && selected == 13) { + showdamagebar=!showdamagebar; + } if(Button()&&!oldbutton&&selected==8){ float gLoc[3]={0,0,0}; float vel[3]={0,0,0};