-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reorganized everything and squished a bug
- Loading branch information
Showing
8 changed files
with
153 additions
and
186 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#include "raylib.h" | ||
#include <vector> | ||
#include <fstream> | ||
#include <iterator> | ||
#include <time.h> | ||
#include <math.h> | ||
|
||
#define border 8 | ||
|
||
class Tile { | ||
public: | ||
int id; | ||
int x; | ||
int y; | ||
int width; | ||
int height; | ||
}; | ||
|
||
int get_byte_val(std::vector<int> byte_arr, int index); | ||
int Vec2InArray(Vector2 vec2, Vector2 array[18]); | ||
|
||
void save_lvl(std::vector<std::vector<int> > bytes); | ||
void BeginScissorModeRect(Rectangle rect); | ||
|
||
std::vector<int> bytes_from_int(int num); | ||
std::vector<std::vector<int> > load_lvl (void); | ||
|
||
Tile checkTile(std::vector <std::vector<int> >& level_data, int id, int checkX, int checkY); | ||
|
||
Vector2 get_size(int width, int height); |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.