X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fgame%2Fg_playermodel.pas;h=9e42436ec5a4440f619ec289298c2cf20444f451;hb=a4f25c41dfd783a925aa2dab4b9b84753d5c3f18;hp=72f5fb23e726f916f937f888e9991ebd7e69bbbf;hpb=3557433c23b40765ac86aeda020f2761f4e4e851;p=d2df-sdl.git diff --git a/src/game/g_playermodel.pas b/src/game/g_playermodel.pas index 72f5fb2..9e42436 100644 --- a/src/game/g_playermodel.pas +++ b/src/game/g_playermodel.pas @@ -14,6 +14,7 @@ * along with this program. If not, see . *) {$INCLUDE ../shared/a_modes.inc} +{$M+} unit g_playermodel; interface @@ -114,11 +115,14 @@ type procedure Update(); procedure Draw(X, Y: Integer; Alpha: Byte = 0); + published property Fire: Boolean read FFire; property Direction: TDirection read FDirection write FDirection; property Animation: Byte read FCurrentAnimation; property Weapon: Byte read FCurrentWeapon; property Name: String read FName; + + public property Color: TRGB read FColor write FColor; end;