Scale factor and expansion upon basic implementation
This commit is contained in:
21
src/config.h
Normal file
21
src/config.h
Normal file
@@ -0,0 +1,21 @@
|
||||
#ifndef CONFIG_H
|
||||
#define CONFIG_H
|
||||
|
||||
#define MAX_ENTITIES 512
|
||||
|
||||
extern const float scale;
|
||||
extern const float g;
|
||||
|
||||
extern const float PLAYER_FORCE;
|
||||
extern const float JUMP_FORCE;
|
||||
|
||||
extern const float AIR_DRAG;
|
||||
|
||||
extern const float GROUND_FRICTION;
|
||||
extern const float MAX_PLAYER_SPEED;
|
||||
|
||||
extern const float BOUNCE;
|
||||
|
||||
extern const float ground_y;
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user