From 6c4b207a571b2c584365051fe749cd01aeaee6d0 Mon Sep 17 00:00:00 2001 From: Paul Date: Thu, 1 Mar 2001 17:01:37 +0000 Subject: [PATCH] --- source/player/modelist.cpp | 4 ++-- source/player/player.cpp | 31 +++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 2 deletions(-) diff --git a/source/player/modelist.cpp b/source/player/modelist.cpp index e093dbbf8..0d8987190 100644 --- a/source/player/modelist.cpp +++ b/source/player/modelist.cpp @@ -244,8 +244,8 @@ CPlayer::PlayerMode CPlayer::s_modes[NUM_PLAYERMODES]= 0, // PM__MAX_SAFE_FALL_FRAMES DEFAULT_PLAYER_MAX_RUN_VELOCITY/2, // PM__MAX_RUN_VELOCITY DEFAULT_PLAYER_RUN_SPEEDUP/4, // PM__RUN_SPEEDUP - DEFAULT_PLAYER_RUN_REVERSESLOWDOWN/4, // PM__RUN_REVERSESLOWDOWN - DEFAULT_PLAYER_RUN_SLOWDOWN/4, // PM__RUN_SLOWDOWN + DEFAULT_PLAYER_RUN_REVERSESLOWDOWN/5, // PM__RUN_REVERSESLOWDOWN + DEFAULT_PLAYER_RUN_SLOWDOWN/5, // PM__RUN_SLOWDOWN } }, &modeBalloon, { diff --git a/source/player/player.cpp b/source/player/player.cpp index 33907ab7d..77e569f2e 100644 --- a/source/player/player.cpp +++ b/source/player/player.cpp @@ -555,6 +555,12 @@ void CPlayer::thinkHorizontalMovement() Returns: ---------------------------------------------------------------------- */ int panim=-1; +#include "gfx\prim.h" // (pkg) +int healthx=100; +int healthy=20; +int healthw=10; +int healthh=10; +int healthg=2; #ifdef __USER_paul__ int mouth=-1,eyes=-1; @@ -605,6 +611,31 @@ if(eyes!=-1) sprintf(buf,"MODE: %s",s_modeText[m_currentMode]); s_debugFont.print(40,210,buf); #endif + + + // Temporary health thing + int i,x; + x=healthx; + for(i=0;i<5;i++) + { + POLY_F4 *f4; + f4=GetPrimF4(); + setXYWH(f4,x,healthy,healthw,healthh); + + if(i