]> code.bitgloo.com Git - clyne/gamedev.git/commitdiff
Added Particles
authordrumsetmonkey <abelleisle@roadrunner.com>
Mon, 14 Dec 2015 13:46:53 +0000 (08:46 -0500)
committerdrumsetmonkey <abelleisle@roadrunner.com>
Mon, 14 Dec 2015 13:46:53 +0000 (08:46 -0500)
src/gameplay.cpp
src/world.cpp

index f922b037edfd8f1f79c443968edbf4e82770bf71..69ae2cc5aac02aaf152d2e7b0ad9d0aac77db88e 100644 (file)
@@ -142,7 +142,6 @@ void initEverything(void){
 
 
        currentWorld = worldSpawnHill1;
-       worldSpawnHill2->addStructure(STRUCTURET,FOUNTAIN,(rand()%120*HLINE)+100*HLINE,100,worldSpawnHill2,worldSpawnHill2);
        
        player = new Player();
        player->spawn(200,100);
index 6909cf7e0a211e822dd0dd6a6578b768b7cd3d1d..1b460a2d9adc4add08b82db71e48cac9dc9c6752 100644 (file)
@@ -109,11 +109,10 @@ void World::deleteEntities(void){
        while(!entity.empty()){
                entity.pop_back();
        }
-
        while(!particles.empty()){
                delete particles.back();
                particles.pop_back();
-       }//particles.clear();
+       }
 }
 
 World::~World(void){