Compare commits
No commits in common. "main" and "00ecf6e9a925f2edfe7d5a1277dc239478bcb3fb" have entirely different histories.
main
...
00ecf6e9a9
8
field.c
8
field.c
|
@ -9,10 +9,10 @@
|
||||||
})
|
})
|
||||||
|
|
||||||
void Field_init(Field *f, SDL_Renderer *rend, int w, int h) {
|
void Field_init(Field *f, SDL_Renderer *rend, int w, int h) {
|
||||||
f->tl = Picture_new(rend, 0, 0, w, h, 0xffffffff /*0xff7fffff*/);
|
f->tl = Picture_new(rend, 0, 0, w, h, 0xff7fffff);
|
||||||
f->tr = Picture_new(rend, w, 0, w, h, 0xffffffff /*0xffff7fff*/);
|
f->tr = Picture_new(rend, w, 0, w, h, 0xffff7fff);
|
||||||
f->bl = Picture_new(rend, 0, h, w, h, 0xffffffff /*0xffffff7f*/);
|
f->bl = Picture_new(rend, 0, h, w, h, 0xffffff7f);
|
||||||
f->br = Picture_new(rend, w, h, w, h, 0xffffffff /*0xff7fff7f*/);
|
f->br = Picture_new(rend, w, h, w, h, 0xff7fff7f);
|
||||||
f->offset = (struct int2){ 0, 0 };
|
f->offset = (struct int2){ 0, 0 };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue