Compare commits
1 Commits
00ecf6e9a9
...
main
Author | SHA1 | Date |
---|---|---|
Henri Vasserman | f6a64f39b4 |
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, 0xff7fffff);
|
f->tl = Picture_new(rend, 0, 0, w, h, 0xffffffff /*0xff7fffff*/);
|
||||||
f->tr = Picture_new(rend, w, 0, w, h, 0xffff7fff);
|
f->tr = Picture_new(rend, w, 0, w, h, 0xffffffff /*0xffff7fff*/);
|
||||||
f->bl = Picture_new(rend, 0, h, w, h, 0xffffff7f);
|
f->bl = Picture_new(rend, 0, h, w, h, 0xffffffff /*0xffffff7f*/);
|
||||||
f->br = Picture_new(rend, w, h, w, h, 0xff7fff7f);
|
f->br = Picture_new(rend, w, h, w, h, 0xffffffff /*0xff7fff7f*/);
|
||||||
f->offset = (struct int2){ 0, 0 };
|
f->offset = (struct int2){ 0, 0 };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue