/FdF

Fil De Fer / Graphic app

Primary LanguageC

FdF

little software to print on screen an image from map based on a .txt file.

[graphic API with MinilibX, kind of little libX, and Cocoa, and OpenGL]

example of easy map of a kind of pyramide colum = x ; rows = y ; values = h :

        0 0 0 1 0 0 0\n
        0 0 1 2 1 0 0\n
        0 1 2 3 2 1 0\n
        1 2 3 4 3 2 1\n
        0 1 2 3 2 1 0\n
        0 0 1 2 1 0 0\n
        0 0 0 1 0 0 0\n 

Complile on mac :

make OS="Sierra" on sierra

make OS="Elcapitan" on MacOs Elcapitan

(and) PAD="Off" il your keyboard don't have one.

use ESC key to close the window;

use m key to show the menu, follow its instructions.

//mouvements not finished but enouth to show a mouving map, project objectifs reduiced to finish it with the maximum mark (DONE)

[graphic API with MinilibX, kind of little libX, and Cocoa, and OpenGL]