summaryrefslogtreecommitdiffstats
path: root/src/fakerw/fake.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-04-24 13:27:02 +0200
committeraap <aap@papnet.eu>2020-04-24 14:08:06 +0200
commit5bb4e9992679c9e8767d4eb6de54da1892ec13c6 (patch)
treebed321a714eed597caa620a77bdd00f9e2b6a153 /src/fakerw/fake.cpp
parentimplemented skinned peds, no cutscene hands yet (diff)
downloadre3-5bb4e9992679c9e8767d4eb6de54da1892ec13c6.tar
re3-5bb4e9992679c9e8767d4eb6de54da1892ec13c6.tar.gz
re3-5bb4e9992679c9e8767d4eb6de54da1892ec13c6.tar.bz2
re3-5bb4e9992679c9e8767d4eb6de54da1892ec13c6.tar.lz
re3-5bb4e9992679c9e8767d4eb6de54da1892ec13c6.tar.xz
re3-5bb4e9992679c9e8767d4eb6de54da1892ec13c6.tar.zst
re3-5bb4e9992679c9e8767d4eb6de54da1892ec13c6.zip
Diffstat (limited to '')
-rw-r--r--src/fakerw/fake.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fakerw/fake.cpp b/src/fakerw/fake.cpp
index 59c01c91..b86e9214 100644
--- a/src/fakerw/fake.cpp
+++ b/src/fakerw/fake.cpp
@@ -176,8 +176,8 @@ const RwChar *RwImageSetPath(const RwChar * path) { Image::setSearchPath(path);
RwImage *RwImageSetStride(RwImage * image, RwInt32 stride) { image->stride = stride; return image; }
RwImage *RwImageSetPixels(RwImage * image, RwUInt8 * pixels) { image->pixels = pixels; return image; }
RwImage *RwImageSetPalette(RwImage * image, RwRGBA * palette) { image->palette = (uint8*)palette; return image; }
-RwInt32 RwImageGetWidth(const RwImage * image);
-RwInt32 RwImageGetHeight(const RwImage * image);
+RwInt32 RwImageGetWidth(const RwImage * image) { return image->width; }
+RwInt32 RwImageGetHeight(const RwImage * image) { return image->height; }
RwInt32 RwImageGetDepth(const RwImage * image);
RwInt32 RwImageGetStride(const RwImage * image);
RwUInt8 *RwImageGetPixels(const RwImage * image);