summaryrefslogtreecommitdiffstats
path: root/src/graphics.rs (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-01-14Rename view in MapScene for future impl with more views (ex MiniMap)Nao Pross1-6/+6
2019-01-11Change titlebar style to allow resizingNao Pross1-1/+1
2019-01-10Add structure to support Scenes (MenuScene, MapScene, ...)Nao Pross1-83/+94
2019-01-10Update pan to use less Graphics membersNao Pross1-21/+12
2019-01-10Add pan and partial zoom implementationNao Pross1-8/+53
The zoom currently works only by zooming towards the center of the window, when instead it should zoom under the cursor.
2018-12-22Add view and MouseWheel / MouseClick eventsNao Pross1-1/+44
2018-12-22Move tilesets inside res/maps, add error messages for map assets loadingNao Pross1-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.
2018-12-22Skip rendering for blank tiles (value = 0)Nao Pross1-0/+6
2018-12-17Encapsulate graphics functions to share a state with loaded resourcesNao Pross1-104/+121
2018-12-17Implement rendering (drawing) of tilesNao Pross1-46/+57
2018-12-17Implement loading of tile setsNao Pross1-26/+61
2018-12-17Move back from Rust 2018 edition to stableNao Pross1-2/+0
2018-12-17Load tilesets from assetsNao Pross1-2/+56
2018-12-17Add game state object shared across threadsNao Pross1-20/+5
2018-12-17Add window in a graphics threadNao Pross1-1/+60
2018-12-17Create basic structureNao Pross1-0/+5