Simple quick way to do different attacks that play different shaders.
This commit is contained in:
parent
58981fd8ed
commit
bf8a2dc0c5
10 changed files with 25 additions and 18 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue