aboutsummaryrefslogtreecommitdiffstats
path: root/src/gameplay.cpp
diff options
context:
space:
mode:
authordrumsetmonkey <abelleisle@roadrunner.com>2015-11-06 08:48:46 -0500
committerdrumsetmonkey <abelleisle@roadrunner.com>2015-11-06 08:48:46 -0500
commite257d84daee9d474a944588214fbdafed9d9e983 (patch)
treefcbd3d8e7cbaad994c0ab20793b3ae86903b7451 /src/gameplay.cpp
parentcb55d6e72ae1f48622ffc2a36d7bdb3719355afe (diff)
Fixed some handAngle bugs, and raised the world height
Diffstat (limited to 'src/gameplay.cpp')
-rw-r--r--src/gameplay.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gameplay.cpp b/src/gameplay.cpp
index b32d9ee..39d0675 100644
--- a/src/gameplay.cpp
+++ b/src/gameplay.cpp
@@ -40,7 +40,7 @@ void initEverything(void){
* Load the saved world if it exists, otherwise generate a new one.
*/
- FILE *worldLoad;
+ /*FILE *worldLoad;
if((worldLoad=fopen("world.dat","r"))){
std::cout<<"Yes"<<std::endl;
char *buf;
@@ -51,10 +51,10 @@ void initEverything(void){
buf=(char *)malloc(size);
fread(buf,1,size,worldLoad);
test->load(buf);
- }else{
+ }else{*/
test->generate(SCREEN_WIDTH * 2);
test->addHole(100,150);
- }
+ //}
test->addLayer(400);