annotate data/ST/Makefile @ 772:7492d384d122 default tip

Rust: Add a Glide renderer (2D only for now) This is an experiment for a Rust renderer, iterating over the Python data using pyo3. It requires --feature=glide to be passed to cargo build, doesn’t support NPOT textures, text rendering, the background, or even msg faces, some of that may come in a future changeset.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Mon, 05 Sep 2022 17:53:36 +0200
parents 016f6b937893
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
601
016f6b937893 Make sample data build again.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 414
diff changeset
1 PNG := stg1bg.png face.png eff01.png stg1enm.png etama3.png etama4.png player00.png
016f6b937893 Make sample data build again.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 414
diff changeset
2 ANM := stg1bg.anm face00a.anm face00b.anm face00c.anm face03a.anm face03b.anm eff01.anm stg1enm2.anm stg1enm.anm stg1enm2.anm etama3.anm etama4.anm player00.anm
016f6b937893 Make sample data build again.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 414
diff changeset
3 OTHER := stage1.std ecldata1.ecl msg1.dat
115
f0e6ae22d29a Add sample data
Thibaut Girka <thib@sitedethib.com>
parents:
diff changeset
4
601
016f6b937893 Make sample data build again.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 414
diff changeset
5 all: $(PNG) $(ANM) $(OTHER)
115
f0e6ae22d29a Add sample data
Thibaut Girka <thib@sitedethib.com>
parents:
diff changeset
6
601
016f6b937893 Make sample data build again.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 414
diff changeset
7 %.png: %.svg
016f6b937893 Make sample data build again.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 414
diff changeset
8 inkscape -e $@ $<
116
0fa6bef94095 Welcome self-sufficient data!
Thibaut Girka <thib@sitedethib.com>
parents: 115
diff changeset
9
601
016f6b937893 Make sample data build again.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 414
diff changeset
10 %.anm: %.script
016f6b937893 Make sample data build again.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 414
diff changeset
11 thanm c $@ $<
115
f0e6ae22d29a Add sample data
Thibaut Girka <thib@sitedethib.com>
parents:
diff changeset
12
f0e6ae22d29a Add sample data
Thibaut Girka <thib@sitedethib.com>
parents:
diff changeset
13 ecldata1.ecl: make_ecl.py
601
016f6b937893 Make sample data build again.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 414
diff changeset
14 PYTHONPATH=../../ python3 make_ecl.py
115
f0e6ae22d29a Add sample data
Thibaut Girka <thib@sitedethib.com>
parents:
diff changeset
15
f0e6ae22d29a Add sample data
Thibaut Girka <thib@sitedethib.com>
parents:
diff changeset
16 stage1.std: make_stage.py
601
016f6b937893 Make sample data build again.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 414
diff changeset
17 PYTHONPATH=../../ python3 make_stage.py
115
f0e6ae22d29a Add sample data
Thibaut Girka <thib@sitedethib.com>
parents:
diff changeset
18
f0e6ae22d29a Add sample data
Thibaut Girka <thib@sitedethib.com>
parents:
diff changeset
19 msg1.dat: msg1.script
f0e6ae22d29a Add sample data
Thibaut Girka <thib@sitedethib.com>
parents:
diff changeset
20 thmsg c6 msg1.script msg1.dat
f0e6ae22d29a Add sample data
Thibaut Girka <thib@sitedethib.com>
parents:
diff changeset
21
601
016f6b937893 Make sample data build again.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 414
diff changeset
22 # Those should have their own script.
016f6b937893 Make sample data build again.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 414
diff changeset
23 face00b.anm: face03a.script
016f6b937893 Make sample data build again.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 414
diff changeset
24 thanm c $@ $<
016f6b937893 Make sample data build again.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 414
diff changeset
25
016f6b937893 Make sample data build again.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 414
diff changeset
26 face00c.anm: face03a.script
016f6b937893 Make sample data build again.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 414
diff changeset
27 thanm c $@ $<
016f6b937893 Make sample data build again.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 414
diff changeset
28
016f6b937893 Make sample data build again.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 414
diff changeset
29 face03b.anm: face03a.script
016f6b937893 Make sample data build again.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 414
diff changeset
30 thanm c $@ $<
115
f0e6ae22d29a Add sample data
Thibaut Girka <thib@sitedethib.com>
parents:
diff changeset
31
f0e6ae22d29a Add sample data
Thibaut Girka <thib@sitedethib.com>
parents:
diff changeset
32 clean:
601
016f6b937893 Make sample data build again.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 414
diff changeset
33 $(RM) $(PNG) $(ANM) $(OTHER)
115
f0e6ae22d29a Add sample data
Thibaut Girka <thib@sitedethib.com>
parents:
diff changeset
34
f0e6ae22d29a Add sample data
Thibaut Girka <thib@sitedethib.com>
parents:
diff changeset
35 .PHONY: all clean