doodle/lib/render/sdl
Noah Petherbridge c8620f871e Drawing Strokes and Undo/Redo Functionality
* Add new pkg/drawtool with utilities to abstract away drawing actions
  into Strokes and track undo/redo History for them.
* The freehand Pencil tool in EditorMode has been refactored to create a
  Stroke of Shape=Freehand and queue up its world pixels there instead
  of directly modifying the level chunker in real time. When the mouse
  button is released, the freehand Stroke is committed to the level
  chunker and added to the UndoHistory.
* UndoHistory is (temporarily) stored with the level.Level so it can
  survive trips to PlayScene and back, but is not stored as JSON on
  disk.
* Ctrl-Z and Ctrl-Y in EditorMode for undo and redo, respectively.
2019-07-03 16:25:23 -07:00
..
canvas.go Code Layout Refactor 2019-04-09 17:35:44 -07:00
events.go Drawing Strokes and Undo/Redo Functionality 2019-07-03 16:25:23 -07:00
sdl.go SDL2: Cache Bitmaps in Memory, Not on Disk 2019-06-27 12:46:35 -07:00
text.go Demo Running Level as Title Screen Wallpaper 2019-06-27 22:59:36 -07:00
texture.go Refactor Render Texture-Cache Interface 2019-06-27 13:01:01 -07:00
utils.go Code Layout Refactor 2019-04-09 17:35:44 -07:00