X-Git-Url: https://deadsoftware.ru/gitweb?p=flatwaifu.git;a=blobdiff_plain;f=src%2Fplayer.h;h=6b7f0ea91f4f33b7e34b6c73b3149810e907e225;hp=db4f992250f10d0e141008a150fb383ab1e7cc5e;hb=ef16dea09f87b15fc6d58fae0aa0832e0648c00e;hpb=2bb81ea2565c3627c954b5c37326db89b0048472 diff --git a/src/player.h b/src/player.h index db4f992..6b7f0ea 100644 --- a/src/player.h +++ b/src/player.h @@ -1,31 +1,25 @@ -/* - Copyright (C) Prikol Software 1996-1997 - Copyright (C) Aleksey Volynskov 1996-1997 - Copyright (C) 2011 - - This file is part of the Doom2D:Rembo project. - - Doom2D:Rembo is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License version 2 as - published by the Free Software Foundation. - - Doom2D:Rembo is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, see or - write to the Free Software Foundation, Inc., - 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -*/ +/* Copyright (C) 1996-1997 Aleksey Volynskov + * Copyright (C) 2011 Rambo + * Copyright (C) 2020 SovietPony + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, version 3 of the License ONLY. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ #ifndef PLAYER_H_INCLUDED #define PLAYER_H_INCLUDED #include "glob.h" #include "view.h" // obj_t -#include // FILE #define PL_DRAWLIFE 1 #define PL_DRAWARMOR 2 @@ -54,7 +48,6 @@ #define PL_AIR 360 #define PL_POWERUP_TIME 546 -#pragma pack(1) typedef struct { obj_t o; int looky; @@ -76,7 +69,6 @@ typedef struct { char lives; int ku, kd, kl, kr, kf, kj, kwl, kwr, kp; } player_t; -#pragma pack() extern byte p_immortal; extern byte p_fly; @@ -90,8 +82,6 @@ extern byte plr_goanim[]; extern byte plr_dieanim[]; extern byte plr_slopanim[]; -void PL_savegame (FILE *h); -void PL_loadgame (FILE *h); int PL_isdead (player_t *p); void PL_init (void); void PL_alloc (void);