Commit c95bd3c4ea5fe7b067a54ca4d55decb252219b60
1 parent
fc49d661
Retrieving data from BMP
Showing
4 changed files
with
7 additions
and
1 deletions
Show diff stats
Makefile
map/main.bmp
No preview for this file type
map/main.xcf
No preview for this file type
@@ -80,6 +80,12 @@ int calculateInteraction(int act, int x, int y) | @@ -80,6 +80,12 @@ int calculateInteraction(int act, int x, int y) | ||
80 | printx(ERROR, UI, "The selected map is unopenable\n"); | 80 | printx(ERROR, UI, "The selected map is unopenable\n"); |
81 | return act; | 81 | return act; |
82 | } | 82 | } |
83 | + | ||
84 | + fseek(f, x + y*320, SEEK_SET); | ||
85 | + | ||
86 | + printx(DEBUG, UI, "Ret is %02X\n", fgetc(f)); | ||
87 | + | ||
88 | + fclose(f); | ||
83 | 89 | ||
84 | return act; | 90 | return act; |
85 | } | 91 | } |