X-Git-Url: https://deadsoftware.ru/gitweb?p=flatwaifu.git;a=blobdiff_plain;f=src%2Fitems.h;h=18c1bbfc72ac3f8b5d99d05e94f7cffbfc3b83c5;hp=c2be467f83556b6fe20478c32424c37a2bf2075d;hb=ef16dea09f87b15fc6d58fae0aa0832e0648c00e;hpb=90e960736c16dc6d5031f55a7d8b0cccc6453a37 diff --git a/src/items.h b/src/items.h index c2be467..18c1bbf 100644 --- a/src/items.h +++ b/src/items.h @@ -1,29 +1,24 @@ -/* - Copyright (C) Prikol Software 1996-1997 - Copyright (C) Aleksey Volynskov 1996-1997 - - 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 ITEMS_H_INCLUDED #define ITEMS_H_INCLUDED #include "view.h" // obj_t -#include // FILE #define MAXITEM 300 @@ -43,11 +38,8 @@ typedef struct { extern item_t it[MAXITEM]; extern int itm_rtime; -void IT_savegame (FILE *h); -void IT_loadgame (FILE *h); void IT_alloc (void); void IT_init (void); -int IT_load (FILE *h); void IT_act (void); void IT_spawn (int x, int y, int t); void IT_drop_ammo (int t, int n, int x, int y);