Commit Graph

5243 Commits

Author SHA1 Message Date
Wei Tjong Yao
cfc4ae497f Enhanced FindUrho3D.cmake module to find library with debug postfix on windows platform. 2013-08-19 07:03:34 +00:00
Wei Tjong Yao
9b8b2580b9 Added '_d' postfix when building Urho3D library in Debug configuration on Windows platform. 2013-08-19 06:10:00 +00:00
Lasse Öörni
1590de8b63 Removed offending function from SDL which prevented proper startup when Urho3D was built as a shared library on Windows. 2013-08-19 00:37:28 +00:00
Lasse Öörni
8f240d46bf Disable some more DLL build related warnings. 2013-08-18 22:15:56 +00:00
Lasse Öörni
9f9a238836 Windows shared library build fixes. 2013-08-18 20:26:10 +00:00
Lasse Öörni
26a9bc763e Added Temporary flag to Serializable, which means it will not be saved if enabled. Currently the sub-nodes created by Terrain are marked temporary.
Temporary objects are by default not shown in the editor.
Added trigonometric functions which take degrees argument into the C++ API, not just script.
Edited the Billboards sample.
Made the Urho3D logo in the samples slightly transparent.
2013-08-18 16:50:28 +00:00
Wei Tjong Yao
594457df82 Removed line to define ENABLE_64BIT for Visual Studio based on cmake generator as the define must already been set explicitly when invoking cmake_vsxxxx.bat in order to get Win64 generator. Fixed the expression to check whether ENABLE_TOOLS is defined. Minor update on build options documentation. 2013-08-18 06:16:16 +00:00
Lasse Öörni
a9eb0e1e61 Added Billboards sample.
Some code cleanup/formatting of the other samples.
2013-08-17 23:45:09 +00:00
Lasse Öörni
f74f4dd6f8 Moved the logic for determining whether to use executable directory or the current working directory into FileSystem::GetProgramDir(). 2013-08-17 21:09:47 +00:00
Lasse Öörni
1ef35d353c Added skeletal animation sample.
Fixed build of samples.
Removed line to disable MinSizeRel build type in CMake script as it seems to have no effect any longer.
Removed unused function to get AnimationState by C string of animation name.
2013-08-17 18:38:07 +00:00
Lasse Öörni
7d235c8458 Added touch input double click handling in the UI.
Fixed CopyData.bat paths.
2013-08-17 13:43:25 +00:00
Wei Tjong Yao
dfd142c7d2 Added Raspberry Pi bootstrap back to fix raspi build. Moved the xmlstarlet logic to cmake_gcc.sh for code reuse. Added ANDROID_ABI into build options documentation. 2013-08-17 06:27:32 +00:00
Wei Tjong Yao
ccd6a926ae Added Urho3D library build option for IOS. 2013-08-16 08:56:55 +00:00
Lasse Öörni
45e0907cb8 Use D3D_SDK_VERSION when initializing the Direct3D9 device. 2013-08-16 08:35:38 +00:00
Wei Tjong Yao
cd59d5de56 Assume MinGW generates object files with .obj as suffix. 2013-08-16 06:49:05 +00:00
Lasse Öörni
9047bfa1ab Use DLL runtime by default. Proper fix for building the Urho3D library with VS2008. 2013-08-15 23:00:10 +00:00
Lasse Öörni
ce9154d545 Added missing URHO3D_API defines to some derived classes.
Fixed obj file copying when building Urho3D library on VS and not using USE_MKLINK.
2013-08-15 21:02:54 +00:00
Wei Tjong Yao
478ace41cc Determine the relative path to the CoreData and Data directories correctly for symlink creation, regardless of main executable target location in project source tree. 2013-08-15 18:58:39 +00:00
Wei Tjong Yao
79861d9ee9 Changed the regex replacement command with get_filename_component() command. 2013-08-15 17:30:43 +00:00
Wei Tjong Yao
d37cb04fd9 Added post-build custom command when setting up main executable to facilitate debugging and running the main executable within Xcode itself. 2013-08-15 17:18:34 +00:00
Lasse Öörni
10b4fd2438 Improved fix for OS X fullscreen transition problem. 2013-08-15 07:16:49 +00:00
Lasse Öörni
e903c5edff Before closing an OpenGL SDL window, set it to windowed to fix annoying transition effect on OS X. 2013-08-15 00:00:25 +00:00
Lasse Öörni
0900977b78 Applied some post-SDL 2.0.0 fixes from SDL official repository. 2013-08-14 22:49:34 +00:00
Lasse Öörni
8f0182d1e9 In case SDL's window resize event is handled late, use the current window size at the time of handling, not the event parameters.
Removed unnecessary OS X SDL modification.
2013-08-14 21:42:59 +00:00
Lasse Öörni
9afac28ea0 Do not treat DirectX SDK not found as a fatal error, as it is still possible to compile if eg. Windows 8 SDK is installed instead. 2013-08-14 21:17:32 +00:00
Lasse Öörni
6b4a5fd296 Added cmake_mingw.bat contributed by Mika Heinonen. 2013-08-14 15:30:20 +00:00
Wei Tjong Yao
3fd0638d62 Removed no-warn-unused-cli option as it hid typo error in passing build options. 2013-08-13 23:11:36 +00:00
Lasse Öörni
a899f7293e Capitalize name of CMake script directory. 2013-08-13 20:51:20 +00:00
Lasse Öörni
5bfde24e0b Updated to stable SDL 2.0. 2013-08-13 13:20:59 +00:00
Wei Tjong Yao
ed01bd0959 Fixed Application class namespace declaration. 2013-08-12 17:04:57 +00:00
Wei Tjong Yao
4db3bbaf07 Added SDL include directory into header search path. 2013-08-12 13:39:47 +00:00
Lasse Öörni
e2d2c01636 Added AnimatingScene sample. 2013-08-11 22:24:26 +00:00
Lasse Öörni
972124649e Include only one haptic driver (either windows or dummy) on Windows to fix MinGW build without DX joystick support, and to ensure no duplicate object file names. 2013-08-11 20:47:50 +00:00
Wei Tjong Yao
ddc3670238 Attempt to fix MinGW build and some other code cleanup. 2013-08-11 14:30:22 +00:00
Wei Tjong Yao
217c851811 Create out-of-source build directory for Android on Windows platform when mklink option is enabled. 2013-08-10 17:58:33 +00:00
Wei Tjong Yao
5f32c9dfd0 Rectified source code alignment. 2013-08-10 15:50:51 +00:00
Wei Tjong Yao
83302c3de4 Added mklink support for VS generator, enable by specifying '-DUSE_MKLINK=1' 2013-08-10 15:49:09 +00:00
Wei Tjong Yao
63a1dcc892 Use symlink to object directory instead of direct copying for Xcode. 2013-08-10 04:53:24 +00:00
Wei Tjong Yao
a01faa3ef2 Fixed static and shared library build using Xcode. 2013-08-09 16:19:58 +00:00
Wei Tjong Yao
38ae7f36c5 Fixed the resource path for MacOSX. 2013-08-09 11:26:47 +00:00
Wei Tjong Yao
4524754fda Reverted back to use native copy command. 2013-08-09 10:57:52 +00:00
Wei Tjong Yao
c789be7259 Reverted back Android project properties. 2013-08-09 10:32:07 +00:00
Wei Tjong Yao
02512cecf9 In order to move the out-of-source 'build' directory back to Urho3D project root directory, all the source codes sub-directories are now moved down one level to a new directory under project root called 'Source'. 2013-08-09 10:29:22 +00:00