aboutsummaryrefslogtreecommitdiff
path: root/pixel-client/src/render/misc.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-07-17 00:06:29 +0200
committermetamuffin <metamuffin@disroot.org>2024-07-17 00:06:29 +0200
commit922f04cfadbd3bab3eef09df036ad5edcc899199 (patch)
treeaf593a61683fd1e95bebe5ac3edb2ea4dea80855 /pixel-client/src/render/misc.rs
parentdf418c0d3fec83fc1cbe0dabc6d4b9dfbdbcbabb (diff)
downloadhurrycurry-922f04cfadbd3bab3eef09df036ad5edcc899199.tar
hurrycurry-922f04cfadbd3bab3eef09df036ad5edcc899199.tar.bz2
hurrycurry-922f04cfadbd3bab3eef09df036ad5edcc899199.tar.zst
fade dead items et al
Diffstat (limited to 'pixel-client/src/render/misc.rs')
-rw-r--r--pixel-client/src/render/misc.rs17
1 files changed, 17 insertions, 0 deletions
diff --git a/pixel-client/src/render/misc.rs b/pixel-client/src/render/misc.rs
index 9f866568..5b9e43d4 100644
--- a/pixel-client/src/render/misc.rs
+++ b/pixel-client/src/render/misc.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 super::{sprite::Sprite, AtlasLayout};
use hurrycurry_protocol::glam::Vec2;
use sdl2::rect::Rect;