Wise&mystical  1.0
Project about Europe
Loading...
Searching...
No Matches
cityOperations.cpp File Reference
#include <iostream>
#include <string>
#include "raylib.h"
#include "cityOperations.h"
+ Include dependency graph for cityOperations.cpp:

Go to the source code of this file.

Functions

CityintialiseCitiesArray (City cities[40])
 Initialise cities. More...
 
void drawCityNames (City *cities, int citiesCounter, Font comfortaaRegular)
 Draw city marks on the map. More...
 
void drawCityMarkers (City *cities, City activeCity, Texture2D markers[3], int citiesCounter)
 Draw city markers based of distance from active city. More...
 
void updateCityTravelCostAndBonus (City *cities, City activeCity, int citiesCounter)
 Update city travel cost and bonus. More...
 

Function Documentation

◆ drawCityMarkers()

void drawCityMarkers ( City cities,
City  activeCity,
Texture2D  markers[3],
int  citiesCounter 
)

Draw city markers based of distance from active city.

Definition at line 69 of file cityOperations.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ drawCityNames()

void drawCityNames ( City cities,
int  citiesCounter,
Font  comfortaaRegular 
)

Draw city marks on the map.

Definition at line 59 of file cityOperations.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ intialiseCitiesArray()

City * intialiseCitiesArray ( City  cities[40])

Initialise cities.

Definition at line 7 of file cityOperations.cpp.

+ Here is the caller graph for this function:

◆ updateCityTravelCostAndBonus()

void updateCityTravelCostAndBonus ( City cities,
City  activeCity,
int  citiesCounter 
)

Update city travel cost and bonus.

Definition at line 99 of file cityOperations.cpp.

+ Here is the caller graph for this function: