Contact me to be added to this repository. Push the creations you make for D&D, and they will be displayed in a nice website. See the website for how to contribute.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

26 lines
381 B

#include "Map.h"
const int S_W = 640;
const int S_H = 480;
int L_W = 1920;
int L_H = 1080;
int main() {
Quad* tree = new Quad();
for(int x = 0; x < L_W; ++x) {
for(int y = 0; y < L_H; ++y) {
tree->insert(x,y,STONE);
}
}
tree->free();
/*
Map m;
m.loadFromFile("assets/Cave.bmp");
m.print();
*/
return 0;
}