Pelle Nilsson
c17d00872b
Cleaned up output and templates handling a bit.
2013-06-03 22:19:06 +02:00
Pelle Nilsson
5d42472385
Use term section instead of paragraph.
...
Because it will become confusing later when there is support
for sections split up in several paragraphs otherwise.
2013-06-03 21:57:55 +02:00
Pelle Nilsson
707d5692cb
Switched from JSON to simpler format.
...
Code is a bit of a mess at the moment. Might have to generate some JSON
later anyway to make it easier to make playable game in browser.
2013-05-30 00:18:05 +02:00
Pelle Nilsson
bdc101a6db
Added simple HTML output support.
2013-05-29 00:01:17 +02:00
Pelle Nilsson
f0ad6ea094
Halfway through refactoring output formats.
...
The idea now is that only simple plain-text template files are used
for all formats, rather than having a Python class for each one.
At least for the currently supported formats this seems to work very well.
Need to clean up and remove all the reduntant class definitions sometime.
2013-05-28 23:31:09 +02:00
Pelle Nilsson
4986b40cf0
Initial basic version of gamebook formatter.
...
Reused old paragraphs.py and test_paragraphs.py.
Implemented very basic output for Graphviz DOT and LaTeX files.
Basic plain-text debug output.
2013-05-27 23:33:36 +02:00