SFTtech/openage

Parse nyan API objects in converter instead of hardcoding them

Offen

#1.313 geöffnet am 07.09.2020

 (8 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Python (1.135 Forks)batch import
area: assetsgood first issuelang: cythonlang: python

Repository-Metriken

Stars
 (12.130 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 9T 23h) (1 gemergte PR in 30 T)

Beschreibung

Required skills: Python, Cython, nyan, maybe C++

Difficulty: Medium

Currently, the asset converter stores the openage nyan API as hardcoded nyan objects. It would be much better if the converter could read the API objects from the filesystem with a parser. There would be two ways to do this. Either we implement a new Python parser for nyan or we extend libnyan's already existing C++ parser with a Python interface (related issue in nyan repository).

Further reading:

Contributor Guide