Skip to content
Snippets Groups Projects
  1. Aug 09, 2022
  2. Aug 05, 2022
  3. May 02, 2022
  4. Apr 30, 2022
  5. Apr 25, 2022
  6. Apr 18, 2022
  7. Mar 28, 2022
  8. Mar 26, 2022
  9. Mar 24, 2022
  10. Mar 19, 2022
  11. Mar 14, 2022
  12. Mar 10, 2022
  13. Mar 08, 2022
  14. Mar 07, 2022
  15. Mar 04, 2022
  16. Mar 03, 2022
    • Alejandro Perea's avatar
      Add some missing attributes (#173) · dab7cb6b
      Alejandro Perea authored
      * Add attributes
      - `#[inline]` for properties
      - `#![deny(unsafe_code)]`
      - `#![deny(missing_copy_implementations)]`
      - `#![deny(missing_debug_implementations)]`
      
      * Add more inline attributes
      
      * Merge with upstream
      dab7cb6b
  17. Feb 23, 2022
  18. Feb 16, 2022
    • Alejandro Perea's avatar
      Remove `Data` types from the interface (#163) · 4227705a
      Alejandro Perea authored
      
      * Add properties to `Object`
      
      * Add properties to `FiniteTileLayer`
      
      * Add properties to `Layer`
      
      * Add properties to `ImageLayer`
      
      * Add properties to `ObjectLayerData`
      
      * Remove `data()`; Replace `map()`
      
      * Add properties to `LayerTile`
      
      * `MapWrapper` -> `map_wrapper!`
      
      * Fix examples/tests
      
      * Limit visibility of data types
      
      * Make `Tile::collision` public again
      
      * Doc tweak
      
      Co-authored-by: default avatarThorbjørn Lindeijer <bjorn@lindeijer.nl>
      4227705a
  19. Feb 14, 2022
    • Alejandro Perea's avatar
      Refactor chunk system (#157) · bbdba30b
      Alejandro Perea authored
      * Refactor chunk system
      - Add `FiniteTileLayer` & `InfiniteTileLayer`
      - Chunks are now stored by chunk position
      - Add `InternalChunk` for holding mid-parse chunk info
      
      * Fix tests
      
      * Cleanup
      
      * Make chunk constructor private
      
      * Address PR comments
      
      * Box chunk tiles
      
      * Convert numeric types before multiplication
      bbdba30b
    • Alejandro Perea's avatar
      Simplify internals (#153) · e8113244
      Alejandro Perea authored
      * Move `parse_animation` to the `animation` module
      
      * Simplify `parse_data_line`
      
      * Simplify tile layer utils
      
      * Simplify `convert_to_tiles`
      
      * Simplify objects module
      
      * Simplify if
      
      * Address PR comments
      e8113244
  20. Feb 12, 2022
  21. Feb 11, 2022
    • Alejandro Perea's avatar
      Add SFML example (#133) · 187f1fbe
      Alejandro Perea authored
      
      * Add SFML example
      Adds a rough demo using SFML for rendering.
      
      * Simplifications to SFML example
      
      * Rely on sfml 0.16 rather than a git revision
      * Avoid allocating temporary Path
      * Take into account margin and spacing
      * Directly produce a FloatRect, since it is what SFML needs
      * Renamed VertexMesh to QuadMesh
      * Use Vertex::with_pos_coords since we always passed Color::WHITE
      * Removed TileLayer wrapper, since it added no value
      * Removed handling of gid == 0 in Tilesheet::tile_rect
      
      * Update contributors list
      
      * Apply formatting
      
      * Avoid the need to inverse the camera matrix
      
      * De-hardcode the tile size
      
      Also fixes the example a bit, because the map was drawn too small.
      
      * Update workflow
      
      * Try fixing CI issue by removing rust-cache
      
      * Fix CI
      
      * Fix map asset path
      
      * Merge SFML and Rust workflow
      
      * Misc changes
      
      * Merge upstream/master
      
      * Update example to master
      
      * Fix line endings
      
      * Fixed comment
      
      Co-authored-by: default avatarThorbjørn Lindeijer <bjorn@lindeijer.nl>
      187f1fbe
Loading