≈ the.bay.news

Lemmixology (001) structure of images alongside imageinformation

Ziggit
Lemmixology (001) structure of images alongside imageinformation
As I did here earlier with my chess program (which I regard as finished and stopped working on it) I would like to start a new brainstorming miniseries for those who are interested. lemmixology is my current project. A lemmings clone but with randomly generated levels. This thread is a question about storing the below two structs in two lists. const Image = struct { width: i32, height: i32, pixels: []Pixel, // Image owns the allocated pixels. } and const ImageInfo = struct { ...

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.