OSDN Git Service
(root)
/
hengbandforosx
/
hengbandosx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1945a2
)
In Term_pict_cocoa(), step through the passed in arrays in increments of the tile...
author
Eric Branlund
<ebranlund@fastmail.com>
Sat, 15 Aug 2020 06:05:47 +0000
(23:05 -0700)
committer
Eric Branlund
<ebranlund@fastmail.com>
Mon, 17 Aug 2020 00:02:26 +0000
(17:02 -0700)
src/main-cocoa.m
patch
|
blob
|
history
diff --git
a/src/main-cocoa.m
b/src/main-cocoa.m
index
b0ff4c4
..
2b37745
100644
(file)
--- a/
src/main-cocoa.m
+++ b/
src/main-cocoa.m
@@
-4792,11
+4792,15
@@
static errr Term_pict_cocoa(int x, int y, int n,
}
for (int i = x; i < x + n * step; i += step) {
- byte a = *ap++;
- char c = *cp++;
- byte ta = *tap++;
- char tc = *tcp++;
-
+ byte a = *ap;
+ char c = *cp;
+ byte ta = *tap;
+ char tc = *tcp;
+
+ ap += step;
+ cp += step;
+ tap += step;
+ tcp += step;
if (use_graphics && (a & 0x80) && (c & 0x80)) {
char fgdRow = ((byte)a & 0x7F) % pict_rows;
char fgdCol = ((byte)c & 0x7F) % pict_cols;