summaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Separate tileset loading from MapScene::render to MapScene::load_tilsetHEADmasterNao Pross2019-01-141-48/+56
|
* Rename view in MapScene for future impl with more views (ex MiniMap)Nao Pross2019-01-141-6/+6
|
* Change titlebar style to allow resizingNao Pross2019-01-111-1/+1
|
* Add structure to support Scenes (MenuScene, MapScene, ...)Nao Pross2019-01-101-83/+94
|
* Update pan to use less Graphics membersNao Pross2019-01-101-21/+12
|
* Add pan and partial zoom implementationNao Pross2019-01-101-8/+53
| | | | | The zoom currently works only by zooming towards the center of the window, when instead it should zoom under the cursor.
* Add view and MouseWheel / MouseClick eventsNao Pross2018-12-221-1/+44
|
* Move tilesets inside res/maps, add error messages for map assets loadingNao Pross2018-12-221-4/+20
| | | | | | The resources have been moved as a subdirectory of maps because Rust-Embed cannot resolve relative path when resources are embedded in the binary.
* Skip rendering for blank tiles (value = 0)Nao Pross2018-12-221-0/+6
|
* Encapsulate graphics functions to share a state with loaded resourcesNao Pross2018-12-172-108/+125
|
* Implement rendering (drawing) of tilesNao Pross2018-12-171-46/+57
|
* Implement loading of tile setsNao Pross2018-12-172-34/+71
|
* Move back from Rust 2018 edition to stableNao Pross2018-12-172-2/+2
|
* Load tilesets from assetsNao Pross2018-12-173-13/+76
|
* Add loading of embedded resourcesNao Pross2018-12-172-6/+32
|
* Add game state object shared across threadsNao Pross2018-12-173-25/+56
|
* Add window in a graphics threadNao Pross2018-12-172-2/+66
|
* Create basic structureNao Pross2018-12-173-0/+15
|
* Initial commitNao Pross2018-12-171-0/+2
Add gitignore and initialize a Rust project with Cargo