-
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.
accept only integer type values for arguments [ticks/ppf] (#16)
* use integer type values for arguments (use direct values) * change EOF in logo.h * Update README.md
- Loading branch information
Showing
3 changed files
with
48 additions
and
46 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
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 |
---|---|---|
@@ -1,31 +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_*/ | ||
#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; | ||
int animdel, enddel; | ||
int animspeed; | ||
char* str; | ||
float argint[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_*/ |