diff options
author | BigBrotherNii <nicochr1004@gmail.com> | 2024-07-15 18:49:35 +0200 |
---|---|---|
committer | BigBrotherNii <nicochr1004@gmail.com> | 2024-07-15 18:49:35 +0200 |
commit | ecca708f6900a3959c25c348ffcb7df646c6c227 (patch) | |
tree | bb3155e9ef8b9318e2c0c9474129bc0a186b3829 /light-client/src/atlas.rs | |
parent | 53fe9f2d78aafcd62a7890ad4a81a2b5da63977b (diff) | |
parent | 1aa4f358bc22bda63c062683fd0749541e9fad61 (diff) | |
download | hurrycurry-ecca708f6900a3959c25c348ffcb7df646c6c227.tar hurrycurry-ecca708f6900a3959c25c348ffcb7df646c6c227.tar.bz2 hurrycurry-ecca708f6900a3959c25c348ffcb7df646c6c227.tar.zst |
improved tree colouring
Diffstat (limited to 'light-client/src/atlas.rs')
-rw-r--r-- | light-client/src/atlas.rs | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/light-client/src/atlas.rs b/light-client/src/atlas.rs index 94114176..4a39b649 100644 --- a/light-client/src/atlas.rs +++ b/light-client/src/atlas.rs @@ -1,3 +1,20 @@ +/* + Hurry Curry! - a game about cooking + Copyright 2024 metamuffin + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published by + the Free Software Foundation, version 3 of the License only. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <https://www.gnu.org/licenses/>. + +*/ use hurrycurry_protocol::{ glam::{IVec2, Vec2}, ClientGamedata, ItemIndex, TileIndex, @@ -80,7 +97,7 @@ impl<'a> SpriteRenderer<'a> { tiles: vec![], sprites: vec![], view_offset: Vec2::ZERO, - view_scale: Vec2::new(1., 0.75) * 2., + view_scale: Vec2::splat(4.), } } |