This repository has been archived on 2022-01-13. You can view files and clone it, but cannot push or open issues or pull requests.
|
#include "player_modifiers.h"
|
|
#include "player.h"
|
|
|
|
void player_mod_ice(Player *player) {
|
|
player->vars.acceleration /= 4;
|
|
player->vars.friction /= 4;
|
|
}
|
|
|
|
void player_mod_glue(Player *player) {
|
|
player->vars.acceleration = 1;
|
|
player->vars.friction = 1;
|
|
}
|