#ifndef config_h #define config_h #include "maths.h" #define game_name "1bit Game Jam" #define memory_size (1024 * 32) #define app_memory_size (1024 * 16) #define max_pc_window_w 3000 #define max_pc_window_h 3000 #define viewport_w 320 #define viewport_h 240 #define default_scale 3 #define default_mpf 20 #define map_w 20 #define map_h 15 #define map_tile_size 16 #define audio_buffer_size 64 #define audio_sample_rate 8000 #define main_gravity (f1 / 4) #define main_gravity_ramp (f1) #define max_velocity (f1 * 4) #define player_move_force (f1 / 2) #define player_air_move_force (f1 / 10) #define player_max_vel 853 #define player_friction (f1 / 4 + f1 / 20) #define player_stop_thresh 128 #define player_jump_power (2 << fbits) #define player_jump_power_air (f1) #define player_shoot_cooldown 20 #define player_attack_frames 10 #define player_lunge_force (f1) #define player_slash_damage 1 #define enemy_demon_move_force 32 #define enemy_demon_attack_dist f1 #define enemy_demon_jump_force (5 << fbits) #endif