|
|
@@ -230,7 +230,7 @@ static void RegisterImage(asIScriptEngine* engine)
|
|
|
engine->RegisterObjectMethod("Image", "bool SaveTGA(const String&in) const", asMETHOD(Image, SaveTGA), asCALL_THISCALL);
|
|
|
engine->RegisterObjectMethod("Image", "bool SaveJPG(const String&in, int) const", asMETHOD(Image, SaveJPG), asCALL_THISCALL);
|
|
|
engine->RegisterObjectMethod("Image", "bool SaveDDS(const String&in) const", asMETHOD(Image, SaveDDS), asCALL_THISCALL);
|
|
|
- engine->RegisterObjectMethod("Image", "bool SaveWEBP(const String&in) const", asMETHOD(Image, SaveWEBP), asCALL_THISCALL);
|
|
|
+ engine->RegisterObjectMethod("Image", "bool SaveWEBP(const String&in, float) const", asMETHOD(Image, SaveWEBP), asCALL_THISCALL);
|
|
|
engine->RegisterObjectMethod("Image", "Color GetPixel(int, int) const", asMETHODPR(Image, GetPixel, (int, int) const, Color), asCALL_THISCALL);
|
|
|
engine->RegisterObjectMethod("Image", "Color GetPixel(int, int, int) const", asMETHODPR(Image, GetPixel, (int, int, int) const, Color), asCALL_THISCALL);
|
|
|
engine->RegisterObjectMethod("Image", "uint GetPixelInt(int, int) const", asMETHODPR(Image, GetPixelInt, (int, int) const, unsigned), asCALL_THISCALL);
|