Pelle Nilsson
23999c2373
Include multiple tags. Now also exclude tags.
2014-02-28 23:23:18 +01:00
Pelle Nilsson
431357a85c
Fixed problem with section used for missing.
...
It was handled at parse time, but must be done at
output time to be sure the section to use has been parsed.
2013-06-20 22:59:25 +02:00
Pelle Nilsson
e404e877ac
Testing and fixing include only tag feature.
2013-06-18 20:38:32 +02:00
Pelle Nilsson
fcf41b9869
Option to only include sections with specific tag.
2013-06-16 23:43:45 +02:00
Pelle Nilsson
4fdb5dddcd
Split some too long lines.
2013-06-16 22:35:14 +02:00
Pelle Nilsson
1fac366e19
Gamebook id to allow saved games from different games in browser.
...
Default id is basename of file without extension.
Override id by setting book config, as seen in format.gamebook.
2013-06-16 21:54:18 +02:00
Pelle Nilsson
45cbf9ab7f
Disable shuffling replaces setting random seed.
2013-06-16 21:25:50 +02:00
Pelle Nilsson
1d9ed7d7b7
Save and restore HTML game.
2013-06-16 21:18:28 +02:00
Pelle Nilsson
5bd01ef289
Removed unused old code.
2013-06-14 22:25:16 +02:00
Pelle Nilsson
9831aae42a
Optional seed to get predictable shuffling of sections (for tests).
2013-06-13 23:07:36 +02:00
Pelle Nilsson
f60a650598
More formatting options.
2013-06-11 21:59:39 +02:00
Pelle Nilsson
02f6459acf
Book config option for max section number to use.
...
Not sure how useful it is since you can always force one section to have the
max number you want instead.
Anyway also added filling up with dummy sections to make shuffled numbers
on sections in the correct range from 1 to max.
2013-06-10 23:06:37 +02:00
Pelle Nilsson
3421ba7aaa
Gamebook configuration (title and author for now).
2013-06-10 22:50:06 +02:00
Pelle Nilsson
d10177efd6
Fixed bugs in importing and exporting map file with sections not in gamebook.
2013-06-08 20:50:08 +02:00
Pelle Nilsson
1bf91169c5
Codewords and items.
...
Need to think more about design and code is not pretty.
2013-06-07 00:14:06 +02:00
Pelle Nilsson
f723ee0a9c
Text format brackets.
...
Switched to text mark-up even more similar to org-mode, also more
similar to typical wiki mark-up, removing python-style format from
sections (but not from the templates).
2013-06-05 00:19:57 +02:00
Pelle Nilsson
a58a237bc1
Better API for tags in sections.
2013-06-04 22:44:50 +02:00
Pelle Nilsson
84243fafa8
Examples structure. New examples. Verification stub. Tags parsing.
2013-06-04 22:36:09 +02:00
Pelle Nilsson
4dc609c1a2
Now an error to have sections with the same name.
2013-06-04 22:32:51 +02:00
Pelle Nilsson
8e1ac6353d
Export and import JSON mapping of section numbers.
...
Except if flag -M is given.
2013-06-03 23:46:11 +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