Fixed CMake Win64 build configuration problem by working around the bug temporarily. Stream lined the Windows batch files for sample applications. Enhanced cmake_vs20xx to accept optional parameter to enable 64bit build. Updated documentation.

git-svn-id: http://urho3d.googlecode.com/svn/trunk@2105 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Modified CMakeLists.txt to include the source asm file into VS solution (just for viewing, the source is not compiled by MASM as before).

git-svn-id: http://urho3d.googlecode.com/svn/trunk@2106 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Fixed resource pick fileselector becoming unavailable if a resource pick was cancelled.
Remove existing bone hierarchy from AnimatedModel when it's being destroyed/detached from scene, or if a null model is assigned.



git-svn-id: http://urho3d.googlecode.com/svn/trunk@2107 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Return light's shape texture ResourceRef as TextureCube type if it's a point light.
Remove TextureCube hack from editor's resource picking code.


git-svn-id: http://urho3d.googlecode.com/svn/trunk@2108 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Use a reference to UpdateAttributes() fullupdate flag, so that if a non-fullupdate turns into a fullupdate due to changed number of attribute editors, the iconpanel is resized properly.


git-svn-id: http://urho3d.googlecode.com/svn/trunk@2109 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Fixed missing semicolon in Sprite.h
Clear the arch environment variable in Visual Studio CMake bat files, so that it is possible to reconfigure the build as 32bit in the same command prompt session by rerunning CMake bat without the "Win64" flag.


git-svn-id: http://urho3d.googlecode.com/svn/trunk@2110 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Added error logging for cases of components in detached nodes trying to find Octree or PhysicsWorld, or subscribing to update events.
Added error logging if a node is moved from one scene to another (unsupported.)


git-svn-id: http://urho3d.googlecode.com/svn/trunk@2111 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Updated to AngelScript 2.27.0 WIP.


git-svn-id: http://urho3d.googlecode.com/svn/trunk@2112 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Subclass SDLActivity so that the package name in SDL JNI code does not need to be changed.
Do not check for duplicate vertices when building triangle collision meshes to avoid a O(n^2) algorithm.


git-svn-id: http://urho3d.googlecode.com/svn/trunk@2113 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Allow defining draw range without an index buffer if raw index data has been defined. Note: the validity of the draw range cannot be checked in that case.


git-svn-id: http://urho3d.googlecode.com/svn/trunk@2114 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Allow live-reload of particle emitter parameters file.
Allow also specifying emission rate instead of emission interval.
Allow emitting multiple particles per frame if necessary.
Restored the "effect" component category in the editor. ParticleEmitter & DecalSet belong to it now.


git-svn-id: http://urho3d.googlecode.com/svn/trunk@2115 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Added ParticleEmitter attributes.
Added public API to ParticleEmitter.
Fixed crashes from setting negative element count in editor (number of animation states, billboards etc.)
Limit maximum billboard count due to index data being 16 bit.

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

git-svn-id: http://urho3d.googlecode.com/svn/trunk@2117 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Make the ParticleEmitter's period & emission timers editable to be able to reset them before saving an object prefab.


git-svn-id: http://urho3d.googlecode.com/svn/trunk@2118 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Use remote events for spawning particle effects in networked NinjaSnowWar to avoid sending all ParticleEmitter attributes.

git-svn-id: http://urho3d.googlecode.com/svn/trunk@2119 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Make sure kNet's buildconfig is included for the Clock & Thread classes.

git-svn-id: http://urho3d.googlecode.com/svn/trunk@2120 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Applied consistency edits to the ParticleEmitter API. Added missing UpdateInvisible attribute & functions.
Demonstrate use of viewmasks in TestSceneOld to exclude the billboards from raycasting.


git-svn-id: http://urho3d.googlecode.com/svn/trunk@2121 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Fixed menu item staying pressed and performing its action later if cursor was moved away from it with left button pressed.

git-svn-id: http://urho3d.googlecode.com/svn/trunk@2122 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Fixed Terrain::SetOccludee() working incorrectly.

git-svn-id: http://urho3d.googlecode.com/svn/trunk@2123 3bd170d8-ddcf-f82c-f583-7a401ccf5608
Added setup_main_executable() CMake macro which sets up resource copying for an executable.

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