![]() |
Wise&mystical
1.0
Project about Europe
|
#include <vector>
#include "raylib.h"
#include "cityOperations.h"
#include "travelLogic.h"
#include "animations.h"
#include "manageActiveText.h"
Go to the source code of this file.
Functions | |
void | travelToNextCity (Vector2 mousePoint, City *cities, City activeCity, City *tempCity, bool *searchingNextCity, bool *showPopUpMenu, int citiesCounter, int *indexPtr) |
Travel to next selected city (if possible). More... | |
void | handlePopUpInput (City *cities, City *activeCity, City *tempCity, PopUpAnimationFrame popUpFrame, Rectangle confirmHitbox, Rectangle denyHitbox, std::vector< LinePoints > *conLinesPtr, bool *searchingNextCity, bool *showPopUpMenu, bool *nextCityChosenPtr, int *indexPtr, int *travelPointsPtr, int *bonusPtr) |
Handle mouse input for the pop-up. More... | |
void handlePopUpInput | ( | City * | cities, |
City * | activeCity, | ||
City * | tempCity, | ||
PopUpAnimationFrame | popUpFrame, | ||
Rectangle | confirmHitbox, | ||
Rectangle | denyHitbox, | ||
std::vector< LinePoints > * | conLinesPtr, | ||
bool * | searchingNextCity, | ||
bool * | showPopUpMenu, | ||
bool * | nextCityChosenPtr, | ||
int * | indexPtr, | ||
int * | travelPointsPtr, | ||
int * | bonusPtr | ||
) |
Handle mouse input for the pop-up.
Definition at line 44 of file travelLogic.cpp.
void travelToNextCity | ( | Vector2 | mousePoint, |
City * | cities, | ||
City | activeCity, | ||
City * | tempCity, | ||
bool * | searchingNextCity, | ||
bool * | showPopUpMenu, | ||
int | citiesCounter, | ||
int * | indexPtr | ||
) |
Travel to next selected city (if possible).
Definition at line 11 of file travelLogic.cpp.