Commit Graph

9612 Commits

Author SHA1 Message Date
Lasse Öörni
83c5586b53 Applied patch to Maxscript exporter. 2013-03-14 09:13:55 +00:00
Wei Tjong Yao
5544602c9e Enhance Font class to support saving of font (TTF or bitmap type) as another bitmap font resource in xml format. For bitmap font type, saving yet to another bitmap font is only meaningful when called with the optional parameter turned on to save only used glyphs. Refactored UIBatch class to enable better performance in Text class UI batch generation in relation to multi-pages/textures font. 2013-03-14 08:14:38 +00:00
Lasse Öörni
b296951980 Allow alternate extension .material for material files in the editor. 2013-03-13 12:27:46 +00:00
Lasse Öörni
21dd4b6c70 Updated the Maxscript exporter.
Reduce DOT graph depth in the documentation.
2013-03-13 08:27:08 +00:00
Lasse Öörni
04620cc75f Updated the modified MaxscriptExporter. 2013-03-12 17:09:47 +00:00
Lasse Öörni
5e443328ac Added recursive -parameter to Node::GetComponents() to get components of specific type also from child nodes. 2013-03-12 17:08:07 +00:00
Wei Tjong Yao
b3f1da148d Upgraded the Doxyfile configuration file to remove outdated option and turned on the HAVE_DOT,CALL/CALLER_GRAPH options. Added option to convert doxygen files to HTML in the update document batch/shell file. Replaced '' with '' in the shell scripts to support argument with spaces (just in case). 2013-03-12 15:30:27 +00:00
Wei Tjong Yao
a9209956cd DocConverter skips when wiki output path does not exist. Font support multi-textures (pages) for both TTF and Bitmap font type. Combine the task to dump script API and convert doc to wiki into one process in a new batch file/script. Fixed the attribute index out of bound error when scene node is included as one of the multiple editable nodes. 2013-03-12 13:55:40 +00:00
Lasse Öörni
4652de45fd Compile AngelScript library in arm mode on Android to ensure compatibility with newest NDK's. 2013-03-11 23:03:40 +00:00
Lasse Öörni
97a30bbe78 Cleaned up ListView content resize in regard to automatic scrollbar visibility. 2013-03-11 07:48:37 +00:00
Lasse Öörni
938356ed28 Removed unnecessary nullchecks. 2013-03-11 00:19:52 +00:00
Lasse Öörni
dbac4f482b Fix to scrollbar autovisibility and possible infinite recursion. 2013-03-11 00:04:13 +00:00
Lasse Öörni
07c0f7228a Added flag to ScrollView / ListView whether to set scrollbar visibility automatically. Default true. Calling SetScrollBarsVisible() disables this. 2013-03-10 19:31:34 +00:00
Wei Tjong Yao
14c06b3dc5 Added ability to edit attributes of multiple selected nodes, only mutual attribute values are editable. Modify script API for VariantMap's Erase() method to return bool. Fixed one of the Print() function in IOAPI to use the 'error' parameter. 2013-03-10 17:54:20 +00:00
Lasse Öörni
b1b8a00ace Moved checking for script file name & printing usage inside Application::Run().
Fixed some command line options (-prepass and -deferred) not being printed.
2013-03-10 16:22:43 +00:00
Lasse Öörni
8461f151d5 Removed redundant comment. 2013-03-10 13:56:01 +00:00
Lasse Öörni
0762154240 Fixed shadows when not reusing shadowmaps (missing call to ResetShadowMapAllocations()). 2013-03-10 13:52:57 +00:00
Lasse Öörni
c513645a1a Added modified Ogre Maxscript Exporter contributed by Vladimir Pobedinskij, which outputs materials in Urho3D .xml format. 2013-03-10 12:34:38 +00:00
Lasse Öörni
ab4a9d16c9 Removed unnecessary calling of static function via pointer in exposing the Log object to script.
Fixed trying to write into an unopened file in DocConverter.
2013-03-10 12:08:29 +00:00
Wei Tjong Yao
51c0b76c6b Code cleanup (pardon the dust). 2013-03-10 08:06:06 +00:00
Wei Tjong Yao
4d72b5a609 ScriptAPIDumper dumps to console when output file is not provided. Removed caveat from have to compile with ENABLE_LOGGING. Exposed variants to print to stderr to script. Added shell script for calling ConvertDocsToWiki executable. Fixed Editor application to handle exit on error gracefully. Updated documentation and wiki accordingly. 2013-03-10 06:16:12 +00:00
Lasse Öörni
20619d01b1 Converted Log into a monostate to allow logging without a Context pointer.
Made Time::GetSystemTime() and Time::GetTimeStamp() static as they don't use any instance data.
2013-03-09 22:23:23 +00:00
Lasse Öörni
6e90c6ea13 Fixed bug in win32 ScanDir implementation, which did not scan subdirs if filter was not *.*.
Added Extras directory for contributions which are not strictly Urho3D core.
Added OgreBatchConverter utility from Carlo Carollo, modified to use Urho3D classes to be crossplatform compatible.
2013-03-09 20:42:45 +00:00
Wei Tjong Yao
88cfb4ac4f Fixed the component title labeling bug when more than one node are selected. 2013-03-09 18:51:28 +00:00
Wei Tjong Yao
fb2d208d28 Added new partial UI layout for the component child container. 2013-03-09 18:29:37 +00:00
Wei Tjong Yao
38d12c122c Added functionality to show multiple components in the atribute editor when a node or nodes are selected in the hierarchy window. Remove 'editable' parameter in the attribute creation functions as now whether an attribute is editable or not is dynamically set when loading the attribute value and not at the time of its editor creation. Exposed to all the UIElement-derived class a new function to load (partial) UI layout. 2013-03-09 18:25:35 +00:00
Lasse Öörni
5ef102695d Fixed poor script performance in NinjaSnowWar, which was caused by each AI controller scanning for new target each frame. Now choose target only once, or when old target has died. 2013-03-09 15:21:50 +00:00
Wei Tjong Yao
4efdfc87dc Tidied up AttributeEditor.as, better way to handle attribute that has multiple components. Exposed a few more math constants to script. 2013-03-09 12:39:01 +00:00
Wei Tjong Yao
96f8cdabd0 Attribute with different values from multi-select is shown as non-editable and its value strikes out (if possible). Renamed 'Node / component edit' window to 'Attribute inspector'. 2013-03-09 06:18:54 +00:00
Wei Tjong Yao
9f674d25d9 Removed left-over code. 2013-03-09 00:59:10 +00:00
Lasse Öörni
53d87516b5 Documentation update.
Code formatting consistency.
Handle underscore escaping in DocConverter.
2013-03-08 21:43:14 +00:00
Lasse Öörni
b756022eb6 DocConverter improvements: ä / ouml; handling, [] escaping, and removal of automatic links from upper-camelcase words. 2013-03-08 19:47:29 +00:00
Lasse Öörni
6b28127751 DocConverter improvements. 2013-03-08 16:49:13 +00:00
Lasse Öörni
424e1750f4 Added note of online Doxygen documentation. 2013-03-08 15:58:56 +00:00
Wei Tjong Yao
34a849e00e Speed up TTF loading time. Tidied up code for loading/getting bitmap font. 2013-03-08 15:08:14 +00:00
Lasse Öörni
5064b43c1a Fix multithreading page. 2013-03-08 14:50:41 +00:00
Lasse Öörni
783ad6e147 Documentation fixes. 2013-03-08 14:46:55 +00:00
Lasse Öörni
57ab758ffd DocConverter fixes / additions. 2013-03-08 14:41:15 +00:00
Lasse Öörni
22ead3645c Started work on doxygen-to-wiki conversion for Urho3D documentation. 2013-03-08 14:23:46 +00:00
Wei Tjong Yao
c6bbe91faa Set the execute-bit on for *.sh. 2013-03-07 15:36:29 +00:00
Wei Tjong Yao
8957ef2126 Slightly darker background for non-editable LineEdit element. 2013-03-07 13:40:20 +00:00
Lasse Öörni
ecd89d7442 Fixed GCC build. 2013-03-06 21:47:40 +00:00
Lasse Öörni
c55c9cf064 Exposed AnimationTriggerPoint to script.
Exposed Material::SetTechnique() to script.
Added camera functions from Magic.Lixin.
2013-03-06 19:50:42 +00:00
Lasse Öörni
a2f2d4eccd Applied AngelCode bitmap font support from Magic.Lixin. 2013-03-06 16:26:57 +00:00
Lasse Öörni
7d3ba86a15 Revert test code. 2013-03-06 16:10:30 +00:00
Lasse Öörni
9964055dda Applied physics patch from Magic.Lixin.
Added selection only -mode to editor. This changes the key mappings.
2013-03-06 15:53:41 +00:00
Lasse Öörni
924225c11b Applied editor patch from weitjong. 2013-03-06 14:07:19 +00:00
Lasse Öörni
091fe0b15f In scene mode, output material lists for all imported models.
Do not apply empty material if a material from a material list can not be found. Instead retain the old.
Fixed outdated documentation.
2013-03-06 13:26:23 +00:00
Lasse Öörni
cbc5ccbe58 Fixed wrong signature for ReplaceExtension() function in script.
Fixed initial scene resource path in editor.
Fixed loading of editor UI configuration.
Allow casting AnimatedModel & Skybox to StaticModel in script.
Warn and redirect if StaticModel::SetModel() called on AnimatedModel().
Always output material list in AssetImporter model mode.
Editor reads imported model's material list when choosing model via component edit (Configurable, can be disabled from settings dialog.)
Simplified editor config file structure.
2013-03-06 12:31:51 +00:00
Lasse Öörni
ebcc766ac0 Minor code cleanup. Added GetAttribute() to Context, which returns a named attribute. 2013-03-05 22:52:51 +00:00