mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-24 04:43:36 +00:00
16 lines
396 B
C++
16 lines
396 B
C++
#pragma once
|
|
#include "MemTextureProcessor.h"
|
|
|
|
class MobSkinMemTextureProcessor : public MemTextureProcessor {
|
|
private:
|
|
int* pixels;
|
|
int width, height;
|
|
|
|
public:
|
|
virtual BufferedImage* process(BufferedImage* in);
|
|
|
|
private:
|
|
void setForceAlpha(int x0, int y0, int x1, int y1);
|
|
void setNoAlpha(int x0, int y0, int x1, int y1);
|
|
bool hasAlpha(int x0, int y0, int x1, int y1);
|
|
}; |