0 Members and 2 Guests are viewing this topic.
Do you need that file to run a program from an executable or only if you are running it from Visual Studio?
Quote from: KarmaKilledtheCat on December 10, 2013, 03:54:29 amDo you need that file to run a program from an executable or only if you are running it from Visual Studio?If you run it from VS, then you have VS and all the needed DLLs installed.Thus it's needed when running the application.
If im not mistaken, the required DLL is a part of the Visual C++ redistributable package for Visual Studio 2013 Preview. I had to install it myself in order to try this game.
I thought that the sf::Event held a stack of all events processed in the frame. I could be wrong though, I will look back at the tutorials.
while( window.pollevent( Event ) )
window.pollEvent( Event )
ScreenManager::GetInstance().Update(Window, Event);
bool sf::Window::pollEvent ( Event & event ) Pop the event on top of the event queue, if any, and return it.This function is not blocking: if there's no pending event then it will return false and leave event unmodified. Note that more than one event may be present in the event queue, thus you should always call this function in a loop to make sure that you process every pending event.sf::Event event;while (window.pollEvent(event)){ // process event...}Parametersevent Event to be returnedReturnsTrue if an event was returned, or false if the event queue was emptySee AlsowaitEvent