X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fgameloop.h;h=b8e0eb294d1a03905ddfdb01b1c4d9d284efa549;hb=36cc92dc67c4cfdaceed7d47a4aa6992b407d1df;hp=0d68c23c22688855c34f73bab9e7cccef870ce9c;hpb=81d9d93bbc51d890f18cc8255e51d516d571e49a;p=supertux.git diff --git a/src/gameloop.h b/src/gameloop.h index 0d68c23c2..b8e0eb294 100644 --- a/src/gameloop.h +++ b/src/gameloop.h @@ -29,15 +29,15 @@ extern st_level current_level; /* Function prototypes: */ -int gameloop(char * subset, int levelnb, int mode); +int gameloop(const char * subset, int levelnb, int mode); void savegame(int slot); void loadgame(int slot); void slotinfo(char **pinfo, int slot); -int issolid(float x, float y); -int isbrick(float x, float y); -int isice(float x, float y); -int isfullbox(float x, float y); -int rectcollision(base_type* one, base_type* two); +bool issolid(float x, float y); +bool isbrick(float x, float y); +bool isice(float x, float y); +bool isfullbox(float x, float y); +bool rectcollision(base_type* one, base_type* two); void drawshape(float x, float y, unsigned char c); unsigned char shape(float x, float y); void bumpbrick(float x, float y);