├── .gitignore ├── .gitmodules ├── AUTHORS ├── CMakeLists.txt ├── CMakeModules ├── FindCarbon.cmake ├── FindCg.cmake ├── FindCocoa.cmake ├── FindIOKit.cmake ├── FindOGITOR.cmake ├── FindPkgMacros.cmake ├── OgreAddTargets.cmake ├── PrecompiledHeader.cmake ├── PreprocessorUtils.cmake ├── Templates │ ├── OGITOR.pc.in │ ├── OgitorsGlobals.cpp.in │ ├── ogitor.desktop.in │ ├── resources.cfg.in │ └── resources_d.cfg.in ├── VisualStudioUserFile.vcproj.user.in ├── VisualStudioUserFile.vcxproj.user.in ├── findscripts │ ├── FindOFS.cmake │ └── FindOgitor.cmake ├── install.cmake ├── install │ └── windows.cmake └── packaging │ ├── FileAssociation.nsh │ ├── NSIS.template.in │ ├── README.txt │ ├── qtOgitor.desktop │ ├── win.bmp │ └── win.psd ├── Dependencies ├── Angelscript │ ├── CMakeLists.txt │ ├── add_on │ │ ├── autowrapper │ │ │ ├── aswrappedcall.h │ │ │ └── generator │ │ │ │ ├── generateheader.cpp │ │ │ │ ├── generator.sln │ │ │ │ └── generator.vcproj │ │ ├── contextmgr │ │ │ ├── contextmgr.cpp │ │ │ └── contextmgr.h │ │ ├── debugger │ │ │ ├── debugger.cpp │ │ │ └── debugger.h │ │ ├── quaternion │ │ │ ├── as_ScriptOgreQuaternion.cpp │ │ │ └── as_ScriptOgreQuaternion.h │ │ ├── scriptany │ │ │ ├── scriptany.cpp │ │ │ └── scriptany.h │ │ ├── scriptarray │ │ │ ├── scriptarray.cpp │ │ │ └── scriptarray.h │ │ ├── scriptbuilder │ │ │ ├── scriptbuilder.cpp │ │ │ └── scriptbuilder.h │ │ ├── scriptdictionary │ │ │ ├── scriptdictionary.cpp │ │ │ └── scriptdictionary.h │ │ ├── scriptfile │ │ │ ├── scriptfile.cpp │ │ │ └── scriptfile.h │ │ ├── scripthandle │ │ │ ├── scripthandle.cpp │ │ │ └── scripthandle.h │ │ ├── scripthelper │ │ │ ├── scripthelper.cpp │ │ │ └── scripthelper.h │ │ ├── scriptmath │ │ │ ├── scriptmath.cpp │ │ │ ├── scriptmath.h │ │ │ ├── scriptmathcomplex.cpp │ │ │ └── scriptmathcomplex.h │ │ ├── scriptmath3d │ │ │ ├── scriptmath3d.cpp │ │ │ └── scriptmath3d.h │ │ ├── scriptstdstring │ │ │ ├── scriptstdstring.cpp │ │ │ ├── scriptstdstring.h │ │ │ └── scriptstdstring_utils.cpp │ │ ├── serializer │ │ │ ├── serializer.cpp │ │ │ └── serializer.h │ │ └── vector3 │ │ │ ├── as_ScriptOgreVector3.cpp │ │ │ └── as_ScriptOgreVector3.h │ ├── include │ │ └── angelscript.h │ ├── source.txt │ └── source │ │ ├── as_array.h │ │ ├── as_atomic.cpp │ │ ├── as_atomic.h │ │ ├── as_builder.cpp │ │ ├── as_builder.h │ │ ├── as_bytecode.cpp │ │ ├── as_bytecode.h │ │ ├── as_callfunc.cpp │ │ ├── as_callfunc.h │ │ ├── as_callfunc_arm.cpp │ │ ├── as_callfunc_arm_gcc.S │ │ ├── as_callfunc_arm_msvc.asm │ │ ├── as_callfunc_arm_xcode.S │ │ ├── as_callfunc_mips.cpp │ │ ├── as_callfunc_ppc.cpp │ │ ├── as_callfunc_ppc_64.cpp │ │ ├── as_callfunc_sh4.cpp │ │ ├── as_callfunc_x64_gcc.cpp │ │ ├── as_callfunc_x64_mingw.cpp │ │ ├── as_callfunc_x64_msvc.cpp │ │ ├── as_callfunc_x64_msvc_asm.asm │ │ ├── as_callfunc_x86.cpp │ │ ├── as_callfunc_xenon.cpp │ │ ├── as_compiler.cpp │ │ ├── as_compiler.h │ │ ├── as_config.h │ │ ├── as_configgroup.cpp │ │ ├── as_configgroup.h │ │ ├── as_context.cpp │ │ ├── as_context.h │ │ ├── as_criticalsection.h │ │ ├── as_datatype.cpp │ │ ├── as_datatype.h │ │ ├── as_debug.h │ │ ├── as_gc.cpp │ │ ├── as_gc.h │ │ ├── as_generic.cpp │ │ ├── as_generic.h │ │ ├── as_globalproperty.cpp │ │ ├── as_map.h │ │ ├── as_memory.cpp │ │ ├── as_memory.h │ │ ├── as_module.cpp │ │ ├── as_module.h │ │ ├── as_namespace.h │ │ ├── as_objecttype.cpp │ │ ├── as_objecttype.h │ │ ├── as_outputbuffer.cpp │ │ ├── as_outputbuffer.h │ │ ├── as_parser.cpp │ │ ├── as_parser.h │ │ ├── as_property.h │ │ ├── as_restore.cpp │ │ ├── as_restore.h │ │ ├── as_scriptcode.cpp │ │ ├── as_scriptcode.h │ │ ├── as_scriptengine.cpp │ │ ├── as_scriptengine.h │ │ ├── as_scriptfunction.cpp │ │ ├── as_scriptfunction.h │ │ ├── as_scriptnode.cpp │ │ ├── as_scriptnode.h │ │ ├── as_scriptobject.cpp │ │ ├── as_scriptobject.h │ │ ├── as_string.cpp │ │ ├── as_string.h │ │ ├── as_string_util.cpp │ │ ├── as_string_util.h │ │ ├── as_symboltable.h │ │ ├── as_texts.h │ │ ├── as_thread.cpp │ │ ├── as_thread.h │ │ ├── as_tokendef.h │ │ ├── as_tokenizer.cpp │ │ ├── as_tokenizer.h │ │ ├── as_typeinfo.cpp │ │ ├── as_typeinfo.h │ │ ├── as_variablescope.cpp │ │ └── as_variablescope.h ├── CMakeLists.txt ├── GenericImageEditor │ ├── CMakeLists.txt │ ├── include │ │ ├── genericimageeditor.hxx │ │ ├── genericimageeditorcodec.hxx │ │ ├── genericimageeditordocument.hxx │ │ ├── heightimageeditorcodec.hxx │ │ └── iimageeditorcodec.hxx │ └── src │ │ ├── genericimageeditor.cpp │ │ ├── genericimageeditorcodec.cpp │ │ ├── genericimageeditordocument.cpp │ │ └── heightimageeditorcodec.cpp ├── GenericTextEditor │ ├── CMakeLists.txt │ ├── include │ │ ├── generictexteditor.hxx │ │ ├── generictexteditorcodec.hxx │ │ ├── generictexteditordocument.hxx │ │ ├── itexteditorcodec.hxx │ │ └── xmltexteditorcodec.hxx │ └── src │ │ ├── generictexteditor.cpp │ │ ├── generictexteditorcodec.cpp │ │ ├── generictexteditordocument.cpp │ │ └── xmltexteditorcodec.cpp ├── ImageConverter │ ├── CMakeLists.txt │ ├── include │ │ └── imageconverter.hxx │ └── src │ │ └── imageconverter.cpp ├── OFS │ ├── CMakeLists.txt │ ├── include │ │ ├── file_ops.h │ │ ├── ofs.h │ │ ├── ofs13.h │ │ ├── ofs14.h │ │ ├── ofs_base.h │ │ ├── ofs_converter.h │ │ └── ofs_rfs.h │ └── source │ │ ├── file_ops.cpp │ │ ├── ofs.cpp │ │ ├── ofs13.cpp │ │ ├── ofs14.cpp │ │ ├── ofs_converter.cpp │ │ └── ofs_rfs.cpp ├── OgreTerrainConverter │ ├── CMakeLists.txt │ ├── include │ │ └── OgreTerrainConverter.h │ └── source │ │ └── OgreTerrainConverter.cpp └── TinyXML │ ├── CMakeLists.txt │ ├── tinystr.cpp │ ├── tinystr.h │ ├── tinyxml.cpp │ ├── tinyxml.h │ ├── tinyxmlerror.cpp │ └── tinyxmlparser.cpp ├── Documentation ├── API │ └── API_docs_goes_here.txt ├── CreatingEditorObjectPlugins.doc ├── CreatingSerializerPlugins.doc ├── Ofs_v11_Diag.xls ├── Ofs_v12_Diag.xls ├── Ofs_v14_Diag.xls ├── footer.html ├── header.html └── style.css ├── Help ├── CMakeLists.txt ├── about.txt ├── application.css ├── build_help.sh ├── collection_ogitor.qhcp ├── compile_docs.bat ├── controls.html ├── first_scene.html ├── index.html ├── interface.html ├── interface.png ├── intro1.png ├── jstoolbar.css ├── materials.png ├── ogicon.png ├── ogitor.png ├── ogitor.qhp ├── scm.css ├── style.css └── test_collection.bat ├── LICENSE ├── Mac ├── plugins.cfg └── resources.cfg ├── OGRE_COPYING ├── Ogitor ├── CMakeLists.txt ├── include │ ├── AxisGizmo.h │ ├── BaseEditor.h │ ├── BaseSerializer.h │ ├── BillboardSetEditor.h │ ├── CameraEditor.h │ ├── CameraVisualHelper.h │ ├── DefaultEvents.h │ ├── EditableMeshEditor.h │ ├── EntityEditor.h │ ├── Event.h │ ├── EventManager.h │ ├── FolderEditor.h │ ├── LightEditor.h │ ├── LightVisualHelper.h │ ├── MarkerEditor.h │ ├── MultiSelEditor.h │ ├── NodeEditor.h │ ├── OBBoxRenderable.h │ ├── OFSDataStream.h │ ├── OFSSceneSerializer.h │ ├── Ogitors.h │ ├── OgitorsClipboardManager.h │ ├── OgitorsDefinitions.h │ ├── OgitorsDelegates.h │ ├── OgitorsExports.h │ ├── OgitorsGlobals.h │ ├── OgitorsMasterView.h │ ├── OgitorsPagedWorldSection.h │ ├── OgitorsPaging.h │ ├── OgitorsPhysics.h │ ├── OgitorsPrerequisites.h │ ├── OgitorsProperty.h │ ├── OgitorsRoot.h │ ├── OgitorsScriptConsole.h │ ├── OgitorsScriptInterpreter.h │ ├── OgitorsSingleton.h │ ├── OgitorsSystem.h │ ├── OgitorsUndoManager.h │ ├── OgitorsUtils.h │ ├── OgitorsView.h │ ├── PGInstanceEditor.h │ ├── PGInstanceManager.h │ ├── PagingEditor.h │ ├── ParticleEditor.h │ ├── PlaneEditor.h │ ├── SceneManagerEditor.h │ ├── Selection2D.h │ ├── StringId.h │ ├── TerrainEditor.h │ ├── TerrainGroupEditor.h │ ├── TerrainGroupUndo.h │ ├── TerrainMaterialGeneratorB.h │ ├── TerrainMaterialGeneratorC.h │ ├── TerrainPageEditor.h │ ├── ViewGrid.h │ ├── ViewportEditor.h │ └── VisualHelper.h └── src │ ├── AxisGizmo.cpp │ ├── BaseEditor.cpp │ ├── BillboardSetEditor.cpp │ ├── CameraEditor.cpp │ ├── CameraVisualHelper.cpp │ ├── DefaultEvents.cpp │ ├── EditableMeshEditor.cpp │ ├── EditableMeshEditorEditing.cpp │ ├── EntityEditor.cpp │ ├── EventManager.cpp │ ├── FolderEditor.cpp │ ├── LightEditor.cpp │ ├── LightVisualHelper.cpp │ ├── MarkerEditor.cpp │ ├── MultiSelEditor.cpp │ ├── NodeEditor.cpp │ ├── OBBoxRenderable.cpp │ ├── OFSDataStream.cpp │ ├── OFSSceneSerializer.cpp │ ├── OgitorsClipboardManager.cpp │ ├── OgitorsMasterView.cpp │ ├── OgitorsPagedWorldSection.cpp │ ├── OgitorsPaging.cpp │ ├── OgitorsPhysics.cpp │ ├── OgitorsProperty.cpp │ ├── OgitorsRoot.cpp │ ├── OgitorsRootRegExp.cpp │ ├── OgitorsRootUtilityFunctions.cpp │ ├── OgitorsScriptConsole.cpp │ ├── OgitorsScriptInterpreter.cpp │ ├── OgitorsSystem.cpp │ ├── OgitorsUndoManager.cpp │ ├── OgitorsUtils.cpp │ ├── OgitorsView.cpp │ ├── PGInstanceEditor.cpp │ ├── PGInstanceManager.cpp │ ├── ParticleEditor.cpp │ ├── PlaneEditor.cpp │ ├── PrecompiledHeaders.cpp │ ├── SceneManagerEditor.cpp │ ├── Selection2D.cpp │ ├── StringId.cpp │ ├── TerrainGroupEditor.cpp │ ├── TerrainGroupEditorEditing.cpp │ ├── TerrainGroupEditorImportExport.cpp │ ├── TerrainGroupEditorUpdate.cpp │ ├── TerrainGroupUndo.cpp │ ├── TerrainMaterialGeneratorB.cpp │ ├── TerrainMaterialGeneratorC.cpp │ ├── TerrainPageEditor.cpp │ ├── TerrainPageEditorGrass.cpp │ ├── TerrainPageEditorImportExport.cpp │ ├── ViewGrid.cpp │ ├── ViewportEditor.cpp │ ├── ViewportEditorEvents.cpp │ └── VisualHelper.cpp ├── OgreOfsPlugin ├── CMakeLists.txt ├── include │ └── OfsFileSystem.h └── src │ ├── OfsFileSystem.cpp │ └── Plugin.cpp ├── Plugins ├── CustomSerializer │ ├── CMakeLists.txt │ ├── CustomSerializer.cpp │ └── CustomSerializer.h ├── DotSceneSerializer │ ├── CMakeLists.txt │ ├── DotSceneSerializer.cpp │ ├── DotSceneSerializer.h │ └── DotSceneSerializerExport.cpp ├── OgAngelDialogManager │ ├── AngelDialogManagerPlugin.cpp │ ├── AngelDialogManagerPlugin.h │ ├── CMakeLists.txt │ ├── dialog.cpp │ ├── dialog.hxx │ ├── inputwidgets.cpp │ ├── inputwidgets.hxx │ └── res │ │ └── resource.qrc ├── OgAngelScript │ ├── AngelScriptInterpreter.cpp │ ├── AngelScriptInterpreter.h │ ├── Bindings.cpp │ ├── Bindings.h │ ├── Bindings_Base.cpp │ ├── Bindings_Base.h │ ├── Bindings_Enum.h │ ├── Bindings_MultiSelection.cpp │ ├── Bindings_MultiSelection.h │ ├── Bindings_Ogre.cpp │ ├── Bindings_Ogre.h │ ├── Bindings_Property.cpp │ ├── Bindings_Property.h │ ├── Bindings_Root.h │ ├── Bindings_System.h │ ├── Bindings_UTF.h │ ├── Bindings_Utils.h │ ├── Bindings_Viewport.cpp │ ├── Bindings_Viewport.h │ ├── CMakeLists.txt │ ├── ScriptStringExtensions.cpp │ ├── ScriptStringExtensions.h │ ├── scripthelper.cpp │ ├── scripthelper.h │ └── stdvector.h ├── OgCaelum │ ├── CMakeLists.txt │ ├── CaelumEditor.cpp │ └── CaelumEditor.h ├── OgHydrax │ ├── CMakeLists.txt │ ├── HydraxWaterEditor.cpp │ └── HydraxWaterEditor.h ├── OgMaterialEditor │ ├── CMakeLists.txt │ ├── MaterialEditor.cpp │ ├── MaterialEditor.h │ ├── Plugin.cpp │ ├── Plugin.h │ ├── TechniqueEditor.cpp │ ├── TechniqueEditor.h │ ├── materialeditorprefseditor.cpp │ ├── materialeditorprefseditor.hxx │ ├── materialeditorprefstab.ui │ ├── materialhighlighter.cpp │ ├── materialhighlighter.hxx │ ├── materialtexteditorcodec.cpp │ ├── materialtexteditorcodec.hxx │ ├── materialview.cpp │ ├── materialview.hxx │ └── res │ │ ├── icons │ │ └── material.svg │ │ ├── resource.qrc │ │ └── syntax_highlighting │ │ ├── matDataTypes.txt │ │ ├── matEnums.txt │ │ └── matKeys.txt ├── OgModularZone │ ├── CMakeLists.txt │ ├── ModularZoneEditor.cpp │ ├── ModularZoneEditor.h │ ├── ModularZoneFactory.cpp │ ├── ModularZoneFactory.h │ ├── ModularZonePlugin.cpp │ ├── ModularZonePlugin.h │ ├── ModularZoneToolbar.cpp │ ├── ModularZoneToolbar.hxx │ ├── PortalEditor.cpp │ ├── PortalEditor.h │ ├── PortalFactory.cpp │ ├── PortalFactory.h │ ├── PortalOutlineRenderable.cpp │ ├── PortalOutlineRenderable.h │ ├── ZoneInfo.h │ ├── ZoneListWidget.cpp │ ├── ZoneListWidget.hxx │ ├── exportzonedialog.cpp │ ├── exportzonedialog.hxx │ ├── exportzonedialog.ui │ ├── portalsizedialog.cpp │ ├── portalsizedialog.hxx │ └── portalsizedialog.ui ├── OgQtExample │ ├── CMakeLists.txt │ ├── qtExample.cpp │ └── qtExample.h ├── OgScreenEffectEditor │ ├── CMakeLists.txt │ ├── Plugin.cpp │ ├── Plugin.h │ ├── ScreenEffectEditor.cpp │ ├── ScreenEffectEditor.h │ ├── res │ │ ├── icons │ │ │ ├── IconOrigins.txt │ │ │ └── screen_effect.svg │ │ └── resource.qrc │ ├── screeneffectview.cpp │ └── screeneffectview.hxx ├── OgScriptEditor │ ├── CMakeLists.txt │ ├── Plugin.cpp │ ├── Plugin.h │ ├── res │ │ ├── icons │ │ │ └── script2.svg │ │ ├── resource.qrc │ │ └── syntax_highlighting │ │ │ └── script.txt │ ├── scripthighlighter.cpp │ ├── scripthighlighter.hxx │ ├── scripttexteditorcodec.cpp │ ├── scripttexteditorcodec.hxx │ ├── scriptview.cpp │ └── scriptview.hxx └── OgSkyX │ ├── CMakeLists.txt │ ├── SkyxEditor.cpp │ └── SkyxEditor.h ├── ReadMe.md ├── Resources ├── OgitorInstall.bmp ├── OgitorInstall.xcf ├── OgitorLogo.jpg ├── OgitorLogo.xcf ├── OgitorLogoSmall.jpg ├── OgitorLogoSmall.xcf ├── Ogitor_88_31.png ├── Ogitor_88_31.xcf ├── Ogitor_88_31_trans.png ├── box_04.jpg ├── box_041.jpg ├── box_042.jpg ├── box_043.jpg ├── box_044.jpg ├── ogitor_218_32.png ├── ogitor_218_32.xcf ├── ogitor_242_36.png ├── ogitor_242_36.xcf ├── ogitorweblogo.png ├── ogitorweblogo.xcf ├── ogrelogo.xcf └── screenshot.jpg ├── RunPath ├── CMakeLists.txt ├── Media │ ├── brushes │ │ ├── AllWhite.png │ │ ├── Circular.png │ │ ├── Square.png │ │ ├── flat_circular.png │ │ ├── noisy_circular1.png │ │ ├── noisy_circular2.png │ │ └── sharp_circular.png │ ├── editorResources │ │ ├── Ogitor.material │ │ ├── OgitorGizmos.material │ │ ├── builderplane.bmp │ │ ├── decal.png │ │ ├── depthshadowobject.cg │ │ ├── depthshadowobjectFp.glsles │ │ ├── depthshadowobjectVp.glsles │ │ ├── empty_16_0.png │ │ ├── missing_mesh.mesh │ │ ├── pssm.cg │ │ ├── pssm.hlsl │ │ ├── pssm.material │ │ ├── scbArrowEx.mesh │ │ ├── scbCamera.mesh │ │ ├── scbLight.mesh │ │ ├── scbLight_Direct.mesh │ │ ├── scbLight_Omni.mesh │ │ ├── scbLight_Spot.mesh │ │ ├── scbMarker.mesh │ │ ├── scbPlane.mesh │ │ ├── selection.bmp │ │ ├── shadows.cg │ │ └── shadows.material │ ├── packs │ │ ├── OgreCore.zip │ │ └── SdkTrays.zip │ ├── particle │ │ ├── P1.material │ │ ├── P1.particle │ │ └── flare.png │ └── plants │ │ ├── grass.material │ │ ├── grass.png │ │ ├── grass2.material │ │ ├── grass2.png │ │ ├── plant1.material │ │ └── plant1.png ├── Plugins │ └── Icons │ │ ├── addzone.svg │ │ ├── billboardset.svg │ │ ├── caelum.svg │ │ ├── camera.svg │ │ ├── entity.svg │ │ ├── folder.svg │ │ ├── hydrax.svg │ │ ├── light.svg │ │ ├── marker.svg │ │ ├── multisel16.png │ │ ├── node.svg │ │ ├── pagedgeometry.svg │ │ ├── pagedterrain.svg │ │ ├── pagedterrainmanager.svg │ │ ├── pagingmanager.svg │ │ ├── particle.svg │ │ ├── pginstance.svg │ │ ├── plane.svg │ │ ├── portal.svg │ │ ├── project.svg │ │ ├── screen_effect.svg │ │ ├── tozone.svg │ │ ├── tsm.svg │ │ ├── viewport.svg │ │ ├── zone.svg │ │ └── zoneprops.svg ├── Scripts │ ├── DlgTest1.as │ ├── DlgTest2.as │ ├── ImportTerrainFromMultipleFiles.as │ ├── test.as │ ├── test2.as │ ├── test3.as │ ├── test4.as │ └── test5.as └── bin │ ├── SampleAppConfig.xml │ └── SampleAppConfig_dist.xml ├── SetByatisVariable.bat ├── cmake_uninstall.cmake.in ├── default.doxygen ├── gen-qt-projectfile ├── gen-qt-projectfile.bat ├── qtOfs ├── CMakeLists.txt ├── include │ ├── filelistwidget.hxx │ └── mainwindow.hxx ├── res │ ├── icons │ │ ├── about.svg │ │ ├── additional.svg │ │ ├── bullet.svg │ │ ├── clear.svg │ │ ├── copy.svg │ │ ├── cut.svg │ │ ├── defrag.svg │ │ ├── downarrow.svg │ │ ├── editcopy.svg │ │ ├── editcut.svg │ │ ├── editdelete.svg │ │ ├── editpaste.svg │ │ ├── editrename.svg │ │ ├── error.svg │ │ ├── exit.svg │ │ ├── export.svg │ │ ├── extract.svg │ │ ├── fileclose.svg │ │ ├── filenew.svg │ │ ├── fileopen.svg │ │ ├── files.svg │ │ ├── filesave.svg │ │ ├── filesaveas.svg │ │ ├── find.svg │ │ ├── folder.svg │ │ ├── help.svg │ │ ├── import.svg │ │ ├── info.svg │ │ ├── lock.svg │ │ ├── messages.svg │ │ ├── objects.svg │ │ ├── ogscene.png │ │ ├── ogscene.svg │ │ ├── preferences.svg │ │ ├── properties.svg │ │ ├── qtOfs.ico │ │ ├── qtOfs.png │ │ ├── qtOfs.svg │ │ ├── redo.svg │ │ ├── refresh.svg │ │ ├── scene.svg │ │ ├── search.svg │ │ ├── settings.svg │ │ ├── showhide.svg │ │ ├── sign_minus.svg │ │ ├── sign_plus.svg │ │ ├── sort.svg │ │ ├── template.svg │ │ ├── toolbar.svg │ │ ├── trash.svg │ │ ├── undo.svg │ │ ├── unlock.svg │ │ ├── uparrow.svg │ │ ├── visibility.svg │ │ ├── visibility_disabled.svg │ │ └── warning.svg │ ├── ofs.ico │ ├── qtOfs.ico │ ├── qtOfs.png │ ├── qtOfs.qrc │ └── resource.rc └── src │ ├── filelistwidget.cpp │ ├── main.cpp │ ├── mainwindow.cpp │ └── mainwindowactions.cpp ├── qtOgitor ├── CMakeLists.txt ├── aboutdialog.ui ├── addscriptaction.ui ├── addtemplatedialog.ui ├── calculateblendmapdialog.ui ├── createterraindialog.ui ├── eucliddialog.ui ├── icons │ ├── CMakeLists.txt │ ├── hi16-app-qtOgitor.png │ ├── hi22-app-qtOgitor.png │ ├── hi24-app-qtOgitor.png │ ├── hi256-app-qtOgitor.png │ ├── hi32-app-qtOgitor.png │ ├── hi48-app-qtOgitor.png │ └── hiscalable-app-qtOgitor.svg ├── importheightmapdialog.ui ├── include │ ├── aboutdialog.hxx │ ├── actiontoolbar.hxx │ ├── addscriptactiondialog.hxx │ ├── addtemplatedialog.hxx │ ├── application.hxx │ ├── calculateblendmapdialog.hxx │ ├── colourpicker.hxx │ ├── complexproperties.hxx │ ├── createterraindialog.hxx │ ├── entityview.hxx │ ├── eucliddialog.hxx │ ├── extendedTreeView.hxx │ ├── importheightmapdialog.hxx │ ├── layerview.hxx │ ├── lineeditwithhistory.hxx │ ├── magickwidget.hxx │ ├── mainwindow.hxx │ ├── manageTerrainDialog.hxx │ ├── manageTerrainGraphicsView.hxx │ ├── objectsview.hxx │ ├── ofstreewidget.hxx │ ├── ogitorpreferenceswidget.hxx │ ├── ogrewidget.hxx │ ├── paths.hxx │ ├── preferencesmanager.hxx │ ├── projectfilesview.hxx │ ├── propertiesviewcustom.hxx │ ├── propertiesviewgeneral.hxx │ ├── qtogitorsystem.hxx │ ├── sceneview.hxx │ ├── settingsdialog.hxx │ ├── shortcuts.hxx │ ├── shortcutsettings.hxx │ ├── templateview.hxx │ ├── terraintoolswidget.hxx │ ├── uiterrainsquare.hxx │ └── userdefined.hxx ├── languages │ ├── compile.bat │ ├── lupdate.exe │ ├── move_compiled_language_files.bat │ ├── ogitor_da.ts │ ├── ogitor_de.ts │ ├── ogitor_es.ts │ ├── ogitor_fr.ts │ ├── ogitor_it.ts │ ├── ogitor_nl.ts │ ├── ogitor_pt_BR.ts │ ├── ogitor_ru.ts │ ├── ogitor_tr.ts │ ├── ogitor_zh.ts │ ├── qt_da.ts │ ├── qt_de.ts │ ├── qt_es.ts │ ├── qt_fr.ts │ ├── qt_it.ts │ ├── qt_pt_BR.ts │ ├── qt_ru.ts │ ├── qt_tr.ts │ ├── qt_zh.ts │ └── update.bat ├── ogitorpreferencestab.ui ├── res │ ├── UI │ │ ├── arrow_down_V2.png │ │ ├── arrow_left_V2.png │ │ ├── arrow_right_V2.png │ │ ├── arrow_up_V2.png │ │ ├── checkbox_checked.png │ │ ├── checkbox_checked_disabled.png │ │ ├── checkbox_unchecked.png │ │ ├── checkbox_unchecked_disabled.png │ │ ├── dropdown_arrow.png │ │ ├── radiobutton_checked.png │ │ ├── radiobutton_checked_disabled.png │ │ ├── radiobutton_unchecked.png │ │ ├── radiobutton_unchecked_disabled.png │ │ ├── spinbox_down.png │ │ ├── spinbox_up.png │ │ ├── treeview_arrow_down.png │ │ └── treeview_arrow_right.png │ ├── about │ │ ├── license.html │ │ ├── people.html │ │ └── project.html │ ├── icons │ │ ├── about.svg │ │ ├── add_layer.svg │ │ ├── additional.svg │ │ ├── bullet.svg │ │ ├── camera.svg │ │ ├── camsave.svg │ │ ├── camspeedminus.svg │ │ ├── camspeedplus.svg │ │ ├── clear.svg │ │ ├── controls.svg │ │ ├── copy.svg │ │ ├── cut.svg │ │ ├── debuginfo.svg │ │ ├── deform.svg │ │ ├── defrag.svg │ │ ├── downarrow.svg │ │ ├── editcopy.svg │ │ ├── editcut.svg │ │ ├── editdelete.svg │ │ ├── editpaste.svg │ │ ├── editrename.svg │ │ ├── entity.svg │ │ ├── error.svg │ │ ├── exit.svg │ │ ├── export.svg │ │ ├── extract.svg │ │ ├── fileclose.svg │ │ ├── filenew.svg │ │ ├── fileopen.svg │ │ ├── files.svg │ │ ├── filesave.svg │ │ ├── filesaveas.svg │ │ ├── find.svg │ │ ├── folder.svg │ │ ├── fullscreen.svg │ │ ├── fullscreen_super.svg │ │ ├── grid.svg │ │ ├── help.svg │ │ ├── import.svg │ │ ├── info.svg │ │ ├── light.png │ │ ├── lock.svg │ │ ├── material.svg │ │ ├── messages.svg │ │ ├── mode_fly.svg │ │ ├── mode_fly_dark_style.svg │ │ ├── mode_walk.svg │ │ ├── mode_walk_dark_style.svg │ │ ├── move.svg │ │ ├── node.svg │ │ ├── objects.svg │ │ ├── ogscene.png │ │ ├── ogscene.svg │ │ ├── orient_obj.svg │ │ ├── orient_obj_dark_style.svg │ │ ├── orient_world.svg │ │ ├── orient_world_dark_style.svg │ │ ├── paint.svg │ │ ├── pass.svg │ │ ├── paste.svg │ │ ├── player_pause.svg │ │ ├── player_play.svg │ │ ├── player_stop.svg │ │ ├── pmpoints.svg │ │ ├── pmsolid.svg │ │ ├── pmwireframe.svg │ │ ├── polymode.svg │ │ ├── preferences.svg │ │ ├── properties.svg │ │ ├── qtOgitor.ico │ │ ├── qtOgitor.png │ │ ├── qtOgitor.svg │ │ ├── recyclebin_empty.svg │ │ ├── recyclebin_full.svg │ │ ├── redo.svg │ │ ├── refresh.svg │ │ ├── relight.png │ │ ├── relight.svg │ │ ├── rotate.svg │ │ ├── scale.svg │ │ ├── scene.svg │ │ ├── script.svg │ │ ├── search.svg │ │ ├── select.svg │ │ ├── settings.svg │ │ ├── showhide.svg │ │ ├── sign_minus.svg │ │ ├── sign_plus.svg │ │ ├── smooth.svg │ │ ├── sort.svg │ │ ├── splat.svg │ │ ├── splatgrass.svg │ │ ├── technique.svg │ │ ├── template.svg │ │ ├── toolbar.svg │ │ ├── translate.svg │ │ ├── trash.svg │ │ ├── undo.svg │ │ ├── unlock.svg │ │ ├── uparrow.svg │ │ ├── visibility.svg │ │ ├── visibility_disabled.svg │ │ ├── warning.svg │ │ ├── zoom_in.svg │ │ └── zoom_out.svg │ ├── images │ │ ├── OgitorLogo.png │ │ └── OgitorLogoSmall.png │ ├── layouts │ │ └── initial.oglayout │ ├── ogscene.ico │ ├── qtOgitor.ico │ ├── qtOgitor.png │ ├── qtOgitor.qrc │ ├── resource.rc │ └── stylesheets │ │ ├── KDE4.qss │ │ ├── aqua.qss │ │ ├── dark.qss │ │ └── obsidian.qss ├── settingsdialog.ui ├── share │ └── applications │ │ └── qtOgitor.desktop ├── shortcutsettings.ui ├── src │ ├── aboutdialog.cpp │ ├── actiontoolbar.cpp │ ├── addscriptactiondialog.cpp │ ├── addtemplatedialog.cpp │ ├── application.cpp │ ├── calculateblendmapdialog.cpp │ ├── colourpicker.cpp │ ├── complexproperties.cpp │ ├── createterraindialog.cpp │ ├── entityview.cpp │ ├── eucliddialog.cpp │ ├── extendedTreeView.cpp │ ├── importheightmapdialog.cpp │ ├── layerview.cpp │ ├── lineeditwithhistory.cpp │ ├── magickwidget.cpp │ ├── main.cpp │ ├── mainwindow.cpp │ ├── mainwindowactions.cpp │ ├── manageTerrainDialog.cpp │ ├── manageTerrainGraphicsView.cpp │ ├── objectsview.cpp │ ├── ofstreewidget.cpp │ ├── ogitorpreferenceswidget.cpp │ ├── ogrewidget.cpp │ ├── paths.cpp │ ├── preferencesmanager.cpp │ ├── projectfilesview.cpp │ ├── propertiesviewcustom.cpp │ ├── propertiesviewgeneral.cpp │ ├── qtogitorsystem.cpp │ ├── sceneview.cpp │ ├── settingsdialog.cpp │ ├── shortcuts.cpp │ ├── shortcutsettings.cpp │ ├── templateview.cpp │ ├── terraintoolswidget.cpp │ ├── uiterrainsquare.cpp │ └── userdefined.cpp └── userdefineddialog.ui ├── redist └── README.txt └── update_translations.bat /.gitignore: -------------------------------------------------------------------------------- 1 | /RunPath/Projects 2 | 3 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "Dependencies/pagedgeometry"] 2 | path = Dependencies/pagedgeometry 3 | url = https://github.com/OGRECave/ogre-pagedgeometry.git 4 | [submodule "qtOgitor/QtPropertyBrowser"] 5 | path = qtOgitor/QtPropertyBrowser 6 | url = https://github.com/bazhenovc/QtPropertyBrowser.git 7 | -------------------------------------------------------------------------------- /AUTHORS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/AUTHORS -------------------------------------------------------------------------------- /CMakeModules/FindCarbon.cmake: -------------------------------------------------------------------------------- 1 | #------------------------------------------------------------------- 2 | # This file is part of the CMake build system for OGRE 3 | # (Object-oriented Graphics Rendering Engine) 4 | # For the latest info, see http://www.ogre3d.org/ 5 | # 6 | # The contents of this file are placed in the public domain. Feel 7 | # free to make use of it in any way you like. 8 | #------------------------------------------------------------------- 9 | 10 | # - Try to find Carbon 11 | # Once done, this will define 12 | # 13 | # Carbon_FOUND - system has Carbon 14 | # Carbon_INCLUDE_DIRS - the Carbon include directories 15 | # Carbon_LIBRARIES - link these to use Carbon 16 | 17 | include(FindPkgMacros) 18 | findpkg_begin(Carbon) 19 | 20 | # construct search paths 21 | set(Carbon_PREFIX_PATH ${Carbon_HOME} $ENV{Carbon_HOME} 22 | ${OGRE_HOME} $ENV{OGRE_HOME}) 23 | create_search_paths(Carbon) 24 | # redo search if prefix path changed 25 | clear_if_changed(Carbon_PREFIX_PATH 26 | Carbon_LIBRARY_FWK 27 | Carbon_LIBRARY_REL 28 | Carbon_LIBRARY_DBG 29 | Carbon_INCLUDE_DIR 30 | ) 31 | 32 | set(Carbon_LIBRARY_NAMES Carbon) 33 | get_debug_names(Carbon_LIBRARY_NAMES) 34 | 35 | use_pkgconfig(Carbon_PKGC Carbon) 36 | 37 | findpkg_framework(Carbon) 38 | 39 | find_path(Carbon_INCLUDE_DIR NAMES Carbon.h HINTS ${Carbon_INC_SEARCH_PATH} ${Carbon_PKGC_INCLUDE_DIRS} PATH_SUFFIXES Carbon) 40 | find_library(Carbon_LIBRARY_REL NAMES ${Carbon_LIBRARY_NAMES} HINTS ${Carbon_LIB_SEARCH_PATH} ${Carbon_PKGC_LIBRARY_DIRS}) 41 | find_library(Carbon_LIBRARY_DBG NAMES ${Carbon_LIBRARY_NAMES_DBG} HINTS ${Carbon_LIB_SEARCH_PATH} ${Carbon_PKGC_LIBRARY_DIRS}) 42 | make_library_set(Carbon_LIBRARY) 43 | 44 | findpkg_finish(Carbon) 45 | add_parent_dir(Carbon_INCLUDE_DIRS Carbon_INCLUDE_DIR) 46 | 47 | -------------------------------------------------------------------------------- /CMakeModules/FindCg.cmake: -------------------------------------------------------------------------------- 1 | #------------------------------------------------------------------- 2 | # This file is part of the CMake build system for OGRE 3 | # (Object-oriented Graphics Rendering Engine) 4 | # For the latest info, see http://www.ogre3d.org/ 5 | # 6 | # The contents of this file are placed in the public domain. Feel 7 | # free to make use of it in any way you like. 8 | #------------------------------------------------------------------- 9 | 10 | # - Try to find Cg 11 | # Once done, this will define 12 | # 13 | # Cg_FOUND - system has Cg 14 | # Cg_INCLUDE_DIRS - the Cg include directories 15 | # Cg_LIBRARIES - link these to use Cg 16 | 17 | include(FindPkgMacros) 18 | findpkg_begin(Cg) 19 | 20 | # Get path, convert backslashes as ${ENV_${var}} 21 | getenv_path(Cg_HOME) 22 | getenv_path(OGRE_SOURCE) 23 | getenv_path(OGRE_HOME) 24 | 25 | # construct search paths 26 | set(Cg_PREFIX_PATH ${Cg_HOME} ${ENV_Cg_HOME} 27 | ${OGRE_SOURCE}/Dependencies 28 | ${ENV_OGRE_SOURCE}/Dependencies 29 | ${OGRE_HOME} ${ENV_OGRE_HOME}) 30 | create_search_paths(Cg) 31 | # redo search if prefix path changed 32 | clear_if_changed(Cg_PREFIX_PATH 33 | Cg_LIBRARY_FWK 34 | Cg_LIBRARY_REL 35 | Cg_LIBRARY_DBG 36 | Cg_INCLUDE_DIR 37 | ) 38 | 39 | set(Cg_LIBRARY_NAMES Cg) 40 | get_debug_names(Cg_LIBRARY_NAMES) 41 | 42 | use_pkgconfig(Cg_PKGC Cg) 43 | 44 | findpkg_framework(Cg) 45 | 46 | find_path(Cg_INCLUDE_DIR NAMES cg.h HINTS ${Cg_FRAMEWORK_INCLUDES} ${Cg_INC_SEARCH_PATH} ${Cg_PKGC_INCLUDE_DIRS} PATH_SUFFIXES Cg) 47 | find_library(Cg_LIBRARY_REL NAMES ${Cg_LIBRARY_NAMES} HINTS ${Cg_LIB_SEARCH_PATH} ${Cg_PKGC_LIBRARY_DIRS} PATH_SUFFIXES "" release relwithdebinfo minsizerel) 48 | find_library(Cg_LIBRARY_DBG NAMES ${Cg_LIBRARY_NAMES_DBG} HINTS ${Cg_LIB_SEARCH_PATH} ${Cg_PKGC_LIBRARY_DIRS} PATH_SUFFIXES "" debug) 49 | make_library_set(Cg_LIBRARY) 50 | 51 | findpkg_finish(Cg) 52 | add_parent_dir(Cg_INCLUDE_DIRS Cg_INCLUDE_DIR) -------------------------------------------------------------------------------- /CMakeModules/FindCocoa.cmake: -------------------------------------------------------------------------------- 1 | #------------------------------------------------------------------- 2 | # This file is part of the CMake build system for OGRE 3 | # (Object-oriented Graphics Rendering Engine) 4 | # For the latest info, see http://www.ogre3d.org/ 5 | # 6 | # The contents of this file are placed in the public domain. Feel 7 | # free to make use of it in any way you like. 8 | #------------------------------------------------------------------- 9 | 10 | # - Try to find Cocoa 11 | # Once done, this will define 12 | # 13 | # Cocoa_FOUND - system has Cocoa 14 | # Cocoa_INCLUDE_DIRS - the Cocoa include directories 15 | # Cocoa_LIBRARIES - link these to use Cocoa 16 | 17 | include(FindPkgMacros) 18 | findpkg_begin(Cocoa) 19 | 20 | # construct search paths 21 | set(Cocoa_PREFIX_PATH ${Cocoa_HOME} $ENV{Cocoa_HOME} 22 | ${OGRE_HOME} $ENV{OGRE_HOME}) 23 | create_search_paths(Cocoa) 24 | # redo search if prefix path changed 25 | clear_if_changed(Cocoa_PREFIX_PATH 26 | Cocoa_LIBRARY_FWK 27 | Cocoa_LIBRARY_REL 28 | Cocoa_LIBRARY_DBG 29 | Cocoa_INCLUDE_DIR 30 | ) 31 | 32 | set(Cocoa_LIBRARY_NAMES Cocoa) 33 | get_debug_names(Cocoa_LIBRARY_NAMES) 34 | 35 | use_pkgconfig(Cocoa_PKGC Cocoa) 36 | 37 | findpkg_framework(Cocoa) 38 | 39 | find_path(Cocoa_INCLUDE_DIR NAMES Cocoa.h HINTS ${Cocoa_INC_SEARCH_PATH} ${Cocoa_PKGC_INCLUDE_DIRS} PATH_SUFFIXES Cocoa) 40 | find_library(Cocoa_LIBRARY_REL NAMES ${Cocoa_LIBRARY_NAMES} HINTS ${Cocoa_LIB_SEARCH_PATH} ${Cocoa_PKGC_LIBRARY_DIRS}) 41 | find_library(Cocoa_LIBRARY_DBG NAMES ${Cocoa_LIBRARY_NAMES_DBG} HINTS ${Cocoa_LIB_SEARCH_PATH} ${Cocoa_PKGC_LIBRARY_DIRS}) 42 | make_library_set(Cocoa_LIBRARY) 43 | 44 | findpkg_finish(Cocoa) 45 | add_parent_dir(Cocoa_INCLUDE_DIRS Cocoa_INCLUDE_DIR) 46 | 47 | -------------------------------------------------------------------------------- /CMakeModules/FindIOKit.cmake: -------------------------------------------------------------------------------- 1 | #------------------------------------------------------------------- 2 | # This file is part of the CMake build system for OGRE 3 | # (Object-oriented Graphics Rendering Engine) 4 | # For the latest info, see http://www.ogre3d.org/ 5 | # 6 | # The contents of this file are placed in the public domain. Feel 7 | # free to make use of it in any way you like. 8 | #------------------------------------------------------------------- 9 | 10 | # - Try to find IOKit 11 | # Once done, this will define 12 | # 13 | # IOKit_FOUND - system has IOKit 14 | # IOKit_INCLUDE_DIRS - the IOKit include directories 15 | # IOKit_LIBRARIES - link these to use IOKit 16 | 17 | include(FindPkgMacros) 18 | findpkg_begin(IOKit) 19 | 20 | # construct search paths 21 | set(IOKit_PREFIX_PATH ${IOKit_HOME} $ENV{IOKit_HOME} 22 | ${OGRE_HOME} $ENV{OGRE_HOME}) 23 | create_search_paths(IOKit) 24 | # redo search if prefix path changed 25 | clear_if_changed(IOKit_PREFIX_PATH 26 | IOKit_LIBRARY_FWK 27 | IOKit_LIBRARY_REL 28 | IOKit_LIBRARY_DBG 29 | IOKit_INCLUDE_DIR 30 | ) 31 | 32 | set(IOKit_LIBRARY_NAMES IOKit) 33 | get_debug_names(IOKit_LIBRARY_NAMES) 34 | 35 | use_pkgconfig(IOKit_PKGC IOKit) 36 | 37 | findpkg_framework(IOKit) 38 | 39 | find_path(IOKit_INCLUDE_DIR NAMES IOKitLib.h HINTS ${IOKit_INC_SEARCH_PATH} ${IOKit_PKGC_INCLUDE_DIRS} PATH_SUFFIXES IOKit) 40 | find_library(IOKit_LIBRARY_REL NAMES ${IOKit_LIBRARY_NAMES} HINTS ${IOKit_LIB_SEARCH_PATH} ${IOKit_PKGC_LIBRARY_DIRS}) 41 | find_library(IOKit_LIBRARY_DBG NAMES ${IOKit_LIBRARY_NAMES_DBG} HINTS ${IOKit_LIB_SEARCH_PATH} ${IOKit_PKGC_LIBRARY_DIRS}) 42 | make_library_set(IOKit_LIBRARY) 43 | findpkg_finish(IOKit) 44 | add_parent_dir(IOKit_INCLUDE_DIRS IOKit_INCLUDE_DIR) 45 | 46 | -------------------------------------------------------------------------------- /CMakeModules/PreprocessorUtils.cmake: -------------------------------------------------------------------------------- 1 | #------------------------------------------------------------------- 2 | # This file is part of the CMake build system for OGRE 3 | # (Object-oriented Graphics Rendering Engine) 4 | # For the latest info, see http://www.ogre3d.org/ 5 | # 6 | # The contents of this file are placed in the public domain. Feel 7 | # free to make use of it in any way you like. 8 | #------------------------------------------------------------------- 9 | 10 | macro(get_preprocessor_entry CONTENTS KEYWORD VARIABLE) 11 | string(REGEX MATCH 12 | "# *define +${KEYWORD} +((\"([^\n]*)\")|([^ \n]*))" 13 | PREPROC_TEMP_VAR 14 | ${${CONTENTS}} 15 | ) 16 | if (CMAKE_MATCH_3) 17 | set(${VARIABLE} ${CMAKE_MATCH_3}) 18 | else () 19 | set(${VARIABLE} ${CMAKE_MATCH_4}) 20 | endif () 21 | endmacro() 22 | 23 | macro(has_preprocessor_entry CONTENTS KEYWORD VARIABLE) 24 | string(REGEX MATCH 25 | "\n *# *define +(${KEYWORD})" 26 | PREPROC_TEMP_VAR 27 | ${${CONTENTS}} 28 | ) 29 | if (CMAKE_MATCH_1) 30 | set(${VARIABLE} TRUE) 31 | else () 32 | set(${VARIABLE} FALSE) 33 | endif () 34 | endmacro() 35 | 36 | macro(replace_preprocessor_entry VARIABLE KEYWORD NEW_VALUE) 37 | string(REGEX REPLACE 38 | "(// *)?# *define +${KEYWORD} +[^ \n]*" 39 | "#define ${KEYWORD} ${NEW_VALUE}" 40 | ${VARIABLE}_TEMP 41 | ${${VARIABLE}} 42 | ) 43 | set(${VARIABLE} ${${VARIABLE}_TEMP}) 44 | endmacro() 45 | 46 | macro(set_preprocessor_entry VARIABLE KEYWORD ENABLE) 47 | if (${ENABLE}) 48 | set(TMP_REPLACE_STR "#define ${KEYWORD}") 49 | else () 50 | set(TMP_REPLACE_STR "// #define ${KEYWORD}") 51 | endif () 52 | string(REGEX REPLACE 53 | "(// *)?# *define +${KEYWORD} *\n" 54 | ${TMP_REPLACE_STR} 55 | ${VARIABLE}_TEMP 56 | ${${VARIABLE}} 57 | ) 58 | set(${VARIABLE} ${${VARIABLE}_TEMP}) 59 | endmacro() 60 | 61 | -------------------------------------------------------------------------------- /CMakeModules/Templates/OGITOR.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@OGRE_PREFIX_PATH@ 2 | exec_prefix=${prefix} 3 | libdir=${prefix}/@OGRE_LIB_DIRECTORY@ 4 | includedir=${prefix}/include 5 | plugindir=${libdir}/OGRE 6 | 7 | Name: OGRE 8 | Description: Object-Oriented Graphics Rendering Engine 9 | Version: @OGRE_VERSION@ 10 | URL: http://www.ogre3d.org 11 | Libs: -L${libdir} -lOgreMain@OGRE_LIB_SUFFIX@ @OGRE_ADDITIONAL_LIBS@ 12 | Cflags: -I${includedir} -I${includedir}/OGRE @OGRE_CFLAGS@ 13 | -------------------------------------------------------------------------------- /CMakeModules/Templates/OgitorsGlobals.cpp.in: -------------------------------------------------------------------------------- 1 | #include "OgitorsPrerequisites.h" 2 | #include "OgitorsGlobals.h" 3 | 4 | // THIS FILE IS GENERATED BY CMAKE - DO NOT CHANGE IT - CHANGE THE MAIN CMAKE SCRIPT INSTEAD!!! 5 | 6 | const std::string Ogitors::Globals::OGITOR_VERSION = "@OGITOR_VERSION_STRING@"; 7 | const std::string Ogitors::Globals::INSTALL_PREFIX = "@CMAKE_INSTALL_PREFIX@"; 8 | const std::string Ogitors::Globals::BIN_PATH = "@OGITOR_BIN_PATH@"; 9 | const std::string Ogitors::Globals::RUN_PATH = "@OGITOR_RUN_PATH@"; 10 | const std::string Ogitors::Globals::RESOURCE_PATH = "@OGITOR_RESOURCE_PATH@"; 11 | const std::string Ogitors::Globals::LANGUAGE_PATH = "@OGITOR_LANGUAGE_PATH@"; 12 | const std::string Ogitors::Globals::MEDIA_PATH = "@OGITOR_MEDIA_PATH@"; 13 | const std::string Ogitors::Globals::PROJECTS_PATH = "@OGITOR_PROJECTS_PATH@"; 14 | const std::string Ogitors::Globals::SCRIPTS_PATH = "@OGITOR_SCRIPTS_PATH@"; 15 | const std::string Ogitors::Globals::OGITOR_PLUGIN_PATH = "@OGITOR_PLUGIN_PATH@"; 16 | const std::string Ogitors::Globals::OGITOR_PLUGIN_ICON_PATH = "@OGITOR_PLUGIN_ICON_PATH@"; 17 | const std::string Ogitors::Globals::OGRE_CONFIG_PATH = "@OGRE_CONFIG_DIR@"; 18 | const std::string Ogitors::Globals::LIBOGREOFSPLUGIN_PATH = "@OGITOR_LIBOGREOFSPLUGIN_PATH@"; 19 | const std::string Ogitors::Globals::OGSCENE_FORMAT_VERSION = "@OGITOR_OGSCENE_FORMAT_VERSION@"; 20 | const std::string Ogitors::Globals::OGSCENE_FORMAT_EXTENSION = ".ogscene"; 21 | -------------------------------------------------------------------------------- /CMakeModules/Templates/ogitor.desktop.in: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Comment[en_US]= 3 | Comment=qtOgitor - Ogre Scene Builder 4 | Exec=@OGITOR_WORK_DIR@/RunPath/bin/qtOgitor 5 | GenericName[en_US]= 6 | GenericName= 7 | Icon=akonadi 8 | MimeType= 9 | Name[en_US]=qtOgitor 10 | Name=qtOgitor 11 | Path=@OGITOR_WORK_DIR@/RunPath/bin 12 | StartupNotify=true 13 | Terminal=false 14 | TerminalOptions= 15 | Type=Application 16 | X-DBUS-ServiceName= 17 | X-DBUS-StartupType= 18 | X-KDE-SubstituteUID=false 19 | X-KDE-Username= 20 | X-Ubuntu-Gettext-Domain=desktop_kdebase 21 | -------------------------------------------------------------------------------- /CMakeModules/Templates/resources.cfg.in: -------------------------------------------------------------------------------- 1 | # Resource locations to be added to the 'bootstrap' path 2 | [Bootstrap] 3 | Zip=@OGITOR_MEDIA_PATH@/packs/OgreCore.zip 4 | 5 | # Resource locations to be added to the default path 6 | [General] 7 | FileSystem=@OGITOR_MEDIA_PATH@/particle 8 | FileSystem=@CMAKE_SOURCE_DIR@/Dependencies/pagedgeometry/bin/media/shaders 9 | FileSystem=@OGRE_MEDIA_DIR@/Terrain 10 | 11 | [EditorResources] 12 | FileSystem=@OGITOR_MEDIA_PATH@/editorResources 13 | 14 | [Brushes] 15 | FileSystem=@OGITOR_MEDIA_PATH@/brushes 16 | 17 | # Plugin resource locations 18 | # These can be commented out if they are not used 19 | [Caelum] 20 | FileSystem=@OGITOR_MEDIA_PATH@/editorResources/Caelum 21 | 22 | [SkyX] 23 | FileSystem=@OGITOR_MEDIA_PATH@/editorResources/SkyX 24 | 25 | [Hydrax] 26 | FileSystem=@OGITOR_MEDIA_PATH@/editorResources/Hydrax -------------------------------------------------------------------------------- /CMakeModules/Templates/resources_d.cfg.in: -------------------------------------------------------------------------------- 1 | # Resources required by the sample browser and most samples. 2 | [Essential] 3 | Zip=@OGRE_MEDIA_DIR_DBG@/packs/SdkTrays.zip 4 | FileSystem=@OGRE_MEDIA_DIR_DBG@/thumbnails 5 | 6 | # Common sample resources needed by many of the samples. 7 | # Rarely used resources should be separately loaded by the 8 | # samples which require them. 9 | [Popular] 10 | FileSystem=@OGRE_MEDIA_DIR_DBG@/fonts 11 | FileSystem=@OGRE_MEDIA_DIR_DBG@/materials/programs 12 | FileSystem=@OGRE_MEDIA_DIR_DBG@/materials/scripts 13 | FileSystem=@OGRE_MEDIA_DIR_DBG@/materials/textures 14 | FileSystem=@OGRE_MEDIA_DIR_DBG@/materials/textures/nvidia 15 | FileSystem=@OGRE_MEDIA_DIR_DBG@/models 16 | FileSystem=@OGRE_MEDIA_DIR_DBG@/particle 17 | FileSystem=@OGRE_MEDIA_DIR_DBG@/DeferredShadingMedia 18 | FileSystem=@OGRE_MEDIA_DIR_DBG@/PCZAppMedia 19 | FileSystem=@OGRE_MEDIA_DIR_DBG@/RTShaderLib 20 | FileSystem=@OGRE_MEDIA_DIR_DBG@/RTShaderLib/materials 21 | Zip=@OGRE_MEDIA_DIR_DBG@/packs/cubemap.zip 22 | Zip=@OGRE_MEDIA_DIR_DBG@/packs/cubemapsJS.zip 23 | Zip=@OGRE_MEDIA_DIR_DBG@/packs/dragon.zip 24 | Zip=@OGRE_MEDIA_DIR_DBG@/packs/fresneldemo.zip 25 | Zip=@OGRE_MEDIA_DIR_DBG@/packs/ogretestmap.zip 26 | Zip=@OGRE_MEDIA_DIR_DBG@/packs/ogredance.zip 27 | Zip=@OGRE_MEDIA_DIR_DBG@/packs/Sinbad.zip 28 | Zip=@OGRE_MEDIA_DIR_DBG@/packs/skybox.zip 29 | 30 | [General] 31 | FileSystem=@OGRE_MEDIA_DIR_DBG@ 32 | -------------------------------------------------------------------------------- /CMakeModules/VisualStudioUserFile.vcxproj.user.in: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | @OGITOR_WORK_DIR@/RunPath/bin/$(TargetFileName) 5 | @OGITOR_WORK_DIR@/RunPath/bin 6 | WindowsLocalDebugger 7 | 8 | 9 | @OGITOR_WORK_DIR@/RunPath/bin/$(TargetFileName) 10 | @OGITOR_WORK_DIR@/RunPath/bin 11 | WindowsLocalDebugger 12 | 13 | 14 | @OGITOR_WORK_DIR@/RunPath/bin/$(TargetFileName)) 15 | @OGITOR_WORK_DIR@/RunPath/bin 16 | WindowsLocalDebugger 17 | 18 | 19 | @OGITOR_WORK_DIR@/RunPath/bin/$(TargetFileName) 20 | @OGITOR_WORK_DIR@/RunPath/bin 21 | WindowsLocalDebugger 22 | 23 | -------------------------------------------------------------------------------- /CMakeModules/findscripts/FindOFS.cmake: -------------------------------------------------------------------------------- 1 | # Find OFS includes and library 2 | # 3 | # This module defines 4 | # OFS_INCLUDE_DIR, the location of the OFS include directory 5 | # OFS_LIBRARIES, the location of the ofs libraries 6 | # OFS_FOUND, If false, do not try to use OFS 7 | # 8 | # Copyright © 2012, Andrew Fenn 9 | # Released under public domain 10 | 11 | set(paths 12 | ~/Library/Frameworks 13 | /Library/Frameworks 14 | /usr/local 15 | /usr 16 | /sw # Fink 17 | /opt/local # DarwinPorts 18 | /opt/csw # Blastwave 19 | /opt 20 | ) 21 | 22 | set(suffixes 23 | lib64/ 24 | lib/ 25 | libs64/ 26 | libs/ 27 | libs/Win32/ 28 | libs/Win64/ 29 | ) 30 | 31 | find_path(OFS_INCLUDE_DIR ofs.h 32 | PATH_SUFFIXES OFS include 33 | PATHS 34 | ${paths} 35 | ) 36 | 37 | find_library(OFS_LIBRARY_REL NAMES OFS libOFS.so libOFS.lib HINTS $ENV{OFSDIR} PATH_SUFFIXES ${suffixes}; lib/Release PATHS ${paths}) 38 | find_library(OFS_LIBRARY_DBG NAMES OFS libOFS.so libOFS.lib HINTS $ENV{OFSDIR} PATH_SUFFIXES ${suffixes}; lib/Debug PATHS ${paths}) 39 | 40 | set(OFS_LIBRARIES optimized ${OFS_LIBRARY_REL} ${OFS_COMPONENTS_LIBRARY_REL} debug ${OFS_LIBRARY_DBG} ${OFS_COMPONENTS_LIBRARY_DBG}) 41 | 42 | set(OFS_FOUND False) 43 | if (OFS_LIBRARIES AND OFS_INCLUDE_DIR) 44 | set(OFS_FOUND True) 45 | endif() 46 | 47 | -------------------------------------------------------------------------------- /CMakeModules/packaging/README.txt: -------------------------------------------------------------------------------- 1 | Put win.bmp in "Program Files\NSIS\Contrib\Graphics\Wizard", replace the exsisting win.bmp. 2 | (Rename it first, so you can get it back). -------------------------------------------------------------------------------- /CMakeModules/packaging/qtOgitor.desktop: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Version=0.3.0b 3 | Comment=qtOgitor OGRE Scene Builder 4 | Exec=qtOgitor 5 | GenericName=qtOgitor 6 | Icon=qtOgitor 7 | Name=qtOgitor 8 | StartupNotify=true 9 | Terminal=false 10 | Type=Application 11 | Categories=Qt; 12 | MimeType=application/x-qtogitor; 13 | -------------------------------------------------------------------------------- /CMakeModules/packaging/win.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/CMakeModules/packaging/win.bmp -------------------------------------------------------------------------------- /CMakeModules/packaging/win.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/CMakeModules/packaging/win.psd -------------------------------------------------------------------------------- /Dependencies/Angelscript/add_on/autowrapper/generator/generator.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 10.00 3 | # Visual C++ Express 2008 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "generator", "generator.vcproj", "{086A2F1A-01B1-4EB3-A8FA-0926FF10E953}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {086A2F1A-01B1-4EB3-A8FA-0926FF10E953}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {086A2F1A-01B1-4EB3-A8FA-0926FF10E953}.Debug|Win32.Build.0 = Debug|Win32 14 | {086A2F1A-01B1-4EB3-A8FA-0926FF10E953}.Release|Win32.ActiveCfg = Release|Win32 15 | {086A2F1A-01B1-4EB3-A8FA-0926FF10E953}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /Dependencies/Angelscript/add_on/quaternion/as_ScriptOgreQuaternion.h: -------------------------------------------------------------------------------- 1 | #ifndef SCRIPTOGREQUATERNION_H 2 | #define SCRIPTOGREQUATERNION_H 3 | 4 | #include 5 | #include 6 | 7 | void RegisterScriptOgreQuaternion(asIScriptEngine *engine); 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /Dependencies/Angelscript/add_on/scriptany/scriptany.h: -------------------------------------------------------------------------------- 1 | #ifndef SCRIPTANY_H 2 | #define SCRIPTANY_H 3 | 4 | #ifndef ANGELSCRIPT_H 5 | // Avoid having to inform include path if header is already include before 6 | #include 7 | #endif 8 | 9 | 10 | BEGIN_AS_NAMESPACE 11 | 12 | class CScriptAny 13 | { 14 | public: 15 | // Constructors 16 | CScriptAny(asIScriptEngine *engine); 17 | CScriptAny(void *ref, int refTypeId, asIScriptEngine *engine); 18 | 19 | // Memory management 20 | int AddRef() const; 21 | int Release() const; 22 | 23 | // Copy the stored value from another any object 24 | CScriptAny &operator=(const CScriptAny&); 25 | int CopyFrom(const CScriptAny *other); 26 | 27 | // Store the value, either as variable type, integer number, or real number 28 | void Store(void *ref, int refTypeId); 29 | void Store(asINT64 &value); 30 | void Store(double &value); 31 | 32 | // Retrieve the stored value, either as variable type, integer number, or real number 33 | bool Retrieve(void *ref, int refTypeId) const; 34 | bool Retrieve(asINT64 &value) const; 35 | bool Retrieve(double &value) const; 36 | 37 | // Get the type id of the stored value 38 | int GetTypeId() const; 39 | 40 | // GC methods 41 | int GetRefCount(); 42 | void SetFlag(); 43 | bool GetFlag(); 44 | void EnumReferences(asIScriptEngine *engine); 45 | void ReleaseAllHandles(asIScriptEngine *engine); 46 | 47 | protected: 48 | virtual ~CScriptAny(); 49 | void FreeObject(); 50 | 51 | mutable int refCount; 52 | mutable bool gcFlag; 53 | asIScriptEngine *engine; 54 | 55 | // The structure for holding the values 56 | struct valueStruct 57 | { 58 | union 59 | { 60 | asINT64 valueInt; 61 | double valueFlt; 62 | void *valueObj; 63 | }; 64 | int typeId; 65 | }; 66 | 67 | valueStruct value; 68 | }; 69 | 70 | void RegisterScriptAny(asIScriptEngine *engine); 71 | void RegisterScriptAny_Native(asIScriptEngine *engine); 72 | void RegisterScriptAny_Generic(asIScriptEngine *engine); 73 | 74 | END_AS_NAMESPACE 75 | 76 | #endif 77 | -------------------------------------------------------------------------------- /Dependencies/Angelscript/add_on/scripthandle/scripthandle.h: -------------------------------------------------------------------------------- 1 | #ifndef SCRIPTHANDLE_H 2 | #define SCRIPTHANDLE_H 3 | 4 | #ifndef ANGELSCRIPT_H 5 | // Avoid having to inform include path if header is already include before 6 | #include 7 | #endif 8 | 9 | 10 | BEGIN_AS_NAMESPACE 11 | 12 | class CScriptHandle 13 | { 14 | public: 15 | // Constructors 16 | CScriptHandle(); 17 | CScriptHandle(const CScriptHandle &other); 18 | CScriptHandle(void *ref, asIObjectType *type); 19 | ~CScriptHandle(); 20 | 21 | // Copy the stored value from another any object 22 | CScriptHandle &operator=(const CScriptHandle &other); 23 | 24 | // Set the reference 25 | void Set(void *ref, asIObjectType *type); 26 | 27 | // Compare equalness 28 | bool operator==(const CScriptHandle &o) const; 29 | bool operator!=(const CScriptHandle &o) const; 30 | bool Equals(void *ref, int typeId) const; 31 | 32 | // Dynamic cast to desired handle type 33 | void Cast(void **outRef, int typeId); 34 | 35 | // Returns the type of the reference held 36 | asIObjectType *GetType() const; 37 | int GetTypeId() const; 38 | 39 | protected: 40 | // These functions need to have access to protected 41 | // members in order to call them from the script engine 42 | friend void Construct(CScriptHandle *self, void *ref, int typeId); 43 | friend void RegisterScriptHandle_Native(asIScriptEngine *engine); 44 | friend void CScriptHandle_AssignVar_Generic(asIScriptGeneric *gen); 45 | 46 | void ReleaseHandle(); 47 | void AddRefHandle(); 48 | 49 | // These shouldn't be called directly by the 50 | // application as they requires an active context 51 | CScriptHandle(void *ref, int typeId); 52 | CScriptHandle &Assign(void *ref, int typeId); 53 | 54 | void *m_ref; 55 | asIObjectType *m_type; 56 | }; 57 | 58 | void RegisterScriptHandle(asIScriptEngine *engine); 59 | 60 | END_AS_NAMESPACE 61 | 62 | #endif 63 | -------------------------------------------------------------------------------- /Dependencies/Angelscript/add_on/scriptmath/scriptmath.h: -------------------------------------------------------------------------------- 1 | #ifndef SCRIPTMATH_H 2 | #define SCRIPTMATH_H 3 | 4 | #ifndef ANGELSCRIPT_H 5 | // Avoid having to inform include path if header is already include before 6 | #include 7 | #endif 8 | 9 | 10 | BEGIN_AS_NAMESPACE 11 | 12 | // This function will determine the configuration of the engine 13 | // and use one of the two functions below to register the math functions 14 | void RegisterScriptMath(asIScriptEngine *engine); 15 | 16 | // Call this function to register the math functions 17 | // using native calling conventions 18 | void RegisterScriptMath_Native(asIScriptEngine *engine); 19 | 20 | // Use this one instead if native calling conventions 21 | // are not supported on the target platform 22 | void RegisterScriptMath_Generic(asIScriptEngine *engine); 23 | 24 | END_AS_NAMESPACE 25 | 26 | #endif 27 | -------------------------------------------------------------------------------- /Dependencies/Angelscript/add_on/scriptmath/scriptmathcomplex.h: -------------------------------------------------------------------------------- 1 | #ifndef SCRIPTMATHCOMPLEX_H 2 | #define SCRIPTMATHCOMPLEX_H 3 | 4 | #ifndef ANGELSCRIPT_H 5 | // Avoid having to inform include path if header is already include before 6 | #include 7 | #endif 8 | 9 | 10 | BEGIN_AS_NAMESPACE 11 | 12 | // This class implements complex numbers and the common 13 | // operations that can be done with it. 14 | // 15 | // Ref: http://mathworld.wolfram.com/ComplexNumber.html 16 | 17 | struct Complex 18 | { 19 | Complex(); 20 | Complex(const Complex &other); 21 | Complex(float r, float i = 0); 22 | 23 | // Assignment operator 24 | Complex &operator=(const Complex &other); 25 | 26 | // Compound assigment operators 27 | Complex &operator+=(const Complex &other); 28 | Complex &operator-=(const Complex &other); 29 | Complex &operator*=(const Complex &other); 30 | Complex &operator/=(const Complex &other); 31 | 32 | float length() const; 33 | float squaredLength() const; 34 | 35 | // Swizzle operators 36 | Complex get_ri() const; 37 | void set_ri(const Complex &in); 38 | Complex get_ir() const; 39 | void set_ir(const Complex &in); 40 | 41 | // Comparison 42 | bool operator==(const Complex &other) const; 43 | bool operator!=(const Complex &other) const; 44 | 45 | // Math operators 46 | Complex operator+(const Complex &other) const; 47 | Complex operator-(const Complex &other) const; 48 | Complex operator*(const Complex &other) const; 49 | Complex operator/(const Complex &other) const; 50 | 51 | float r; 52 | float i; 53 | }; 54 | 55 | // This function will determine the configuration of the engine 56 | // and use one of the two functions below to register the string type 57 | void RegisterScriptMathComplex(asIScriptEngine *engine); 58 | 59 | END_AS_NAMESPACE 60 | 61 | #endif 62 | -------------------------------------------------------------------------------- /Dependencies/Angelscript/add_on/scriptstdstring/scriptstdstring.h: -------------------------------------------------------------------------------- 1 | // 2 | // Script std::string 3 | // 4 | // This function registers the std::string type with AngelScript to be used as the default string type. 5 | // 6 | // The string type is registered as a value type, thus may have performance issues if a lot of 7 | // string operations are performed in the script. However, for relatively few operations, this should 8 | // not cause any problem for most applications. 9 | // 10 | 11 | #ifndef SCRIPTSTDSTRING_H 12 | #define SCRIPTSTDSTRING_H 13 | 14 | #ifndef ANGELSCRIPT_H 15 | // Avoid having to inform include path if header is already include before 16 | #include 17 | #endif 18 | 19 | #include 20 | 21 | //--------------------------- 22 | // Compilation settings 23 | // 24 | 25 | // The use of the string pool can improve performance quite drastically 26 | // for scripts that work with a lot of literal string constants. 27 | // 28 | // 1 = on 29 | // 0 = off 30 | 31 | #ifndef AS_USE_STRINGPOOL 32 | #define AS_USE_STRINGPOOL 1 33 | #endif 34 | 35 | // Sometimes it may be desired to use the same method names as used by C++ STL. 36 | // This may for example reduce time when converting code from script to C++ or 37 | // back. 38 | // 39 | // 0 = off 40 | // 1 = on 41 | 42 | #ifndef AS_USE_STLNAMES 43 | #define AS_USE_STLNAMES 0 44 | #endif 45 | 46 | BEGIN_AS_NAMESPACE 47 | 48 | void RegisterStdString(asIScriptEngine *engine); 49 | void RegisterStdStringUtils(asIScriptEngine *engine); 50 | 51 | END_AS_NAMESPACE 52 | 53 | #endif 54 | -------------------------------------------------------------------------------- /Dependencies/Angelscript/add_on/vector3/as_ScriptOgreVector3.h: -------------------------------------------------------------------------------- 1 | #ifndef SCRIPTOGREVECTOR3_H 2 | #define SCRIPTOGREVECTOR3_H 3 | 4 | #include 5 | #include 6 | 7 | void RegisterScriptOgreVector3(asIScriptEngine *engine); 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /Dependencies/Angelscript/source.txt: -------------------------------------------------------------------------------- 1 | ------------------------------------- 2 | AngelScript SDK 2.26.2 3 | ------------------------------------- 4 | http://www.angelcode.com/angelscript/ 5 | ------------------------------------- 6 | -------------------------------------------------------------------------------- /Dependencies/Angelscript/source/as_atomic.h: -------------------------------------------------------------------------------- 1 | /* 2 | AngelCode Scripting Library 3 | Copyright (c) 2003-2013 Andreas Jonsson 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any 7 | damages arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any 10 | purpose, including commercial applications, and to alter it and 11 | redistribute it freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you 14 | must not claim that you wrote the original software. If you use 15 | this software in a product, an acknowledgment in the product 16 | documentation would be appreciated but is not required. 17 | 18 | 2. Altered source versions must be plainly marked as such, and 19 | must not be misrepresented as being the original software. 20 | 21 | 3. This notice may not be removed or altered from any source 22 | distribution. 23 | 24 | The original version of this library can be located at: 25 | http://www.angelcode.com/angelscript/ 26 | 27 | Andreas Jonsson 28 | andreas@angelcode.com 29 | */ 30 | 31 | 32 | // 33 | // as_atomic.h 34 | // 35 | // The asCAtomic class provides methods for performing threadsafe 36 | // operations on a single dword, e.g. reference counting and 37 | // bitfields. 38 | // 39 | 40 | 41 | 42 | #ifndef AS_ATOMIC_H 43 | #define AS_ATOMIC_H 44 | 45 | #include "as_config.h" 46 | 47 | BEGIN_AS_NAMESPACE 48 | 49 | class asCAtomic 50 | { 51 | public: 52 | asCAtomic(); 53 | 54 | asDWORD get() const; 55 | void set(asDWORD val); 56 | 57 | // Increase and return new value 58 | asDWORD atomicInc(); 59 | 60 | // Decrease and return new value 61 | asDWORD atomicDec(); 62 | 63 | protected: 64 | asDWORD value; 65 | }; 66 | 67 | END_AS_NAMESPACE 68 | 69 | #endif 70 | -------------------------------------------------------------------------------- /Dependencies/Angelscript/source/as_callfunc_arm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/Dependencies/Angelscript/source/as_callfunc_arm.cpp -------------------------------------------------------------------------------- /Dependencies/Angelscript/source/as_callfunc_arm_gcc.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/Dependencies/Angelscript/source/as_callfunc_arm_gcc.S -------------------------------------------------------------------------------- /Dependencies/Angelscript/source/as_string_util.h: -------------------------------------------------------------------------------- 1 | /* 2 | AngelCode Scripting Library 3 | Copyright (c) 2003-2011 Andreas Jonsson 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any 7 | damages arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any 10 | purpose, including commercial applications, and to alter it and 11 | redistribute it freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you 14 | must not claim that you wrote the original software. If you use 15 | this software in a product, an acknowledgment in the product 16 | documentation would be appreciated but is not required. 17 | 18 | 2. Altered source versions must be plainly marked as such, and 19 | must not be misrepresented as being the original software. 20 | 21 | 3. This notice may not be removed or altered from any source 22 | distribution. 23 | 24 | The original version of this library can be located at: 25 | http://www.angelcode.com/angelscript/ 26 | 27 | Andreas Jonsson 28 | andreas@angelcode.com 29 | */ 30 | 31 | 32 | #ifndef AS_STRING_UTIL_H 33 | #define AS_STRING_UTIL_H 34 | 35 | #include "as_config.h" 36 | 37 | BEGIN_AS_NAMESPACE 38 | 39 | int asCompareStrings(const char *str1, size_t len1, const char *str2, size_t len2); 40 | 41 | double asStringScanDouble(const char *string, size_t *numScanned); 42 | asQWORD asStringScanUInt64(const char *string, int base, size_t *numScanned); 43 | 44 | int asStringEncodeUTF8(unsigned int value, char *outEncodedBuffer); 45 | int asStringDecodeUTF8(const char *encodedBuffer, unsigned int *outLength); 46 | 47 | int asStringEncodeUTF16(unsigned int value, char *outEncodedBuffer); 48 | 49 | END_AS_NAMESPACE 50 | 51 | #endif 52 | -------------------------------------------------------------------------------- /Dependencies/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 2.8.4) 2 | 3 | project(Dependencies) 4 | 5 | SET(CMAKE_DEBUG_POSTFIX "_d") 6 | set(CMAKE_INSTALL_PREFIX "${CMAKE_BINARY_DIR}/lib") 7 | 8 | # External Projects 9 | # include(ExternalProject) 10 | 11 | # Caelum 12 | #ExternalProject_Add(Caelum 13 | # PREFIX ${CMAKE_CURRENT_BINARY_DIR} 14 | # HG_REPOSITORY https://bitbucket.org/ogreaddons/caelum 15 | # CMAKE_ARGS -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} -DCMAKE_INSTALL_PREFIX=${CMAKE_BINARY_DIR}/RunPath -DCMAKE_DEBUG_POSTFIX=${CMAKE_DEBUG_POSTFIX} 16 | # BUILD_IN_SOURCE 1 17 | #) 18 | #set_target_properties(Caelum PROPERTIES FOLDER Dependencies) 19 | 20 | # Hydrax 21 | #ExternalProject_Add(Hydrax 22 | # PREFIX ${CMAKE_CURRENT_BINARY_DIR} 23 | # HG_REPOSITORY https://bitbucket.org/ogreaddons/hydrax 24 | # CMAKE_ARGS -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} -DCMAKE_INSTALL_PREFIX=${CMAKE_BINARY_DIR}/RunPath -DCMAKE_DEBUG_POSTFIX=${CMAKE_DEBUG_POSTFIX} 25 | # BUILD_IN_SOURCE 1 26 | #) 27 | #set_target_properties(Hydrax PROPERTIES FOLDER Dependencies) 28 | 29 | # Pagedgeometry 30 | add_subdirectory(pagedgeometry) 31 | 32 | # Skyx 33 | #ExternalProject_Add(Skyx 34 | # PREFIX ${CMAKE_CURRENT_BINARY_DIR} 35 | # HG_REPOSITORY https://bitbucket.org/ogreaddons/skyx 36 | # CMAKE_ARGS -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} -DCMAKE_INSTALL_PREFIX=${CMAKE_BINARY_DIR}/RunPath -DCMAKE_DEBUG_POSTFIX=${CMAKE_DEBUG_POSTFIX} 37 | # BUILD_IN_SOURCE 1 38 | #) 39 | #set_target_properties(Skyx PROPERTIES FOLDER Dependencies) 40 | 41 | add_subdirectory(TinyXML) -------------------------------------------------------------------------------- /Dependencies/ImageConverter/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 2.8.10) 2 | set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS TRUE) 3 | cmake_policy(SET CMP0003 NEW) 4 | 5 | # CMake policy introduced in relation to Qt 5.1 6 | if("${CMAKE_VERSION}" VERSION_GREATER 2.8.11) 7 | cmake_policy(SET CMP0020 OLD) 8 | endif() 9 | 10 | project(ImageConverter) 11 | 12 | if(NOT Qt5Widgets_FOUND) 13 | MESSAGE(SEND_ERROR "Failed to find Qt 5.0.0 or greater.") 14 | else(NOT Qt5Widgets_FOUND) 15 | set(CMAKE_PACKAGE_QTGUI TRUE) 16 | 17 | file(GLOB UI_FILES *.ui) 18 | 19 | set(HEADER_FILES 20 | ./include/imageconverter.hxx 21 | ) 22 | 23 | set(SOURCE_FILES 24 | ./src/imageconverter.cpp 25 | ) 26 | 27 | SET(MOC_SRCS2 28 | ./include/imageconverter.hxx 29 | ) 30 | 31 | qt5_wrap_cpp(MOC_SRCS ${MOC_SRCS2}) 32 | qt5_wrap_ui(UI_SRCS ${UI_FILES}) 33 | 34 | source_group("Moc Files" FILES ${MOC_SRCS}) 35 | source_group("Ui Files" FILES ${UI_FILES}) 36 | 37 | # if we don't include this CMake will not include ui headers properly: 38 | include_directories(${CMAKE_CURRENT_BINARY_DIR}) 39 | 40 | set(SRCS ${HEADER_FILES} ${SOURCE_FILES} ${MOC_SRCS} ${UI_FILES}) 41 | 42 | set(ImageConverter_VERSION 0) 43 | set(ImageConverter_VERSION_MAJOR 1) 44 | 45 | include_directories(include) 46 | 47 | include_directories(.) 48 | include_directories(${OGITOR_INCLUDES}) 49 | 50 | link_libraries(${QT_QTMAIN_LIBRARY} ${QT_LIBRARIES} Ogitor) 51 | ogitor_add_library(ImageConverter SHARED ${SRCS}) 52 | set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/lib) 53 | 54 | qt5_use_modules(ImageConverter Widgets) 55 | 56 | set_target_properties(ImageConverter PROPERTIES COMPILE_DEFINITIONS IMAGECONVERTER_EXPORT) 57 | install(TARGETS ImageConverter 58 | LIBRARY DESTINATION lib 59 | ARCHIVE DESTINATION lib 60 | RUNTIME DESTINATION bin) 61 | endif(NOT Qt5Widgets_FOUND) 62 | 63 | # vim: set sw=2 ts=2 noet: 64 | -------------------------------------------------------------------------------- /Dependencies/OFS/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(OFS_SOURCE 2 | source/file_ops.cpp 3 | source/ofs.cpp 4 | source/ofs13.cpp 5 | source/ofs14.cpp 6 | source/ofs_converter.cpp 7 | source/ofs_rfs.cpp 8 | ) 9 | 10 | set(OFS_HEADERS 11 | include/file_ops.h 12 | include/ofs.h 13 | include/ofs_base.h 14 | include/ofs13.h 15 | include/ofs14.h 16 | include/ofs_converter.h 17 | include/ofs_rfs.h 18 | ) 19 | 20 | include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include 21 | ) 22 | 23 | ogitor_add_library(OFS SHARED ${OFS_SOURCE} ${OFS_HEADERS}) 24 | target_compile_definitions(OFS PRIVATE OFS_EXPORT) 25 | 26 | set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/lib) 27 | 28 | install(TARGETS OFS 29 | LIBRARY DESTINATION lib 30 | ARCHIVE DESTINATION lib 31 | RUNTIME DESTINATION bin) 32 | -------------------------------------------------------------------------------- /Dependencies/OFS/include/ofs.h: -------------------------------------------------------------------------------- 1 | /*///////////////////////////////////////////////////////////////////////////////// 2 | /// An 3 | /// ___ ____ ___ _____ ___ ____ 4 | /// / _ \ / ___|_ _|_ _/ _ \| _ \ 5 | /// | | | | | _ | | | || | | | |_) | 6 | /// | |_| | |_| || | | || |_| | _ < 7 | /// \___/ \____|___| |_| \___/|_| \_\ 8 | /// File 9 | /// 10 | /// Copyright (c) 2008-2015 Ismail TARIM and the Ogitor Team 11 | //// 12 | /// The MIT License 13 | /// 14 | /// Permission is hereby granted, free of charge, to any person obtaining a copy 15 | /// of this software and associated documentation files (the "Software"), to deal 16 | /// in the Software without restriction, including without limitation the rights 17 | /// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 18 | /// copies of the Software, and to permit persons to whom the Software is 19 | /// furnished to do so, subject to the following conditions: 20 | /// 21 | /// The above copyright notice and this permission notice shall be included in 22 | /// all copies or substantial portions of the Software. 23 | /// 24 | /// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 25 | /// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 26 | /// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 27 | /// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 28 | /// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 29 | /// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 30 | /// THE SOFTWARE. 31 | ///////////////////////////////////////////////////////////////////////////////////*/ 32 | 33 | #pragma once 34 | 35 | #include "ofs_base.h" 36 | #include "ofs_converter.h" 37 | 38 | #ifdef __GNUC__ 39 | #define sprintf_s snprintf 40 | #endif 41 | 42 | //------------------------------------------------------------------------------ 43 | -------------------------------------------------------------------------------- /Dependencies/OgreTerrainConverter/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 2.8) 2 | set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS TRUE) 3 | cmake_policy(SET CMP0003 NEW) 4 | 5 | project(OgreTerrainConverter) 6 | 7 | set(OgreTerrainConverter_SOURCE 8 | source/OgreTerrainConverter.cpp 9 | ) 10 | 11 | set(OgreTerrainConverter_HEADERS 12 | include/OgreTerrainConverter.h 13 | ) 14 | 15 | include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include 16 | ) 17 | 18 | ogitor_add_library(OgreTerrainConverter SHARED ${OgreTerrainConverter_SOURCE} ${OgreTerrainConverter_HEADERS}) 19 | 20 | target_link_libraries(OgreTerrainConverter ${OGRE_LIBRARIES}) 21 | 22 | set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/lib) 23 | 24 | set_target_properties(OgreTerrainConverter PROPERTIES COMPILE_DEFINITIONS "OgreTerrainConverter_EXPORT") 25 | 26 | install(TARGETS OgreTerrainConverter 27 | LIBRARY DESTINATION lib 28 | ARCHIVE DESTINATION lib 29 | RUNTIME DESTINATION bin) 30 | -------------------------------------------------------------------------------- /Dependencies/TinyXML/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 2.8.11) 2 | 3 | project(TinyXML) 4 | 5 | set(TINYXML_SOURCES 6 | tinyxml.cpp 7 | tinystr.cpp 8 | tinyxmlerror.cpp 9 | tinyxmlparser.cpp 10 | ) 11 | 12 | set(TINYXML_HEADERS 13 | tinyxml.h 14 | tinystr.h 15 | ) 16 | 17 | add_library(TinyXML STATIC ${TINYXML_SOURCES} ${TINYXML_HEADERS}) 18 | 19 | target_include_directories(TinyXML PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) -------------------------------------------------------------------------------- /Dependencies/TinyXML/tinyxmlerror.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | www.sourceforge.net/projects/tinyxml 3 | Original code (2.0 and earlier )copyright (c) 2000-2006 Lee Thomason (www.grinninglizard.com) 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any 7 | damages arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any 10 | purpose, including commercial applications, and to alter it and 11 | redistribute it freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must 14 | not claim that you wrote the original software. If you use this 15 | software in a product, an acknowledgment in the product documentation 16 | would be appreciated but is not required. 17 | 18 | 2. Altered source versions must be plainly marked as such, and 19 | must not be misrepresented as being the original software. 20 | 21 | 3. This notice may not be removed or altered from any source 22 | distribution. 23 | */ 24 | 25 | #include "tinyxml.h" 26 | 27 | // The goal of the seperate error file is to make the first 28 | // step towards localization. tinyxml (currently) only supports 29 | // english error messages, but the could now be translated. 30 | // 31 | // It also cleans up the code a bit. 32 | // 33 | 34 | const char* TiXmlBase::errorString[ TiXmlBase::TIXML_ERROR_STRING_COUNT ] = 35 | { 36 | "No error", 37 | "Error", 38 | "Failed to open file", 39 | "Error parsing Element.", 40 | "Failed to read Element name", 41 | "Error reading Element value.", 42 | "Error reading Attributes.", 43 | "Error: empty tag.", 44 | "Error reading end tag.", 45 | "Error parsing Unknown.", 46 | "Error parsing Comment.", 47 | "Error parsing Declaration.", 48 | "Error document empty.", 49 | "Error null (0) or unexpected EOF found in input stream.", 50 | "Error parsing CDATA.", 51 | "Error when TiXmlDocument added to document, because TiXmlDocument can only be at the root.", 52 | }; 53 | -------------------------------------------------------------------------------- /Documentation/API/API_docs_goes_here.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/Documentation/API/API_docs_goes_here.txt -------------------------------------------------------------------------------- /Documentation/CreatingEditorObjectPlugins.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/Documentation/CreatingEditorObjectPlugins.doc -------------------------------------------------------------------------------- /Documentation/CreatingSerializerPlugins.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/Documentation/CreatingSerializerPlugins.doc -------------------------------------------------------------------------------- /Documentation/Ofs_v11_Diag.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/Documentation/Ofs_v11_Diag.xls -------------------------------------------------------------------------------- /Documentation/Ofs_v12_Diag.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/Documentation/Ofs_v12_Diag.xls -------------------------------------------------------------------------------- /Documentation/Ofs_v14_Diag.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/Documentation/Ofs_v14_Diag.xls -------------------------------------------------------------------------------- /Documentation/footer.html: -------------------------------------------------------------------------------- 1 |
2 | Generated on $datetime for $projectname by doxygen $doxygenversion
3 | 4 | 5 | -------------------------------------------------------------------------------- /Documentation/header.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | $title 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /Help/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | 2 | #execute_process( 3 | # COMMAND %QTDIR%/bin/qhelpgenerator ogitor.qhp -o ogitor.qch 4 | # WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/Help) 5 | #execute_process( 6 | # COMMAND %QTDIR%/bin/qcollectiongenerator collection_ogitor.qhcp -o collection_ogitor.qhc 7 | # WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/Help) 8 | 9 | if(WIN32) 10 | execute_process( 11 | COMMAND %QTDIR%/bin/qhelpgenerator ogitor.qhp -o ogitor.qch 12 | WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/Help) 13 | 14 | execute_process( 15 | COMMAND %QTDIR%/bin/qcollectiongenerator collection_ogitor.qhcp -o collection_ogitor.qhc 16 | WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/Help) 17 | 18 | install(FILES 19 | collection_ogitor.qhc 20 | ogitor.qch 21 | DESTINATION bin/Help 22 | CONFIGURATIONS Debug) 23 | 24 | install(FILES 25 | collection_ogitor.qhc 26 | ogitor.qch 27 | DESTINATION bin/Help 28 | CONFIGURATIONS Release RelWithDebInfo MinSizeRel) 29 | endif(WIN32) 30 | 31 | if(UNIX AND NOT APPLE) 32 | execute_process( 33 | COMMAND qhelpgenerator ogitor.qhp -o ogitor.qch 34 | WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/Help) 35 | 36 | execute_process( 37 | COMMAND qcollectiongenerator collection_ogitor.qhcp -o collection_ogitor.qhc 38 | WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/Help) 39 | 40 | if(OGITOR_DIST) 41 | install(FILES 42 | collection_ogitor.qhc 43 | ogitor.qch 44 | DESTINATION ${CMAKE_INSTALL_PREFIX}/share/ogitor/Help) 45 | endif(OGITOR_DIST) 46 | endif(UNIX AND NOT APPLE) 47 | 48 | # vim: set sw=2 ts=2 noet: 49 | -------------------------------------------------------------------------------- /Help/about.txt: -------------------------------------------------------------------------------- 1 | Ogitor 0.5.4 2 | - the plugin-based WISIWYG Scene Builder Environment for 3 | Ogre3D. 4 | -------------------------------------------------------------------------------- /Help/build_help.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | qhelpgenerator ogitor.qhp -o ogitor.qch 3 | qcollectiongenerator collection_ogitor.qhcp -o collection_ogitor.qhc 4 | 5 | -------------------------------------------------------------------------------- /Help/collection_ogitor.qhcp: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Ogitor Help 5 | qthelp://ogitor/doc/index.html 6 | qthelp://ogitor/doc/index.html 7 | Ogitor Help 0.4.3 8 | ogicon.png 9 | true 10 | true 11 | true 12 | ogitor 13 | 14 | About Ogitor 15 | 16 | 17 | about.txt 18 | ogitor.png 19 | 20 | 21 | 22 | 23 | 24 | ogitor.qhp 25 | ogitor.qch 26 | 27 | 28 | 29 | ogitor.qch 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /Help/compile_docs.bat: -------------------------------------------------------------------------------- 1 | %QTDIR%\bin\qhelpgenerator ogitor.qhp -o ogitor.qch 2 | 3 | %QTDIR%\bin\qcollectiongenerator collection_ogitor.qhcp -o collection_ogitor.qhc 4 | 5 | pause -------------------------------------------------------------------------------- /Help/first_scene.html: -------------------------------------------------------------------------------- 1 | 2 | Ogitor Help - Controls 3 | 4 | 5 | 6 | 7 | 8 |
9 |
10 |
11 |
12 |

