19 lines
398 B
C
19 lines
398 B
C
/**
|
|
* Copyright (c) 2026 Dominic Masters
|
|
*
|
|
* This software is released under the MIT License.
|
|
* https://opensource.org/licenses/MIT
|
|
*/
|
|
|
|
#pragma once
|
|
#include "inventory.h"
|
|
|
|
#define BACKPACK_STORAGE_SIZE_MAX 20
|
|
|
|
extern inventorystack_t BACKPACK_STORAGE[BACKPACK_STORAGE_SIZE_MAX];
|
|
extern inventory_t BACKPACK;
|
|
|
|
/**
|
|
* Initializes the backpack inventory for the player.
|
|
*/
|
|
void backpackInit(); |