experiments
This commit is contained in:
@@ -113,11 +113,11 @@ void initPlayer(Player *plr) {
|
||||
plr->rect.h = TILE_SIZE;
|
||||
|
||||
for (ItemType ui = 1; ui < tileTypeIndex; ui++) {
|
||||
plr->inventory.slotCounts[ui] = 65535;
|
||||
plr->inventory.slotCounts[ui] = 32;
|
||||
}
|
||||
|
||||
for (ItemType ui = ITEMREGISTRY_SIZE / 2; ui < itemRegistryIndex; ui++) {
|
||||
plr->inventory.slotCounts[ui] = 65535;
|
||||
plr->inventory.slotCounts[ui] = 0;
|
||||
}
|
||||
|
||||
hudTexture = SDL_CreateTexture(mainRenderer, SDL_PIXELFORMAT_RGBA8888, SDL_TEXTUREACCESS_TARGET, screenRect.w,
|
||||
|
Reference in New Issue
Block a user