summary refs log tree commit diff stats
path: root/tools/util
Commit message (Collapse)AuthorAgeFilesLines
* Store IDs in a yaml fileStar Rauchenberger40 hours3-1/+158
| | | | This is much more efficient than the txtpb format, and we only need an interface for it in C++ since the IDs will be packed into the binary proto representation.
* Added the_repetitiveStar Rauchenberger3 days2-104/+34
|
* Validate that nodes in game files are usedStar Rauchenberger3 days3-0/+337
| | | | You can now also list out nodes that you are explicitly not mapping out. The current state of the repo does produce some warnings when the validator is run and they're either endings, paintings that I'm not sure what to do with yet, and weird proxy stuff I'm not sure how to handle yet.
* Started writing a data validatorStar Rauchenberger5 days5-0/+200
| | | | | | | Currently, it can check whether identifiers point to non-existent objects, or whether multiple objects share the same identifier. It can also determine whether an identifier is underspecified (e.g. a door doesn't specify a room, or a global connection doesn't specify a map).
* Converted to proto2Star Rauchenberger9 days2-3/+3
| | | | | | | | | | | | | | | | | This will let us use an older version of protobuf in Python, and allows us to use the Godot protobuf implementation at all. Scalar fields with custom defaults in data.proto were changed to not have a default, because Godot doesn't handle it properly. The equivalent fields in human.proto still have the defaults, and datapacker copies the default value in if necessary. The Panel message in data.proto was also renamed to PanelData because otherwise it conflicts with the native Godot class named Panel. The double field in Letter was renamed to level2, because Godot couldn't handle it well. Finally, common.proto was removed and its contents were moved into data.proto, which allows us to generate code for Python without needing to edit it. NOTE: I had to slightly modify the Godot protobuf code generator. I'll need to upload that somewhere.
* Added support for masteriesStar Rauchenberger12 days3-0/+24
Also assigned IDs for the_butterfly, as well as already configured letters.