This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "TileProperties.h" | |
| #include "LineOfSight.h" | |
| #include <iostream> | |
| #include <cmath> | |
| #include <cstdlib> | |
| void rayTrace(int &playerXPos, int &playerYPos, | |
| tileInformation rays[MAPSIZE][MAPSIZE], | |
| tileInformation wallsGFX[MAPSIZE][MAPSIZE], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "LineOfSight.h" | |
| #include "TileProperties.h" | |
| #include <iostream> | |
| #include <cmath> | |
| #include <cstdlib> | |
| void rayTrace(int &playerXPos, int &playerYPos, | |
| struct tileInformation rays[MAPSIZE][MAPSIZE], | |
| struct tileInformation lineOfSight[MAPSIZE][MAPSIZE], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "TileProperties.h" | |
| #include "LoadMaps.h" | |
| #include <SFML/Graphics.hpp> | |
| #include <fstream> | |
| #include <iostream> | |
| // loads the png for the wall GFX | |
| int loadWallsGFX(sf::RenderWindow &gameWindowPtr, sf::Texture &textureSheetPtr){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <iostream> | |
| #include <cstddef> | |
| #include "linkedlist1.h" | |
| using namespace std; | |
| double NumberList::listToArray(double listArray, int &count)const{ | |
| ListNode *nodePtr; | |
| nodePtr = head; |