IN101 project on Conway's Game of Life
Functions
list_pbm_writer.c File Reference

Source code for a linked list implementation of Conway's game of life ppm image printer. More...

#include "list_pbm_writer.h"
Include dependency graph for list_pbm_writer.c:

Functions

void list_generate_image (universe u, int idx)
 Generate the image corresponding to a universe.
Image will be of PPM format and created in the out folder, with the filename idx-XXX.ppm where XXX in the the image index. More...
 
void list_generate_image_filename (universe u, char *filename)
 Generate the image corresponding to a universe.
Image will be of PPM format. More...
 

Detailed Description

Source code for a linked list implementation of Conway's game of life ppm image printer.

Author
Victor Colomb (vic.c.nosp@m.ol@h.nosp@m.otmai.nosp@m.l.fr)
Date
2021-03-18

Function Documentation

◆ list_generate_image()

void list_generate_image ( universe  u,
int  idx 
)

Generate the image corresponding to a universe.
Image will be of PPM format and created in the out folder, with the filename idx-XXX.ppm where XXX in the the image index.

Parameters
uuniverse
idximage index, used for its filename

◆ list_generate_image_filename()

void list_generate_image_filename ( universe  u,
char *  filename 
)

Generate the image corresponding to a universe.
Image will be of PPM format.

Parameters
uuniverse
filename