Simple quick way to do different attacks that play different shaders.

This commit is contained in:
Zed A. Shaw 2025-04-23 12:32:28 -04:00
parent 58981fd8ed
commit bf8a2dc0c5
10 changed files with 25 additions and 18 deletions

View file

@ -41,7 +41,7 @@ int main(int argc, char *argv[]) {
dbc::check(sf::Shader::isAvailable(), "You apparently are a time traveler from the 80s who doesn't have shaders.");
while((opt = getopt(argc, argv, "-hs:f:-x:-y:")) != -1) {
while((opt = getopt(argc, argv, "hs:f:x:y:")) != -1) {
switch(opt) {
case 's':
sprite_name = optarg;