Commit a6c2bef47baf8490358e53444e9ad91811f181f8

Authored by Olav Kjartan Larseng
1 parent 4e8464d0

final commit

SpaceShooterV4/app/main.cpp
... ... @@ -170,6 +170,12 @@ void display()
170 170 for (auto& b : bullets) {
171 171 gm->removeSubObject(b);
172 172 }
  173 +
  174 + auto powerups = gm->getAllObjectOfType<Powerup>();
  175 + for (auto& p : powerups) {
  176 + gm->removeSubObject(p);
  177 + }
  178 + gm->_powerups.clear();
173 179 gm->_playerBullets.clear();
174 180 gm->_enemyBullets.clear();
175 181 }
... ...
SpaceShooterV4/x64/Debug/SpaceShooterV4.log
1   - GameManager.cpp
2   -d:\csmaster\opengl projects\projects\spaceshooterv4\spaceshooterv4\spaceshooterv4\include\obj_loader.h(926): warning C4244: 'initializing': conversion from 'double' to 'float', possible loss of data
  1 + main.cpp
  2 +d:\csmaster\opengl projects\projects\spaceshooterv4\spaceshooterv4\spaceshooterv4\include\fpscounter.hpp(63): warning C4244: 'return': conversion from '__int64' to 'double', possible loss of data
3 3 SOIL.lib(SOIL.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance
4 4 LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/LTCG' specification
5 5 LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library
... ...
SpaceShooterV4/x64/Debug/SpaceShooterV4.tlog/CL.read.1.tlog
1 1 Binary files a/SpaceShooterV4/x64/Debug/SpaceShooterV4.tlog/CL.read.1.tlog and b/SpaceShooterV4/x64/Debug/SpaceShooterV4.tlog/CL.read.1.tlog differ
... ...
SpaceShooterV4/x64/Debug/SpaceShooterV4.tlog/CL.write.1.tlog
1 1 Binary files a/SpaceShooterV4/x64/Debug/SpaceShooterV4.tlog/CL.write.1.tlog and b/SpaceShooterV4/x64/Debug/SpaceShooterV4.tlog/CL.write.1.tlog differ
... ...
SpaceShooterV4/x64/Debug/SpaceShooterV4.tlog/SpaceShooterV4.write.1u.tlog
1 1 Binary files a/SpaceShooterV4/x64/Debug/SpaceShooterV4.tlog/SpaceShooterV4.write.1u.tlog and b/SpaceShooterV4/x64/Debug/SpaceShooterV4.tlog/SpaceShooterV4.write.1u.tlog differ
... ...
SpaceShooterV4/x64/Debug/main.obj
No preview for this file type
SpaceShooterV4/x64/Debug/vc141.idb
No preview for this file type
SpaceShooterV4/x64/Debug/vc141.pdb
No preview for this file type
x64/Debug/SpaceShooterV4.exe
No preview for this file type
x64/Debug/SpaceShooterV4.pdb
No preview for this file type