1
0
Fork 0
mirror of https://github.com/Oreolek/gamebookformat.git synced 2024-06-26 03:41:04 +03:00
Commit graph

113 commits

Author SHA1 Message Date
Pelle Nilsson 17257b7970 Removed counter names from html and default templates.
It didn't work for writing some things, even though often correct.
2013-06-24 00:00:00 +02:00
Pelle Nilsson 1a6c6d3d15 Attempt to make checkexpected test more stable. 2013-06-23 22:51:09 +02:00
Pelle Nilsson 834dd92358 Todo entries for some things needed for wh13. 2013-06-21 00:00:10 +02: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 b9025d92a5 Upload also CSS and JavaScript. 2013-06-19 07:32:17 +02:00
Pelle Nilsson 123617ea75 todo 2013-06-19 00:09:16 +02:00
Pelle Nilsson 9280be8e38 Disabling everything after enabled auto link.
This means that if forced to follow instructions to turn to
some section, nothing else later in the current section will
have an effect (eg counters or collections), which should
be what the player expects.
2013-06-18 23:40:27 +02:00
Pelle Nilsson 6b2b16555f Python 2.7 hardcoded. 2013-06-18 23:39:07 +02:00
Pelle Nilsson 9f9e613d4d HTML output now playable with JavaScript disabled or missing js file. 2013-06-18 22:59:13 +02:00
Pelle Nilsson 25fb3ec60c Checking counters to enable or disable HTML links. 2013-06-18 22:41:50 +02:00
Pelle Nilsson 4cfcc4888f Counters. 2013-06-18 22:21:40 +02:00
Pelle Nilsson 4928bd0f14 Correct A5 size output in LaTeX template. 2013-06-18 20:38:55 +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 bce260d073 Fixed bug with tags only included in last section. 2013-06-16 23:39:09 +02:00
Pelle Nilsson 4fdb5dddcd Split some too long lines. 2013-06-16 22:35:14 +02:00
Pelle Nilsson b14a676a31 todo 2013-06-16 22:34:59 +02:00
Pelle Nilsson e41df907fd Ignore js and css files when checking expected output. 2013-06-16 22:26:31 +02:00
Pelle Nilsson f96565e83c node test script working with new html scripts 2013-06-16 22:25:16 +02:00
Pelle Nilsson a1057b81c9 Removed verify code. Will have to add somehow later, but not sure how. 2013-06-16 22:24:59 +02:00
Pelle Nilsson 3a75168d02 Split out html gamebook scripts (most of them) and style. 2013-06-16 22:12:53 +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 cf8f805255 Fixed bug with rendering of introduction sections. 2013-06-16 21:42:02 +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 ad7fcf1e26 Player tests and refactorings. 2013-06-16 19:43:04 +02:00
Pelle Nilsson 0bad58abe3 Stubs for testing html template javascript using node.js. 2013-06-16 09:41:32 +02:00
Pelle Nilsson d431d1f47e Ignore generated readme.html. 2013-06-16 09:06:40 +02:00
Pelle Nilsson e80199ffbe templates.py can be executed now to extract a template from command-line. 2013-06-16 09:06:21 +02:00
Pelle Nilsson 7a2f1d66b8 Rule to make readme.html.
Approximates what the readme will look like on github.
2013-06-15 18:45:31 +02:00
Pelle Nilsson 01b7cc63f9 todo 2013-06-14 23:36:59 +02:00
Pelle Nilsson c2faf5fad7 Improved OutputFormat by removing direct printing to output file.
Whitespace changed in small ways again in expected output.
Now with expected results files updated too.
2013-06-14 23:25:52 +02:00
Pelle Nilsson 4f260e2307 Improved OutputFormat by removing direct printing to output file.
Whitespace changed in small ways again in expected output.
2013-06-14 23:24:43 +02:00
Pelle Nilsson c7938a3080 Small refactoring and testing of OutputFormat.
Minor fix in whitespace generated from templates. Not
100% sure this is an improvement, but the effect very small either way
2013-06-14 23:05:42 +02:00
Pelle Nilsson b0f70ff39f Adding first output unit tests. Doing some refactoring to improve testability. 2013-06-14 22:49:22 +02:00
Pelle Nilsson 5bd01ef289 Removed unused old code. 2013-06-14 22:25:16 +02:00
Pelle Nilsson b3ed663dc3 Updated expected HTML. 2013-06-14 22:24:56 +02:00
Pelle Nilsson b794571d1f HTML typo. 2013-06-14 22:24:24 +02:00
Pelle Nilsson 5c70a94cce Split up HTML templates to give more hooks to more easily extend. 2013-06-14 22:20:45 +02:00
Pelle Nilsson 83d1ab0880 Windhammer Prize link. 2013-06-14 07:02:43 +02:00
Pelle Nilsson d1845d2a1a Flag --random instead of --seed.
Hoping that will be slightly easier to understand.
2013-06-14 07:00:05 +02:00
Pelle Nilsson 155c0ab2f3 Fixed some problems with make clean and expectedcheck. 2013-06-14 00:24:33 +02:00
Pelle Nilsson 4806ac05ef unittest 2013-06-13 23:35:51 +02:00
Pelle Nilsson 2032d0d082 Expected actually now what is expected. 2013-06-13 23:35:11 +02:00
Pelle Nilsson ca4b8389a8 Checking generated examples against saved expected outputs. 2013-06-13 23:21:34 +02:00
Pelle Nilsson d99ca50fa2 Fixed output of supported formats in command usage. 2013-06-13 23:11:25 +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 9aa32a1071 Removing obsolete test.sh. 2013-06-12 00:52:53 +02:00
Pelle Nilsson 21bac3679c Minor style and layout fixes. 2013-06-12 00:49:57 +02:00
Pelle Nilsson 35bdf21ecf Fixed some problems with RTF output.
Images hidden instead of filename visible.
Line-breaks after sections_begin text and introsectionheadings.
2013-06-12 00:29:10 +02:00