summaryrefslogtreecommitdiffstats
path: root/src/graphics.rs (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-171-104/+121
|
* Implement rendering (drawing) of tilesNao Pross2018-12-171-46/+57
|
* Implement loading of tile setsNao Pross2018-12-171-26/+61
|
* Move back from Rust 2018 edition to stableNao Pross2018-12-171-2/+0
|
* Load tilesets from assetsNao Pross2018-12-171-2/+56
|
* Add game state object shared across threadsNao Pross2018-12-171-20/+5
|
* Add window in a graphics threadNao Pross2018-12-171-1/+60
|
* Create basic structureNao Pross2018-12-171-0/+5