Added comment on threaded Octree update.


git-svn-id: http://urho3d.googlecode.com/svn/trunk@2172 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Fixed cmake_ios.sh to accept command line arguments, such as '-DENABLE_LUA=1' to turn on Lua support.

git-svn-id: http://urho3d.googlecode.com/svn/trunk@2173 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Fixed multiple instance SDL event handling.


git-svn-id: http://urho3d.googlecode.com/svn/trunk@2174 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Do not allow Input to directly close the rendering window and cause engine main loop termination. Instead send an event. Engine::SetAutoExit() controls whether to exit automatically as a response.
Do not pump OS events inside static mutex, as SDL's own event queue is already thread-safe.


git-svn-id: http://urho3d.googlecode.com/svn/trunk@2175 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Simplified app exit code path.

git-svn-id: http://urho3d.googlecode.com/svn/trunk@2176 3bd170d8-ddcf-f82c-f583-7a401ccf5608
As latest SDL was found to be non-threadsafe in practice, removed the StaticMutex and the OBJECTTYPESTATIC constructs which were added to support multi-context use within a single process.
Fixed single SDL memory leak on exit.


git-svn-id: http://urho3d.googlecode.com/svn/trunk@2177 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Detect missing include file and build SDL without Windows joystick support if necessary.



git-svn-id: http://urho3d.googlecode.com/svn/trunk@2178 3bd170d8-ddcf-f82c-f583-7a401ccf5608