El Octavio  1.0
This is a video game about adventures.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
El Octavo-Functions.cpp File Reference
+ Include dependency graph for El Octavo-Functions.cpp:

Go to the source code of this file.

Namespaces

namespace  variables
 

Functions

void moveStaticImages (RectangleShape &body, RenderWindow &window, Npc &test)
 
Vector2f getRampPos ()
 
void setVars ()
 
void setup (RenderWindow &window)
 
bool checkCollideWithGround (RectangleShape &body)
 
bool checkCollideWithRamp (RectangleShape &body)
 

Variables

float variables::deltaTime = 0.0f
 
bool variables::movementToggle = true
 
Event variables::ev
 
Texture variables::bgTexture
 
Sprite variables::bgImage
 
Texture variables::adventureBgTexture
 
Sprite variables::adventureBgImage
 
Texture variables::messageTexture
 
Sprite variables::messageImage
 
Texture variables::plrT
 
Texture variables::npcT
 
RectangleShape variables::ground
 
Texture variables::rampT
 
Sprite variables::ramp
 
RectangleShape variables::points [12]
 
Sound variables::soundJump
 
Sound variables::soundWalk
 
SoundBuffer variables::jumpBuffer
 
SoundBuffer variables::walkBuffer
 
Clock variables::fpsClock = Clock::Clock()
 
Time variables::fpsPreviousTime = fpsClock.getElapsedTime()
 
Time variables::fpsCurrentTime
 
Clock variables::npcClock = Clock::Clock()
 
Time variables::npcPreviousTime = npcClock.getElapsedTime()
 
Time variables::npcCurrentTime
 
Font variables::font
 
float variables::fps
 
Text variables::fpsCounter
 
int variables::roundedFps
 
string variables::cutsceneStr = "Press Q to talk with the mafia."
 
Text variables::cutsceneText
 
bool variables::drawBubble
 
CollisionBlock variables::blocks [2] = {{Vector2f(2428, 416), Vector2f(107, 45)}, {Vector2f(1428, 338), Vector2f(211, 43)}}
 
bool variables::done
 
Texture variables::kurabirovTexture
 
Texture variables::mafiaTexture
 
Texture variables::nestashevTexture
 
Sprite variables::kurabirovCutscene
 
Sprite variables::mafiaCutscene
 
Sprite variables::nestashevCutscene
 
bool variables::imageTurn
 
string variables::dialogScript = "Hello, you must be the boss's people!"
 
Text variables::textDialogScript
 
Clock variables::timer
 
unsigned int variables::character = 0
 
unsigned int variables::dialogTurn = 0
 
bool variables::enterDialogue = false
 
bool variables::enterPressed = false
 
bool variables::dialogueOver = false
 

Function Documentation

◆ checkCollideWithGround()

bool checkCollideWithGround ( RectangleShape body)

Definition at line 486 of file El Octavo-Functions.cpp.

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

◆ checkCollideWithRamp()

bool checkCollideWithRamp ( RectangleShape body)

Definition at line 490 of file El Octavo-Functions.cpp.

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

◆ getRampPos()

Vector2f getRampPos ( )

Definition at line 516 of file El Octavo-Functions.cpp.

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

◆ moveStaticImages()

void moveStaticImages ( RectangleShape body,
RenderWindow window,
Npc test 
)

Definition at line 520 of file El Octavo-Functions.cpp.

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

◆ setup()

void setup ( RenderWindow window)

Definition at line 307 of file El Octavo-Functions.cpp.

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

◆ setVars()

void setVars ( )

Definition at line 227 of file El Octavo-Functions.cpp.

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