24 lines
665 B
C
24 lines
665 B
C
//
|
|
// Created by bruno on 1.6.2025.
|
|
//
|
|
|
|
#include "tilecallbacks.h"
|
|
#include "furnace.h"
|
|
#include "miner.h"
|
|
#include "turret.h"
|
|
#include "ammoCrafter.h"
|
|
#include "wiredrawer.h"
|
|
#include "core.h"
|
|
|
|
const UpdateTileCallback ItemTileCallbacks[TILEREGISTRY_SIZE] = {
|
|
[TYPE_AIR] = NULL,
|
|
[TYPE_BLOCK] = NULL,
|
|
[TYPE_BELT] = NULL,
|
|
[TYPE_FURNACE] = updateFurnace,
|
|
[TYPE_MINER] = updateMiner,
|
|
[TYPE_TURRET] = updateTurret,
|
|
[TYPE_SPLITTER] = NULL, //TODO MOVE implementation from updateItem
|
|
[TYPE_CORE] = updateCore,
|
|
[TYPE_WIRECRAFTER] = updateWireDrawer,
|
|
[TYPE_AMMOCRAFTER] = updateAmmoCrafter,
|
|
}; |