1 /* 2 Copyright (C) 2003 Parallel Realities 3 Copyright (C) 2011 Guus Sliepen 4 Copyright (C) 2015-2020 The Diligent Circle <diligentcircle@riseup.net> 5 6 This program is free software; you can redistribute it and/or 7 modify it under the terms of the GNU General Public License 8 as published by the Free Software Foundation; either version 3 9 of the License, or (at your option) any later version. 10 11 This program is distributed in the hope that it will be useful, 12 but WITHOUT ANY WARRANTY; without even the implied warranty of 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 GNU General Public License for more details. 15 16 You should have received a copy of the GNU General Public License 17 along with this program. If not, see <http://www.gnu.org/licenses/>. 18 */ 19 20 #ifndef _CARGO_H_ 21 #define _CARGO_H_ 22 23 #include "defs.h" 24 #include "structs.h" 25 26 extern Object cargo[MAX_CARGO]; 27 28 void cargo_init(); 29 Object *cargo_add(Object *owner, int cargoType); 30 void cargo_becomeCollectable(int i); 31 32 #endif 33