Add basic block selection with mouse

This commit is contained in:
crumblingstatue 2023-04-03 18:12:36 +02:00
parent 98965a8c86
commit f07bd9c713
4 changed files with 66 additions and 26 deletions

View file

@ -21,6 +21,7 @@ impl ScreenRes {
}
// We assume this game won't be played above 32767*32767 resolution
#[derive(Default, Clone, Copy)]
pub struct ScreenPos {
pub x: ScreenPosScalar,
pub y: ScreenPosScalar,