Your First Scene.

13 | 14 | 15 |

Creating A New Project.

16 | 17 | 18 |

There are only a few steps necessary to create a new project in Ogitor.

19 | 20 | 21 |
    22 |
  1. Select New Scene
  2. 23 |
  3. Enter the root of your Project Directory
  4. 24 |
  5. Enter your Project Name
  6. 25 |
  7. Choose the SceneManager you like (default is OctreeSceneManager)
  8. 26 |
  9. A directory with the given project name will be created in the directory you specified
  10. 27 | 28 |
  11. Click OK
  12. 29 |
30 | 31 | 32 |

Setting Up Project Resources.

33 | 34 | 35 |

To use some resources in your project you have to add them to your project.

36 | 37 | 38 |
    39 |
  1. Copy the files you want to use in your project to your project directory (you can create folders and put your assets there, like materials, models, terrain etc.).
  2. 40 |
  3. Click the Project Settings in the toolbar
  4. 41 |
  5. On the Assets page, right click the emtpy listbox
  6. 42 |
  7. Add the asset directories (or zip files)
  8. 43 |
  9. Click Ok
  10. 44 | 45 |
46 | 47 | 48 |

Now the meshes you added will appear in the Meshes Window to be drag&dropped to the scene
The materials you added are ready to be used through the material properties of the objects you add to the scene

