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

Commit graph

  • ad7fcf1e26 Player tests and refactorings. Pelle Nilsson 2013-06-16 19:43:04 +0200
  • 0bad58abe3 Stubs for testing html template javascript using node.js. Pelle Nilsson 2013-06-16 09:41:32 +0200
  • d431d1f47e Ignore generated readme.html. Pelle Nilsson 2013-06-16 09:06:40 +0200
  • e80199ffbe templates.py can be executed now to extract a template from command-line. Pelle Nilsson 2013-06-16 09:06:21 +0200
  • 7a2f1d66b8 Rule to make readme.html. Approximates what the readme will look like on github. Pelle Nilsson 2013-06-15 18:45:31 +0200
  • 01b7cc63f9 todo Pelle Nilsson 2013-06-14 23:36:59 +0200
  • 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. Pelle Nilsson 2013-06-14 23:25:52 +0200
  • 4f260e2307 Improved OutputFormat by removing direct printing to output file. Whitespace changed in small ways again in expected output. Pelle Nilsson 2013-06-14 23:24:43 +0200
  • 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 Pelle Nilsson 2013-06-14 23:05:42 +0200
  • b0f70ff39f Adding first output unit tests. Doing some refactoring to improve testability. Pelle Nilsson 2013-06-14 22:49:11 +0200
  • 5bd01ef289 Removed unused old code. Pelle Nilsson 2013-06-14 22:25:16 +0200
  • b3ed663dc3 Updated expected HTML. Pelle Nilsson 2013-06-14 22:24:56 +0200
  • b794571d1f HTML typo. Pelle Nilsson 2013-06-14 22:24:24 +0200
  • 5c70a94cce Split up HTML templates to give more hooks to more easily extend. Pelle Nilsson 2013-06-14 22:20:45 +0200
  • 83d1ab0880 Windhammer Prize link. Pelle Nilsson 2013-06-14 07:02:43 +0200
  • d1845d2a1a Flag --random instead of --seed. Hoping that will be slightly easier to understand. Pelle Nilsson 2013-06-14 07:00:05 +0200
  • 155c0ab2f3 Fixed some problems with make clean and expectedcheck. Pelle Nilsson 2013-06-14 00:24:33 +0200
  • 4806ac05ef unittest Pelle Nilsson 2013-06-13 23:35:51 +0200
  • 2032d0d082 Expected actually now what is expected. Pelle Nilsson 2013-06-13 23:35:11 +0200
  • ca4b8389a8 Checking generated examples against saved expected outputs. Pelle Nilsson 2013-06-13 23:21:34 +0200
  • d99ca50fa2 Fixed output of supported formats in command usage. Pelle Nilsson 2013-06-13 23:11:25 +0200
  • 9831aae42a Optional seed to get predictable shuffling of sections (for tests). Pelle Nilsson 2013-06-13 23:07:36 +0200
  • 9aa32a1071 Removing obsolete test.sh. Pelle Nilsson 2013-06-12 00:52:53 +0200
  • 21bac3679c Minor style and layout fixes. Pelle Nilsson 2013-06-12 00:49:57 +0200
  • 35bdf21ecf Fixed some problems with RTF output. Images hidden instead of filename visible. Line-breaks after sections_begin text and introsectionheadings. Pelle Nilsson 2013-06-12 00:29:10 +0200
  • df76c64e7f Random link selection. Stylesheet fixes for links. Some fixes with hiding/showing. Pelle Nilsson 2013-06-12 00:16:21 +0200
  • f60a650598 More formatting options. Pelle Nilsson 2013-06-11 21:59:39 +0200
  • 5a468bdd65 Makefile upload target. Pelle Nilsson 2013-06-11 21:56:21 +0200
  • bd4631553d todo Pelle Nilsson 2013-06-11 00:09:02 +0200
  • 0c0a3f7afd Basic quoting of different output formats. Need to be improved and also add strict filtering later. Pelle Nilsson 2013-06-11 00:02:19 +0200
  • 160519e7e5 Make plain text txt from all rule. Pelle Nilsson 2013-06-10 23:58:33 +0200
  • 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. Pelle Nilsson 2013-06-10 23:06:37 +0200
  • 3421ba7aaa Gamebook configuration (title and author for now). Pelle Nilsson 2013-06-10 22:50:06 +0200
  • 54e03105e7 Default templates. Added plain text output. Made default section template constisting of sectionheader and sectionbody. Improved Makefile with more dependencies to rebuild examples when needed. Pelle Nilsson 2013-06-10 22:15:54 +0200
  • 116ca6fad1 Include templates from a template. Should make it much easier to override specific parts of default templates. Pelle Nilsson 2013-06-10 21:43:03 +0200
  • 18c76ce0b0 Xor (ex-haselse) and Auto modifiers on secrion references. Pelle Nilsson 2013-06-10 21:21:13 +0200
  • ec7a054d42 haselse hack to enable or disable one link the opposite of the previous one Pelle Nilsson 2013-06-10 19:13:45 +0200
  • c4a777ebad Updated debug output for new collections. Pelle Nilsson 2013-06-09 01:08:06 +0200
  • 2d9ee26818 todo Pelle Nilsson 2013-06-09 01:04:02 +0200
  • 98b2583f68 Inventory and codewords now both generic collections. Some new code to handle tags with arguments. Pelle Nilsson 2013-06-09 00:55:24 +0200
  • d10177efd6 Fixed bugs in importing and exporting map file with sections not in gamebook. Pelle Nilsson 2013-06-08 20:50:08 +0200
  • d886b26210 ff Pelle Nilsson 2013-06-08 20:24:03 +0200
  • 9cb51eddae Allow player to follow a link if not having a specific codeword. Pelle Nilsson 2013-06-08 20:18:05 +0200
  • 4d1728cda8 Allow player to follow a link if not carrying a specific item. Pelle Nilsson 2013-06-08 20:13:30 +0200
  • 1688e7f4ed HTML output for small screens somewhat more readable/playable. Pelle Nilsson 2013-06-08 20:00:19 +0200
  • d1e67a2532 Rules to build all examples of specific type. Pelle Nilsson 2013-06-08 19:59:55 +0200
  • ee27c2b6ee Oops, endsWith is not standard Javascript at all. Using regexp. Pelle Nilsson 2013-06-08 15:57:49 +0200
  • ecf8a28384 Items examples grammar in text. Pelle Nilsson 2013-06-08 15:57:21 +0200
  • 1cc0550baf Managed to get centered section headings in Mac text editor. Pelle Nilsson 2013-06-08 09:02:26 +0200
  • ffbac7868a Attempt to fix LaTeX/PDF output a bit. Pelle Nilsson 2013-06-07 23:29:20 +0200
  • f7cf60dbc1 Centered section headers in RTF output. Pelle Nilsson 2013-06-07 23:27:01 +0200
  • af2a459cc9 Items and codewords. Gamebooks are now quite playable in HTML version. Planning to redesign inventory and codewords to be handled the same way, to allow adding other things that behave in a similar way to a gamebook (eg skills or spells). Also some obvious things are missing like being able to check if NOT having an item or codeword, or preventing a player from finding the same item twice (if redirected back to a section where it can be found after dropping it). Pelle Nilsson 2013-06-07 23:18:33 +0200
  • ddf6ed3046 Codewords set in HTML. Feel bad about how copy-pasted codewords are from items. Ideally the same code would handle both. Not now though. Pelle Nilsson 2013-06-07 22:03:28 +0200
  • ac0b806c73 Can pick up items in HTML version. First stubs for HTML Javascript. Ugly hack warning. Too tired to design. Pelle Nilsson 2013-06-07 21:41:52 +0200
  • 1bf91169c5 Codewords and items. Need to think more about design and code is not pretty. Pelle Nilsson 2013-06-07 00:14:06 +0200
  • 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). Pelle Nilsson 2013-06-05 00:19:57 +0200
  • a58a237bc1 Better API for tags in sections. Pelle Nilsson 2013-06-04 22:44:50 +0200
  • 3a1f8821c1 Cleaned up old automatic tests. Ought to add some more soon. Pelle Nilsson 2013-06-04 22:40:09 +0200
  • dd7b1281ca todo Pelle Nilsson 2013-06-04 22:39:46 +0200
  • 84243fafa8 Examples structure. New examples. Verification stub. Tags parsing. Pelle Nilsson 2013-06-04 22:36:09 +0200
  • 4dc609c1a2 Now an error to have sections with the same name. Pelle Nilsson 2013-06-04 22:32:51 +0200
  • 5e187d3252 Improved LaTeX references. Includes some ugly hacks like the empty sections to increase counter. Pelle Nilsson 2013-06-04 22:32:03 +0200
  • ad1bbe65ae LaTeX with cross-references. Seems to work, but following links in PDF brings you to the top of the section below the heading, sometimes meaning that the number is not visible on screen. Also section headings could perhaps have better layout with less empty space above and below. Pelle Nilsson 2013-06-04 00:57:45 +0200
  • f5eb63be46 Two-column LaTeX output with section numbers on separate lines. Pelle Nilsson 2013-06-04 00:34:01 +0200
  • 7c255b2bab Usage documentation. Pelle Nilsson 2013-06-04 00:27:32 +0200
  • 8a4a3401b4 Flag -t to add custom template dirs to override default templates. Pelle Nilsson 2013-06-04 00:22:54 +0200
  • f8ba31300a Target to find FIXMEs in code. Pelle Nilsson 2013-06-04 00:02:02 +0200
  • 8e1ac6353d Export and import JSON mapping of section numbers. Except if flag -M is given. Pelle Nilsson 2013-06-03 23:46:11 +0200
  • 18f313666e Do not crash when there are gaps in section numbering. Pelle Nilsson 2013-06-03 23:45:31 +0200
  • c17d00872b Cleaned up output and templates handling a bit. Pelle Nilsson 2013-06-03 22:19:06 +0200
  • 2dfd2dca24 todo Pelle Nilsson 2013-06-03 22:08:07 +0200
  • 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. Pelle Nilsson 2013-06-03 21:57:55 +0200
  • 81f27d0648 Created GNU Makefile to help build files. Pelle Nilsson 2013-06-03 21:48:28 +0200
  • 84bf6baea5 Renamed templates directory to templates, because that is what it contains. Pelle Nilsson 2013-06-03 21:48:01 +0200
  • 4e9312e4e0 Ignore some leftovers from working in another branch. Pelle Nilsson 2013-06-03 21:30:00 +0200
  • 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. Pelle Nilsson 2013-05-30 00:18:05 +0200
  • bdc101a6db Added simple HTML output support. Pelle Nilsson 2013-05-29 00:01:17 +0200
  • f01eb0a3f3 Fixed bugs in DOT and RTF output. Pelle Nilsson 2013-05-29 00:00:30 +0200
  • 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. Pelle Nilsson 2013-05-28 23:31:09 +0200
  • 3791e8c688 readme Pelle Nilsson 2013-05-28 23:28:13 +0200
  • 0bd449d1b2 Basic RTF output added. Pelle Nilsson 2013-05-28 07:02:47 +0200
  • f2dd2c3bfb Instead typo. Pelle Nilsson 2013-05-28 06:56:54 +0200
  • 7e140e0990 Ignore *.out and *.png files. Pelle Nilsson 2013-05-27 23:49:07 +0200
  • 74cd2958ab Removed generated files from git. Pelle Nilsson 2013-05-27 23:48:44 +0200
  • 31c49e8118 Raise error if attempting to us RTF, as it is not yet implemented. Pelle Nilsson 2013-05-27 23:48:13 +0200
  • 3b551f74e7 Todo list updated and in better format. Pelle Nilsson 2013-05-27 23:40:21 +0200
  • d12e43ff67 Added PDF from LaTeX generation to test.sh. Script also now executable. Pelle Nilsson 2013-05-27 23:40:08 +0200
  • 4986b40cf0 Initial basic version of gamebook formatter. Pelle Nilsson 2013-05-27 23:33:36 +0200