wip_feat(PS3): Implement SPU variants for a portion of TU19's blocks
crashes at a stack overflow, cant be assed to fix it atm
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
|
||||
#include "BaseRailTile_SPU.h"
|
||||
|
||||
class PoweredRailTile_SPU : public BaseRailTile_SPU
|
||||
{
|
||||
public:
|
||||
PoweredRailTile_SPU(int id) : BaseRailTile_SPU(id) {}
|
||||
|
||||
Icon_SPU *getTexture(int face, int data)
|
||||
{
|
||||
if ((data & RAIL_DATA_BIT) == 0)
|
||||
{
|
||||
return &ms_pTileData->poweredRailTile_icon;
|
||||
}
|
||||
else
|
||||
{
|
||||
return &ms_pTileData->poweredRailTile_iconPowered;
|
||||
}
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user