mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
AGS: Remove duplicate IAGSFontRenderer class definition
This commit is contained in:
@@ -32,6 +32,7 @@
|
||||
#define AGS_PLUGINS_AGS_PLUGIN_H
|
||||
|
||||
#include "ags/shared/core/types.h"
|
||||
#include "ags/shared/font/ags_font_renderer.h"
|
||||
#include "common/array.h"
|
||||
|
||||
namespace AGS3 {
|
||||
@@ -292,24 +293,6 @@ protected:
|
||||
}
|
||||
};
|
||||
|
||||
class IAGSFontRenderer {
|
||||
public:
|
||||
virtual bool LoadFromDisk(int fontNumber, int fontSize) = 0;
|
||||
virtual void FreeMemory(int fontNumber) = 0;
|
||||
virtual bool SupportsExtendedCharacters(int fontNumber) = 0;
|
||||
virtual int GetTextWidth(const char *text, int fontNumber) = 0;
|
||||
virtual int GetTextHeight(const char *text, int fontNumber) = 0;
|
||||
virtual void RenderText(const char *text, int fontNumber, BITMAP *destination, int x, int y, int colour) = 0;
|
||||
virtual void AdjustYCoordinateForFont(int *ycoord, int fontNumber) = 0;
|
||||
virtual void EnsureTextValidForFont(char *text, int fontNumber) = 0;
|
||||
protected:
|
||||
IAGSFontRenderer() {
|
||||
}
|
||||
virtual ~IAGSFontRenderer() {
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
struct AGSRenderMatrixes {
|
||||
float WorldMatrix[16];
|
||||
float ViewMatrix[16];
|
||||
|
||||
Reference in New Issue
Block a user