-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update quit app event condition, create
logo.h
(#15)
* use header for data init * correct ENDDELAY by unit evaluation
- Loading branch information
Showing
9 changed files
with
77 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
|
||
boot-logo | ||
main.o | ||
logo.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#ifndef LOGO_H_ | ||
#define LOGO_H_ | ||
SDL_RWops *RWops; | ||
SDL_Surface *logoimg; | ||
SDL_Surface *screen; | ||
SDL_RWops *RWops2; | ||
SDL_Rect rect; | ||
SDL_Rect dstrect; | ||
SDL_Event event; | ||
SDL_Surface* logobg; | ||
Mix_Chunk *logosound; | ||
|
||
bool quit_app = false; | ||
|
||
bool args = true; | ||
float animdel, enddel; | ||
int animfps; | ||
char* str; | ||
float argfloat[3]; | ||
|
||
void quit(); | ||
void input_poll(); | ||
|
||
char* homepath; | ||
char logoimg_path[256], logosound_path[256], logobg_path[256]; | ||
|
||
int dest_y; | ||
uint32_t curr_time, old_time; | ||
uint32_t color; | ||
bool blitbg = false; | ||
#endif /*LOGO_H_*/ |