Skip to content

Commit

Permalink
Use WaitEvent, update version to 1.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
daelsepara committed Aug 15, 2024
1 parent 8733d5b commit 496fe7c
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion build/amd64/debian/NecklaceOfSkulls.desktop
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[Desktop Entry]
Name=Necklace of Skulls
Comment=Necklace of Skulls
Version=1.0.4
Version=1.0.5
TryExec=/usr/local/games/NecklaceOfSkulls/NecklaceOfSkulls.exe
Exec=/usr/local/games/NecklaceOfSkulls/NecklaceOfSkulls.exe
Icon=/usr/local/games/NecklaceOfSkulls/icons/maya.png
Expand Down
2 changes: 1 addition & 1 deletion build/amd64/debian/control
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: necklace-of-skulls
Version: 1.0.4
Version: 1.0.5
Maintainer: Dael Separa <dael.separa@gmail.com>
Architecture: amd64
Description: Necklace of Skulls (SDL)
Expand Down
2 changes: 1 addition & 1 deletion build/armhf/raspbian/NecklaceOfSkulls.desktop
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[Desktop Entry]
Name=Necklace of Skulls
Comment=Necklace of Skulls
Version=1.0.4
Version=1.0.5
TryExec=/usr/local/games/NecklaceOfSkulls/NecklaceOfSkulls.exe
Exec=/usr/local/games/NecklaceOfSkulls/NecklaceOfSkulls.exe
Icon=/usr/local/games/NecklaceOfSkulls/icons/maya.png
Expand Down
2 changes: 1 addition & 1 deletion build/armhf/raspbian/control
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: necklace-of-skulls
Version: 1.0.4
Version: 1.0.5
Maintainer: Dael Separa <dael.separa@gmail.com>
Architecture: armhf
Description: Necklace of Skulls (SDL)
Expand Down
2 changes: 1 addition & 1 deletion build/i386/debian/NecklaceOfSkulls.desktop
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[Desktop Entry]
Name=Necklace of Skulls
Comment=Necklace of Skulls
Version=1.0.4
Version=1.0.5
TryExec=/usr/local/games/NecklaceOfSkulls/NecklaceOfSkulls.exe
Exec=/usr/local/games/NecklaceOfSkulls/NecklaceOfSkulls.exe
Icon=/usr/local/games/NecklaceOfSkulls/icons/maya.png
Expand Down
2 changes: 1 addition & 1 deletion build/i386/debian/control
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: necklace-of-skulls
Version: 1.0.4
Version: 1.0.5
Maintainer: Dael Separa <dael.separa@gmail.com>
Architecture: i386
Description: Necklace of Skulls (SDL)
Expand Down
4 changes: 2 additions & 2 deletions src/input.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ namespace Input

while (1)
{
SDL_PollEvent(&result);
SDL_WaitEvent(&result);

if (result.type == SDL_QUIT)
{
Expand Down Expand Up @@ -341,7 +341,7 @@ namespace Input

while (1)
{
SDL_PollEvent(&result);
SDL_WaitEvent(&result);

if (result.type == SDL_QUIT)
{
Expand Down

0 comments on commit 496fe7c

Please sign in to comment.