|
Dumb-ways-to-memorize
2D game
|
#include "globals.h"#include "player_controller.h"#include "entity.h"#include "parsepowerup.h"#include "player.h"
Include dependency graph for player_controller.c:Go to the source code of this file.
Functions | |
| void | DoPlayerThink (void *player, SDL_GameControllerButton button) |
| void DoPlayerThink | ( | void * | player, |
| SDL_GameControllerButton | button | ||
| ) |
Executes the player think operation for player input.
| [in,out] | player | If non-null, the player. |
| button | The button. |
Definition at line 7 of file player_controller.c.
References ANIMATION_JUMP, ANIMATION_WALK, CountMem(), ENTITY_DIR_LEFT, ENTITY_DIR_RIGHT, gCurrentPowerUp, PLAYER_BASE_JUMP, and PLAYER_BASE_SPEED.
Referenced by ThinkPlayer().
1.8.11