astyle
This commit is contained in:
parent
1bdf72be1a
commit
767d73c5fc
@ -79,11 +79,15 @@ int cpu_check(void);
|
|||||||
|
|
||||||
// a b
|
// a b
|
||||||
// c d
|
// c d
|
||||||
struct matrix2d {float a,b,c,d;};
|
struct matrix2d {
|
||||||
|
float a,b,c,d;
|
||||||
|
};
|
||||||
typedef struct matrix2d matrix2d;
|
typedef struct matrix2d matrix2d;
|
||||||
|
|
||||||
// column vector
|
// column vector
|
||||||
struct vector2d {float x,y;};
|
struct vector2d {
|
||||||
|
float x,y;
|
||||||
|
};
|
||||||
typedef struct vector2d vector2d;
|
typedef struct vector2d vector2d;
|
||||||
|
|
||||||
matrix2d m2d_multiply_m2d(matrix2d m1, matrix2d m2);
|
matrix2d m2d_multiply_m2d(matrix2d m1, matrix2d m2);
|
||||||
|
14
src/main.c
14
src/main.c
@ -2459,20 +2459,6 @@ int main(int argc, char *argv[])
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (sdl_key=='i' && (sdl_mod & KMOD_CTRL))
|
|
||||||
{
|
|
||||||
if(confirm_ui(vid_buf, "Install Powder Toy", "You are about to install The Powder Toy", "Install"))
|
|
||||||
{
|
|
||||||
if(register_extension())
|
|
||||||
{
|
|
||||||
info_ui(vid_buf, "Install success", "Powder Toy has been installed!");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
error_ui(vid_buf, 0, "Install failed - You may not have permission or you may be on a platform that does not support installation");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
//if(sdl_key=='d' && isplayer)
|
//if(sdl_key=='d' && isplayer)
|
||||||
//{
|
//{
|
||||||
// death = 1;
|
// death = 1;
|
||||||
|
Reference in New Issue
Block a user