AGI: Remove unused function declarations

This commit is contained in:
sluicebox 2024-01-01 21:58:44 -08:00
parent 0877da67b2
commit 560d09f314
6 changed files with 0 additions and 21 deletions

View File

@ -932,14 +932,8 @@ public:
public:
void decrypt(uint8 *mem, int len);
void releaseSprites();
uint16 processAGIEvents();
int viewPictures();
int runGame();
int getAppDir(char *appDir, unsigned int size);
int setupV2Game(int ver);
int setupV3Game(int ver);
void newRoom(int16 newRoomNr);
void resetControllers();
@ -954,7 +948,6 @@ public:
// Objects
public:
int showObjects();
int loadObjects(const char *fname);
int loadObjects(Common::File &fp);
const char *objectName(uint16 objectNr);
@ -1002,8 +995,6 @@ public:
// View
private:
void lSetLoop(ScreenObjEntry *screenObj, int16 loopNr);
void updateView(ScreenObjEntry *screenObj);
public:
@ -1024,8 +1015,6 @@ private:
void unpackViewCelDataAGI256(AgiViewCel *celData, byte *compressedData, uint16 compressedSize);
public:
void addToPic(int, int, int, int, int, int, int);
void drawObj(int);
bool isEgoView(const ScreenObjEntry *screenObj);
// Motion
@ -1055,14 +1044,12 @@ public:
// Keyboard
int doPollKeyboard();
void cleanKeyboard();
bool handleMouseClicks(uint16 &key);
bool handleController(uint16 key);
bool showPredictiveDialog();
uint16 agiGetKeypress();
int waitKey();
int waitAnyKey();

View File

@ -92,7 +92,6 @@ public:
void translateGameRectToDisplayScreen(int16 &x, int16 &y, int16 &width, int16 &height);
void translateVisualRectToDisplayScreen(int16 &x, int16 &y, int16 &width, int16 &height);
void translateDisplayRectToVisualScreen(int16 &x, int16 &y, int16 &width, int16 &height);
uint32 getDisplayOffsetToGameScreenPos(int16 x, int16 y);
uint32 getDisplayOffsetToVisualScreenPos(int16 x, int16 y);

View File

@ -232,8 +232,6 @@ uint8 *AgiLoader_v3::loadVolRes(AgiDir *agid) {
// Manhunter 2 uses such pictures
data = compBuffer;
agid->flags |= RES_PICTURE_V3_NIBBLE_PARM;
//data = _vm->_picture->convertV3Pic(compBuffer, agid->clen);
// compBuffer has been freed inside convertV3Pic()
} else if (agid->len == agid->clen) {
// do not decompress
data = compBuffer;

View File

@ -75,7 +75,6 @@ public:
private:
void draw_xCorner(bool skipOtherCoords = false);
void yCorner(bool skipOtherCoords = false);
int plotPatternPoint(int x, int y, int bitpos);
void plotBrush();
byte getNextByte();
@ -112,7 +111,6 @@ public:
void showPic(); // <-- for regular AGI games
void showPic(int16 x, int16 y, int16 pic_width, int16 pic_height); // <-- for preAGI games
void showPicWithTransition();
uint8 *convertV3Pic(uint8 *src, uint32 len);
void plotPattern(int x, int y); // public because it's used directly by preagi

View File

@ -137,7 +137,6 @@ public:
void setVolume(uint8 volume);
void unloadSound(int);
void playSound();
void startSound(int, int);
void stopSound();

View File

@ -94,8 +94,6 @@ public:
SpritesMgr(AgiEngine *agi, GfxMgr *gfx);
~SpritesMgr();
int initSprites();
void deinitSprites();
void addToPic(int16 viewNr, int16 loopNr, int16 celNr, int16 xPos, int16 yPos, int16 priority, int16 border);
void addToPicDrawPriorityBox(ScreenObjEntry *screenObj, int16 border);
};