reading and writing of entries with the grammar, mostly spaces and newlines changed
This commit is contained in:
parent
9d1e410f24
commit
50ed561d66
@ -3,6 +3,11 @@ ftp://ftp.tuxpaint.org/unix/x/
|
||||
http://antongerdelan.net/blog/ (other projects besides TestDrive)
|
||||
http://cdetect.sourceforge.net/
|
||||
http://circularstudios.com/
|
||||
https://github.com/SadConsole/SadConsole
|
||||
https://github.com/tlgkccampbell/ultraviolet
|
||||
https://github.com/amerkoleci/Vortice.Windows
|
||||
https://github.com/horde3d/Horde3D
|
||||
https://github.com/cxong/cdogs-sdl
|
||||
http://cyxdown.free.fr/bs/
|
||||
http://cyxdown.free.fr/f2b/
|
||||
https://github.com/nfprojects/nfengine
|
||||
|
@ -1,4 +1,4 @@
|
||||
start: title description property+ note? building
|
||||
start: title _EL description _EL property+ _EL (note)? building
|
||||
title: "#" /(?! ).+(?<! )/ _NL // not starting or ending with a space
|
||||
|
||||
description: "_" /(?! ).+(?<![ _])/ "_" _NL // single line not ending with underscore
|
||||
@ -9,9 +9,9 @@ _value : quoted_value | unquoted_value
|
||||
quoted_value : /\".+?\"/ // with quotation marks, can contain commas
|
||||
unquoted_value : /(?![ \"])[^,\n]+(?<![ \"])/ // cannot contain commas, cannot start or end with quotation mark
|
||||
|
||||
note.3: /(?![\-#]).*\n/+ // Unstructured text, not starting with - or #
|
||||
note: /(?![\-#]).*\n/+ // Unstructured text, not starting with - or #
|
||||
|
||||
building: "## Building" _NL property* note? // the "building" section
|
||||
building: "## Building" _NL (_EL property+)? (_EL note)? _EL* // the "building" section
|
||||
|
||||
|
||||
_NUMBER: /[0-9]+/
|
||||
@ -20,7 +20,6 @@ CR : /\r/
|
||||
LF : /\n/
|
||||
_NL : CR? LF
|
||||
WS : (" "|/\t/)+
|
||||
_EL.2 : /^$\n/m
|
||||
_EL : /^$\n/m
|
||||
|
||||
%ignore WS
|
||||
%ignore _EL
|
||||
|
@ -605,7 +605,6 @@ def write_entries(entries):
|
||||
"""
|
||||
|
||||
# iterate over all entries
|
||||
entries = entries[:20]
|
||||
for entry in entries:
|
||||
write_entry(entry)
|
||||
|
||||
@ -641,29 +640,32 @@ def create_entry_content(entry):
|
||||
for field in valid_fields:
|
||||
field_name = field.lower()
|
||||
if field_name in entry:
|
||||
content += '- {}: {}\n'.format(field, ', '.join(entry[field_name]))
|
||||
c = entry[field_name]
|
||||
c = ['"{}"'.format(x) if ',' in x else x for x in c]
|
||||
content += '- {}: {}\n'.format(field, ', '.join(c))
|
||||
content += '\n'
|
||||
|
||||
# if there is a note, insert it
|
||||
if 'note' in entry:
|
||||
content += entry['note'] + '\n'
|
||||
content += entry['note']
|
||||
|
||||
# building header
|
||||
content += '## Building\n\n'
|
||||
content += '## Building\n'
|
||||
|
||||
# building properties if present
|
||||
has_properties = False
|
||||
for field in valid_building_fields:
|
||||
field_name = field.lower()
|
||||
if field_name in entry['building']:
|
||||
if not has_properties:
|
||||
has_properties = True
|
||||
content += '\n'
|
||||
content += '- {}: {}\n'.format(field, ', '.join(entry['building'][field_name]))
|
||||
|
||||
# if there is a note, insert it
|
||||
if 'note' in entry['building']:
|
||||
if has_properties:
|
||||
content += '\n'
|
||||
content += entry['building']['note'] + '\n'
|
||||
content += entry['building']['note']
|
||||
|
||||
return content
|
||||
|
||||
|
@ -14,4 +14,3 @@ _Turn based strategy game._
|
||||
## Building
|
||||
|
||||
- Build system: Autoconf
|
||||
|
||||
|
@ -10,4 +10,3 @@ _MOAI based point-n-click graphical adventure engine._
|
||||
- Code license: MIT
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -11,4 +11,3 @@ _Turn-based strategy game, an AI client development testbed._
|
||||
- Code dependencies: Pillow, pygame
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -12,4 +12,3 @@ _Continuation of Bungie's Marathon 2 FPS game engine._
|
||||
- Code license: GPL-3.0
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -12,4 +12,3 @@ _Alien Assault Traders is an online, web-based, turn-based strategy space tradin
|
||||
- Developer: Mark Dickenson, Rick Thomson
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -14,4 +14,3 @@ _Cross-platform library mainly aimed at video game and multimedia programming._
|
||||
## Building
|
||||
|
||||
- Build system: CMake
|
||||
|
||||
|
@ -11,4 +11,3 @@ _Turn based strategy indie game project._
|
||||
- Code dependencies: Phaser
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -12,4 +12,3 @@ _Quest-driven Roguelike fantasy dungeon crawler RPG with a powerful story._
|
||||
- Code license: GPL-2.0
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -13,4 +13,3 @@ _Single-player dungeon exploration game._
|
||||
- Code dependencies: SDL
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -11,4 +11,3 @@ _Port of the original Ares code base that was open sourced in 2008._
|
||||
- Code license: LGPL-3.0
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -11,4 +11,3 @@ _AntiChess is an anti chess game. You have to take your opponents piece if you c
|
||||
- Code license: MIT
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -11,4 +11,3 @@ _Engine for Frogatto and Friends._
|
||||
- Code license: zlib (src folder)
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -12,4 +12,3 @@ _Action/RPG sidescroller, focused not just on fighting, but on story, and charac
|
||||
- Code dependencies: pygame
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -11,4 +11,3 @@ _Turn based strategy game. It has simple and well designed rules._
|
||||
- Code license: GPL-3.0
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -14,4 +14,3 @@ _Port of Arx Fatalis, a 2002 first-person role-playing game / dungeon crawler._
|
||||
## Building
|
||||
|
||||
- Build system: CMake
|
||||
|
||||
|
@ -13,9 +13,8 @@ _PBEM Game engine which is used to create many different strategy wargames today
|
||||
Game engine? Implementations?
|
||||
|
||||
See also:
|
||||
[Atlantis Little Helper](https://sourceforge.net/projects/alh/), [Dev group](https://groups.yahoo.com/neo/groups/atlantisdev/info), [Atlantis 1.0](https://github.com/ennorehling/atlantis).
|
||||
[Atlantis Little Helper](https://sourceforge.net/projects/alh/), [Dev group](https://groups.yahoo.com/neo/groups/atlantisdev/info), [Atlantis 1.0](https://github.com/ennorehling/atlantis).
|
||||
|
||||
https://github.com/essenbee/atlantis, https://github.com/AtlaClient/AtlaClient
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -13,4 +13,3 @@ _Faithful remake of, and a tribute to, Atomix, a classic puzzle game created by
|
||||
- Developer: Mateusz Viste
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -10,4 +10,3 @@ _A puzzle game in which you have to build full molecules._
|
||||
- Code license: GPL-2.0
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -11,4 +11,3 @@ _Themeable turn-based strategy game._
|
||||
- Code license: GPL-2.0
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -12,4 +12,3 @@ _Role-playing game mapping program._
|
||||
- Code dependencies: wxWidgets
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -11,4 +11,3 @@ _Relatively easy to win but feature rich fantasy roguelike game with a highly in
|
||||
- Code license: GPL-2.0
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -17,4 +17,3 @@ _Remake of the Turnbased Artillery game from 1987._
|
||||
## Building
|
||||
|
||||
- Build system: CMake
|
||||
|
||||
|
@ -12,4 +12,3 @@ _Battlefield Java is simple grid and turned based battle simulation game for Jav
|
||||
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -10,4 +10,3 @@ _A real-time-strategy (RTS) game._
|
||||
- Code license: GPL-2.0
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -11,4 +11,3 @@ _Innovative, original strategy-action RPG developed in Sphere._
|
||||
- Code license: GPL-2.0
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -12,4 +12,3 @@ _Turn-based 4X strategy game set in space in the style of classics such as Micro
|
||||
See also [Android/Java version](https://bitbucket.org/sarkanyi/bote-libgdx/) and https://blotunga.itch.io/birth-of-the-empires
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -15,4 +15,3 @@ Fork is [Red Nova Traders](https://sourceforge.net/projects/rednova/), inactive
|
||||
See also https://github.com/myprohost/BlackNovaTrader, https://github.com/Kambyses/BlackNova-Traders
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -11,4 +11,3 @@ _2D engine that runs Lua scripts._
|
||||
- Code license: zlib
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -13,4 +13,3 @@ _Little turn-based strategy game based on Pendulous shareware rules._
|
||||
See also [Pendulous](http://www.blackfalcongames.net/?p=225).
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -10,4 +10,3 @@ _2D mission and objective-based platform game._
|
||||
- Code license: GPL-3.0
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -12,4 +12,3 @@ _Continuation of the famous Blobby Volley 1.x arcade game._
|
||||
- Code license: GPL-2.0
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -13,4 +13,3 @@ _2D arcade platform game._
|
||||
- Code license: GPL-2.0
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -12,4 +12,3 @@ _Classic bomberman game._
|
||||
- Code license: GPL-3.0
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -13,4 +13,3 @@ _Futuristic real time strategy game (RTS)._
|
||||
Code repository not available (https://www.boswars.org/development.shtml).
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -13,4 +13,3 @@ _OpenGL real-time strategy game._
|
||||
More like alpha.
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -14,4 +14,3 @@ _Dual n-back brain training exercise._
|
||||
- Assets license: CC (caprica-letters and all the music in the latest version
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -12,4 +12,3 @@ _Inspired by the once popular "Battle Chess" released by Interplay circa 1988._
|
||||
- Code license: GPL-2.0
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -11,4 +11,3 @@ _Football (a.k.a. soccer) manager game featuring many international leagues and
|
||||
- Code license: GPL-2.0
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -15,4 +15,3 @@ _Multiplayer tank game._
|
||||
## Building
|
||||
|
||||
- Build system: Autoconf
|
||||
|
||||
|
@ -17,4 +17,3 @@ _Overhead run-and-gun game._
|
||||
## Building
|
||||
|
||||
- Build system: CMake
|
||||
|
||||
|
@ -13,4 +13,3 @@ _3D game engine._
|
||||
## Building
|
||||
|
||||
- Build system: VisualStudio
|
||||
|
||||
|
@ -11,4 +11,3 @@ _Mix between action and rpg._
|
||||
- Code dependencies: pygame, wxPython
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -14,4 +14,3 @@ _Remake of the popular citybuilder/economic strategy - Caesar III, videogame by
|
||||
## Building
|
||||
|
||||
- Build system: CMake
|
||||
|
||||
|
@ -15,4 +15,3 @@ _Online text-based role-playing game featuring ASCII art._
|
||||
See also [Candy Box](https://github.com/candybox2/candybox)
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -13,4 +13,3 @@ _Castle of the Winds remake._
|
||||
See also Castle of the Winds in Elm.
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -13,4 +13,3 @@ _3D-engine (C++/DirectX9) and a fully playable prototype of a 3rd person action/
|
||||
- Developer: Olli Sorjonen, Sami Sorjonen, Jani Kajala, Toni Aittoniemi
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -12,4 +12,3 @@ _Post-apocalyptic roguelike._
|
||||
See also [Cataclysm: Dark Days Ahead](cataclysm_dark_days_ahead.md) (fork)
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -12,4 +12,3 @@ _Top-down space shooter in the legacy of Chromium BSU._
|
||||
- Code dependencies: NumPy, pygame
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -11,4 +11,3 @@ _Data driven game engine._
|
||||
- Code license: CC0
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -13,4 +13,3 @@ _Collection of educational activities for young children._
|
||||
- Code dependencies: NumPy, pygame
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -13,4 +13,3 @@ _An MMORPG that's all about grinding and doing chores._
|
||||
## Building
|
||||
|
||||
- Build system: CMake
|
||||
|
||||
|
@ -10,4 +10,3 @@ _Exact clone of Sid Meier's Civilization._
|
||||
- Code license: CC0
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -14,4 +14,3 @@ _Role-playing game created by Jeff Vogel of Spiderweb Software._
|
||||
Started as a commercial project. Part of the Exile series and released in 1997 by Spiderweb Software.
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -16,4 +16,3 @@ _Update of the classic DOOM engine inside DOOM 3 BFG Edition._
|
||||
Classic RBDoom 3 BFG is updating the classic DOOM engine inside DOOM 3 BFG Edition
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -14,4 +14,3 @@ _Cocos2d-x is an open-source game framework written in C++._
|
||||
## Building
|
||||
|
||||
- Build system: CMake
|
||||
|
||||
|
@ -16,4 +16,3 @@ More repositories?
|
||||
## Building
|
||||
|
||||
- Build system: setup.py
|
||||
|
||||
|
@ -11,4 +11,3 @@ _Nostalgic glimpse in the past in a form of Commodore 64 game "Commando"._
|
||||
- Code dependencies: melonJS
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -11,4 +11,3 @@ _4X game, similar to the Civilization series of games._
|
||||
- Code license: GPL-2.0
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -13,4 +13,3 @@ _Two or more battle programs (called "warriors") compete for control of a virtua
|
||||
See also [SDL pMars](https://corewar.co.uk/pihlaja/pmars-sdl/index.htm), [corewar.io](https://www.corewar.io/) with [sources on Github](https://github.com/corewar/corewar)
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -14,4 +14,3 @@ _Reimplementation of the 1997 Bullfrog business sim Theme Hospital._
|
||||
## Building
|
||||
|
||||
- Build system: CMake
|
||||
|
||||
|
@ -13,4 +13,3 @@ _Fun puzzle games that run on any terminal._
|
||||
- Assets license: None
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -13,4 +13,3 @@ _Turn-based tactical war game._
|
||||
## Building
|
||||
|
||||
- Build system: Autoconf
|
||||
|
||||
|
@ -14,4 +14,3 @@ _Cooperative multiplayer graphical RPG and adventure game._
|
||||
See also [Gridarta for Crossfire, the map editor](https://sourceforge.net/projects/gridarta/).
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -11,4 +11,3 @@ _3d pirate action/adventure game in the spirit of the old Pirates! game._
|
||||
- Code license: Custom (almost identical to BSD)
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -12,4 +12,3 @@ _Terminal control library for Unix-like systems._
|
||||
- Code license: BSD
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -11,4 +11,3 @@ _Text-based game player and game generator. The games are structured as decision
|
||||
- Code license: GPL-2.0
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -14,4 +14,3 @@ _Massively Multiplayer On-line Role-playing Game (MMORPG)._
|
||||
Server code based on [Crossfire](crossfire.md)
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -12,4 +12,3 @@ _WW2 submarine 3D simulation._
|
||||
- Assets license: CC-BY-NC-ND
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -15,4 +15,3 @@ See also https://sourceforge.net/projects/darkdestinytools/
|
||||
Private communication with the authors in September 2018 brought the following license information: "artwork and the code can be freely used for modification and sharing".
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -12,4 +12,3 @@ _Real-time strategy game similar to Warcraft II._
|
||||
- Code dependencies: SDL
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -12,4 +12,3 @@ _DarkCity is a MMORPG game, in text mode on the Internet._
|
||||
- Developer: Philippe Bousquet
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -10,4 +10,3 @@ _OpenGL engine written in the D language._
|
||||
- Code license: MIT
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -11,4 +11,3 @@ _Minimal GUI library for C++._
|
||||
- Code license: MIT
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -13,4 +13,3 @@ _Cyberspace hacking RPG where you hack into corporate systems to perform mission
|
||||
Is there a C++ version?
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -12,4 +12,3 @@ _GameMaster (i.e. role-playing) utility._
|
||||
- Code dependencies: wxPython
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -11,4 +11,3 @@ _Retro-style, turn-based RPG game._
|
||||
- Code license: GPL-3.0
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -16,4 +16,3 @@ May require original game files.
|
||||
## Building
|
||||
|
||||
- Build system: Make
|
||||
|
||||
|
@ -14,4 +14,3 @@ _Nintendo DS emulator._
|
||||
See also: https://github.com/IceReaper/DesktopAdventuresToolkit
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -15,4 +15,3 @@ _Hardcore arcade shooter; you're free to explore the game world, land on planets
|
||||
## Building
|
||||
|
||||
- Build system: Gradle
|
||||
|
||||
|
@ -14,4 +14,3 @@ _Browser strategy game._
|
||||
Main web site is unavailable. License change from GPL-3.0 to zlib between version 1.5.3 and 1.6.6.
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -10,4 +10,3 @@ _Isometric minimal-code style game at html5 canvas and javascript._
|
||||
- Code license: MIT
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -11,4 +11,3 @@ _Source of DOOM._
|
||||
- Code license: Custom
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -14,4 +14,3 @@ _Tool for generating documentation from annotated C++ sources._
|
||||
## Building
|
||||
|
||||
- Build system: CMake
|
||||
|
||||
|
@ -14,4 +14,3 @@ _Role-playing game designed to be flexible and fun._
|
||||
See also https://github.com/evilmrhenry/dragon_hunt
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -15,4 +15,3 @@ _Fast and furious coffee-break Roguelike game that is heavily inspired by Doom._
|
||||
Also known as DoomRL, short for Doom, the Roguelike.
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -11,4 +11,3 @@ _Turn based command line fighting game for Windows and Unix-like systems._
|
||||
- Code license: GPL-3.0
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -13,4 +13,3 @@ _Continuation of the classic real-time strategy game Dune II by Westwood Studios
|
||||
Based on Open Dune.
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -13,4 +13,3 @@ _Clone of the good old Dune II by Westwood Studios._
|
||||
License of artwork
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -11,4 +11,3 @@ _Updated clone of Westwood Studios' Dune2 which uses data files from the origina
|
||||
- Code license: GPL-2.0
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -14,4 +14,3 @@ _Roguelike adventure through dungeons filled with dangerous monsters in a quest
|
||||
Forked from Linley's Dungeon Crawl.
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -12,4 +12,3 @@ _Choose between 6 unique heroes, equip yourself with powerful magic items and pr
|
||||
- Code license: MIT
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -11,4 +11,3 @@ _Map your dungeons for your next role playing adventure._
|
||||
- Code license: GPL-3.0
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -12,4 +12,3 @@ _Third game in the dungeon monkey series._
|
||||
- Developer: Joseph Hewitt
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -14,4 +14,3 @@ _A turn based combat-oriented tactics RPG._
|
||||
Download of version 1.001 slightly different from last state of SVN repository.
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -11,4 +11,3 @@ _Smashing more monsters than ever in this turn-based dungeon crawling game._
|
||||
- Code license: MIT
|
||||
|
||||
## Building
|
||||
|
||||
|
@ -13,4 +13,3 @@ _EasyRPG Player is a program that allows to play games created with RPG Maker 20
|
||||
## Building
|
||||
|
||||
- Build system: Autoconf, CMake
|
||||
|
||||
|
@ -14,4 +14,3 @@ _A three-dimensional dungeon crawling adventure that borrows a lot of elements f
|
||||
## Building
|
||||
|
||||
- Build system: CMake
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user