1
Graphics / Re: Extreme Speed loss
« on: May 04, 2012, 06:17:22 pm »Don't create them dynamically, there's no need to.
No, I meant this:
Code: [Select]
for(int i=0;i<5;++i)
for(int j=0;j<5;++j)
mRooms.push_back(new Room(10,10,10*i,10*j));
How am I able to do this without pointers?Topic related:
The fps drop really nerves me. if noone knows how to fix this, I'll switch to sdl