49 | 50 | 51 |

52 | 53 | 54 |
55 |
56 |
57 |
58 | -------------------------------------------------------------------------------- /Help/interface.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/Help/interface.png -------------------------------------------------------------------------------- /Help/intro1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/Help/intro1.png -------------------------------------------------------------------------------- /Help/materials.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/Help/materials.png -------------------------------------------------------------------------------- /Help/ogicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/Help/ogicon.png -------------------------------------------------------------------------------- /Help/ogitor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/Help/ogitor.png -------------------------------------------------------------------------------- /Help/test_collection.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/Help/test_collection.bat -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2008-2013 Ismail TARIM and the Ogitor Team 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /Mac/plugins.cfg: -------------------------------------------------------------------------------- 1 | # Define plugin folder 2 | PluginFolder= 3 | 4 | # Define plugins 5 | Plugin=libPlugin_CgProgramManager 6 | Plugin=libRenderSystem_GL 7 | Plugin=libPlugin_ParticleFX 8 | Plugin=libPlugin_OctreeSceneManager 9 | Plugin=libOgreOfsPlugin 10 | 11 | 12 | -------------------------------------------------------------------------------- /Mac/resources.cfg: -------------------------------------------------------------------------------- 1 | # Resource locations to be added to the 'boostrap' path 2 | # This also contains the minimum you need to use the Ogre example framework 3 | [Bootstrap] 4 | Zip=../Resources/Media/packs/OgreCore.zip 5 | Zip=../Resources/Media/packs/SdkTrays.zip 6 | 7 | # Resource locations to be added to the default path 8 | [General] 9 | FileSystem=../Resources/Media/particle 10 | 11 | [EditorResources] 12 | FileSystem=../Resources/Media/EditorResources 13 | 14 | [Brushes] 15 | FileSystem=../Resources/Media/brushes 16 | 17 | [Plants] 18 | FileSystem=../Resources/Media/plants 19 | 20 | [TerrainTextures] 21 | FileSystem=../Resources/Media/TerrainTextures 22 | -------------------------------------------------------------------------------- /OGRE_COPYING: -------------------------------------------------------------------------------- 1 | OGRE (www.ogre3d.org) is made available under the MIT License. 2 | 3 | Copyright (c) 2000-2013 Torus Knot Software Ltd 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. -------------------------------------------------------------------------------- /Ogitor/include/Event.h: -------------------------------------------------------------------------------- 1 | /*///////////////////////////////////////////////////////////////////////////////// 2 | /// An 3 | /// ___ ____ ___ _____ ___ ____ 4 | /// / _ \ / ___|_ _|_ _/ _ \| _ \ 5 | /// | | | | | _ | | | || | | | |_) | 6 | /// | |_| | |_| || | | || |_| | _ < 7 | /// \___/ \____|___| |_| \___/|_| \_\ 8 | /// File 9 | /// 10 | /// Copyright (c) 2008-2015 Ismail TARIM and the Ogitor Team 11 | //// 12 | /// The MIT License 13 | /// 14 | /// Permission is hereby granted, free of charge, to any person obtaining a copy 15 | /// of this software and associated documentation files (the "Software"), to deal 16 | /// in the Software without restriction, including without limitation the rights 17 | /// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 18 | /// copies of the Software, and to permit persons to whom the Software is 19 | /// furnished to do so, subject to the following conditions: 20 | /// 21 | /// The above copyright notice and this permission notice shall be included in 22 | /// all copies or substantial portions of the Software. 23 | /// 24 | /// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 25 | /// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 26 | /// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 27 | /// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 28 | /// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 29 | /// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 30 | /// THE SOFTWARE. 31 | ////////////////////////////////////////////////////////////////////////////////*/ 32 | 33 | #ifndef EVENT_H 34 | #define EVENT_H 35 | 36 | namespace Ogitors 37 | { 38 | typedef StringId event_id_type; 39 | 40 | /// Interface for a Message 41 | class OgitorExport IEvent 42 | { 43 | public: 44 | virtual ~IEvent() = 0; 45 | virtual const event_id_type& getID() const = 0; 46 | 47 | protected: 48 | /// Protected constructor, only derived classes can be constructed. 49 | IEvent() {} 50 | }; 51 | } 52 | 53 | #endif -------------------------------------------------------------------------------- /Ogitor/include/OBBoxRenderable.h: -------------------------------------------------------------------------------- 1 | // This Class is taken from OGRE Wiki 2 | 3 | #pragma once 4 | 5 | #include 6 | #include 7 | 8 | namespace Ogitors 9 | { 10 | //! Object-oriented box class 11 | /*! 12 | An object-oriented box class implementation that is not present in OGRE 13 | */ 14 | class OBBoxRenderable : public Ogre::SimpleRenderable 15 | { 16 | private: 17 | Ogre::VertexData vertexes; /** Box' vertices */ 18 | 19 | public: 20 | /** 21 | * Constructor 22 | * @param Material name for the box 23 | * @param colour colour of the box 24 | */ 25 | OBBoxRenderable(); 26 | /** 27 | * Destructor 28 | */ 29 | virtual ~OBBoxRenderable(); 30 | /** 31 | * Sets up object-oriented box using standard AABB 32 | * @param aab AAB box 33 | */ 34 | void setupVertices(const Ogre::AxisAlignedBox& aab); 35 | /** 36 | * Fetches squared view depth 37 | * @param camera handle to current camera 38 | * @return squared view depth 39 | */ 40 | Ogre::Real getSquaredViewDepth(const Ogre::Camera* camera)const; 41 | /** 42 | * Fetches calculated bounding sphere radius 43 | * @return bounding sphere radius 44 | */ 45 | Ogre::Real getBoundingRadius()const; 46 | /** 47 | * Fetches world transformation matrix 48 | * @param xform handle to matrix into which to put world transformation 49 | */ 50 | virtual void getWorldTransforms (Ogre::Matrix4 *xform)const; 51 | 52 | using Ogre::SimpleRenderable::setMaterial; 53 | 54 | void setMaterial(const Ogre::String& mat) 55 | { 56 | setMaterial(Ogre::MaterialManager::getSingleton().getByName(mat)); 57 | } 58 | }; 59 | } 60 | -------------------------------------------------------------------------------- /Ogitor/src/PrecompiledHeaders.cpp: -------------------------------------------------------------------------------- 1 | /*///////////////////////////////////////////////////////////////////////////////// 2 | /// An 3 | /// ___ ____ ___ _____ ___ ____ 4 | /// / _ \ / ___|_ _|_ _/ _ \| _ \ 5 | /// | | | | | _ | | | || | | | |_) | 6 | /// | |_| | |_| || | | || |_| | _ < 7 | /// \___/ \____|___| |_| \___/|_| \_\ 8 | /// File 9 | /// 10 | /// Copyright (c) 2008-2015 Ismail TARIM and the Ogitor Team 11 | /// 12 | /// The MIT License 13 | /// 14 | /// Permission is hereby granted, free of charge, to any person obtaining a copy 15 | /// of this software and associated documentation files (the "Software"), to deal 16 | /// in the Software without restriction, including without limitation the rights 17 | /// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 18 | /// copies of the Software, and to permit persons to whom the Software is 19 | /// furnished to do so, subject to the following conditions: 20 | /// 21 | /// The above copyright notice and this permission notice shall be included in 22 | /// all copies or substantial portions of the Software. 23 | /// 24 | /// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 25 | /// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 26 | /// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 27 | /// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 28 | /// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 29 | /// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 30 | /// THE SOFTWARE. 31 | ////////////////////////////////////////////////////////////////////////////////*/ 32 | 33 | #include "OgitorsPrerequisites.h" -------------------------------------------------------------------------------- /OgreOfsPlugin/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | project(OgreOfsPlugin) 2 | 3 | include_directories("${CMAKE_SOURCE_DIR}/Dependencies/OFS/include") 4 | include_directories(include) 5 | 6 | set(OgreOfsPlugin_hdrs 7 | ./include/OfsFileSystem.h 8 | ) 9 | 10 | set(OgreOfsPlugin_srcs 11 | ./src/OfsFileSystem.cpp 12 | ./src/Plugin.cpp 13 | ) 14 | 15 | ogitor_add_library(OgreOfsPlugin SHARED ${OgreOfsPlugin_hdrs} ${OgreOfsPlugin_srcs}) 16 | set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/lib) 17 | 18 | set_target_properties(OgreOfsPlugin PROPERTIES COMPILE_DEFINITIONS "PLUGIN_EXPORT") 19 | 20 | target_link_libraries(OgreOfsPlugin ${OGRE_LIBRARIES} OFS) 21 | 22 | install(TARGETS OgreOfsPlugin 23 | LIBRARY DESTINATION ${OGITOR_LIBOGREOFSPLUGIN_INSTALL_PATH} 24 | ARCHIVE DESTINATION ${OGITOR_LIBOGREOFSPLUGIN_INSTALL_PATH} 25 | RUNTIME DESTINATION ${OGITOR_LIBOGREOFSPLUGIN_INSTALL_PATH}) 26 | # vim: set sw=2 ts=2 noet: 27 | -------------------------------------------------------------------------------- /Plugins/CustomSerializer/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 2.6) 2 | set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS TRUE) 3 | cmake_policy(SET CMP0003 NEW) 4 | 5 | project(CustomSerializer) 6 | 7 | set(HEADER_FILES 8 | CustomSerializer.h 9 | ) 10 | 11 | set(SOURCE_FILES 12 | CustomSerializer.cpp 13 | ) 14 | 15 | set(CustomSerializer_VERSION 0) 16 | set(CustomSerializer_VERSION_MAJOR 1) 17 | 18 | include_directories(include) 19 | # Terrain Scene Manager 20 | include_directories(${DEPENDENCIES_INCLUDES}) 21 | include_directories(${OGITOR_INCLUDES}) 22 | 23 | include_directories(.) 24 | link_directories(${OGITOR_LIBPATH}) 25 | link_directories(${DEPENDENCIES_LIBPATH}) 26 | 27 | link_libraries(${OGRE_LIBRARIES} Ogitor) 28 | ogitor_add_library(CustomSerializer SHARED ${HEADER_FILES} ${SOURCE_FILES}) 29 | set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/lib) 30 | 31 | if(NOT OGITOR_DIST) 32 | set_target_properties(CustomSerializer PROPERTIES INSTALL_RPATH ${OGRE_INSTALL_DIR}/lib/OGRE) 33 | endif(NOT OGITOR_DIST) 34 | 35 | set_target_properties(CustomSerializer PROPERTIES VERSION ${CustomSerializer_VERSION} SOVERSION ${CustomSerializer_VERSION_MAJOR}) 36 | set_target_properties(CustomSerializer PROPERTIES COMPILE_DEFINITIONS PLUGIN_EXPORT) 37 | set_target_properties(CustomSerializer PROPERTIES SOLUTION_FOLDER Plugins) 38 | 39 | install(TARGETS CustomSerializer 40 | LIBRARY DESTINATION ${OGITOR_PLUGIN_INSTALL_PATH} 41 | ARCHIVE DESTINATION ${OGITOR_PLUGIN_INSTALL_PATH} 42 | RUNTIME DESTINATION ${OGITOR_PLUGIN_INSTALL_PATH}) 43 | 44 | 45 | # vim: set sw=2 ts=2 noet: 46 | -------------------------------------------------------------------------------- /Plugins/DotSceneSerializer/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 2.6) 2 | set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS TRUE) 3 | cmake_policy(SET CMP0003 NEW) 4 | 5 | project(DotSceneSerializer) 6 | 7 | set(HEADER_FILES 8 | DotSceneSerializer.h 9 | ) 10 | 11 | set(SOURCE_FILES 12 | DotSceneSerializer.cpp 13 | DotSceneSerializerExport.cpp 14 | ) 15 | 16 | set(DotSceneSerializer_VERSION 0) 17 | set(DotSceneSerializer_VERSION_MAJOR 1) 18 | 19 | include_directories(include) 20 | # Terrain Scene Manager 21 | #include_directories (${OGITOR_SM_INCLUDES}) 22 | include_directories(${DEPENDENCIES_INCLUDES}) 23 | include_directories(${OGITOR_INCLUDES}) 24 | message(STATUS "${OGITOR_INCLUDES}") 25 | 26 | include_directories(.) 27 | link_directories(${OGITOR_LIBPATH}) 28 | link_directories(${DEPENDENCIES_LIBPATH}) 29 | 30 | link_libraries(${OGRE_LIBRARIES} Ogitor TinyXML) 31 | ogitor_add_library(DotSceneSerializer SHARED ${HEADER_FILES} ${SOURCE_FILES}) 32 | #target_link_libraries(OgreMain Ogitor) 33 | set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/lib) 34 | 35 | if(NOT OGITOR_DIST) 36 | set_target_properties(DotSceneSerializer PROPERTIES INSTALL_RPATH ${OGRE_INSTALL_DIR}/lib/OGRE) 37 | endif(NOT OGITOR_DIST) 38 | 39 | set_target_properties(DotSceneSerializer PROPERTIES VERSION ${DotSceneSerializer_VERSION} SOVERSION ${DotSceneSerializer_VERSION_MAJOR}) 40 | set_target_properties(DotSceneSerializer PROPERTIES COMPILE_DEFINITIONS PLUGIN_EXPORT) 41 | set_target_properties(DotSceneSerializer PROPERTIES SOLUTION_FOLDER Plugins) 42 | 43 | install(TARGETS DotSceneSerializer 44 | LIBRARY DESTINATION ${OGITOR_PLUGIN_INSTALL_PATH} 45 | ARCHIVE DESTINATION ${OGITOR_PLUGIN_INSTALL_PATH} 46 | RUNTIME DESTINATION ${OGITOR_PLUGIN_INSTALL_PATH}) 47 | 48 | 49 | # vim: set sw=2 ts=2 noet: 50 | -------------------------------------------------------------------------------- /Plugins/OgAngelDialogManager/inputwidgets.hxx: -------------------------------------------------------------------------------- 1 | /*///////////////////////////////////////////////////////////////////////////////// 2 | /// An 3 | /// ___ ____ ___ _____ ___ ____ 4 | /// / _ \ / ___|_ _|_ _/ _ \| _ \ 5 | /// | | | | | _ | | | || | | | |_) | 6 | /// | |_| | |_| || | | || |_| | _ < 7 | /// \___/ \____|___| |_| \___/|_| \_\ 8 | /// File 9 | /// 10 | /// Copyright (c) 2008-2015 Ismail TARIM and the Ogitor Team 11 | /// 12 | /// The MIT License 13 | /// 14 | /// Permission is hereby granted, free of charge, to any person obtaining a copy 15 | /// of this software and associated documentation files (the "Software"), to deal 16 | /// in the Software without restriction, including without limitation the rights 17 | /// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 18 | /// copies of the Software, and to permit persons to whom the Software is 19 | /// furnished to do so, subject to the following conditions: 20 | /// 21 | /// The above copyright notice and this permission notice shall be included in 22 | /// all copies or substantial portions of the Software. 23 | /// 24 | /// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 25 | /// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 26 | /// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 27 | /// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 28 | /// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 29 | /// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 30 | /// THE SOFTWARE. 31 | ////////////////////////////////////////////////////////////////////////////////*/ 32 | #ifndef INPUTWIDGETS_HXX 33 | #define INPUTWIDGETS_HXX 34 | 35 | void RegisterInputWidgetBindings(asIScriptEngine *engine); 36 | 37 | #endif // INPUTWIDGETS_HXX 38 | 39 | -------------------------------------------------------------------------------- /Plugins/OgAngelDialogManager/res/resource.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Plugins/OgAngelScript/Bindings_Base.h: -------------------------------------------------------------------------------- 1 | /*///////////////////////////////////////////////////////////////////////////////// 2 | /// An 3 | /// ___ ____ ___ _____ ___ ____ 4 | /// / _ \ / ___|_ _|_ _/ _ \| _ \ 5 | /// | | | | | _ | | | || | | | |_) | 6 | /// | |_| | |_| || | | || |_| | _ < 7 | /// \___/ \____|___| |_| \___/|_| \_\ 8 | /// File 9 | /// 10 | /// Copyright (c) 2008-2015 Ismail TARIM and the Ogitor Team 11 | /// 12 | /// The MIT License 13 | /// 14 | /// Permission is hereby granted, free of charge, to any person obtaining a copy 15 | /// of this software and associated documentation files (the "Software"), to deal 16 | /// in the Software without restriction, including without limitation the rights 17 | /// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 18 | /// copies of the Software, and to permit persons to whom the Software is 19 | /// furnished to do so, subject to the following conditions: 20 | /// 21 | /// The above copyright notice and this permission notice shall be included in 22 | /// all copies or substantial portions of the Software. 23 | /// 24 | /// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 25 | /// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 26 | /// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 27 | /// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 28 | /// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 29 | /// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 30 | /// THE SOFTWARE. 31 | ////////////////////////////////////////////////////////////////////////////////*/ 32 | 33 | #ifndef BINDINGS_BASE_H 34 | #define BINDINGS_BASE_H 35 | 36 | class asIScriptEngine; 37 | 38 | namespace Ogitors 39 | { 40 | 41 | void RegisterBaseEditorBindings(asIScriptEngine *engine); 42 | 43 | } 44 | 45 | #endif -------------------------------------------------------------------------------- /Plugins/OgAngelScript/Bindings_Ogre.h: -------------------------------------------------------------------------------- 1 | /*///////////////////////////////////////////////////////////////////////////////// 2 | /// An 3 | /// ___ ____ ___ _____ ___ ____ 4 | /// / _ \ / ___|_ _|_ _/ _ \| _ \ 5 | /// | | | | | _ | | | || | | | |_) | 6 | /// | |_| | |_| || | | || |_| | _ < 7 | /// \___/ \____|___| |_| \___/|_| \_\ 8 | /// File 9 | /// 10 | /// Copyright (c) 2008-2015 Ismail TARIM and the Ogitor Team 11 | /// 12 | /// The MIT License 13 | /// 14 | /// Permission is hereby granted, free of charge, to any person obtaining a copy 15 | /// of this software and associated documentation files (the "Software"), to deal 16 | /// in the Software without restriction, including without limitation the rights 17 | /// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 18 | /// copies of the Software, and to permit persons to whom the Software is 19 | /// furnished to do so, subject to the following conditions: 20 | /// 21 | /// The above copyright notice and this permission notice shall be included in 22 | /// all copies or substantial portions of the Software. 23 | /// 24 | /// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 25 | /// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 26 | /// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 27 | /// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 28 | /// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 29 | /// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 30 | /// THE SOFTWARE. 31 | ////////////////////////////////////////////////////////////////////////////////*/ 32 | 33 | #ifndef BINDINGS_OGRE_H 34 | #define BINDINGS_OGRE_H 35 | 36 | class asIScriptEngine; 37 | 38 | namespace Ogitors 39 | { 40 | 41 | void RegisterOgreBindings(asIScriptEngine *engine); 42 | 43 | } 44 | 45 | #endif -------------------------------------------------------------------------------- /Plugins/OgAngelScript/Bindings_Property.h: -------------------------------------------------------------------------------- 1 | /*///////////////////////////////////////////////////////////////////////////////// 2 | /// An 3 | /// ___ ____ ___ _____ ___ ____ 4 | /// / _ \ / ___|_ _|_ _/ _ \| _ \ 5 | /// | | | | | _ | | | || | | | |_) | 6 | /// | |_| | |_| || | | || |_| | _ < 7 | /// \___/ \____|___| |_| \___/|_| \_\ 8 | /// File 9 | /// 10 | /// Copyright (c) 2008-2015 Ismail TARIM and the Ogitor Team 11 | /// 12 | /// The MIT License 13 | /// 14 | /// Permission is hereby granted, free of charge, to any person obtaining a copy 15 | /// of this software and associated documentation files (the "Software"), to deal 16 | /// in the Software without restriction, including without limitation the rights 17 | /// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 18 | /// copies of the Software, and to permit persons to whom the Software is 19 | /// furnished to do so, subject to the following conditions: 20 | /// 21 | /// The above copyright notice and this permission notice shall be included in 22 | /// all copies or substantial portions of the Software. 23 | /// 24 | /// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 25 | /// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 26 | /// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 27 | /// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 28 | /// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 29 | /// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 30 | /// THE SOFTWARE. 31 | ////////////////////////////////////////////////////////////////////////////////*/ 32 | 33 | /*//////////////////////////////////////////////////////////////////////////////// 34 | // The main script binding functions 35 | ////////////////////////////////////////////////////////////////////////////////*/ 36 | 37 | #ifndef BINDINGS_PROPERTY_H 38 | #define BINDINGS_PROPERTY_H 39 | 40 | class asIScriptEngine; 41 | 42 | namespace Ogitors 43 | { 44 | 45 | void RegisterPropertyBindings(asIScriptEngine *engine); 46 | 47 | }; 48 | 49 | #endif -------------------------------------------------------------------------------- /Plugins/OgAngelScript/Bindings_Viewport.h: -------------------------------------------------------------------------------- 1 | /*///////////////////////////////////////////////////////////////////////////////// 2 | /// An 3 | /// ___ ____ ___ _____ ___ ____ 4 | /// / _ \ / ___|_ _|_ _/ _ \| _ \ 5 | /// | | | | | _ | | | || | | | |_) | 6 | /// | |_| | |_| || | | || |_| | _ < 7 | /// \___/ \____|___| |_| \___/|_| \_\ 8 | /// File 9 | /// 10 | /// Copyright (c) 2008-2015 Ismail TARIM and the Ogitor Team 11 | /// 12 | /// The MIT License 13 | /// 14 | /// Permission is hereby granted, free of charge, to any person obtaining a copy 15 | /// of this software and associated documentation files (the "Software"), to deal 16 | /// in the Software without restriction, including without limitation the rights 17 | /// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 18 | /// copies of the Software, and to permit persons to whom the Software is 19 | /// furnished to do so, subject to the following conditions: 20 | /// 21 | /// The above copyright notice and this permission notice shall be included in 22 | /// all copies or substantial portions of the Software. 23 | /// 24 | /// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 25 | /// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 26 | /// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 27 | /// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 28 | /// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 29 | /// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 30 | /// THE SOFTWARE. 31 | ////////////////////////////////////////////////////////////////////////////////*/ 32 | 33 | #ifndef BINDINGS_VIEWPORT_H 34 | #define BINDINGS_VIEWPORT_H 35 | 36 | class asIScriptEngine; 37 | 38 | namespace Ogitors 39 | { 40 | 41 | void RegisterViewportBindings(asIScriptEngine *engine); 42 | 43 | } 44 | 45 | #endif -------------------------------------------------------------------------------- /Plugins/OgAngelScript/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 2.6) 2 | set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS TRUE) 3 | cmake_policy(SET CMP0003 NEW) 4 | 5 | project(OgAngelScript) 6 | 7 | set(HEADER_FILES 8 | AngelScriptInterpreter.h 9 | Bindings.h 10 | Bindings_Base.h 11 | Bindings_Enum.h 12 | Bindings_MultiSelection.h 13 | Bindings_Ogre.h 14 | Bindings_Property.h 15 | Bindings_Root.h 16 | Bindings_System.h 17 | Bindings_UTF.h 18 | Bindings_Utils.h 19 | Bindings_Viewport.h 20 | ScriptStringExtensions.h 21 | scripthelper.h 22 | stdvector.h 23 | ) 24 | 25 | set(SOURCE_FILES 26 | AngelScriptInterpreter.cpp 27 | Bindings.cpp 28 | Bindings_Base.cpp 29 | Bindings_MultiSelection.cpp 30 | Bindings_Ogre.cpp 31 | Bindings_Property.cpp 32 | Bindings_Viewport.cpp 33 | ScriptStringExtensions.cpp 34 | scripthelper.cpp 35 | ) 36 | 37 | set(OgAngelScript_VERSION 0) 38 | set(OgAngelScript_VERSION_MAJOR 1) 39 | 40 | include_directories(include) 41 | include_directories(${DEPENDENCIES_INCLUDES}) 42 | include_directories(${OGITOR_INCLUDES}) 43 | message(STATUS "${OGITOR_INCLUDES}") 44 | 45 | include_directories(.) 46 | link_directories(${OGITOR_LIBPATH}) 47 | link_directories(${DEPENDENCIES_LIBPATH}) 48 | 49 | link_libraries( ${OGRE_LIBRARIES} Ogitor Angelscript) 50 | add_library(OgAngelScript SHARED ${HEADER_FILES} ${SOURCE_FILES}) 51 | set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/lib) 52 | 53 | add_dependencies(OgAngelScript Ogitor) 54 | add_dependencies(OgAngelScript Angelscript) 55 | 56 | if(NOT OGITOR_DIST) 57 | set_target_properties(OgAngelScript PROPERTIES INSTALL_RPATH ${OGRE_INSTALL_DIR}/lib/OGRE) 58 | endif(NOT OGITOR_DIST) 59 | 60 | set_target_properties(OgAngelScript PROPERTIES VERSION ${OgAngelScript_VERSION} SOVERSION ${OgAngelScript_VERSION_MAJOR}) 61 | set_target_properties(OgAngelScript PROPERTIES COMPILE_DEFINITIONS PLUGIN_EXPORT) 62 | set_target_properties(OgAngelScript PROPERTIES SOLUTION_FOLDER Plugins) 63 | 64 | install(TARGETS OgAngelScript 65 | LIBRARY DESTINATION ${OGITOR_PLUGIN_INSTALL_PATH} 66 | ARCHIVE DESTINATION ${OGITOR_PLUGIN_INSTALL_PATH} 67 | RUNTIME DESTINATION ${OGITOR_PLUGIN_INSTALL_PATH}) 68 | 69 | # vim: set sw=2 ts=2 noet: 70 | -------------------------------------------------------------------------------- /Plugins/OgAngelScript/ScriptStringExtensions.h: -------------------------------------------------------------------------------- 1 | /*///////////////////////////////////////////////////////////////////////////////// 2 | /// An 3 | /// ___ ____ ___ _____ ___ ____ 4 | /// / _ \ / ___|_ _|_ _/ _ \| _ \ 5 | /// | | | | | _ | | | || | | | |_) | 6 | /// | |_| | |_| || | | || |_| | _ < 7 | /// \___/ \____|___| |_| \___/|_| \_\ 8 | /// File 9 | /// 10 | /// Copyright (c) 2008-2015 Ismail TARIM and the Ogitor Team 11 | /// 12 | /// The MIT License 13 | /// 14 | /// Permission is hereby granted, free of charge, to any person obtaining a copy 15 | /// of this software and associated documentation files (the "Software"), to deal 16 | /// in the Software without restriction, including without limitation the rights 17 | /// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 18 | /// copies of the Software, and to permit persons to whom the Software is 19 | /// furnished to do so, subject to the following conditions: 20 | /// 21 | /// The above copyright notice and this permission notice shall be included in 22 | /// all copies or substantial portions of the Software. 23 | /// 24 | /// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 25 | /// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 26 | /// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 27 | /// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 28 | /// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 29 | /// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 30 | /// THE SOFTWARE. 31 | ////////////////////////////////////////////////////////////////////////////////*/ 32 | 33 | /*//////////////////////////////////////////////////////////////////////////////// 34 | // The main script binding functions 35 | ////////////////////////////////////////////////////////////////////////////////*/ 36 | 37 | #ifndef SCRIPTSTRINGEXTENSIONS_H 38 | #define SCRIPTSTRINGEXTENSIONS_H 39 | 40 | class asIScriptEngine; 41 | 42 | namespace Ogitors 43 | { 44 | bool RegisterScriptStringExtensions(asIScriptEngine *engine); 45 | }; 46 | 47 | #endif -------------------------------------------------------------------------------- /Plugins/OgAngelScript/scripthelper.h: -------------------------------------------------------------------------------- 1 | #ifndef SCRIPTHELPER_H 2 | #define SCRIPTHELPER_H 3 | 4 | #ifndef ANGELSCRIPT_H 5 | // Avoid having to inform include path if header is already include before 6 | #include 7 | #endif 8 | 9 | 10 | BEGIN_AS_NAMESPACE 11 | 12 | // Compare relation between two objects of the same type 13 | int CompareRelation(asIScriptEngine *engine, void *lobj, void *robj, int typeId, int &result); 14 | 15 | // Compare equality between two objects of the same type 16 | int CompareEquality(asIScriptEngine *engine, void *lobj, void *robj, int typeId, bool &result); 17 | 18 | // Compile and execute simple statements 19 | // The module is optional. If given the statements can access the entities compiled in the module. 20 | // The caller can optionally provide its own context, for example if a context should be reused. 21 | int ExecuteString(asIScriptEngine *engine, const char *code, asIScriptModule *mod = 0, asIScriptContext *ctx = 0); 22 | 23 | // Write the registered application interface to a file for an offline compiler. 24 | // The format is compatible with the offline compiler in /sdk/samples/asbuild/. 25 | int WriteConfigToFile(asIScriptEngine *engine, const char *filename); 26 | 27 | // Print details of the script exception to the standard output 28 | void PrintException(asIScriptContext *ctx, bool printStack = false); 29 | 30 | END_AS_NAMESPACE 31 | 32 | #endif 33 | -------------------------------------------------------------------------------- /Plugins/OgAngelScript/stdvector.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/Plugins/OgAngelScript/stdvector.h -------------------------------------------------------------------------------- /Plugins/OgCaelum/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 2.6) 2 | set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS TRUE) 3 | cmake_policy(SET CMP0003 NEW) 4 | 5 | project(OgCaelum) 6 | 7 | set(HEADER_FILES 8 | CaelumEditor.h 9 | ) 10 | 11 | set(SOURCE_FILES 12 | CaelumEditor.cpp 13 | ) 14 | 15 | set(OgCaelum_VERSION 0) 16 | set(OgCaelum_VERSION_MAJOR 1) 17 | 18 | include_directories(include) 19 | # Terrain Scene Manager 20 | #include_directories (${OGITOR_SM_INCLUDES}) 21 | include_directories(${DEPENDENCIES_INCLUDES}) 22 | include_directories(${OGITOR_INCLUDES}) 23 | message(STATUS "${OGITOR_INCLUDES}") 24 | 25 | include_directories(.) 26 | link_directories(${OGITOR_LIBPATH}) 27 | link_directories(${DEPENDENCIES_LIBPATH}) 28 | 29 | link_libraries(${OGRE_LIBRARIES} Ogitor) 30 | add_library(OgCaelum SHARED ${HEADER_FILES} ${SOURCE_FILES}) 31 | if(WIN32) 32 | target_link_libraries(OgCaelum debug ${DEPENDENCIES_LIBPATH}/Caelum_d.lib optimized ${DEPENDENCIES_LIBPATH}/Caelum.lib) 33 | else() 34 | target_link_libraries(OgCaelum debug ${DEPENDENCIES_LIBPATH}/Caelum_d.so optimized ${DEPENDENCIES_LIBPATH}/Caelum.so) 35 | endif() 36 | #target_link_libraries(OgreMain Ogitor ETL) 37 | set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/lib) 38 | 39 | if(NOT OGITOR_DIST) 40 | set_target_properties(OgCaelum PROPERTIES INSTALL_RPATH ${OGRE_INSTALL_DIR}/lib/OGRE) 41 | endif(NOT OGITOR_DIST) 42 | 43 | set_target_properties(OgCaelum PROPERTIES SOLUTION_FOLDER Plugins) 44 | set_target_properties(OgCaelum PROPERTIES VERSION ${OgCaelum_VERSION} SOVERSION ${OgCaelum_VERSION_MAJOR}) 45 | set_target_properties(OgCaelum PROPERTIES COMPILE_DEFINITIONS PLUGIN_EXPORT) 46 | install(TARGETS OgCaelum 47 | LIBRARY DESTINATION ${OGITOR_PLUGIN_INSTALL_PATH} 48 | ARCHIVE DESTINATION ${OGITOR_PLUGIN_INSTALL_PATH} 49 | RUNTIME DESTINATION ${OGITOR_PLUGIN_INSTALL_PATH}) 50 | # vim: set sw=2 ts=2 noet: 51 | -------------------------------------------------------------------------------- /Plugins/OgHydrax/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 2.6) 2 | set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS TRUE) 3 | cmake_policy(SET CMP0003 NEW) 4 | 5 | project(OgHydrax) 6 | 7 | set(HEADER_FILES 8 | HydraxWaterEditor.h 9 | ) 10 | 11 | set(SOURCE_FILES 12 | HydraxWaterEditor.cpp 13 | ) 14 | 15 | set(OgHydrax_VERSION 0) 16 | set(OgHydrax_VERSION_MAJOR 1) 17 | 18 | include_directories(include) 19 | # Terrain Scene Manager 20 | #include_directories(${OGITOR_SM_INCLUDES}) 21 | include_directories(${DEPENDENCIES_INCLUDES}) 22 | include_directories(${OGITOR_INCLUDES}) 23 | message(STATUS "${OGITOR_INCLUDES}") 24 | 25 | include_directories(.) 26 | link_directories(${OGITOR_LIBPATH}) 27 | link_directories(${DEPENDENCIES_LIBPATH}) 28 | 29 | link_libraries(${OGRE_LIBRARIES} Ogitor) 30 | ogitor_add_library(OgHydrax SHARED ${HEADER_FILES} ${SOURCE_FILES}) 31 | if(WIN32) 32 | target_link_libraries(OgHydrax debug ${DEPENDENCIES_LIBPATH}/Hydrax_d.lib optimized ${DEPENDENCIES_LIBPATH}/Hydrax.lib) 33 | else() 34 | target_link_libraries(OgHydrax debug ${DEPENDENCIES_LIBPATH}/Hydrax_d.so optimized ${DEPENDENCIES_LIBPATH}/Hydrax.so) 35 | endif() 36 | #target_link_libraries(OgreMain Ogitor) 37 | set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/lib) 38 | 39 | if(NOT OGITOR_DIST) 40 | set_target_properties(OgHydrax PROPERTIES INSTALL_RPATH ${OGRE_INSTALL_DIR}/lib/OGRE) 41 | endif(NOT OGITOR_DIST) 42 | 43 | set_target_properties(OgHydrax PROPERTIES VERSION ${OgHydrax_VERSION} SOVERSION ${OgHydrax_VERSION_MAJOR}) 44 | set_target_properties(OgHydrax PROPERTIES COMPILE_DEFINITIONS PLUGIN_EXPORT) 45 | set_target_properties(OgHydrax PROPERTIES SOLUTION_FOLDER Plugins) 46 | 47 | install(TARGETS OgHydrax 48 | LIBRARY DESTINATION ${OGITOR_PLUGIN_INSTALL_PATH} 49 | ARCHIVE DESTINATION ${OGITOR_PLUGIN_INSTALL_PATH} 50 | RUNTIME DESTINATION ${OGITOR_PLUGIN_INSTALL_PATH}) 51 | 52 | # vim: set sw=2 ts=2 noet: 53 | -------------------------------------------------------------------------------- /Plugins/OgMaterialEditor/res/resource.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | icons/material.svg 4 | syntax_highlighting/matDataTypes.txt 5 | syntax_highlighting/matEnums.txt 6 | syntax_highlighting/matKeys.txt 7 | 8 | 9 | -------------------------------------------------------------------------------- /Plugins/OgModularZone/ModularZonePlugin.h: -------------------------------------------------------------------------------- 1 | ///Modular Zone Plugin 2 | /// 3 | /// Copyright (c) 2009 Gary Mclean 4 | // 5 | //This program is free software; you can redistribute it and/or modify it under 6 | //the terms of the GNU Lesser General Public License as published by the Free Software 7 | //Foundation; either version 2 of the License, or (at your option) any later 8 | //version. 9 | // 10 | //This program is distributed in the hope that it will be useful, but WITHOUT 11 | //ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 12 | //FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 13 | // 14 | //You should have received a copy of the GNU Lesser General Public License along with 15 | //this program; if not, write to the Free Software Foundation, Inc., 59 Temple 16 | //Place - Suite 330, Boston, MA 02111-1307, USA, or go to 17 | //http://www.gnu.org/copyleft/lesser.txt. 18 | ////////////////////////////////////////////////////////////////////////////////*/ 19 | 20 | #ifndef MODULAR_ZONE_PLUGIN_H 21 | #define MODULAR_ZONE_PLUGIN_H 22 | 23 | #if OGRE_PLATFORM == OGRE_PLATFORM_WIN32 24 | #ifdef PLUGIN_EXPORT 25 | #define PluginExport __declspec (dllexport) 26 | #else 27 | #define PluginExport __declspec (dllimport) 28 | #endif 29 | #else 30 | #define PluginExport 31 | #endif 32 | 33 | extern "C" bool PluginExport dllStartPlugin(void *identifier, Ogre::String& name); 34 | 35 | extern "C" bool PluginExport dllGetPluginName(Ogre::String& name); 36 | 37 | extern "C" bool PluginExport dllStopPlugin(void); 38 | 39 | #endif -------------------------------------------------------------------------------- /Plugins/OgModularZone/ModularZoneToolbar.hxx: -------------------------------------------------------------------------------- 1 | ///Modular Zone Plugin 2 | /// 3 | /// Copyright (c) 2009 Gary Mclean 4 | // 5 | //This program is free software; you can redistribute it and/or modify it under 6 | //the terms of the GNU Lesser General Public License as published by the Free Software 7 | //Foundation; either version 2 of the License, or (at your option) any later 8 | //version. 9 | // 10 | //This program is distributed in the hope that it will be useful, but WITHOUT 11 | //ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 12 | //FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 13 | // 14 | //You should have received a copy of the GNU Lesser General Public License along with 15 | //this program; if not, write to the Free Software Foundation, Inc., 59 Temple 16 | //Place - Suite 330, Boston, MA 02111-1307, USA, or go to 17 | //http://www.gnu.org/copyleft/lesser.txt. 18 | ////////////////////////////////////////////////////////////////////////////////*/ 19 | 20 | #ifndef MODULAR_ZONE_TOOLBAR_H 21 | #define MODULAR_ZONE_TOOLBAR_H 22 | 23 | #include 24 | #include 25 | #include 26 | #include 27 | #include 28 | #include 29 | #include 30 | #include "ZoneListWidget.hxx" 31 | 32 | namespace MZP 33 | { 34 | 35 | class ModularZoneToolbar : public QWidget 36 | { 37 | Q_OBJECT; 38 | public: 39 | ModularZoneToolbar(QWidget *parent = 0); 40 | virtual ~ModularZoneToolbar(void); 41 | QToolBar* getToolbar(void){return mZoneSelectionToolbar;} 42 | 43 | //Slots 44 | public Q_SLOTS: 45 | void addZoneProperties(void); 46 | void createZone(void); 47 | 48 | protected: 49 | QToolBar* mZoneSelectionToolbar; 50 | 51 | ZoneListWidget* widget; 52 | }; 53 | } 54 | 55 | #endif 56 | 57 | -------------------------------------------------------------------------------- /Plugins/OgModularZone/PortalFactory.h: -------------------------------------------------------------------------------- 1 | ///Modular Zone Plugin 2 | /// 3 | /// Copyright (c) 2009 Gary Mclean 4 | // 5 | //This program is free software; you can redistribute it and/or modify it under 6 | //the terms of the GNU Lesser General Public License as published by the Free Software 7 | //Foundation; either version 2 of the License, or (at your option) any later 8 | //version. 9 | // 10 | //This program is distributed in the hope that it will be useful, but WITHOUT 11 | //ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 12 | //FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 13 | // 14 | //You should have received a copy of the GNU Lesser General Public License along with 15 | //this program; if not, write to the Free Software Foundation, Inc., 59 Temple 16 | //Place - Suite 330, Boston, MA 02111-1307, USA, or go to 17 | //http://www.gnu.org/copyleft/lesser.txt. 18 | ////////////////////////////////////////////////////////////////////////////////*/ 19 | 20 | #ifndef PROTAL_FACTORY_H 21 | #define PROTAL_FACTORY_H 22 | 23 | #include "OgitorsPrerequisites.h" 24 | #include "BaseEditor.h" 25 | #include "OgitorsRoot.h" 26 | #include "NodeEditor.h" 27 | 28 | using namespace Ogitors; 29 | 30 | namespace MZP 31 | { 32 | 33 | class PortalFactory : public CNodeEditorFactory 34 | { 35 | public: 36 | PortalFactory(OgitorsView *view = 0); 37 | virtual ~PortalFactory(void){}; 38 | 39 | /** @copydoc CBaseEditorFactory::CreateObject(CBaseEditor **, OgitorsPropertyValueMap &) */ 40 | virtual CBaseEditor *CreateObject(CBaseEditor **parent, OgitorsPropertyValueMap ¶ms); 41 | 42 | /** @copydoc CBaseEditorFactory::GetPlaceHolderName() */ 43 | virtual Ogre::String GetPlaceHolderName() {return "scbMarker.mesh";}; 44 | 45 | virtual CBaseEditorFactory* duplicate(OgitorsView *view); 46 | }; 47 | 48 | } 49 | 50 | #endif -------------------------------------------------------------------------------- /Plugins/OgModularZone/exportzonedialog.cpp: -------------------------------------------------------------------------------- 1 | #include "exportzonedialog.hxx" 2 | #include "ui_exportzonedialog.h" 3 | 4 | ExportZoneDialog::ExportZoneDialog(QWidget *parent) : 5 | QDialog(parent), 6 | m_ui(new Ui::ExportZoneDialog) 7 | { 8 | m_ui->setupUi(this); 9 | } 10 | 11 | ExportZoneDialog::~ExportZoneDialog() 12 | { 13 | delete m_ui; 14 | } 15 | 16 | void ExportZoneDialog::changeEvent(QEvent *e) 17 | { 18 | QDialog::changeEvent(e); 19 | switch (e->type()) { 20 | case QEvent::LanguageChange: 21 | m_ui->retranslateUi(this); 22 | break; 23 | default: 24 | break; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Plugins/OgModularZone/exportzonedialog.hxx: -------------------------------------------------------------------------------- 1 | #ifndef EXPORTZONEDIALOG_H 2 | #define EXPORTZONEDIALOG_H 3 | 4 | #include 5 | #include "ui_exportzonedialog.h" 6 | #include "OgreString.h" 7 | 8 | //namespace Ui { 9 | // class ExportZoneDialog; 10 | //} 11 | 12 | class ExportZoneDialog : public QDialog,public Ui::ExportZoneDialog{ 13 | Q_OBJECT 14 | public: 15 | ExportZoneDialog(QWidget *parent = 0); 16 | ~ExportZoneDialog(); 17 | Ogre::String getShortDescription(void){return m_ui->lineEditShortDesc->text().toStdString();} 18 | Ogre::String getLongDescription(void){return m_ui->plainTextEditLongDesc->toPlainText().toStdString();} 19 | Ogre::String getFileName(void){return m_ui->lineEditFileName->text().toStdString();} 20 | 21 | 22 | protected: 23 | void changeEvent(QEvent *e); 24 | 25 | private: 26 | Ui::ExportZoneDialog *m_ui; 27 | }; 28 | 29 | #endif // EXPORTZONEDIALOG_H 30 | -------------------------------------------------------------------------------- /Plugins/OgModularZone/portalsizedialog.cpp: -------------------------------------------------------------------------------- 1 | #include "portalsizedialog.hxx" 2 | #include "ui_portalsizedialog.h" 3 | #include 4 | 5 | PortalSizeDialog::PortalSizeDialog(QWidget *parent,float x,float y): 6 | QDialog(parent), 7 | //QMainWindow(parent), 8 | ui(new Ui::PortalSizeDialog) 9 | { 10 | ui->setupUi(this); 11 | ui->widthLineEdit->setValidator(new QDoubleValidator(0.0, 999.0, 3, ui->widthLineEdit)); 12 | ui->heightLineEdit->setValidator(new QDoubleValidator(0.0, 999.0, 3, ui->heightLineEdit)); 13 | setWidth(x); 14 | setHeight(y); 15 | 16 | } 17 | 18 | PortalSizeDialog::~PortalSizeDialog() 19 | { 20 | delete ui; 21 | } 22 | 23 | float PortalSizeDialog::getWidth(void) 24 | { 25 | float x = ui->widthLineEdit->text().toFloat(); 26 | if(x < MZP::PortalEditor::MIN_WIDTH)x = MZP::PortalEditor::MIN_WIDTH; 27 | return x; 28 | } 29 | 30 | float PortalSizeDialog::getHeight(void) 31 | { 32 | float y = ui->heightLineEdit->text().toFloat(); 33 | if(y < MZP::PortalEditor::MIN_HEIGHT)y = MZP::PortalEditor::MIN_HEIGHT; 34 | return y; 35 | } 36 | 37 | void PortalSizeDialog::setWidth(float x) 38 | { 39 | ui->widthLineEdit->setText(QString::number(x)); 40 | } 41 | 42 | void PortalSizeDialog::setHeight(float y) 43 | { 44 | ui->heightLineEdit->setText(QString::number(y));; 45 | } 46 | -------------------------------------------------------------------------------- /Plugins/OgModularZone/portalsizedialog.hxx: -------------------------------------------------------------------------------- 1 | #ifndef PORTALSIZEDIALOG_H 2 | #define PORTALSIZEDIALOG_H 3 | 4 | #include "PortalEditor.h" 5 | 6 | #include 7 | 8 | namespace Ui 9 | { 10 | class PortalSizeDialog; 11 | } 12 | 13 | class PortalSizeDialog : public QDialog 14 | { 15 | Q_OBJECT 16 | 17 | public: 18 | PortalSizeDialog(QWidget *parent = 0,float x = MZP::PortalEditor::DEFAULT_WIDTH,float y = MZP::PortalEditor::DEFAULT_HEIGHT); 19 | ~PortalSizeDialog(); 20 | 21 | 22 | private: 23 | Ui::PortalSizeDialog *ui; 24 | 25 | public: 26 | float getWidth(void);//{return ui->widthLineEdit->text().toFloat();} 27 | float getHeight(void);//{return ui->widthLineEdit->text().toFloat();} 28 | void setWidth(float); 29 | void setHeight(float); 30 | }; 31 | 32 | #endif // PORTALSIZEDIALOG_H 33 | -------------------------------------------------------------------------------- /Plugins/OgScreenEffectEditor/res/icons/IconOrigins.txt: -------------------------------------------------------------------------------- 1 | screen_effect.svg: http://clipartist.info//openclipart.org/2011/June/30-Thursday/circle_fourths_12_color.svg -------------------------------------------------------------------------------- /Plugins/OgScreenEffectEditor/res/resource.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | icons/screen_effect.svg 4 | 5 | 6 | -------------------------------------------------------------------------------- /Plugins/OgScriptEditor/res/resource.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | icons/script2.svg 4 | syntax_highlighting/script.txt 5 | 6 | 7 | -------------------------------------------------------------------------------- /Plugins/OgScriptEditor/res/syntax_highlighting/script.txt: -------------------------------------------------------------------------------- 1 | string 2 | int 3 | uint 4 | int8 5 | uint8 6 | int16 7 | uint16 8 | int32 9 | uint32 10 | int64 11 | uint64 12 | float 13 | double 14 | bool 15 | void 16 | const 17 | for 18 | while 19 | if 20 | else 21 | return 22 | case 23 | switch 24 | null 25 | utils 26 | system 27 | root 28 | gui 29 | true 30 | false -------------------------------------------------------------------------------- /Plugins/OgSkyX/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 2.6) 2 | set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS TRUE) 3 | cmake_policy(SET CMP0003 NEW) 4 | 5 | project(OgSkyX) 6 | 7 | set(HEADER_FILES 8 | SkyxEditor.h 9 | ) 10 | 11 | set(SOURCE_FILES 12 | SkyxEditor.cpp 13 | ) 14 | 15 | set(OgSkyX_VERSION 0) 16 | set(OgSkyX_VERSION_MAJOR 4) 17 | 18 | include_directories(include) 19 | # Terrain Scene Manager 20 | #include_directories(${OGITOR_SM_INCLUDES}) 21 | include_directories(${DEPENDENCIES_INCLUDES}) 22 | include_directories(${OGITOR_INCLUDES}) 23 | message(STATUS "${OGITOR_INCLUDES}") 24 | 25 | include_directories(.) 26 | link_directories(${OGITOR_LIBPATH}) 27 | link_directories(${DEPENDENCIES_LIBPATH}) 28 | 29 | link_libraries(${OGRE_LIBRARIES} Ogitor) 30 | add_library(OgSkyX SHARED ${HEADER_FILES} ${SOURCE_FILES}) 31 | if(WIN32) 32 | target_link_libraries(OgSkyX debug ${DEPENDENCIES_LIBPATH}/SkyX_d.lib optimized ${DEPENDENCIES_LIBPATH}/SkyX.lib) 33 | else() 34 | target_link_libraries(OgSkyX debug ${DEPENDENCIES_LIBPATH}/SkyX_d.so optimized ${DEPENDENCIES_LIBPATH}/SkyX.so) 35 | endif() 36 | #target_link_libraries(OgreMain Ogitor) 37 | set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/lib) 38 | 39 | if(NOT OGITOR_DIST) 40 | set_target_properties(OgSkyX PROPERTIES INSTALL_RPATH ${OGRE_INSTALL_DIR}/lib/OGRE) 41 | endif(NOT OGITOR_DIST) 42 | 43 | set_target_properties(OgSkyX PROPERTIES VERSION ${OgSkyX_VERSION} SOVERSION ${OgSkyX_VERSION_MAJOR}) 44 | set_target_properties(OgSkyX PROPERTIES COMPILE_DEFINITIONS PLUGIN_EXPORT) 45 | set_target_properties(OgSkyX PROPERTIES SOLUTION_FOLDER Plugins) 46 | install(TARGETS OgSkyX 47 | LIBRARY DESTINATION ${OGITOR_PLUGIN_INSTALL_PATH} 48 | ARCHIVE DESTINATION ${OGITOR_PLUGIN_INSTALL_PATH} 49 | RUNTIME DESTINATION ${OGITOR_PLUGIN_INSTALL_PATH}) 50 | # vim: set sw=2 ts=2 noet: 51 | -------------------------------------------------------------------------------- /ReadMe.md: -------------------------------------------------------------------------------- 1 |

