possibility to choose angle of view
This commit is contained in:
@@ -1,13 +1,25 @@
|
||||
#ifndef CUBE3D_MACRO_H
|
||||
# define CUBE3D_MACRO_H
|
||||
|
||||
/*
|
||||
* game params
|
||||
*/
|
||||
|
||||
/* nbr pixel player move */
|
||||
# define PLR_MV 1
|
||||
/* nbr key you can press at the same time */
|
||||
# define MAX_NB_KEY 3
|
||||
# define SCREEN_DIST 50
|
||||
# define SCREEN_SIZE 100
|
||||
# define SCREEN_DEF 50
|
||||
# define PLR_MV 5
|
||||
/* screen definition */
|
||||
# define SCREEN_DEF 100
|
||||
/* screen focal (in degree) */
|
||||
# define SCREEN_FOCAL 90
|
||||
/* size of a cell on the map */
|
||||
# define CELL 20
|
||||
|
||||
/*
|
||||
* keys macro
|
||||
*/
|
||||
|
||||
# define ARROW_LEFT 65361
|
||||
# define ARROW_UP 65362
|
||||
# define ARROW_RIGHT 65363
|
||||
|
||||
Reference in New Issue
Block a user