doodle/pkg/level
Noah Petherbridge 402b5efa7e Zipfiles for Attached Files Too
* The level.FileSystem type has updated to support ZIP files too.
* Legacy levels loaded from gz/json have their old FileSystem as a
  simple map[filename]data and this parses from JSON OK.
* On save to zip, the legacy loaded file data gets exported to ZIP.
* Going forward: newly added or deleted files during runtime are kept in
  the legacy file map until the next save when the filemap is again
  flushed out to ZIP.
* For regular read-access, the FileSystem reads from the ZIP file if the
  data is not in the hot map (legacy file or recently modified
  attachment).
* Bugfix: be sure to Inflate() the Level/Doodad after loading from
  zipfile - it used to be that directly after a save, trying to play the
  level failed because the Level.Actors struct was missing their IDs,
  and similarly recently written chunks would error out (become black
  voids) on levels/doodads so we Inflate() both after save/replacing
  their zip handle.
2022-04-30 12:50:00 -07:00
..
giant_screenshot Polish and bugfixes 2021-10-09 20:45:38 -07:00
publishing Refactor Level Publishing + MagicForm 2022-01-17 18:51:11 -08:00
actors.go Link Start Flags to Change Characters 2021-08-11 20:40:31 -07:00
chunk_map.go Zipfiles as File Format for Levels and Doodads 2022-04-29 20:34:59 -07:00
chunk_test.go Doodads: Crumbly Floor, Start Flag & State Blocks 2019-12-30 18:13:28 -08:00
chunk.go Zipfiles as File Format for Levels and Doodads 2022-04-29 20:34:59 -07:00
chunker_test.go Change types int32 -> int per upstream render and ui library 2019-12-27 19:16:34 -08:00
chunker_zipfile.go Zipfiles as File Format for Levels and Doodads 2022-04-29 20:34:59 -07:00
chunker.go Zipfiles as File Format for Levels and Doodads 2022-04-29 20:34:59 -07:00
filesystem.go Zipfiles for Attached Files Too 2022-04-30 12:50:00 -07:00
fmt_json.go Zipfiles for Attached Files Too 2022-04-30 12:50:00 -07:00
fmt_maintenance.go Zipfiles as File Format for Levels and Doodads 2022-04-29 20:34:59 -07:00
fmt_readwrite.go Zipfiles as File Format for Levels and Doodads 2022-04-29 20:34:59 -07:00
inflate.go Actor Zoom + Experimental Settings GUI 2021-09-11 21:18:22 -07:00
page_type.go Add MenuScene with New Level UI 2019-06-25 15:01:37 -07:00
palette_defaults.go Checkpoint Flag & Retry from Checkpoint 2021-08-15 20:17:53 -07:00
palette.go Flood Tool, Survival Mode for Azulian Tag 2022-03-26 13:55:06 -07:00
swatch.go Brush Pattern Textures 2021-06-09 22:36:32 -07:00
types.go Zipfiles for Attached Files Too 2022-04-30 12:50:00 -07:00