2 | 3 | _This is the repository for Ogitor SceneBuilder, the WYSIWYG scene editing environment for OGRE_ 4 | 5 |

6 | 7 | ## Fetching updates 8 | Please note that some of Dependencies are in submodules. Do not forget to update them before build. 9 | 10 | ## Building OGITOR 11 | 12 | By default, the build script will download and install the media and projects archives, so you don't have to worry about getting them yourself. 13 | You can choose not to by setting `OGITOR_DOWNLOAD_SAMPLEMEDIA` and `OGITOR_DOWNLOAD_SAMPLEPROJECT` to FALSE when configuring the project with CMake. 14 | 15 | **Note:** you must do the install (as in `make install`) step for ogitor to find the plugins. In doubt uncheck the `OGITOR_DIST` cmake option. 16 | 17 | ## Running OGITOR 18 | 19 | To be able to run Ogitor, you will need the media.zip archive downloaded and extracted into the OGITOR ```"RunPath"``` folder. The projects.zip archive is optional but advised, since it offers a sample scene to get you started. Both archives can be downloaded under the following links: 20 | 21 | * https://github.com/OGRECave/ogitor/releases/download/v0.5.5/media.zip 22 | * https://github.com/OGRECave/ogitor/releases/download/v0.5.5/projects.zip 23 | 24 | # Links 25 | 26 | * https://twitter.com/ogitors 27 | -------------------------------------------------------------------------------- /Resources/OgitorInstall.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/Resources/OgitorInstall.bmp -------------------------------------------------------------------------------- /Resources/OgitorInstall.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/Resources/OgitorInstall.xcf -------------------------------------------------------------------------------- /Resources/OgitorLogo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/Resources/OgitorLogo.jpg -------------------------------------------------------------------------------- /Resources/OgitorLogo.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/Resources/OgitorLogo.xcf -------------------------------------------------------------------------------- /Resources/OgitorLogoSmall.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/Resources/OgitorLogoSmall.jpg -------------------------------------------------------------------------------- /Resources/OgitorLogoSmall.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/Resources/OgitorLogoSmall.xcf -------------------------------------------------------------------------------- /Resources/Ogitor_88_31.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/Resources/Ogitor_88_31.png -------------------------------------------------------------------------------- /Resources/Ogitor_88_31.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/Resources/Ogitor_88_31.xcf -------------------------------------------------------------------------------- /Resources/Ogitor_88_31_trans.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/Resources/Ogitor_88_31_trans.png -------------------------------------------------------------------------------- /Resources/box_04.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/Resources/box_04.jpg -------------------------------------------------------------------------------- /Resources/box_041.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/Resources/box_041.jpg -------------------------------------------------------------------------------- /Resources/box_042.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/Resources/box_042.jpg -------------------------------------------------------------------------------- /Resources/box_043.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/Resources/box_043.jpg -------------------------------------------------------------------------------- /Resources/box_044.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/Resources/box_044.jpg -------------------------------------------------------------------------------- /Resources/ogitor_218_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/Resources/ogitor_218_32.png -------------------------------------------------------------------------------- /Resources/ogitor_218_32.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/Resources/ogitor_218_32.xcf -------------------------------------------------------------------------------- /Resources/ogitor_242_36.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/Resources/ogitor_242_36.png -------------------------------------------------------------------------------- /Resources/ogitor_242_36.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/Resources/ogitor_242_36.xcf -------------------------------------------------------------------------------- /Resources/ogitorweblogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/Resources/ogitorweblogo.png -------------------------------------------------------------------------------- /Resources/ogitorweblogo.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/Resources/ogitorweblogo.xcf -------------------------------------------------------------------------------- /Resources/ogrelogo.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/Resources/ogrelogo.xcf -------------------------------------------------------------------------------- /Resources/screenshot.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/Resources/screenshot.jpg -------------------------------------------------------------------------------- /RunPath/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | ############################################################### 2 | # Install media 3 | ############################################################### 4 | 5 | # Set media target directory 6 | if(WIN32) 7 | install(DIRECTORY ${CMAKE_SOURCE_DIR}/RunPath/ 8 | DESTINATION ${CMAKE_INSTALL_PREFIX} 9 | CONFIGURATIONS Release RelWithDebInfo MinSizeRel 10 | PATTERN ".svn" EXCLUDE 11 | PATTERN "CMakeLists.txt" EXCLUDE 12 | PATTERN "Debug" EXCLUDE 13 | ) 14 | 15 | install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/ 16 | DESTINATION ${CMAKE_INSTALL_PREFIX} 17 | CONFIGURATIONS Debug 18 | PATTERN ".svn" EXCLUDE 19 | PATTERN "CMakeLists.txt" EXCLUDE 20 | PATTERN "bin" EXCLUDE 21 | PATTERN "Debug" EXCLUDE 22 | ) 23 | 24 | install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/bin/SampleAppConfig.xml 25 | ${CMAKE_CURRENT_SOURCE_DIR}/bin/SampleAppConfig_dist.xml 26 | DESTINATION bin 27 | CONFIGURATIONS Debug 28 | ) 29 | endif(WIN32) 30 | 31 | if(UNIX) 32 | install(DIRECTORY ${CMAKE_SOURCE_DIR}/RunPath/ 33 | DESTINATION ${CMAKE_INSTALL_PREFIX}/share/ogitor 34 | PATTERN "CMakeLists.txt" EXCLUDE 35 | PATTERN "Debug" EXCLUDE 36 | PATTERN "Projects" EXCLUDE 37 | PATTERN "bin" EXCLUDE 38 | PATTERN ".xml" EXCLUDE 39 | PATTERN "Plugins/icon_backup" EXCLUDE 40 | ) 41 | 42 | install(FILES 43 | ${CMAKE_SOURCE_DIR}/RunPath/bin/resources.cfg 44 | # Sample app only installed locally ? 45 | #${CMAKE_CURRENT_SOURCE_DIR}/bin/SampleAppConfig.xml 46 | #${CMAKE_CURRENT_SOURCE_DIR}/bin/SampleAppConfig_dist.xml 47 | DESTINATION ${CMAKE_INSTALL_PREFIX}/share/ogitor 48 | ) 49 | 50 | install(FILES ${CMAKE_SOURCE_DIR}/RunPath/bin/SampleAppConfig.xml 51 | #${CMAKE_CURRENT_SOURCE_DIR}/bin/SampleAppConfig_dist.xml 52 | DESTINATION bin 53 | ) 54 | endif(UNIX) 55 | 56 | if (APPLE) 57 | file(COPY Plugins/Icons DESTINATION ${CMAKE_BINARY_DIR}/Plugins) 58 | endif(APPLE) 59 | # vim: set sw=2 ts=2 noet: 60 | -------------------------------------------------------------------------------- /RunPath/Media/brushes/AllWhite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/RunPath/Media/brushes/AllWhite.png -------------------------------------------------------------------------------- /RunPath/Media/brushes/Circular.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/RunPath/Media/brushes/Circular.png -------------------------------------------------------------------------------- /RunPath/Media/brushes/Square.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/RunPath/Media/brushes/Square.png -------------------------------------------------------------------------------- /RunPath/Media/brushes/flat_circular.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/RunPath/Media/brushes/flat_circular.png -------------------------------------------------------------------------------- /RunPath/Media/brushes/noisy_circular1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/RunPath/Media/brushes/noisy_circular1.png -------------------------------------------------------------------------------- /RunPath/Media/brushes/noisy_circular2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/RunPath/Media/brushes/noisy_circular2.png -------------------------------------------------------------------------------- /RunPath/Media/brushes/sharp_circular.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/RunPath/Media/brushes/sharp_circular.png -------------------------------------------------------------------------------- /RunPath/Media/editorResources/builderplane.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/RunPath/Media/editorResources/builderplane.bmp -------------------------------------------------------------------------------- /RunPath/Media/editorResources/decal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/RunPath/Media/editorResources/decal.png -------------------------------------------------------------------------------- /RunPath/Media/editorResources/empty_16_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/RunPath/Media/editorResources/empty_16_0.png -------------------------------------------------------------------------------- /RunPath/Media/editorResources/missing_mesh.mesh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/RunPath/Media/editorResources/missing_mesh.mesh -------------------------------------------------------------------------------- /RunPath/Media/editorResources/pssm.material: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/RunPath/Media/editorResources/pssm.material -------------------------------------------------------------------------------- /RunPath/Media/editorResources/scbArrowEx.mesh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/RunPath/Media/editorResources/scbArrowEx.mesh -------------------------------------------------------------------------------- /RunPath/Media/editorResources/scbCamera.mesh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/RunPath/Media/editorResources/scbCamera.mesh -------------------------------------------------------------------------------- /RunPath/Media/editorResources/scbLight.mesh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/RunPath/Media/editorResources/scbLight.mesh -------------------------------------------------------------------------------- /RunPath/Media/editorResources/scbLight_Direct.mesh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/RunPath/Media/editorResources/scbLight_Direct.mesh -------------------------------------------------------------------------------- /RunPath/Media/editorResources/scbLight_Omni.mesh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/RunPath/Media/editorResources/scbLight_Omni.mesh -------------------------------------------------------------------------------- /RunPath/Media/editorResources/scbLight_Spot.mesh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/RunPath/Media/editorResources/scbLight_Spot.mesh -------------------------------------------------------------------------------- /RunPath/Media/editorResources/scbMarker.mesh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/RunPath/Media/editorResources/scbMarker.mesh -------------------------------------------------------------------------------- /RunPath/Media/editorResources/scbPlane.mesh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/RunPath/Media/editorResources/scbPlane.mesh -------------------------------------------------------------------------------- /RunPath/Media/editorResources/selection.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/RunPath/Media/editorResources/selection.bmp -------------------------------------------------------------------------------- /RunPath/Media/packs/OgreCore.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/RunPath/Media/packs/OgreCore.zip -------------------------------------------------------------------------------- /RunPath/Media/packs/SdkTrays.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/RunPath/Media/packs/SdkTrays.zip -------------------------------------------------------------------------------- /RunPath/Media/particle/P1.material: -------------------------------------------------------------------------------- 1 | material lensflare 2 | { 3 | technique 4 | { 5 | pass 6 | { 7 | lighting off 8 | depth_write off 9 | scene_blend add 10 | 11 | texture_unit 12 | { 13 | texture flare.png 14 | } 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /RunPath/Media/particle/P1.particle: -------------------------------------------------------------------------------- 1 | particle_system EmptyParticle 2 | { 3 | quota 500 4 | material lensflare 5 | particle_width 2 6 | particle_height 12 7 | cull_each false 8 | renderer billboard 9 | 10 | emitter Box 11 | { 12 | angle 2 13 | colour 1 0.189474 0.0631577 1 14 | colour_range_start 1 0.189474 0.0631577 1 15 | colour_range_end 1 0.189474 0.0631577 1 16 | direction 0 -1 0 17 | emission_rate 10 18 | position 0 20 0 19 | velocity 6 20 | velocity_min 6 21 | velocity_max 6 22 | time_to_live 6 23 | time_to_live_min 6 24 | time_to_live_max 6 25 | duration 0 26 | duration_min 0 27 | duration_max 0 28 | repeat_delay 0 29 | repeat_delay_min 0 30 | repeat_delay_max 0 31 | width 2 32 | height 2 33 | depth 2 34 | } 35 | 36 | affector Scaler 37 | { 38 | rate 2 39 | } 40 | 41 | affector ColourFader2 42 | { 43 | red1 0 44 | green1 0.05 45 | blue1 0.01 46 | alpha1 0 47 | red2 0 48 | green2 1 49 | blue2 1 50 | alpha2 0 51 | state_change 0.8 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /RunPath/Media/particle/flare.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/RunPath/Media/particle/flare.png -------------------------------------------------------------------------------- /RunPath/Media/plants/grass.material: -------------------------------------------------------------------------------- 1 | material grass 2 | { 3 | technique 4 | { 5 | pass 6 | { 7 | //lighting off 8 | cull_hardware none 9 | cull_software none 10 | scene_blend alpha_blend 11 | alpha_rejection greater_equal 128 12 | //depth_write off 13 | 14 | texture_unit 15 | { 16 | texture grass.png 17 | } 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /RunPath/Media/plants/grass.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/RunPath/Media/plants/grass.png -------------------------------------------------------------------------------- /RunPath/Media/plants/grass2.material: -------------------------------------------------------------------------------- 1 | material grass2 2 | { 3 | technique 4 | { 5 | pass 6 | { 7 | //lighting off 8 | cull_hardware none 9 | cull_software none 10 | scene_blend alpha_blend 11 | alpha_rejection greater_equal 128 12 | //depth_write off 13 | 14 | texture_unit 15 | { 16 | texture grass2.png 17 | } 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /RunPath/Media/plants/grass2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/RunPath/Media/plants/grass2.png -------------------------------------------------------------------------------- /RunPath/Media/plants/plant1.material: -------------------------------------------------------------------------------- 1 | material 3D-Diggers/plant1sprite 2 | { 3 | technique Default 4 | { 5 | pass Main 6 | { 7 | cull_hardware none 8 | cull_software none 9 | 10 | ambient 0.5 0.5 0.5 1 11 | diffuse 0.6 0.6 0.6 1 12 | 13 | alpha_rejection greater_equal 128 14 | 15 | texture_unit 16 | { 17 | texture plant1.png alpha 18 | } 19 | } 20 | } 21 | } -------------------------------------------------------------------------------- /RunPath/Media/plants/plant1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/RunPath/Media/plants/plant1.png -------------------------------------------------------------------------------- /RunPath/Plugins/Icons/entity.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /RunPath/Plugins/Icons/hydrax.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /RunPath/Plugins/Icons/marker.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /RunPath/Plugins/Icons/multisel16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/RunPath/Plugins/Icons/multisel16.png -------------------------------------------------------------------------------- /RunPath/Plugins/Icons/plane.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /RunPath/Scripts/DlgTest1.as: -------------------------------------------------------------------------------- 1 | void main() 2 | { 3 | Dialog@ dlg = gui.createDialog(350,200); 4 | dlg.setWindowTitle('Experimental QT Dialog'); 5 | VBoxLayout@ layout = gui.createVBoxLayout(); 6 | layout.addWidget(gui.createButton('Button 1'),0,AlignNone); 7 | 8 | ComboBox@ combo = gui.createComboBox(); 9 | combo.setFixedSize(100, 50); 10 | combo.setIconSize(32, 32); 11 | combo.addItem('Text Only'); 12 | combo.addItem(Icon(':/icons/trash.svg'), 'With Icon'); 13 | layout.addWidget(combo,1,AlignNone); 14 | 15 | dlg.setLayout(layout); 16 | 17 | dlg.exec(); 18 | dlg.destroy(); 19 | } -------------------------------------------------------------------------------- /RunPath/Scripts/test.as: -------------------------------------------------------------------------------- 1 | void main() 2 | { 3 | BaseEditor @b = root.findObject('Barrel#0', 0); 4 | 5 | if( b !is null ) 6 | { 7 | Vector3 pos; 8 | pos.x = 0; 9 | pos.y = 0; 10 | pos.z = 0; 11 | if(b.hasProperty('position')) 12 | { 13 | PropertyVector3 @pp = cast(b.getProperty('position')); 14 | pp.set(pos); 15 | b.setSelected(true); 16 | ViewportEditor @v = root.getViewport(); 17 | v.focusSelectedObject(); 18 | } 19 | } 20 | } -------------------------------------------------------------------------------- /RunPath/Scripts/test2.as: -------------------------------------------------------------------------------- 1 | void main() 2 | { 3 | BaseEditor @b; 4 | Vector3 pos(0,0,0); 5 | 6 | EditorVector list; 7 | root.getObjectList('Entity Object', list); 8 | 9 | uint count = list.size(); 10 | for(uint idx = 0; idx < count; ++idx) 11 | { 12 | @b = list[idx]; 13 | string msg = 'Object Found : ' + b.getName(); 14 | printConsole(msg); 15 | CustomPropertySet @pset = b.getCustomProperties(); 16 | if(!pset.hasProperty('physics::mass')) 17 | { 18 | pset.addProperty('physics::mass', PROP_REAL); 19 | pset.addProperty('physics::material', PROP_STRING); 20 | printConsole('Custom properties created for object.'); 21 | } 22 | } 23 | list.clear(); 24 | } -------------------------------------------------------------------------------- /RunPath/Scripts/test3.as: -------------------------------------------------------------------------------- 1 | void main() 2 | { 3 | BaseEditor @b; 4 | Vector3 pos(0,0,0); 5 | 6 | EditorVector list1; 7 | EditorVector list2; 8 | 9 | // get all objects (ETYPE_BASE means all) matching 'tree*' 10 | root.getObjectListByName(ETYPE_BASE, 'tree.*', false, list1); 11 | 12 | // further refine the list with regexp, filling list2 with only 13 | // those that DONT MATCH (true means inverse match) 14 | root.regexpByCustomProperty('physics::.*', true, list1, list2); 15 | 16 | uint count = list2.size(); 17 | for(uint idx = 0; idx < count; ++idx) 18 | { 19 | @b = list2[idx]; 20 | string msg = 'Mathing Object Found : ' + b.getName(); 21 | printConsole(msg); 22 | 23 | // Here we dont check with hasProperty anymore since 24 | // we refined(removed from list) all objects that have it, with regexp 25 | CustomPropertySet @pset = b.getCustomProperties(); 26 | 27 | pset.addProperty('physics::mass', PROP_REAL); 28 | pset.addProperty('physics::material', PROP_STRING); 29 | 30 | printConsole('Custom properties created for object.'); 31 | } 32 | list1.clear(); 33 | list2.clear(); 34 | } -------------------------------------------------------------------------------- /RunPath/Scripts/test4.as: -------------------------------------------------------------------------------- 1 | void main() 2 | { 3 | BaseEditor @b; 4 | Vector3 pos(0,0,0); 5 | 6 | EditorVector list1; 7 | EditorVector list2; 8 | 9 | // get all objects (ETYPE_BASE means all) matching 'tree*' 10 | root.getObjectListByName(ETYPE_BASE, '.*', false, list1); 11 | 12 | // further refine the list with regexp, filling list2 with only 13 | // those that DONT MATCH (true means inverse match) 14 | root.regexpByCustomProperty('physics::.*', true, list1, list2); 15 | 16 | uint count = list2.size(); 17 | 18 | printConsole(count); 19 | 20 | for(uint idx = 0; idx < count; ++idx) 21 | { 22 | @b = list2[idx]; 23 | string msg = 'Mathing Object Found %1: %2'; 24 | 25 | printConsole(msg.arg(idx).arg(b.getName())); 26 | 27 | // Here we dont check with hasProperty anymore since 28 | // we refined(removed from list) all objects that have it, with regexp 29 | CustomPropertySet @pset = b.getCustomProperties(); 30 | 31 | pset.addProperty('physics::mass', PROP_REAL); 32 | pset.addProperty('physics::material', PROP_STRING); 33 | 34 | printConsole('Custom properties created for object.'); 35 | } 36 | list1.clear(); 37 | list2.clear(); 38 | } -------------------------------------------------------------------------------- /RunPath/Scripts/test5.as: -------------------------------------------------------------------------------- 1 | void main() 2 | { 3 | Vector3 pos; 4 | Quaternion orient; 5 | 6 | pos = root.getViewport().getCamera().getDerivedPosition(); 7 | orient = root.getViewport().getCamera().getDerivedOrientation(); 8 | 9 | root.getSelection().setDerivedOrientation(orient); 10 | root.getSelection().setDerivedPosition(pos); 11 | 12 | string msg = 'Pos: (%1 %2 %3) Orient: (%4 %5 %6 %7)'; 13 | printConsole(msg.arg(pos.x).arg(pos.y).arg(pos.z).arg(orient.w).arg(orient.x).arg(orient.y).arg(orient.z)); 14 | } -------------------------------------------------------------------------------- /RunPath/bin/SampleAppConfig.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /RunPath/bin/SampleAppConfig_dist.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /SetByatisVariable.bat: -------------------------------------------------------------------------------- 1 | setx OGRE_BYATIS D:\ogrehead\sdk 2 | 3 | pause 4 | -------------------------------------------------------------------------------- /cmake_uninstall.cmake.in: -------------------------------------------------------------------------------- 1 | if (NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt") 2 | message(FATAL_ERROR "Cannot find install manifest: \"@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt\"") 3 | endif(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt") 4 | 5 | file(READ "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt" files) 6 | string(REGEX REPLACE "\n" ";" files "${files}") 7 | list(REVERSE files) 8 | foreach (file ${files}) 9 | message(STATUS "Uninstalling \"$ENV{DESTDIR}${file}\"") 10 | if (EXISTS "$ENV{DESTDIR}${file}") 11 | execute_process( 12 | COMMAND @CMAKE_COMMAND@ -E remove "$ENV{DESTDIR}${file}" 13 | OUTPUT_VARIABLE rm_out 14 | RESULT_VARIABLE rm_retval 15 | ) 16 | if(NOT ${rm_retval} EQUAL 0) 17 | message(FATAL_ERROR "Problem when removing \"$ENV{DESTDIR}${file}\"") 18 | endif (NOT ${rm_retval} EQUAL 0) 19 | else (EXISTS "$ENV{DESTDIR}${file}") 20 | message(STATUS "File \"$ENV{DESTDIR}${file}\" does not exist.") 21 | endif (EXISTS "$ENV{DESTDIR}${file}") 22 | endforeach(file) 23 | -------------------------------------------------------------------------------- /gen-qt-projectfile: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "TRANSLATIONS = \\" 4 | uis=`find $1/qtOgitor/languages -name "ogitor*.ts"` 5 | for a in $uis; do 6 | echo " " $a \\; 7 | done 8 | echo 9 | 10 | 11 | echo "FORMS = \\" 12 | uis=`find $1/qtOgitor -name "*.ui"` 13 | for a in $uis; do 14 | echo " " $a \\; 15 | done 16 | echo 17 | 18 | echo "HEADERS = \\" 19 | srcs=`find $1/qtOgitor/include -name "*.hxx"` 20 | for a in $srcs; do 21 | echo " " $a \\; 22 | done 23 | srcs=`find $1/qtOgitor/qtpropertybrowser-2.5/src -name "*.h"` 24 | for a in $srcs; do 25 | echo " " $a \\; 26 | done 27 | echo 28 | 29 | echo "SOURCES = \\" 30 | srcs=`find $1/qtOgitor/src -name "*.cpp"` 31 | for a in $srcs; do 32 | echo " " $a \\; 33 | done 34 | srcs=`find $1/qtOgitor/qtpropertybrowser-2.5/src -name "*.cpp"` 35 | for a in $srcs; do 36 | echo " " $a \\; 37 | done 38 | echo 39 | echo 40 | -------------------------------------------------------------------------------- /gen-qt-projectfile.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | set OLD_DIR=%CD% 4 | 5 | cd /d %1 6 | 7 | echo TRANSLATIONS = \ 8 | for /r %1\qtOgitor\languages %%a in (ogitor*.ts) do echo %%a \ 9 | echo. 10 | 11 | 12 | echo FORMS = \ 13 | for /r %1\qtOgitor %%a in (*.ui) do echo %%a \ 14 | echo. 15 | 16 | echo SOURCES = \ 17 | for /r %1\qtOgitor\src %%a in (*.cpp) do echo %%a \ 18 | for /r %1\qtOgitor\qtpropertybrowser-2.5\src %%a in (*.cpp) do echo %%a \ 19 | echo. 20 | 21 | echo HEADERS = \ 22 | for /r %1\qtOgitor\include %%a in (*.hxx) do echo %%a \ 23 | for /r %1\qtOgitor\qtpropertybrowser-2.5\src %%a in (*.h) do echo %%a \ 24 | echo. 25 | 26 | cd /d %OLD_DIR% 27 | -------------------------------------------------------------------------------- /qtOfs/res/icons/about.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /qtOfs/res/icons/defrag.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /qtOfs/res/icons/downarrow.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /qtOfs/res/icons/fileclose.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /qtOfs/res/icons/ogscene.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/qtOfs/res/icons/ogscene.png -------------------------------------------------------------------------------- /qtOfs/res/icons/qtOfs.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/qtOfs/res/icons/qtOfs.ico -------------------------------------------------------------------------------- /qtOfs/res/icons/qtOfs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/qtOfs/res/icons/qtOfs.png -------------------------------------------------------------------------------- /qtOfs/res/icons/sign_minus.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /qtOfs/res/icons/sign_plus.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /qtOfs/res/icons/uparrow.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /qtOfs/res/icons/visibility.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /qtOfs/res/icons/visibility_disabled.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /qtOfs/res/ofs.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/qtOfs/res/ofs.ico -------------------------------------------------------------------------------- /qtOfs/res/qtOfs.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/qtOfs/res/qtOfs.ico -------------------------------------------------------------------------------- /qtOfs/res/qtOfs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/qtOfs/res/qtOfs.png -------------------------------------------------------------------------------- /qtOfs/res/resource.rc: -------------------------------------------------------------------------------- 1 | IDI_ICON1 ICON DISCARDABLE "qtOfs.ico" 2 | IDI_ICON2 ICON DISCARDABLE "ofs.ico" -------------------------------------------------------------------------------- /qtOgitor/icons/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | kde4_install_icons(${CMAKE_INSTALL_PREFIX}/share/icons) -------------------------------------------------------------------------------- /qtOgitor/icons/hi16-app-qtOgitor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/qtOgitor/icons/hi16-app-qtOgitor.png -------------------------------------------------------------------------------- /qtOgitor/icons/hi22-app-qtOgitor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/qtOgitor/icons/hi22-app-qtOgitor.png -------------------------------------------------------------------------------- /qtOgitor/icons/hi24-app-qtOgitor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/qtOgitor/icons/hi24-app-qtOgitor.png -------------------------------------------------------------------------------- /qtOgitor/icons/hi256-app-qtOgitor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/qtOgitor/icons/hi256-app-qtOgitor.png -------------------------------------------------------------------------------- /qtOgitor/icons/hi32-app-qtOgitor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/qtOgitor/icons/hi32-app-qtOgitor.png -------------------------------------------------------------------------------- /qtOgitor/icons/hi48-app-qtOgitor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/qtOgitor/icons/hi48-app-qtOgitor.png -------------------------------------------------------------------------------- /qtOgitor/include/addtemplatedialog.hxx: -------------------------------------------------------------------------------- 1 | /*///////////////////////////////////////////////////////////////////////////////// 2 | /// An 3 | /// ___ ____ ___ _____ ___ ____ 4 | /// / _ \ / ___|_ _|_ _/ _ \| _ \ 5 | /// | | | | | _ | | | || | | | |_) | 6 | /// | |_| | |_| || | | || |_| | _ < 7 | /// \___/ \____|___| |_| \___/|_| \_\ 8 | /// File 9 | /// 10 | /// Copyright (c) 2008-2015 Ismail TARIM and the Ogitor Team 11 | /// 12 | /// The MIT License 13 | /// 14 | /// Permission is hereby granted, free of charge, to any person obtaining a copy 15 | /// of this software and associated documentation files (the "Software"), to deal 16 | /// in the Software without restriction, including without limitation the rights 17 | /// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 18 | /// copies of the Software, and to permit persons to whom the Software is 19 | /// furnished to do so, subject to the following conditions: 20 | /// 21 | /// The above copyright notice and this permission notice shall be included in 22 | /// all copies or substantial portions of the Software. 23 | /// 24 | /// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 25 | /// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 26 | /// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 27 | /// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 28 | /// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 29 | /// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 30 | /// THE SOFTWARE. 31 | ////////////////////////////////////////////////////////////////////////////////*/ 32 | #ifndef ADDTEMPLATEDIALOG_HXX 33 | #define ADDTEMPLATEDIALOG_HXX 34 | 35 | #include 36 | 37 | #include "ui_addtemplatedialog.h" 38 | 39 | class AddTemplateDialog : public QDialog, public Ui::addtemplatedialog { 40 | Q_OBJECT 41 | public: 42 | AddTemplateDialog(QWidget *parent); 43 | virtual ~AddTemplateDialog(); 44 | public Q_SLOTS: 45 | void verifyOK(); 46 | }; 47 | 48 | #endif // ADDTEMPLATEDIALOG_HXX 49 | -------------------------------------------------------------------------------- /qtOgitor/include/application.hxx: -------------------------------------------------------------------------------- 1 | /*///////////////////////////////////////////////////////////////////////////////// 2 | /// An 3 | /// ___ ____ ___ _____ ___ ____ 4 | /// / _ \ / ___|_ _|_ _/ _ \| _ \ 5 | /// | | | | | _ | | | || | | | |_) | 6 | /// | |_| | |_| || | | || |_| | _ < 7 | /// \___/ \____|___| |_| \___/|_| \_\ 8 | /// File 9 | /// 10 | /// Copyright (c) 2008-2015 Ismail TARIM and the Ogitor Team 11 | /// 12 | /// The MIT License 13 | /// 14 | /// Permission is hereby granted, free of charge, to any person obtaining a copy 15 | /// of this software and associated documentation files (the "Software"), to deal 16 | /// in the Software without restriction, including without limitation the rights 17 | /// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 18 | /// copies of the Software, and to permit persons to whom the Software is 19 | /// furnished to do so, subject to the following conditions: 20 | /// 21 | /// The above copyright notice and this permission notice shall be included in 22 | /// all copies or substantial portions of the Software. 23 | /// 24 | /// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 25 | /// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 26 | /// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 27 | /// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 28 | /// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 29 | /// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 30 | /// THE SOFTWARE. 31 | ////////////////////////////////////////////////////////////////////////////////*/ 32 | 33 | #pragma once 34 | 35 | #include 36 | 37 | #include 38 | 39 | /// Represents the subclassed instance of the Qt's QApplication singleton. 40 | class Application : public QApplication 41 | { 42 | Q_OBJECT 43 | 44 | public: 45 | Application(int &argc, char *argv[]); 46 | 47 | virtual bool notify(QObject *receiver, QEvent *e); 48 | }; 49 | -------------------------------------------------------------------------------- /qtOgitor/include/calculateblendmapdialog.hxx: -------------------------------------------------------------------------------- 1 | /*///////////////////////////////////////////////////////////////////////////////// 2 | /// An 3 | /// ___ ____ ___ _____ ___ ____ 4 | /// / _ \ / ___|_ _|_ _/ _ \| _ \ 5 | /// | | | | | _ | | | || | | | |_) | 6 | /// | |_| | |_| || | | || |_| | _ < 7 | /// \___/ \____|___| |_| \___/|_| \_\ 8 | /// File 9 | /// 10 | /// Copyright (c) 2008-2015 Ismail TARIM and the Ogitor Team 11 | /// 12 | /// The MIT License 13 | /// 14 | /// Permission is hereby granted, free of charge, to any person obtaining a copy 15 | /// of this software and associated documentation files (the "Software"), to deal 16 | /// in the Software without restriction, including without limitation the rights 17 | /// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 18 | /// copies of the Software, and to permit persons to whom the Software is 19 | /// furnished to do so, subject to the following conditions: 20 | /// 21 | /// The above copyright notice and this permission notice shall be included in 22 | /// all copies or substantial portions of the Software. 23 | /// 24 | /// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 25 | /// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 26 | /// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 27 | /// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 28 | /// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 29 | /// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 30 | /// THE SOFTWARE. 31 | ////////////////////////////////////////////////////////////////////////////////*/ 32 | #ifndef CALCULATEBLENDMAPDIALOG_HXX 33 | #define CALCULATEBLENDMAPDIALOG_HXX 34 | 35 | #include 36 | 37 | #include "ui_calculateblendmapdialog.h" 38 | 39 | class CalculateBlendMapDialog : public QDialog, public Ui::calculateblendmapdialog { 40 | Q_OBJECT 41 | public: 42 | CalculateBlendMapDialog(QWidget *parent); 43 | virtual ~CalculateBlendMapDialog(); 44 | }; 45 | 46 | #endif // CALCULATEBLENDMAPDIALOG_HXX 47 | -------------------------------------------------------------------------------- /qtOgitor/include/eucliddialog.hxx: -------------------------------------------------------------------------------- 1 | /*///////////////////////////////////////////////////////////////////////////////// 2 | /// An 3 | /// ___ ____ ___ _____ ___ ____ 4 | /// / _ \ / ___|_ _|_ _/ _ \| _ \ 5 | /// | | | | | _ | | | || | | | |_) | 6 | /// | |_| | |_| || | | || |_| | _ < 7 | /// \___/ \____|___| |_| \___/|_| \_\ 8 | /// File 9 | /// 10 | /// Copyright (c) 2008-2015 Ismail TARIM and the Ogitor Team 11 | /// 12 | /// The MIT License 13 | /// 14 | /// Permission is hereby granted, free of charge, to any person obtaining a copy 15 | /// of this software and associated documentation files (the "Software"), to deal 16 | /// in the Software without restriction, including without limitation the rights 17 | /// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 18 | /// copies of the Software, and to permit persons to whom the Software is 19 | /// furnished to do so, subject to the following conditions: 20 | /// 21 | /// The above copyright notice and this permission notice shall be included in 22 | /// all copies or substantial portions of the Software. 23 | /// 24 | /// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 25 | /// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 26 | /// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 27 | /// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 28 | /// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 29 | /// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 30 | /// THE SOFTWARE. 31 | ////////////////////////////////////////////////////////////////////////////////*/ 32 | #ifndef EUCLIDDIALOG_HXX 33 | #define EUCLIDDIALOG_HXX 34 | 35 | #include 36 | 37 | #include "ui_eucliddialog.h" 38 | 39 | class EuclidDialog : public QDialog, public Ui::eucliddialog { 40 | Q_OBJECT 41 | public: 42 | EuclidDialog(QWidget *parent); 43 | virtual ~EuclidDialog(); 44 | }; 45 | 46 | #endif // EUCLIDDIALOG_HXX 47 | -------------------------------------------------------------------------------- /qtOgitor/include/importheightmapdialog.hxx: -------------------------------------------------------------------------------- 1 | /*///////////////////////////////////////////////////////////////////////////////// 2 | /// An 3 | /// ___ ____ ___ _____ ___ ____ 4 | /// / _ \ / ___|_ _|_ _/ _ \| _ \ 5 | /// | | | | | _ | | | || | | | |_) | 6 | /// | |_| | |_| || | | || |_| | _ < 7 | /// \___/ \____|___| |_| \___/|_| \_\ 8 | /// File 9 | /// 10 | /// Copyright (c) 2008-2015 Ismail TARIM and the Ogitor Team 11 | /// 12 | /// The MIT License 13 | /// 14 | /// Permission is hereby granted, free of charge, to any person obtaining a copy 15 | /// of this software and associated documentation files (the "Software"), to deal 16 | /// in the Software without restriction, including without limitation the rights 17 | /// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 18 | /// copies of the Software, and to permit persons to whom the Software is 19 | /// furnished to do so, subject to the following conditions: 20 | /// 21 | /// The above copyright notice and this permission notice shall be included in 22 | /// all copies or substantial portions of the Software. 23 | /// 24 | /// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 25 | /// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 26 | /// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 27 | /// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 28 | /// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 29 | /// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 30 | /// THE SOFTWARE. 31 | ////////////////////////////////////////////////////////////////////////////////*/ 32 | #ifndef IMPORTHEIGHTMAPDIALOG_HXX 33 | #define IMPORTHEIGHTMAPDIALOG_HXX 34 | 35 | #include 36 | 37 | #include "ui_importheightmapdialog.h" 38 | 39 | class ImportHeightMapDialog : public QDialog, public Ui::importheightmapdialog { 40 | Q_OBJECT 41 | public: 42 | ImportHeightMapDialog(QWidget *parent); 43 | virtual ~ImportHeightMapDialog(); 44 | }; 45 | 46 | #endif // IMPORTHEIGHTMAPDIALOG_HXX 47 | -------------------------------------------------------------------------------- /qtOgitor/include/paths.hxx: -------------------------------------------------------------------------------- 1 | /*///////////////////////////////////////////////////////////////////////////////// 2 | /// An 3 | /// ___ ____ ___ _____ ___ ____ 4 | /// / _ \ / ___|_ _|_ _/ _ \| _ \ 5 | /// | | | | | _ | | | || | | | |_) | 6 | /// | |_| | |_| || | | || |_| | _ < 7 | /// \___/ \____|___| |_| \___/|_| \_\ 8 | /// File 9 | /// 10 | /// Copyright (c) 2008-2015 Ismail TARIM and the Ogitor Team 11 | /// 12 | /// The MIT License 13 | /// 14 | /// Permission is hereby granted, free of charge, to any person obtaining a copy 15 | /// of this software and associated documentation files (the "Software"), to deal 16 | /// in the Software without restriction, including without limitation the rights 17 | /// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 18 | /// copies of the Software, and to permit persons to whom the Software is 19 | /// furnished to do so, subject to the following conditions: 20 | /// 21 | /// The above copyright notice and this permission notice shall be included in 22 | /// all copies or substantial portions of the Software. 23 | /// 24 | /// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 25 | /// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 26 | /// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 27 | /// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 28 | /// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 29 | /// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 30 | /// THE SOFTWARE. 31 | ////////////////////////////////////////////////////////////////////////////////*/ 32 | #ifndef PATHS_H_INCLUDED 33 | #define PATHS_H_INCLUDED 34 | 35 | #include 36 | 37 | std::string bundlePath(); 38 | std::string resourcePath(); 39 | 40 | #endif 41 | -------------------------------------------------------------------------------- /qtOgitor/languages/compile.bat: -------------------------------------------------------------------------------- 1 | %QTDIR%/bin/lrelease.exe translate.pro -------------------------------------------------------------------------------- /qtOgitor/languages/lupdate.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/qtOgitor/languages/lupdate.exe -------------------------------------------------------------------------------- /qtOgitor/languages/move_compiled_language_files.bat: -------------------------------------------------------------------------------- 1 | copy *.qm ..\..\RunPath\languages 2 | del *.qm 3 | pause 4 | -------------------------------------------------------------------------------- /qtOgitor/languages/update.bat: -------------------------------------------------------------------------------- 1 | %QTDIR%/bin/lupdate.exe -no-obsolete translate.pro -------------------------------------------------------------------------------- /qtOgitor/res/UI/arrow_down_V2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/qtOgitor/res/UI/arrow_down_V2.png -------------------------------------------------------------------------------- /qtOgitor/res/UI/arrow_left_V2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/qtOgitor/res/UI/arrow_left_V2.png -------------------------------------------------------------------------------- /qtOgitor/res/UI/arrow_right_V2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/qtOgitor/res/UI/arrow_right_V2.png -------------------------------------------------------------------------------- /qtOgitor/res/UI/arrow_up_V2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/qtOgitor/res/UI/arrow_up_V2.png -------------------------------------------------------------------------------- /qtOgitor/res/UI/checkbox_checked.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/qtOgitor/res/UI/checkbox_checked.png -------------------------------------------------------------------------------- /qtOgitor/res/UI/checkbox_checked_disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/qtOgitor/res/UI/checkbox_checked_disabled.png -------------------------------------------------------------------------------- /qtOgitor/res/UI/checkbox_unchecked.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/qtOgitor/res/UI/checkbox_unchecked.png -------------------------------------------------------------------------------- /qtOgitor/res/UI/checkbox_unchecked_disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/qtOgitor/res/UI/checkbox_unchecked_disabled.png -------------------------------------------------------------------------------- /qtOgitor/res/UI/dropdown_arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/qtOgitor/res/UI/dropdown_arrow.png -------------------------------------------------------------------------------- /qtOgitor/res/UI/radiobutton_checked.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/qtOgitor/res/UI/radiobutton_checked.png -------------------------------------------------------------------------------- /qtOgitor/res/UI/radiobutton_checked_disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/qtOgitor/res/UI/radiobutton_checked_disabled.png -------------------------------------------------------------------------------- /qtOgitor/res/UI/radiobutton_unchecked.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/qtOgitor/res/UI/radiobutton_unchecked.png -------------------------------------------------------------------------------- /qtOgitor/res/UI/radiobutton_unchecked_disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/qtOgitor/res/UI/radiobutton_unchecked_disabled.png -------------------------------------------------------------------------------- /qtOgitor/res/UI/spinbox_down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/qtOgitor/res/UI/spinbox_down.png -------------------------------------------------------------------------------- /qtOgitor/res/UI/spinbox_up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/qtOgitor/res/UI/spinbox_up.png -------------------------------------------------------------------------------- /qtOgitor/res/UI/treeview_arrow_down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/qtOgitor/res/UI/treeview_arrow_down.png -------------------------------------------------------------------------------- /qtOgitor/res/UI/treeview_arrow_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/qtOgitor/res/UI/treeview_arrow_right.png -------------------------------------------------------------------------------- /qtOgitor/res/about/people.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/qtOgitor/res/about/people.html -------------------------------------------------------------------------------- /qtOgitor/res/about/project.html: -------------------------------------------------------------------------------- 1 | 2 | Project 3 | 4 | 5 | 6 |

Ogitor %OGITOR_VERSION%

7 | The plugin-based WYSIWYG Scene Builder Environment for 8 | Ogre3D.
9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 |
Homepage:http://www.ogitor.org/
Forum:http://forum.ogitor.org/
Issue Tracker:http://tracker.ogitor.org/projects/ogitor
Documentation:https://bitbucket.org/jacmoe/ogitor/wiki/Home
Sourcecode Repository:https://bitbucket.org/jacmoe/ogitor
34 | -------------------------------------------------------------------------------- /qtOgitor/res/icons/about.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /qtOgitor/res/icons/add_layer.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /qtOgitor/res/icons/deform.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /qtOgitor/res/icons/defrag.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /qtOgitor/res/icons/downarrow.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /qtOgitor/res/icons/entity.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /qtOgitor/res/icons/fileclose.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /qtOgitor/res/icons/grid.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /qtOgitor/res/icons/light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/qtOgitor/res/icons/light.png -------------------------------------------------------------------------------- /qtOgitor/res/icons/mode_fly.svg: -------------------------------------------------------------------------------- 1 | 2 | Fly 3 | 4 | 5 | -------------------------------------------------------------------------------- /qtOgitor/res/icons/mode_fly_dark_style.svg: -------------------------------------------------------------------------------- 1 | 2 | Fly 3 | 4 | 5 | -------------------------------------------------------------------------------- /qtOgitor/res/icons/mode_walk.svg: -------------------------------------------------------------------------------- 1 | 2 | Walk 3 | 4 | 5 | -------------------------------------------------------------------------------- /qtOgitor/res/icons/mode_walk_dark_style.svg: -------------------------------------------------------------------------------- 1 | 2 | Walk 3 | 4 | 5 | -------------------------------------------------------------------------------- /qtOgitor/res/icons/move.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /qtOgitor/res/icons/ogscene.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/qtOgitor/res/icons/ogscene.png -------------------------------------------------------------------------------- /qtOgitor/res/icons/orient_obj.svg: -------------------------------------------------------------------------------- 1 | 2 | Obj 3 | 4 | 5 | -------------------------------------------------------------------------------- /qtOgitor/res/icons/orient_obj_dark_style.svg: -------------------------------------------------------------------------------- 1 | 2 | Obj 3 | 4 | 5 | -------------------------------------------------------------------------------- /qtOgitor/res/icons/orient_world.svg: -------------------------------------------------------------------------------- 1 | 2 | Wrd 3 | 4 | 5 | -------------------------------------------------------------------------------- /qtOgitor/res/icons/orient_world_dark_style.svg: -------------------------------------------------------------------------------- 1 | 2 | Wrd 3 | 4 | 5 | -------------------------------------------------------------------------------- /qtOgitor/res/icons/player_pause.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /qtOgitor/res/icons/player_play.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /qtOgitor/res/icons/player_stop.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /qtOgitor/res/icons/pmsolid.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /qtOgitor/res/icons/qtOgitor.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/qtOgitor/res/icons/qtOgitor.ico -------------------------------------------------------------------------------- /qtOgitor/res/icons/qtOgitor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/qtOgitor/res/icons/qtOgitor.png -------------------------------------------------------------------------------- /qtOgitor/res/icons/redo.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /qtOgitor/res/icons/relight.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/qtOgitor/res/icons/relight.png -------------------------------------------------------------------------------- /qtOgitor/res/icons/rotate.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /qtOgitor/res/icons/scale.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /qtOgitor/res/icons/script.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | As++ 4 | 5 | 6 | -------------------------------------------------------------------------------- /qtOgitor/res/icons/select.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /qtOgitor/res/icons/sign_minus.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /qtOgitor/res/icons/sign_plus.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /qtOgitor/res/icons/smooth.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /qtOgitor/res/icons/translate.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /qtOgitor/res/icons/uparrow.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /qtOgitor/res/icons/visibility.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /qtOgitor/res/icons/visibility_disabled.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /qtOgitor/res/images/OgitorLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/qtOgitor/res/images/OgitorLogo.png -------------------------------------------------------------------------------- /qtOgitor/res/images/OgitorLogoSmall.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/qtOgitor/res/images/OgitorLogoSmall.png -------------------------------------------------------------------------------- /qtOgitor/res/layouts/initial.oglayout: -------------------------------------------------------------------------------- 1 | [session] 2 | MainWindowGeometry=@Rect(8 30 1024 768) 3 | Layout="@ByteArray(\0\0\0\xff\0\0\0\0\xfd\0\0\0\x3\0\0\0\0\0\0\0\xdf\0\0\x2\xac\xfc\x2\0\0\0\x1\xfc\0\0\0\x35\0\0\x2\xac\0\0\0\x9a\x1\0\0\x1a\xfa\0\0\0\0\x2\0\0\0\x3\xfb\0\0\0$\0\x65\0x\0p\0l\0o\0r\0\x65\0r\0\x44\0o\0\x63\0k\0W\0i\0\x64\0g\0\x65\0t\x1\0\0\0\0\xff\xff\xff\xff\0\0\0y\0\xff\xff\xff\xfb\0\0\0\x1e\0l\0\x61\0y\0\x65\0r\0\x44\0o\0\x63\0k\0W\0i\0\x64\0g\0\x65\0t\x1\0\0\0\0\xff\xff\xff\xff\0\0\0\x7f\0\xff\xff\xff\xfb\0\0\0,\0p\0r\0o\0j\0\x65\0\x63\0t\0\x46\0i\0l\0\x65\0s\0\x44\0o\0\x63\0k\0W\0i\0\x64\0g\0\x65\0t\x1\0\0\0\0\xff\xff\xff\xff\0\0\0\x16\0\xff\xff\xff\0\0\0\x1\0\0\x1\0\0\0\x2\xac\xfc\x2\0\0\0\x1\xfc\0\0\0\x35\0\0\x2\xac\0\0\x1*\x1\0\0\x1a\xfa\0\0\0\0\x2\0\0\0\x3\xfb\0\0\0(\0p\0r\0o\0p\0\x65\0r\0t\0i\0\x65\0s\0\x44\0o\0\x63\0k\0W\0i\0\x64\0g\0\x65\0t\x1\0\0\0\0\xff\xff\xff\xff\0\0\0\x97\0\xff\xff\xff\xfb\0\0\0&\0r\0\x65\0s\0o\0u\0r\0\x63\0\x65\0s\0\x44\0o\0\x63\0k\0W\0i\0\x64\0g\0\x65\0t\x1\0\0\0\0\xff\xff\xff\xff\0\0\x1\xf\0\xff\xff\xff\xfb\0\0\0\x1e\0t\0o\0o\0l\0s\0\x44\0o\0\x63\0k\0W\0i\0\x64\0g\0\x65\0t\x1\0\0\0\0\xff\xff\xff\xff\0\0\0\x16\0\xff\xff\xff\0\0\0\x3\0\0\0\0\0\0\0\0\xfc\x1\0\0\0\x1\xfb\0\0\0\x1a\0l\0o\0g\0\x44\0o\0\x63\0k\0W\0i\0\x64\0g\0\x65\0t\0\0\0\0\0\xff\xff\xff\xff\0\0\0\x9b\0\xff\xff\xff\0\0\x2\x19\0\0\x2\xac\0\0\0\x4\0\0\0\x4\0\0\0\b\0\0\0\b\xfc\0\0\0\x1\0\0\0\x2\0\0\0\x6\0\0\0\x16\0\x46\0i\0l\0\x65\0T\0o\0o\0l\0\x42\0\x61\0r\x1\0\0\0\0\xff\xff\xff\xff\0\0\0\0\0\0\0\0\0\0\0\x16\0\x45\0\x64\0i\0t\0T\0o\0o\0l\0\x42\0\x61\0r\x1\0\0\0\xa5\xff\xff\xff\xff\0\0\0\0\0\0\0\0\0\0\0\x16\0H\0\x65\0l\0p\0T\0o\0o\0l\0\x42\0\x61\0r\x1\0\0\x1\x31\xff\xff\xff\xff\0\0\0\0\0\0\0\0\0\0\0(\0S\0\x63\0r\0i\0p\0t\0\x41\0\x63\0t\0i\0o\0n\0s\0T\0o\0o\0l\0\x42\0\x61\0r\x1\0\0\x1y\xff\xff\xff\xff\0\0\0\0\0\0\0\0\0\0\0\x1a\0P\0l\0\x61\0y\0\x65\0r\0T\0o\0o\0l\0\x42\0\x61\0r\x1\0\0\x1\xae\xff\xff\xff\xff\0\0\0\0\0\0\0\0\0\0\0\x14\0M\0o\0\x64\0.\0 \0Z\0o\0n\0\x65\0s\x1\0\0\x1\xf6\xff\xff\xff\xff\0\0\0\0\0\0\0\0)" 4 | MainWindowMaximized=false 5 | 6 | [messagefilters] 7 | FilterWarnings=true 8 | FilterErrors=true 9 | FilterInfo=true 10 | FilterDebug=true 11 | 12 | [preferences] 13 | lastLoadedScene= 14 | -------------------------------------------------------------------------------- /qtOgitor/res/ogscene.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/qtOgitor/res/ogscene.ico -------------------------------------------------------------------------------- /qtOgitor/res/qtOgitor.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/qtOgitor/res/qtOgitor.ico -------------------------------------------------------------------------------- /qtOgitor/res/qtOgitor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OGRECave/ogitor/1bdc4955350a7dfd4a0441a1e01fd41fba47f47a/qtOgitor/res/qtOgitor.png -------------------------------------------------------------------------------- /qtOgitor/res/resource.rc: -------------------------------------------------------------------------------- 1 | IDI_ICON1 ICON DISCARDABLE "qtOgitor.ico" 2 | IDI_ICON2 ICON DISCARDABLE "ogscene.ico" -------------------------------------------------------------------------------- /qtOgitor/res/stylesheets/KDE4.qss: -------------------------------------------------------------------------------- 1 | #ToolsRibbon { 2 | background-color: #DADADA; 3 | min-width: 100%; 4 | } 5 | 6 | QStatusBar{ 7 | border: 1px solid #C8C8C8; 8 | } 9 | 10 | QToolBar { 11 | border : none; 12 | } 13 | 14 | QListWidget#logWidget{ 15 | color: white; 16 | background: black; 17 | } 18 | 19 | QListWidget#listScriptOutput{ 20 | color: white; 21 | background: black; 22 | } 23 | 24 | QLabel#descLabel{ 25 | background-color: #AFAFAF; 26 | } 27 | 28 | pane { 29 | background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(232, 232, 232, 255), stop:1 rgba(245, 245, 245, 255)); 30 | border: 1px solid #B5B5B5; 31 | border-radius: 5px; 32 | padding: 1px; 33 | } 34 | 35 | Form{ 36 | background-color: #DADADA; 37 | min-width: 100%; 38 | left: 0px; 39 | right: 0px; 40 | } 41 | 42 | QToolBar { 43 | border : none; 44 | } 45 | 46 | #toolbarbox::title{ 47 | position: absolute; 48 | subcontrol-origin: padding; 49 | subcontrol-position: bottom center; 50 | min-width: 10000%; 51 | max-width: 10000%; 52 | border-bottom-left-radius: 3px; 53 | border-bottom-right-radius: 3px; 54 | border: 1px solid #C8C8C8; 55 | border-top-style: none; 56 | border-bottom-style: none; 57 | color: #FFFFFF; 58 | min-height: 14px; 59 | background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #808080, stop: 1 #434343); 60 | } 61 | 62 | #toolbarbox { 63 | background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(229, 229, 229, 255), stop:0.1 rgba(229, 229, 229, 255), stop:0.101 rgba(215, 215, 215, 255), stop:1 rgba(250, 250, 220, 255)); 64 | border: 1px solid #C8C8C8; 65 | border-radius: 3px; 66 | } 67 | 68 | #renderwindowtoolbar { 69 | background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(229, 229, 229, 255), stop:0.1 rgba(229, 229, 229, 255), stop:0.101 rgba(215, 215, 215, 255), stop:1 rgba(250, 250, 220, 255)); 70 | } 71 | -------------------------------------------------------------------------------- /qtOgitor/share/applications/qtOgitor.desktop: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Name=qtOgitor 3 | GenericName=Ogitor 4 | Comment=Ogre Scenebuilder 5 | Exec=qtOgitor 6 | Icon=qtogitor 7 | Terminal=false 8 | Type=Application 9 | Categories=Graphics;3DGraphics; 10 | MimeType=application/x-ogitor; 11 | -------------------------------------------------------------------------------- /qtOgitor/src/calculateblendmapdialog.cpp: -------------------------------------------------------------------------------- 1 | /*///////////////////////////////////////////////////////////////////////////////// 2 | /// An 3 | /// ___ ____ ___ _____ ___ ____ 4 | /// / _ \ / ___|_ _|_ _/ _ \| _ \ 5 | /// | | | | | _ | | | || | | | |_) | 6 | /// | |_| | |_| || | | || |_| | _ < 7 | /// \___/ \____|___| |_| \___/|_| \_\ 8 | /// File 9 | /// 10 | /// Copyright (c) 2008-2015 Ismail TARIM and the Ogitor Team 11 | /// 12 | /// The MIT License 13 | /// 14 | /// Permission is hereby granted, free of charge, to any person obtaining a copy 15 | /// of this software and associated documentation files (the "Software"), to deal 16 | /// in the Software without restriction, including without limitation the rights 17 | /// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 18 | /// copies of the Software, and to permit persons to whom the Software is 19 | /// furnished to do so, subject to the following conditions: 20 | /// 21 | /// The above copyright notice and this permission notice shall be included in 22 | /// all copies or substantial portions of the Software. 23 | /// 24 | /// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 25 | /// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 26 | /// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 27 | /// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 28 | /// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 29 | /// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 30 | /// THE SOFTWARE. 31 | ////////////////////////////////////////////////////////////////////////////////*/ 32 | 33 | #include 34 | #include "calculateblendmapdialog.hxx" 35 | 36 | CalculateBlendMapDialog::CalculateBlendMapDialog(QWidget *parent) : 37 | QDialog(parent, Qt::Dialog | Qt::CustomizeWindowHint | Qt::WindowTitleHint) 38 | { 39 | setupUi(this); 40 | } 41 | 42 | CalculateBlendMapDialog::~CalculateBlendMapDialog() 43 | { 44 | } -------------------------------------------------------------------------------- /qtOgitor/src/eucliddialog.cpp: -------------------------------------------------------------------------------- 1 | /*///////////////////////////////////////////////////////////////////////////////// 2 | /// An 3 | /// ___ ____ ___ _____ ___ ____ 4 | /// / _ \ / ___|_ _|_ _/ _ \| _ \ 5 | /// | | | | | _ | | | || | | | |_) | 6 | /// | |_| | |_| || | | || |_| | _ < 7 | /// \___/ \____|___| |_| \___/|_| \_\ 8 | /// File 9 | /// 10 | /// Copyright (c) 2008-2015 Ismail TARIM and the Ogitor Team 11 | /// 12 | /// The MIT License 13 | /// 14 | /// Permission is hereby granted, free of charge, to any person obtaining a copy 15 | /// of this software and associated documentation files (the "Software"), to deal 16 | /// in the Software without restriction, including without limitation the rights 17 | /// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 18 | /// copies of the Software, and to permit persons to whom the Software is 19 | /// furnished to do so, subject to the following conditions: 20 | /// 21 | /// The above copyright notice and this permission notice shall be included in 22 | /// all copies or substantial portions of the Software. 23 | /// 24 | /// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 25 | /// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 26 | /// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 27 | /// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 28 | /// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 29 | /// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 30 | /// THE SOFTWARE. 31 | ////////////////////////////////////////////////////////////////////////////////*/ 32 | 33 | #include "eucliddialog.hxx" 34 | 35 | EuclidDialog::EuclidDialog(QWidget *parent) : 36 | QDialog(parent, Qt::Dialog | Qt::CustomizeWindowHint | Qt::WindowTitleHint) 37 | { 38 | setupUi(this); 39 | mInputYaw->setText("0"); 40 | mInputPitch->setText("0"); 41 | mInputRoll->setText("0"); 42 | } 43 | 44 | EuclidDialog::~EuclidDialog() 45 | { 46 | } -------------------------------------------------------------------------------- /redist/README.txt: -------------------------------------------------------------------------------- 1 | Put dxwebsetup.exe (available from Microsoft) 2 | and the following DLLs (from Windows/System32) 3 | msvcp100.dll 4 | msvcr100.dll 5 | in this directory, 6 | before attemping to build the installer (PACKAGE project). -------------------------------------------------------------------------------- /update_translations.bat: -------------------------------------------------------------------------------- 1 | call gen-qt-projectfile %CD% > %CD%\qtOgitor\languages\translate.pro 2 | call %CD%\qtOgitor\languages\update.bat --------------------------------------------------------------------------------