Compare commits

..

377 Commits

Author SHA1 Message Date
mafiesto4 f15f7ff59f Bump up version 2021-01-29 00:36:15 +01:00
mafiesto4 0d0279a1f8 Merge branch 'stefnotch-fix-asset-viewports' 2021-01-28 23:30:11 +01:00
mafiesto4 bb8a6e5c8d Merge branch 'fix-asset-viewports' of git://github.com/stefnotch/FlaxEngine into stefnotch-fix-asset-viewports 2021-01-28 23:30:05 +01:00
mafiesto4 beecbffdc3 Fix error when opening Anim Graph with node name not existing in skeleton anymore
Fixes #176
2021-01-28 21:59:30 +01:00
stefnotch 06f07c2903 Fix EditorViewport zooming
Fix #162
Also improves cases like LeftMouseDown + Scroll
2021-01-28 17:17:17 +01:00
stefnotch 164da0f87a Fix spelling error 2021-01-28 16:24:36 +01:00
stefnotch a250a23259 Fix TexturePreview zooming
Fix #164
2021-01-28 16:13:45 +01:00
mafiesto4 50f6a01f83 Fix plane model normals 2021-01-28 01:28:13 +01:00
mafiesto4 aedc619009 Fix crash when opening prefab that fails to load root ObjectsLookupIdMapping
Fixes #126
2021-01-28 01:11:02 +01:00
mafiesto4 a226ff8762 Fix plane model incorrect rotation in material preview (#165) 2021-01-28 00:52:06 +01:00
mafiesto4 a1cee0f0bf Fix crash when applying changes to prefab 2021-01-28 00:38:08 +01:00
mafiesto4 bb84ad0f79 Add missing doc comment 2021-01-28 00:10:41 +01:00
mafiesto4 0de380ad3a Optimize Variant typename loading if length is zero 2021-01-28 00:02:37 +01:00
mafiesto4 4b11725226 Fix crash when creating Empty particle emitter
Fixes #174
2021-01-27 23:59:24 +01:00
mafiesto4 971ab7b8e7 Merge branch 'stefnotch-improve-first-time-setup' 2021-01-27 23:36:59 +01:00
mafiesto4 b57ce2bd56 Merge branch 'improve-first-time-setup' of git://github.com/stefnotch/FlaxEngine into stefnotch-improve-first-time-setup 2021-01-27 23:36:54 +01:00
mafiesto4 876a728b41 Fix scene animation rendering issue with game window is not selected tab
Fixes #170
2021-01-27 23:27:19 +01:00
mafiesto4 b411539717 Merge branch 'stefnotch-fix-disable-ctrl-w-ingame' 2021-01-27 22:41:28 +01:00
mafiesto4 4cb5574a2e Merge branch 'fix-disable-ctrl-w-ingame' of git://github.com/stefnotch/FlaxEngine into stefnotch-fix-disable-ctrl-w-ingame 2021-01-27 22:41:24 +01:00
mafiesto4 1aceab3783 Merge branch 'W2Wizard-DDX-DDY-Nodes' 2021-01-27 22:39:23 +01:00
mafiesto4 c583b6a1a7 Merge branch 'DDX-DDY-Nodes' of git://github.com/W2Wizard/FlaxEngine into W2Wizard-DDX-DDY-Nodes 2021-01-27 22:39:19 +01:00
mafiesto4 3c3b47f5b4 Fix Get Node Transform ndoe in anim graph 2021-01-27 22:37:25 +01:00
mafiesto4 36bd398136 Fix error when animated model skeleton has duplicated node name 2021-01-27 22:37:19 +01:00
stefnotch c820e87d4a Slightly tweak the key processing code 2021-01-27 22:08:17 +01:00
stefnotch f00ae7fb21 Disable CTRL+W during the game
Fix #96
2021-01-27 21:30:22 +01:00
stefnotch 18e3d51914 Check LFS using file size 2021-01-27 18:08:38 +01:00
stefnotch 691d9d9b88 Document the GitHub basics 2021-01-27 14:34:38 +01:00
stefnotch 81865bd97e Move Flax plugin up, since it's currently required 2021-01-27 14:32:25 +01:00
stefnotch 80e0b0b0e5 Document the "set as startup project" 2021-01-27 14:32:10 +01:00
stefnotch da3a54d184 Pause on error
On Windows, because people using Windows will double click on the file
2021-01-27 14:06:36 +01:00
W2.Wizard 1925fe5724 Added DDX / DDY nodes 2021-01-27 01:39:50 +01:00
mafiesto4 f1763840c9 Fix exporting textures in format R10G10B10A2 and R11G11B10 on Windows 2021-01-27 00:28:38 +01:00
mafiesto4 bbeab83b29 Merge branch 'GoaLitiuM-folder_dialog' 2021-01-27 00:27:41 +01:00
mafiesto4 cb8ba2d757 Fix WindowsFileSystem::ShowBrowseFolderDialog path length 2021-01-27 00:27:32 +01:00
mafiesto4 1679458094 Merge branch 'folder_dialog' of git://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-folder_dialog 2021-01-27 00:05:57 +01:00
mafiesto4 c9992ef7d0 Merge branch 'GoaLitiuM-faster_dev_builds' 2021-01-26 23:47:10 +01:00
mafiesto4 02dde50071 Merge branch 'faster_dev_builds' of git://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-faster_dev_builds 2021-01-26 23:02:59 +01:00
mafiesto4 854d0147dd Fix Visject Node layout when adding boxes from code 2021-01-26 22:52:35 +01:00
mafiesto4 59858ecb27 Fix Visual Script invoke method node signature check for output params passed via reference 2021-01-26 22:52:08 +01:00
mafiesto4 269f1fc8c1 Fix ResizeAuto in SurfaceNode to include custom controls 2021-01-26 22:16:19 +01:00
mafiesto4 4330eb5e4a Merge branch 'W2Wizard-UVTilingOffset' 2021-01-26 21:48:14 +01:00
W2.Wizard db17c80e0a Use approriate fields instead 2021-01-26 19:41:29 +01:00
W2.Wizard 62b3f7c9c2 Adjusted node size 2021-01-26 19:37:06 +01:00
W2.Wizard 96e5e20e66 Added Node 2021-01-26 19:26:38 +01:00
mafiesto4 054aa18e31 Merge branch 'W2Wizard-RemapMaterialNode' 2021-01-26 00:16:17 +01:00
mafiesto4 b6fe228b85 Merge branch 'RemapMaterialNode' of git://github.com/W2Wizard/FlaxEngine into W2Wizard-RemapMaterialNode 2021-01-26 00:16:13 +01:00
W2.Wizard c703064add Added also tryGetValue to ShaderGraph
Since @mafiesto4 requested in the review to use tryGetValye in the VisjectGraph to get the bool param I also did it to the shader one
2021-01-26 00:12:43 +01:00
mafiesto4 4be7e2ad46 Fix 2021-01-26 00:11:25 +01:00
mafiesto4 5260efc7b8 Fixes for editor viewport View context menu 2021-01-26 00:11:20 +01:00
W2.Wizard 44d636520b Applied review changes 2021-01-26 00:04:04 +01:00
mafiesto4 c5934e0dfe Merge branch 'Vizepi-master' 2021-01-26 00:02:12 +01:00
mafiesto4 571c802d49 Merge branch 'master' of git://github.com/Vizepi/FlaxEngine into Vizepi-master 2021-01-26 00:02:08 +01:00
mafiesto4 d098c6cee7 Merge branch 'W2Wizard-SphereMaskNode' 2021-01-25 23:59:14 +01:00
mafiesto4 31e53d5efa Merge branch 'SphereMaskNode' of git://github.com/W2Wizard/FlaxEngine into W2Wizard-SphereMaskNode 2021-01-25 23:59:10 +01:00
mafiesto4 ca32d0d825 Add Mesh::UpdateMesh methods similar to C# API 2021-01-25 23:52:29 +01:00
mafiesto4 5b4dbfa121 Fix name (was causing docs build warning) 2021-01-25 23:52:07 +01:00
W2.Wizard 602fb44a23 Formatting 2021-01-25 22:30:55 +01:00
W2.Wizard 5845bc3fca Added Spheremask node 2021-01-25 22:03:30 +01:00
W2.Wizard f331191e3d Refactored 2021-01-25 19:31:12 +01:00
W2.Wizard c0c2da34d7 Specified variants 2021-01-25 12:37:42 +01:00
W2.Wizard ee166bafed Added initial remap node 2021-01-25 00:51:47 +01:00
mafiesto4 f6085c7479 Fix crash when reloading scripts with opened custom json asset 2021-01-24 23:31:24 +01:00
mafiesto4 f714afc180 Tweak Rotator node 2021-01-24 19:01:25 +01:00
mafiesto4 f6065c4463 Merge branch 'W2Wizard-RotationMaterialNode' 2021-01-24 18:57:53 +01:00
mafiesto4 1824715626 Merge branch 'RotationMaterialNode' of git://github.com/W2Wizard/FlaxEngine into W2Wizard-RotationMaterialNode
# Conflicts:
#	Source/Engine/Tools/MaterialGenerator/MaterialGenerator.Material.cpp
2021-01-24 18:57:44 +01:00
mafiesto4 b59008182f Merge branch 'stefnotch-document-index-order' 2021-01-24 18:52:13 +01:00
mafiesto4 e99c4abe5e Merge branch 'document-index-order' of git://github.com/stefnotch/FlaxEngine into stefnotch-document-index-order 2021-01-24 18:52:10 +01:00
mafiesto4 f9ba789af3 Add missing node type comment 2021-01-24 18:51:26 +01:00
stefnotch 6f0a556af8 Document the clockwise order of the indices 2021-01-24 16:42:13 +01:00
W2.Wizard bcb38dc2ca Added rotator node 2021-01-24 15:10:38 +01:00
mafiesto4 3a33d6ff84 Fix code style 2021-01-24 14:14:30 +01:00
mafiesto4 cb0518d75a Merge branch 'Evildea-master' 2021-01-24 14:11:58 +01:00
mafiesto4 31ae464d93 Merge branch 'master' of git://github.com/Evildea/FlaxEngine into Evildea-master 2021-01-24 14:11:55 +01:00
mafiesto4 8ff12d079c Merge branch 'W2Wizard-patch-1' 2021-01-24 14:06:17 +01:00
mafiesto4 1969854ed0 Merge branch 'patch-1' of git://github.com/W2Wizard/FlaxEngine into W2Wizard-patch-1 2021-01-24 14:06:13 +01:00
mafiesto4 4c05f8a222 Merge branch 'TalkingWallnut-patch-1' 2021-01-24 14:04:59 +01:00
mafiesto4 6313c8520c Merge branch 'patch-1' of git://github.com/TalkingWallnut/FlaxEngine into TalkingWallnut-patch-1 2021-01-24 14:04:54 +01:00
mafiesto4 f1819ee35c Fix code style 2021-01-24 14:01:42 +01:00
mafiesto4 2563409e6f Merge branch 'intolerantape-CollisionsHelper-Enhancement' 2021-01-24 13:57:51 +01:00
mafiesto4 f64eead2d7 Merge branch 'CollisionsHelper-Enhancement' of git://github.com/intolerantape/FlaxEngine into intolerantape-CollisionsHelper-Enhancement 2021-01-24 13:57:47 +01:00
mafiesto4 67b0e0410c Merge branch 'stefnotch-fix-fade-distance' 2021-01-24 13:55:51 +01:00
mafiesto4 6a6e7195f5 Merge branch 'fix-fade-distance' of git://github.com/stefnotch/FlaxEngine into stefnotch-fix-fade-distance 2021-01-24 13:55:48 +01:00
mafiesto4 b04e1381dc Fix Unsigned Integer value field to prevent negative values 2021-01-24 13:30:48 +01:00
mafiesto4 47bff456e0 Fix foot offset in Character Controller 2021-01-24 13:09:40 +01:00
Richard 7de56304c8 Remove change as it only works for the editor 2021-01-24 22:40:03 +11:00
Richard 843a04604d Added Material Node to Blend Normals 2021-01-24 22:31:45 +11:00
Vizepi 018e751bf6 Added option to invert panning direction in editor viewport 2021-01-24 12:03:38 +01:00
GoaLitiuM 4457bcf4a7 Use more modern file dialog for browsing folders 2021-01-24 02:33:08 +02:00
W2.Wizard bf147ba13a Sentence restructuring 2021-01-23 17:15:46 +01:00
TalkingWallnut 9674f276d3 Fixed the issue when slope limit was set to 90 degrees flax crashed.
I fixed the issue when slope limit was set to 90 degrees flax would commit suicide (crash) (: . I just changed the clamp limit from 90 to 89 degrees.
2021-01-23 15:56:18 +01:00
Richard 71110c9f29 Fixed issue High DPI Issue 2021-01-23 23:39:24 +11:00
intolerantape 54e544a0f2 In CollisionsHelper, added versions of functions with output parameters that return the outputs as said.
Also added a 3D version of ClosestPointPointLine() because why wasn't that a thing?
2021-01-23 03:47:01 -08:00
intolerantape f3f25836e2 Added 3D version of CollisionsHelper::ClosestPointPointLine(). 2021-01-23 03:46:34 -08:00
GoaLitiuM 1a51752ca4 Disable whole program optimization and enable incremental linking in development builds 2021-01-23 12:40:54 +02:00
GoaLitiuM 8c6dbf2e30 Disable linker optimizations with incremental linking 2021-01-23 12:40:53 +02:00
GoaLitiuM d901c11570 Add compile flag for whole program optimization 2021-01-23 12:40:53 +02:00
stefnotch b208b7066b Fix fade distance (use input box as well) 2021-01-23 11:35:50 +01:00
W2.Wizard 83ceb31967 Added contribution guidelines
Since there were no set out guidelines for contributing, I decided to add them.

The guidelines overall are very straightforward.
2021-01-23 01:37:46 +01:00
mafiesto4 049450e31b Fix node widths for anim nodes 2021-01-22 23:45:19 +01:00
mafiesto4 e4fced44a9 Merge branch 'W2Wizard-AnimationArchetypeFix' 2021-01-22 23:42:11 +01:00
mafiesto4 19c65bec33 Merge branch 'AnimationArchetypeFix' of git://github.com/W2Wizard/FlaxEngine into W2Wizard-AnimationArchetypeFix 2021-01-22 23:42:08 +01:00
mafiesto4 0db0fb24c9 Merge branch 'stefnotch-visject-improvements-5' 2021-01-22 23:35:13 +01:00
mafiesto4 704d42869d Merge branch 'visject-improvements-5' of git://github.com/stefnotch/FlaxEngine into stefnotch-visject-improvements-5 2021-01-22 23:35:09 +01:00
W2.Wizard 236a5a2f6f Update Animation.cs 2021-01-22 14:13:45 +01:00
mafiesto4 8680aba897 Fix missing public empty constructor for UICanvas 2021-01-20 13:45:49 +01:00
mafiesto4 8dce3c0fb7 Fix missing animated model parameter error 2021-01-20 13:38:42 +01:00
mafiesto4 f236338311 Merge branch 'stefnotch-patch-1' 2021-01-20 13:19:55 +01:00
mafiesto4 0b1ac3d0fe Merge branch 'patch-1' of git://github.com/stefnotch/FlaxEngine into stefnotch-patch-1 2021-01-20 13:19:52 +01:00
mafiesto4 ec4ccaeba5 Merge branch 'intolerantape-bugfixes' 2021-01-20 13:18:49 +01:00
mafiesto4 214ae3c440 Merge branch 'bugfixes' of git://github.com/intolerantape/FlaxEngine into intolerantape-bugfixes 2021-01-20 13:18:46 +01:00
mafiesto4 ef5e98efaa Fix assertion during engine shutdown after crash during rendering 2021-01-20 13:12:11 +01:00
mafiesto4 ea489fbf2a Fix crash in motion blur tile size calculation 2021-01-20 13:11:45 +01:00
intolerantape 75d197cb84 Spelling fixes. 2021-01-19 23:02:33 -08:00
mafiesto4 6b5ce8c6e2 Merge branch 'stefnotch-patch-2' 2021-01-19 21:53:10 +01:00
mafiesto4 db6a02e20f Merge branch 'patch-2' of git://github.com/stefnotch/FlaxEngine into stefnotch-patch-2 2021-01-19 21:53:07 +01:00
mafiesto4 0a0c856a64 Add more splash screen quotes 2021-01-19 21:10:45 +01:00
stefnotch bd7a681700 Add more descriptive error message 2021-01-19 21:08:26 +01:00
mafiesto4 c4e6d013c1 Add more splash screen quotes 2021-01-18 22:47:31 +01:00
mafiesto4 d17d93c8a5 Merge branch 'jb-perrier-nearequalnode' 2021-01-18 21:10:09 +01:00
mafiesto4 6caffdc23f Merge branch 'nearequalnode' of git://github.com/jb-perrier/FlaxEngine into jb-perrier-nearequalnode 2021-01-18 21:10:05 +01:00
mafiesto4 99b011df8b Merge branch 'W2Wizard-AboutFlaxAdjustment' 2021-01-18 21:07:53 +01:00
mafiesto4 c02faf51a0 Merge branch 'AboutFlaxAdjustment' of git://github.com/W2Wizard/FlaxEngine into W2Wizard-AboutFlaxAdjustment 2021-01-18 21:07:49 +01:00
jb-perrier 50f87c8bfb Remove unused (). 2021-01-17 12:36:53 +01:00
jb-perrier edb103f8e7 Fix NearEqual (GPU Particle) missing implementation. 2021-01-17 12:13:48 +01:00
W2.Wizard 8fd0af3f39 Fixed Typos and padding 2021-01-17 10:18:30 +01:00
stefnotch 4db3c6ca71 Increase default distance between nodes 2021-01-16 19:23:35 +01:00
stefnotch aa4ecab271 Improve Visject bracket positioning 2021-01-16 19:20:36 +01:00
stefnotch 3356013858 Improve empty space finding 2021-01-16 18:16:48 +01:00
stefnotch 8003055ba6 Improve node layout algorithm 2021-01-15 20:23:40 +01:00
stefnotch c112274666 Add additional comments to the formatting algorithm 2021-01-15 19:51:23 +01:00
mafiesto4 f80f7cdd33 Fix crash on Android if GPU doesn't support linear sampling of the shadow map 2021-01-14 22:23:22 +01:00
mafiesto4 b76d5d34ea Fix lambda 2021-01-14 21:21:08 +01:00
mafiesto4 9e3c413c91 Fix crash when using Byte, Int16 or UInt16 as VS parameters 2021-01-13 00:22:52 +01:00
mafiesto4 fd6158e1a9 Fix loading VariantType.Blob 2021-01-12 23:36:50 +01:00
mafiesto4 932de300e4 Fix missing focus for SliderControl 2021-01-12 23:07:20 +01:00
mafiesto4 a3fa8ff9f0 Optimize some includes 2021-01-12 19:17:08 +01:00
mafiesto4 259c419c36 Fix crash when resizing existing MaterialSlots collection for model 2021-01-12 19:09:42 +01:00
mafiesto4 d7696c4765 Split VectorInt into separate files for Int2, Int3 and Int4 2021-01-12 19:09:22 +01:00
mafiesto4 89f25516fc Add inline for float16 compression and add code reference note 2021-01-12 19:05:17 +01:00
mafiesto4 fd268f4e15 Add missing FLAXENGINE_API expose macro to engine math types 2021-01-12 19:00:54 +01:00
stefnotch 5679d86683 Fix tracking mouse offset on high DPI screens 2021-01-12 12:04:30 +01:00
mafiesto4 6252c111b4 Tweak BatteryInfo 2021-01-11 16:38:12 +01:00
stefnotch ab4195ab6c Fix right clicking on Visject boxes
Previously, the primary context menu would get triggered when right clicking on a box, causing some issues
2021-01-11 16:24:41 +01:00
mafiesto4 1d2e2e5575 Merge branch 'jb-perrier-batteryinfo' 2021-01-11 16:13:21 +01:00
mafiesto4 7de0010772 Merge branch 'batteryinfo' of git://github.com/jb-perrier/FlaxEngine into jb-perrier-batteryinfo 2021-01-11 16:13:17 +01:00
mafiesto4 ebe0b9c8c9 Merge branch 'jb-perrier-opendialog' 2021-01-11 15:39:09 +01:00
mafiesto4 fa3b2af0ca Merge branch 'opendialog' of git://github.com/jb-perrier/FlaxEngine into jb-perrier-opendialog 2021-01-11 15:39:06 +01:00
mafiesto4 b446790438 Update shaders 2021-01-11 15:38:22 +01:00
mafiesto4 7ddf98abaa Merge branch 'W2Wizard-typo-fix' 2021-01-11 15:34:46 +01:00
mafiesto4 fb84aa2c4b Merge branch 'typo-fix' of git://github.com/W2Wizard/FlaxEngine into W2Wizard-typo-fix 2021-01-11 15:34:41 +01:00
mafiesto4 023c4f4726 Merge branch 'VNNCC-typo-fix' 2021-01-11 15:33:49 +01:00
mafiesto4 ba1a246a90 Merge branch 'typo-fix' of git://github.com/VNNCC/FlaxEngine into VNNCC-typo-fix 2021-01-11 15:33:45 +01:00
mafiesto4 a664e27772 Add missing event unregister for foliage/terrain tabs 2021-01-11 15:13:47 +01:00
mafiesto4 75b8e0a0f2 Merge branch 'VNNCC-fix-create-terrain-check' 2021-01-11 15:06:48 +01:00
mafiesto4 fc38aff46b Merge branch 'fix-create-terrain-check' of git://github.com/VNNCC/FlaxEngine into VNNCC-fix-create-terrain-check 2021-01-11 15:06:39 +01:00
mafiesto4 1ca31224e2 Fix code style 2021-01-11 15:03:23 +01:00
mafiesto4 c89479b5e7 Merge branch 'jb-perrier-windowstartpos' 2021-01-11 15:00:52 +01:00
mafiesto4 a691f15e1f Merge branch 'windowstartpos' of git://github.com/jb-perrier/FlaxEngine into jb-perrier-windowstartpos 2021-01-11 15:00:48 +01:00
mafiesto4 f0f1863124 Fix code style and move Camera Orientation widget below 2021-01-11 14:58:46 +01:00
mafiesto4 0823e00dfe Merge branch 'jb-perrier-cameraviews' 2021-01-11 14:52:23 +01:00
mafiesto4 43631ceb93 Merge branch 'cameraviews' of git://github.com/jb-perrier/FlaxEngine into jb-perrier-cameraviews 2021-01-11 14:52:19 +01:00
mafiesto4 4bd383f412 Merge branch 'W2Wizard-GoldenRatio' 2021-01-11 14:50:48 +01:00
mafiesto4 caa426767c Merge branch 'GoldenRatio' of git://github.com/W2Wizard/FlaxEngine into W2Wizard-GoldenRatio 2021-01-11 14:50:45 +01:00
stefnotch 7112160de5 Fix dragging existing connection
Undo stack
2021-01-11 13:00:24 +01:00
stefnotch 419ca4e630 Reduce width of mask nodes 2021-01-10 09:56:10 +01:00
jb-perrier 01e904e702 Fixing Windows position (on startup) being always on the top left corner. 2021-01-10 00:17:47 +01:00
stefnotch 9e1c1ecb9a Implement basic node formatter 2021-01-09 21:46:41 +01:00
jb-perrier cd5db384a4 Adding Camera Orientation to editor view menu. 2021-01-09 19:40:06 +01:00
mafiesto4 d586f828b2 Disable Linux CI for now 2021-01-09 18:39:56 +01:00
mafiesto4 f073e07de7 Fix error on CI running on Linux machine 2021-01-09 18:37:05 +01:00
mafiesto4 3f278b603d Fix path separators 2021-01-09 18:24:19 +01:00
mafiesto4 6d0f2b9083 Add CI build action for Linux 2021-01-09 18:21:09 +01:00
mafiesto4 3060a2664d Add executable flag for scripts 2021-01-09 18:20:47 +01:00
mafiesto4 698cfd0c0a Fix BlurPanel crashes due to slider for BlurStrength 2021-01-09 18:09:39 +01:00
mafiesto4 e6bffde301 Merge branch 'gh-actions' 2021-01-09 18:09:09 +01:00
mafiesto4 1b0e57408c Separate checkout steps 2021-01-09 17:43:07 +01:00
mafiesto4 442135047f Use manual LFS checkout 2021-01-09 17:41:56 +01:00
stefnotch ef2dbb7818 Fix double context menu invokation
SurfaceNode.cs already takes care of opening the context menu
2021-01-09 11:26:29 +01:00
W2.Wizard 2d2d45f568 Increased precision by 5 digits 2021-01-08 23:14:09 +01:00
mafiesto4 617e25eb4c Add lfs t repo clone 2021-01-08 23:08:51 +01:00
mafiesto4 24874376c3 Add initial build script for Windows editor and game 2021-01-08 23:00:08 +01:00
W2.Wizard 0d0340e11a Added golden ratio value 2021-01-08 12:06:17 +01:00
VNC 2252cd73f9 Removed unnecessary check 2021-01-07 00:06:43 +01:00
VNC 6deb64e587 Fix to disable terrain and foliage buttons if no scene is present
This will fix the issues described in #99.
2021-01-07 00:02:04 +01:00
mafiesto4 0e768694b5 Add using additional temporary temp param in scripting bindings glue code for array parameters using BytesContainer 2021-01-07 00:01:53 +01:00
mafiesto4 dca6736a6f Inline Vulkan func 2021-01-06 23:53:22 +01:00
W2.Wizard 6f727aa483 Corrected additional typos 2021-01-06 22:20:16 +01:00
mafiesto4 eec6957b08 Fix using unsigned integer properties in Visual Script editor 2021-01-06 11:31:38 +01:00
VNC 6da5c704b1 Change 'for' to 'to' 2021-01-06 01:03:19 +01:00
mafiesto4 f10c6b4ff6 Fix Linux build 2021-01-05 19:51:47 +01:00
mafiesto4 336a3bd484 Move shader source code length adjustment to the main compilation routine 2021-01-05 14:25:38 +01:00
mafiesto4 6adb489276 Fix PCF shadow uvs vector trunc warning 2021-01-05 14:17:20 +01:00
mafiesto4 12f34f33b3 Fix PlatformSettings typedef on Android 2021-01-05 14:17:15 +01:00
mafiesto4 4992d21747 Fix using AssetRefEditor for editing asset reference on Guid property 2021-01-05 14:17:11 +01:00
mafiesto4 0c1d797511 Fix null character at shader sources at during game cooking 2021-01-05 14:17:05 +01:00
mafiesto4 bd3f2b3019 Update DirectXShaderCompiler to 1.6 2021-01-05 14:16:57 +01:00
W2.Wizard 4d8cc9aef7 Fixed additional typos
Went through the source with VNNCC to correct as many found typos as possible

Co-Authored-By: VNC <52937757+VNNCC@users.noreply.github.com>
2021-01-05 02:14:21 +01:00
VNC 6ab300025b Fixed a ton of typos 2021-01-05 02:13:15 +01:00
W2.Wizard f7c17d96ce Fixed a typo 2021-01-05 01:06:42 +01:00
jb-perrier f5ac18915a Fixing open save dialog. 2021-01-04 22:44:40 +01:00
jb-perrier ed92489a60 Fixing open file dialog. 2021-01-04 21:59:57 +01:00
mafiesto4 946d69a3ef Bump up the build number 2021-01-04 19:38:02 +01:00
stefnotch 10cdbc8fbc Add dragging existing connection from input box 2021-01-04 12:33:29 +01:00
mafiesto4 d715c0c0dd Merge branch 'VNNCC-dev' 2021-01-03 23:41:36 +01:00
mafiesto4 7bbdd25a9e Merge branch 'dev' of git://github.com/VNNCC/FlaxEngine into VNNCC-dev 2021-01-03 23:41:33 +01:00
mafiesto4 566a653c0a Fix using ApiToken constant 2021-01-03 23:38:43 +01:00
mafiesto4 464523f318 Add missing control reference clear 2021-01-03 23:38:30 +01:00
mafiesto4 e68b54159d Merge branch 'stefnotch-context-menu-focus-returning' 2021-01-03 23:36:11 +01:00
mafiesto4 0d4ac16d18 Merge branch 'context-menu-focus-returning' of git://github.com/stefnotch/FlaxEngine into stefnotch-context-menu-focus-returning 2021-01-03 23:36:08 +01:00
mafiesto4 9d66d5f6a7 Merge branch 'VNNCC-constants-update' 2021-01-03 23:19:31 +01:00
mafiesto4 717d02f073 Merge branch 'constants-update' of git://github.com/VNNCC/FlaxEngine into VNNCC-constants-update 2021-01-03 23:19:26 +01:00
mafiesto4 786f057971 Fix crash on scripting reload when using Anim Graph with custom nodes 2021-01-03 23:18:53 +01:00
mafiesto4 c1a83662d9 Add additional check for twice plugin initialization in case of error 2021-01-03 23:18:24 +01:00
VNC e62ccd55ba Make constants use the actual const keyword
All references are baked into the assembly with the corresponding IL instruction when compiling. Because no lookup will take place, it will "increase" the performance.
2021-01-03 22:56:54 +01:00
mafiesto4 1f9888b88c Merge branch 'jb-perrier-gameplugin' 2021-01-03 22:52:59 +01:00
mafiesto4 0b3232d94b Merge branch 'gameplugin' of git://github.com/jb-perrier/FlaxEngine into jb-perrier-gameplugin 2021-01-03 22:52:55 +01:00
mafiesto4 6c7529f6b3 Update link to Youtube channel 2021-01-03 22:14:04 +01:00
mafiesto4 bf9204f146 Add IconsScale to editor interface options 2021-01-03 22:13:31 +01:00
mafiesto4 4043e35b10 Merge branch 'DaveTheGameDev-IconScaling' 2021-01-03 21:06:29 +01:00
mafiesto4 add539392a Merge branch 'IconScaling' of git://github.com/DaveTheGameDev/FlaxEngine into DaveTheGameDev-IconScaling 2021-01-03 21:06:25 +01:00
mafiesto4 7e4afbc4ff Update shaders 2021-01-03 21:00:39 +01:00
mafiesto4 c39b201d3a Add more updates for copyright year 2021-01-03 21:00:32 +01:00
mafiesto4 6fdb30b6af Merge branch 'jb-perrier-copyright' 2021-01-03 20:27:15 +01:00
mafiesto4 cc399b51f0 Merge branch 'copyright' of git://github.com/jb-perrier/FlaxEngine into jb-perrier-copyright 2021-01-03 20:27:08 +01:00
mafiesto4 c5ce32d66d Merge branch 'stefnotch-fix-shortcuts-in-play-mode' 2021-01-03 20:25:15 +01:00
mafiesto4 20969b5d3d Merge branch 'fix-shortcuts-in-play-mode' of git://github.com/stefnotch/FlaxEngine into stefnotch-fix-shortcuts-in-play-mode 2021-01-03 20:25:11 +01:00
mafiesto4 fee0a458d0 Adjust AboutDialog bounds 2021-01-03 20:24:03 +01:00
mafiesto4 af9e710763 Merge branch 'jb-perrier-contributors' 2021-01-03 20:18:42 +01:00
mafiesto4 23b2094dd4 Merge branch 'contributors' of git://github.com/jb-perrier/FlaxEngine into jb-perrier-contributors 2021-01-03 20:18:37 +01:00
mafiesto4 23c51694c7 Reimplement Motion Blur 2021-01-03 20:13:09 +01:00
stefnotch f59fe297ea Fix shortcuts (F5, F6, F11) in play mode 2021-01-03 11:35:43 +01:00
jb-perrier 21ec0f103e Implementing GetBatteryInfo() in PlatformBase. 2021-01-02 18:41:00 +01:00
jb-perrier 3ed2e010fa Bumping new file copyright to 2021. 2021-01-02 14:55:30 +01:00
jb-perrier 096d6297fe Adding contributors names to AboutDialog. 2021-01-02 14:46:06 +01:00
jb-perrier 03eb39afe6 Bumping all copyright headers to 2021. 2021-01-02 14:28:49 +01:00
stefnotch b63753b4d5 Return focus to the previous control when closing a context menu
Fixes the fancy Visject input stuff
2021-01-02 13:30:12 +01:00
jb-perrier e9f72dbbbf Adding ACLineStatus enum. 2021-01-02 13:15:15 +01:00
jb-perrier 624ab4b8dd Implementing GetBatteryInfo() to Win32Platform. 2021-01-02 12:54:16 +01:00
jb-perrier a4607385fd Adding GetBatteryInfo() to PlatformBase. 2021-01-02 12:53:20 +01:00
jb-perrier 0f2e579674 Create BatteryInfo struct. 2021-01-02 12:51:32 +01:00
jb-perrier 463e981d39 GamePlugin only used in PlayMode/Cooked game. 2021-01-01 20:20:38 +01:00
mafiesto4 e5286510d1 Fix reaming opengl leftovers 2020-12-31 16:56:09 +01:00
mafiesto4 66e8560b51 Fix comparing String with StringView 2020-12-31 16:55:42 +01:00
mafiesto4 3877f100c3 Fix C# methods lookup for method signatures with output structure parameter passed as reference 2020-12-31 16:50:49 +01:00
mafiesto4 d94e777feb Add support for using unsigned integer input fields in Visject Surface editor 2020-12-31 15:36:07 +01:00
mafiesto4 9b891d0c55 Add support for hexadecimal values in editor value fields 2020-12-31 15:35:31 +01:00
mafiesto4 3ab04598da Fix Length node in Visual Script 2020-12-31 15:02:21 +01:00
mafiesto4 f7808dc7ca Add support for active logging of the process output on Windows 2020-12-31 01:05:48 +01:00
mafiesto4 99f1ac1cc5 Fix logging process output on Windows 2020-12-31 00:50:39 +01:00
mafiesto4 3973452ec3 Add logging offset for Json parsing errors 2020-12-30 23:50:07 +01:00
mafiesto4 29a8abd996 Fix Editor features usage enable when no scene is loaded 2020-12-30 23:36:31 +01:00
mafiesto4 7de3632c7e Merge branch 'stefnotch-fix-null-style-crash' 2020-12-30 23:00:42 +01:00
mafiesto4 fa381c5493 Merge branch 'fix-null-style-crash' of git://github.com/stefnotch/FlaxEngine into stefnotch-fix-null-style-crash 2020-12-30 23:00:38 +01:00
mafiesto4 a293be2121 Merge branch 'VNNCC-fix-toolstrip-buildscene' 2020-12-30 22:58:35 +01:00
mafiesto4 e19b10f790 Merge branch 'fix-toolstrip-buildscene' of git://github.com/VNNCC/FlaxEngine into VNNCC-fix-toolstrip-buildscene 2020-12-30 22:58:31 +01:00
mafiesto4 05790ab9a1 Fix code style 2020-12-30 22:56:17 +01:00
mafiesto4 5e469a0ae3 Remove deprecated and unsued OpenGL backend 2020-12-30 11:27:37 +01:00
mafiesto4 4c205be617 Fix code style 2020-12-30 11:20:37 +01:00
stefnotch 96dbd3a937 Prevent loading 'null' style 2020-12-30 10:28:17 +01:00
VNC 265cc13971 Updated build scenes toolstrip button
The local variable "canEditScene" doesn't check if any scene is loaded, the EditingSceneState type overrides the CanEditScene property to always return true which makes the check necessary.
2020-12-30 03:40:07 +01:00
mafiesto4 4ec3e6aed9 Remove unused code 2020-12-30 00:52:07 +01:00
mafiesto4 a082d52543 Remove unused ExtractVersionNum function 2020-12-30 00:05:20 +01:00
mafiesto4 1a0c12191d Add IgnoreMissingDocumentationWarnings option into generated csproj files 2020-12-30 00:05:05 +01:00
mafiesto4 82cade649b Fix removing namespace from nodes in imported model files 2020-12-29 23:39:33 +01:00
mafiesto4 72ab8a5363 Fix GPU timer query detected warning to be single-time 2020-12-29 23:26:14 +01:00
mafiesto4 8998eb2330 Fix editor main window resizing edges size to be 10px 2020-12-29 23:20:21 +01:00
mafiesto4 000e2c96a5 Merge branch 'stefnotch-enha-point-from-to-screen' 2020-12-29 23:13:26 +01:00
mafiesto4 7b7ba7d73e Merge branch 'enha-point-from-to-screen' of git://github.com/stefnotch/FlaxEngine into stefnotch-enha-point-from-to-screen 2020-12-29 23:13:21 +01:00
mafiesto4 826c0206cb Fix model collision data generate option to be in ModelProxy 2020-12-29 23:11:00 +01:00
mafiesto4 a2371dab83 Merge branch 'jb-perrier-collisiondata-from-model' 2020-12-29 23:06:31 +01:00
mafiesto4 8dd915ec01 Merge branch 'collisiondata-from-model' of git://github.com/jb-perrier/FlaxEngine into jb-perrier-collisiondata-from-model 2020-12-29 23:06:26 +01:00
mafiesto4 45e86f7591 Fix MoveFile on Windows if using proxy file on different drive 2020-12-29 21:00:23 +01:00
mafiesto4 de70ac3e36 Tweaks 2020-12-29 20:59:51 +01:00
mafiesto4 e95e79cabf Merge branch 'stefnotch-file-rename-fix' 2020-12-29 20:13:56 +01:00
mafiesto4 7335cd39ca Merge branch 'file-rename-fix' of git://github.com/stefnotch/FlaxEngine into stefnotch-file-rename-fix 2020-12-29 20:13:52 +01:00
stefnotch 65ab9cac50 Change ClientFrom/ToScreen to PointFrom/ToScreen
Fix #67
2020-12-29 18:10:26 +01:00
mafiesto4 ae8d6a6000 Merge branch 'VNNCC-fix-typo' 2020-12-29 16:03:53 +01:00
VNC 8b2a8d22b3 Fixed more typos in Source\Engine\Content 2020-12-29 03:41:01 +01:00
VNC 8a7cb34e93 Fix Audio file typos 2020-12-29 03:35:52 +01:00
VNC 967b6585e1 Fix more typos in Source\Engine\Animations 2020-12-29 03:31:13 +01:00
VNC 1c4ebe9ab6 Fix typo in AnimGraph 2020-12-29 03:23:37 +01:00
VNC d65e922cca Fixed typos in AnimGraph.Custom 2020-12-29 03:23:15 +01:00
VNC d69bdbe1ef Fix typo in Audio error log 2020-12-29 03:20:42 +01:00
VNC 3975efc9e4 Fix typo in error log message 2020-12-29 03:03:04 +01:00
mafiesto4 fb22d1dd32 Merge branch 'Polypulse-master' 2020-12-28 22:11:50 +01:00
mafiesto4 9a9996bd51 Merge branch 'master' of git://github.com/Polypulse/FlaxEngine into Polypulse-master 2020-12-28 22:11:47 +01:00
mafiesto4 140fae3fa1 Fix crash for ScriptingObject.ToString if class is null 2020-12-28 22:00:11 +01:00
mafiesto4 4c372c0b76 Merge branch 'VNNCC-issue-26' 2020-12-28 21:56:57 +01:00
mafiesto4 97586fe936 Merge branch 'issue-26' of git://github.com/VNNCC/FlaxEngine into VNNCC-issue-26 2020-12-28 21:56:54 +01:00
mafiesto4 3ed30b81d6 Fix code style 2020-12-28 21:55:45 +01:00
mafiesto4 13102254f9 Merge branch 'VNNCC-vscode-insiders' 2020-12-28 21:53:12 +01:00
VNC e0c362856e Support for Visual Studio Code Insiders 2020-12-28 21:12:52 +01:00
VNC a4c1bf104c Fix typo and use GetID for the log 2020-12-28 19:52:39 +01:00
VNC 2f313c6b43 Correct DockHintWindow drag offset if it was invalid when initializing
Description: If the toMove window is unfocused the FlaxEngine.Input.MouseScreenPosition property will always return a vector that only contains zeros. #64

Fix: Perform a later update that will correct the drag offset using the current mouse position.
2020-12-28 19:05:14 +01:00
mafiesto4 dc1360422f Merge branch 'VNNCC-master' 2020-12-28 11:09:16 +01:00
mafiesto4 8d0018c42d Merge branch 'master' of git://github.com/VNNCC/FlaxEngine into VNNCC-master 2020-12-28 11:09:12 +01:00
mafiesto4 cb6179dbb7 Remove unused checks 2020-12-28 10:33:28 +01:00
Sean Connor aff2c154a9 Fixes issue where type editor fails to find acceptable types when creating new json data asset. 2020-12-26 14:18:46 -07:00
David Conway c6664c7d1e Fix xml summary in ToolStrip.cs 2020-12-26 04:40:42 +11:00
VNC 3bf54bac85 Fix inverted Y Gizmo Rotation 2020-12-25 03:00:10 +01:00
David Conway c0cc89201e Move icon settings to styles 2020-12-24 20:04:43 +11:00
David Conway 16fab80f86 Change how settings are accessed in ToolBox Window 2020-12-24 20:04:38 +11:00
David Conway 08ebd99ed4 Add ToolStrip and Toolbox icon scaling settings 2020-12-24 20:04:36 +11:00
mafiesto4 da389eea03 Fix preserving Editor undo actions during play mode 2020-12-24 00:01:33 +01:00
mafiesto4 8347e15413 Fix undo redo flags in play mode 2020-12-24 00:01:07 +01:00
mafiesto4 8ea5dcb110 Merge branch 'stefnotch-fix-maximum-window-size' 2020-12-23 22:39:05 +01:00
mafiesto4 c9989e0aff Merge branch 'fix-maximum-window-size' of git://github.com/stefnotch/FlaxEngine into stefnotch-fix-maximum-window-size 2020-12-23 22:39:01 +01:00
mafiesto4 3f73d63edb Merge branch 'stefnotch-fix-dpi-issues' 2020-12-23 22:37:16 +01:00
mafiesto4 05b358f44e Merge branch 'fix-dpi-issues' of git://github.com/stefnotch/FlaxEngine into stefnotch-fix-dpi-issues 2020-12-23 22:37:12 +01:00
stefnotch 4a068a3b86 Change maximum window size to 4096
For those neat 4k monitors
2020-12-23 21:54:42 +01:00
mafiesto4 87e026bd4f Fix Android build 2020-12-23 14:26:07 +01:00
stefnotch 0679aebfac Fix docking hints jumping around on high dpi screens 2020-12-23 14:12:53 +01:00
stefnotch 310140e91b Fix context menu disappearing
Fix #10
2020-12-23 14:11:11 +01:00
mafiesto4 2acad9963f Fix #41 2020-12-23 10:14:51 +01:00
mafiesto4 8198b73297 Add license files for all third party modules explicitly (even if using predefined license defined in config) 2020-12-22 23:29:42 +01:00
mafiesto4 38cd840a66 Tweak readme 2020-12-22 23:18:23 +01:00
mafiesto4 aa2a131956 Merge branch 'stefnotch-fix-double-extension' 2020-12-22 23:15:36 +01:00
mafiesto4 4f9df89fd3 Merge branch 'fix-double-extension' of git://github.com/stefnotch/FlaxEngine into stefnotch-fix-double-extension 2020-12-22 23:15:33 +01:00
mafiesto4 94822b57d9 Remove dummy logs 2020-12-22 23:14:36 +01:00
stefnotch a388df2f74 Better handle double file extensions on rename
Fix #37
2020-12-22 22:47:06 +01:00
mafiesto4 2c6a70b744 Merge branch 'stefnotch-fix-rmb-scroll' 2020-12-22 18:47:06 +01:00
mafiesto4 566f8f5810 Merge branch 'fix-rmb-scroll' of git://github.com/stefnotch/FlaxEngine into stefnotch-fix-rmb-scroll 2020-12-22 18:47:03 +01:00
stefnotch 21cbfec533 Fix speed change scrolling being wonky 2020-12-22 18:33:06 +01:00
mafiesto4 4279b3f482 Merge branch 'klukule-duplicite-filename-extension-fix' 2020-12-22 18:32:08 +01:00
mafiesto4 4c212400d8 Merge branch 'duplicite-filename-extension-fix' of git://github.com/klukule/FlaxEngine into klukule-duplicite-filename-extension-fix 2020-12-22 18:32:04 +01:00
mafiesto4 cf0aeb79bf Remove TAA and Motion Blur implementations 2020-12-22 18:07:53 +01:00
mafiesto4 4fe91d57b7 Fix code style 2020-12-22 13:45:02 +01:00
mafiesto4 760d586923 Fix crash when using Physical Material with missing instance
(cherry picked from commit 5e77925492)
2020-12-22 12:59:31 +01:00
mafiesto4 5e239f5d87 Fix code style
(cherry picked from commit 16cd75d179)
2020-12-22 12:59:27 +01:00
mafiesto4 70d0c0ea8a Fix generating project files without host platform tools 2020-12-22 00:08:24 +01:00
jb-perrier 1fccefb07f Use already defined var. 2020-12-22 00:03:19 +01:00
mafiesto4 59fb6eb875 Merge branch 'jb-perrier-reportissue' 2020-12-21 23:51:53 +01:00
mafiesto4 bdbb16d759 Merge branch 'reportissue' of git://github.com/jb-perrier/FlaxEngine into jb-perrier-reportissue 2020-12-21 23:51:48 +01:00
mafiesto4 0f18fd9610 Fix build scripts 2020-12-21 23:46:59 +01:00
mafiesto4 2a29abcc39 Fix code style 2020-12-21 23:37:28 +01:00
mafiesto4 d322015e6e Fix model LOD index detection in importer 2020-12-21 23:22:08 +01:00
mafiesto4 4f954c2eb4 Fix code style 2020-12-21 23:21:46 +01:00
jb-perrier d0e509a8fc Adding "Generate collision data" from Model context menu. 2020-12-21 23:20:42 +01:00
jb-perrier bc1a5b99ac Fix link to Github issue. 2020-12-21 21:58:39 +01:00
mafiesto4 47c0797028 Merge branch 'jb-perrier-master' 2020-12-21 21:32:27 +01:00
mafiesto4 31f6e94da2 Merge branch 'master' of git://github.com/jb-perrier/FlaxEngine into jb-perrier-master 2020-12-21 21:32:21 +01:00
mafiesto4 15e3cc0e0b Merge branch 'jb-perrier-registerengine' 2020-12-21 20:43:30 +01:00
mafiesto4 810c1fb574 Merge branch 'registerengine' of git://github.com/jb-perrier/FlaxEngine into jb-perrier-registerengine 2020-12-21 20:43:25 +01:00
mafiesto4 cac33d8f72 Fix #18 2020-12-21 20:38:47 +01:00
mafiesto4 666aeca4ea Fixes for code style 2020-12-21 20:27:53 +01:00
jb-perrier 596943c913 Typo. 2020-12-21 18:26:59 +01:00
jb-perrier fd5835e3c8 Fix wrong engine path with RegisterEng. as Admin. 2020-12-21 18:16:04 +01:00
jb-perrier 965352c3f4 Revert "Fix wrong engine path with RegisterEng. as Admin."
This reverts commit 4a3092d0e8.
2020-12-21 18:14:52 +01:00
jb-perrier 4a3092d0e8 Fix wrong engine path with RegisterEng. as Admin. 2020-12-21 18:10:38 +01:00
jb-perrier 39491663ee Fix flashing tooltip. 2020-12-21 17:25:10 +01:00
mafiesto4 8ac2d7069d Fixes for code style
(cherry picked from commit c987acb709)
2020-12-21 11:56:22 +01:00
jb-perrier 3c60f2691d Typo 2020-12-21 11:54:51 +01:00
jb-perrier c83cc35b93 Adding auto sort to ContextMenu. 2020-12-21 11:54:51 +01:00
mafiesto4 4508f5b77f Revert 2020-12-21 11:54:16 +01:00
mafiesto4 ed5450d7e6 Fix context menu positioning for child menus when flipping the direction over Y axis 2020-12-21 11:49:02 +01:00
mafiesto4 c987acb709 Fixes for code style 2020-12-21 11:42:18 +01:00
mafiesto4 89b78e598e Merge branch 'jb-perrier-autosort' 2020-12-21 11:38:47 +01:00
jb-perrier c496f2a9db Typo 2020-12-21 11:38:23 +01:00
jb-perrier 0688e9c6c3 Set auto sort to true for New asset context menu. 2020-12-21 11:38:23 +01:00
jb-perrier 34d74477e4 Adding auto sort to ContextMenu. 2020-12-21 11:38:23 +01:00
mafiesto4 1798bf003b Fix editing overridden particle emitter parameter in particle system window 2020-12-21 11:37:10 +01:00
Lukáš Jech 07f58558e3 Force proper extension if manually specified by user during asset creation 2020-12-21 03:58:52 +01:00
mafiesto4 96457a0adc Fix crash on null 2020-12-20 21:16:50 +01:00
stefnotch 9c55518744 Fix renaming item error handling 2020-12-20 19:19:30 +01:00
mafiesto4 f35c666ea8 Fix LFS issues for contributors due to LFS server locks check requiring authorization 2020-12-20 18:29:43 +01:00
stefnotch 0da02b99cc Fix renaming files to same name with different case 2020-12-20 18:00:14 +01:00
mafiesto4 7e6b236661 Remove unused code 2020-12-20 10:51:29 +01:00
mafiesto4 8a870a07ae Cleanup some old unused shader code 2020-12-20 10:22:54 +01:00
mafiesto4 afeaaee376 Remove unused noise test functions 2020-12-20 00:50:35 +01:00
mafiesto4 973af724f4 Fix editor viewport camera glitch on first frame when using camera orbiting 2020-12-20 00:03:14 +01:00
mafiesto4 5cab22e20d Fixes for Vulkan descriptor types iterations 2020-12-19 23:24:31 +01:00
mafiesto4 af39369661 Merge branch 'dragonCASTjosh-master' 2020-12-19 23:11:39 +01:00
mafiesto4 3bdd2e4e5b Merge branch 'master' of git://github.com/dragonCASTjosh/FlaxEngine into dragonCASTjosh-master 2020-12-19 23:11:30 +01:00
Jean-Baptiste Perrier 6cefab801f Title bar High DPI fix. 2020-12-19 13:47:59 +01:00
Josh 84628b8f6b Fix compiler errors with Vulkan 1.2.x 2020-12-19 02:36:57 +01:00
mafiesto4 68e3b279fa Fix building C# game code without Window SDK for Windows Editor 2020-12-18 13:22:14 +01:00
mafiesto4 def3698423 Fix #3 2020-12-18 13:07:27 +01:00
2456 changed files with 8659 additions and 35257 deletions
+19
View File
@@ -0,0 +1,19 @@
name: Build Linux
on: [push, pull_request]
jobs:
# Game
game-linux:
name: Game (Linux, Release x64)
runs-on: "ubuntu-20.04"
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Checkout LFS
run: |
git lfs version
git lfs pull
- name: Build
run: |
./Development/Scripts/Linux/CallBuildTool.sh -build -log -arch=x64 -platform=Linux -configuration=Release -buildtargets=FlaxGame
+34
View File
@@ -0,0 +1,34 @@
name: Build Windows
on: [push, pull_request]
jobs:
# Editor
editor-windows:
name: Editor (Windows, Development x64)
runs-on: "windows-latest"
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Checkout LFS
run: |
git lfs version
git lfs pull
- name: Build
run: |
.\Development\Scripts\Windows\CallBuildTool.bat -build -log -arch=x64 -platform=Windows -configuration=Development -buildtargets=FlaxEditor
# Game
game-windows:
name: Game (Windows, Release x64)
runs-on: "windows-latest"
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Checkout LFS
run: |
git lfs version
git lfs pull
- name: Build
run: |
.\Development\Scripts\Windows\CallBuildTool.bat -build -log -arch=x64 -platform=Windows -configuration=Release -buildtargets=FlaxGame
+1
View File
@@ -1,3 +1,4 @@
# Redirect to our own Git LFS server
[lfs]
url="https://gitlab.flaxengine.com/flax/flaxengine.git/info/lfs"
locksverify = false
+34
View File
@@ -0,0 +1,34 @@
# How to contribute to the FlaxEngine
For any questions, suggestions or help join our discord!
<a href="https://flaxengine.com/discord"><img src="https://discordapp.com/api/guilds/437989205315158016/widget.png"/></a>
Want to see whats planned for Flax?
Go check out our [Trello](https://trello.com/b/NQjLXRCP/flax-roadmap).
## **Found a bug?**
* Avoid opening any new issues without having checked if your problem has already been reported. If there are no currently open issues that fit your problem's description, feel free to [add it](https://github.com/FlaxEngine/FlaxEngine/issues/new).
* When writing an issue make sure to include a clear title and description as well as having filled out all the necessary information, depending on the severity of the issue also include the necessary log files and minidump.
* Try to following the given template when writing a new issue if possible.
## **Want to contribute?**
* Fork the FlaxEngine, create a new branch and push your changes there. Then, create a pull request.
* When creating a PR for fixing an issue/bug make sure to describe as to what led to the fix for better understanding, for small and obvious fixes this is not really needed.
However make sure to mention the relevant issue where it was first reported if possible.
* For feature PR's the first thing you should evaluate is the value of your contribution, as in, what would it bring to this engine? Is it really required?
If its a small change you could preferably suggest it to us on our discord, else feel free to open up a PR for it.
* Ensure when creating a PR that your contribution is well explained with a adequate description and title.
* Generally, good code quality is expected, make sure your contribution works as intended and is appropriately commented where necessary.
Thank you for taking interest in contributing to Flax!
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -114,8 +114,7 @@ Material GetMaterialPS(MaterialInput input)
@4
}
// Programmatically set the line number after all the material inputs which have a variable number of line endings
// This allows shader error line numbers after this point to be the same regardless of which material is being compiled
// Fix line for errors/warnings for shader code from template
#line 1000
// Input macro specified by the material: DECAL_BLEND_MODE
@@ -160,12 +159,9 @@ void PS_Decal(
float3 positionWS = positionHS.xyz / positionHS.w;
float3 positionOS = mul(float4(positionWS, 1), InvWorld).xyz;
// Clip content outside the decal
clip(0.5 - abs(positionOS.xyz));
// By default, map textures using the vectors perpendicular to the projection direction
float2 decalUVs = positionOS.xz + 0.5f;
// Setup material input
MaterialInput materialInput = (MaterialInput)0;
materialInput.WorldPosition = positionWS;
+1 -2
View File
@@ -197,8 +197,7 @@ Material GetMaterialPS(MaterialInput input)
@4
}
// Programmatically set the line number after all the material inputs which have a variable number of line endings
// This allows shader error line numbers after this point to be the same regardless of which material is being compiled
// Fix line for errors/warnings for shader code from template
#line 1000
// Vertex Shader function for GUI materials rendering
@@ -330,8 +330,7 @@ Material GetMaterialPS(MaterialInput input)
@4
}
// Programmatically set the line number after all the material inputs which have a variable number of line endings
// This allows shader error line numbers after this point to be the same regardless of which material is being compiled
// Fix line for errors/warnings for shader code from template
#line 1000
// Calculates the transform matrix from mesh tangent space to local space
@@ -834,7 +833,7 @@ float4 PS_Distortion(PixelInput input) : SV_Target0
// Scale up for better precision in low/subtle refractions at the expense of artefacts at higher refraction
distortion *= 4.0f;
// Store positive and negative offsets separately
// Use separate storage for positive and negative offsets
float2 addOffset = max(distortion, 0);
float2 subOffset = abs(min(distortion, 0));
return float4(addOffset.x, addOffset.y, subOffset.x, subOffset.y);
@@ -134,8 +134,7 @@ Material GetMaterialPS(MaterialInput input)
@4
}
// Programmatically set the line number after all the material inputs which have a variable number of line endings
// This allows shader error line numbers after this point to be the same regardless of which material is being compiled
// Fix line for errors/warnings for shader code from template
#line 1000
// Pixel Shader function for PostFx materials rendering
@@ -340,8 +340,7 @@ Material GetMaterialPS(MaterialInput input)
@4
}
// Programmatically set the line number after all the material inputs which have a variable number of line endings
// This allows shader error line numbers after this point to be the same regardless of which material is being compiled
// Fix line for errors/warnings for shader code from template
#line 1000
// Calculates the transform matrix from mesh tangent space to local space
@@ -500,7 +499,7 @@ float3x4 GetBoneMatrix(int index)
}
// Calculates the transposed transform matrix for the given vertex (uses blending)
float3x4 CalcBoneMatrix(ModelInput_Skinned input)
float3x4 GetBoneMatrix(ModelInput_Skinned input)
{
float3x4 boneMatrix = input.BlendWeights.x * GetBoneMatrix(input.BlendIndices.x);
boneMatrix += input.BlendWeights.y * GetBoneMatrix(input.BlendIndices.y);
@@ -549,7 +548,7 @@ VertexOutput VS_Skinned(ModelInput_Skinned input)
// Perform skinning
SkinningData data;
data.BlendMatrix = CalcBoneMatrix(input);
data.BlendMatrix = GetBoneMatrix(input);
float3 position = SkinPosition(input, data);
float3x3 tangentToLocal = SkinTangents(input, data);
@@ -808,7 +807,6 @@ TessalationDSToPS DS(TessalationPatch constantData, float3 barycentricCoords : S
#define COPY(thing) output.thing = input[0].thing
INTERPOLATE(Position);
#if MATERIAL_TESSELLATION == MATERIAL_TESSELLATION_PN
// Precompute squares and squares * 3
float UU = U * U;
float VV = V * V;
float WW = W * W;
@@ -337,8 +337,7 @@ Material GetMaterialPS(MaterialInput input)
@4
}
// Programmatically set the line number after all the material inputs which have a variable number of line endings
// This allows shader error line numbers after this point to be the same regardless of which material is being compiled
// Fix line for errors/warnings for shader code from template
#line 1000
// Calculates the transform matrix from mesh tangent space to local space
@@ -474,7 +473,7 @@ float3x4 GetBoneMatrix(int index)
}
// Calculates the transposed transform matrix for the given vertex (uses blending)
float3x4 CalcBoneMatrix(ModelInput_Skinned input)
float3x4 GetBoneMatrix(ModelInput_Skinned input)
{
float3x4 boneMatrix = input.BlendWeights.x * GetBoneMatrix(input.BlendIndices.x);
boneMatrix += input.BlendWeights.y * GetBoneMatrix(input.BlendIndices.y);
@@ -521,7 +520,7 @@ VertexOutput VS_Skinned(ModelInput_Skinned input)
// Perform skinning
SkinningData data;
data.BlendMatrix = CalcBoneMatrix(input);
data.BlendMatrix = GetBoneMatrix(input);
float3 position = SkinPosition(input, data);
half3x3 tangentToLocal = SkinTangents(input, data);
@@ -755,7 +754,6 @@ TessalationDSToPS DS(TessalationPatch constantData, float3 barycentricCoords : S
#define COPY(thing) output.thing = input[0].thing
INTERPOLATE(Position);
#if MATERIAL_TESSELLATION == MATERIAL_TESSELLATION_PN
// Precompute squares and squares * 3
float UU = U * U;
float VV = V * V;
float WW = W * W;
@@ -977,8 +975,8 @@ float4 PS_Distortion(PixelInput input) : SV_Target0
// Scale up for better precision in low/subtle refractions at the expense of artefacts at higher refraction
distortion *= 4.0f;
// Store positive and negative offsets separately
// Use separate storage for positive and negative offsets
float2 addOffset = max(distortion, 0);
float2 subOffset = abs(min(distortion, 0));
return float4(addOffset.x, addOffset.y, subOffset.x, subOffset.y);
@@ -234,8 +234,7 @@ Material GetMaterialPS(MaterialInput input)
@4
}
// Programmatically set the line number after all the material inputs which have a variable number of line endings
// This allows shader error line numbers after this point to be the same regardless of which material is being compiled
// Fix line for errors/warnings for shader code from template
#line 1000
// Calculates LOD value (with fractional part for blending)
@@ -595,7 +594,6 @@ TessalationDSToPS DS(TessalationPatch constantData, float3 barycentricCoords : S
#define COPY(thing) output.thing = input[0].thing
INTERPOLATE(Position);
#if MATERIAL_TESSELLATION == MATERIAL_TESSELLATION_PN
// Precompute squares and squares * 3
float UU = U * U;
float VV = V * V;
float WW = W * W;
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+6
View File
@@ -3,6 +3,12 @@
set -e
testfilesize=$(wc -c < 'Source/Logo.png')
if [ $testfilesize -le 1000 ]; then
echo "CallBuildTool ERROR: Repository was not cloned using Git LFS" 1>&2
exit 1
fi
# Compile the build tool.
xbuild /nologo /verbosity:quiet "Source/Tools/Flax.Build/Flax.Build.csproj" /property:Configuration=Release /property:Platform=AnyCPU /target:Build
+22 -60
View File
@@ -2,93 +2,55 @@
rem Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
rem Make sure the batch file exists in the root folder.
if not exist "Development\Scripts\Windows\GetMSBuildPath.bat" goto Error_BatchFileInWrongLocation
if not exist "Development\Scripts\Windows\GetMSBuildPath.bat" goto Error_InvalidLocation
for %%I in (Source\Logo.png) do if %%~zI LSS 2000 (
goto Error_MissingLFS
)
rem Get the path to MSBuild executable.
call "Development\Scripts\Windows\GetMSBuildPath.bat"
if errorlevel 1 goto Error_NoVisualStudioEnvironment
rem If using VS2017, check that NuGet package manager is installed.
if not exist "%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" goto NoVsWhere
set MSBUILD_15_EXE=
if not exist "%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" goto Compile
for /f "delims=" %%i in ('"%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere" -latest -products * -requires Microsoft.Component.MSBuild -property installationPath') do (
for %%j in (15.0, Current) do (
if exist "%%i\MSBuild\%%j\Bin\MSBuild.exe" (
set MSBUILD_15_EXE="%%i\MSBuild\%%j\Bin\MSBuild.exe"
goto FoundMsBuild15
set MSBUILD_PATH="%%i\MSBuild\%%j\Bin\MSBuild.exe"
goto Compile
)
)
)
:FoundMsBuild15
set MSBUILD_15_EXE_WITH_NUGET=
for /f "delims=" %%i in ('"%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere" -latest -products * -requires Microsoft.Component.MSBuild -requires Microsoft.VisualStudio.Component.NuGet -property installationPath') do (
if exist "%%i\MSBuild\15.0\Bin\MSBuild.exe" (
set MSBUILD_15_EXE_WITH_NUGET="%%i\MSBuild\15.0\Bin\MSBuild.exe"
goto FoundMsBuild15WithNuget
)
)
:FoundMsBuild15WithNuget
if not [%MSBUILD_15_EXE%] == [] (
set MSBUILD_EXE=%MSBUILD_15_EXE%
goto NoVsWhere
)
if not [%MSBUILD_EXE%] == [%MSBUILD_15_EXE_WITH_NUGET%] goto Error_RequireNugetPackageManager
:NoVsWhere
rem Check to see if the build tool source files have changed. Some can be included conditionally based on NDA access.
:Compile
md Cache\Intermediate >nul 2>nul
dir /s /b Source\Tools\Flax.Build\*.cs >Cache\Intermediate\Flax.Build.Files.txt
fc /b Cache\Intermediate\Build\Flax.Build.Files.txt Cache\Intermediate\Build\Flax.Build.PrevFiles.txt >nul 2>nul
if not errorlevel 1 goto SkipClean
copy /y Cache\Intermediate\Build\Flax.Build.Files.txt Cache\Intermediate\Build\Flax.Build.PrevFiles.txt >nul
%MSBUILD_EXE% /nologo /verbosity:quiet Source\Tools\Flax.Build\Flax.Build.csproj /property:Configuration=Release /property:Platform=AnyCPU /target:Clean
:SkipClean
%MSBUILD_EXE% /nologo /verbosity:quiet Source\Tools\Flax.Build\Flax.Build.csproj /property:Configuration=Release /property:Platform=AnyCPU /target:Build
if errorlevel 1 goto Error_CompileFailed
rem Run the build tool using the provided arguments.
copy /y Cache\Intermediate\Build\Flax.Build.Files.txt Cache\Intermediate\Build\Flax.Build.PrevFiles.txt >nul
%MSBUILD_PATH% /nologo /verbosity:quiet Source\Tools\Flax.Build\Flax.Build.csproj /property:Configuration=Release /property:Platform=AnyCPU /target:Clean
:SkipClean
%MSBUILD_PATH% /nologo /verbosity:quiet Source\Tools\Flax.Build\Flax.Build.csproj /property:Configuration=Release /property:Platform=AnyCPU /target:Build
if errorlevel 1 goto Error_CompilationFailed
Binaries\Tools\Flax.Build.exe %*
if errorlevel 1 goto Error_FlaxBuildFailed
rem Done.
exit /B 0
:Error_BatchFileInWrongLocation
echo.
echo CallBuildTool ERROR: The batch file does not appear to be located in the root directory. This script must be run from within that directory.
echo.
:Error_MissingLFS
echo CallBuildTool ERROR: Repository was not cloned using Git LFS
goto Exit
:Error_InvalidLocation
echo CallBuildTool ERROR: The script is in invalid directory.
goto Exit
:Error_NoVisualStudioEnvironment
echo.
echo CallBuildTool ERROR: We couldn't find a valid installation of Visual Studio. This program requires Visual Studio 2015. Please check that you have Visual Studio installed, then verify that the HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\14.0\InstallDir (or HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\14.0\InstallDir on 32-bit machines) registry value is set. Visual Studio configures this value when it is installed, and this program expects it to be set to the '\Common7\IDE\' sub-folder under a valid Visual Studio installation directory.
echo.
echo CallBuildTool ERROR: Missing Visual Studio 2015 or newer.
goto Exit
:Error_RequireNugetPackageManager
echo.
echo CallBuildTool ERROR: NuGet Package Manager is requried to be installed to use %MSBUILD_EXE%. Please run the Visual Studio Installer and add it from the individual components list (in the 'Code Tools' category).
echo.
goto Exit
:Error_CompileFailed
echo.
:Error_CompilationFailed
echo CallBuildTool ERROR: Failed to compile Flax.Build project.
echo.
goto Exit
:Error_FlaxBuildFailed
echo.
echo CallBuildTool ERROR: Flax.Build tool failed.
echo.
goto Exit
:Exit
rem Exit with error.
exit /B 1
+21 -36
View File
@@ -2,72 +2,57 @@
rem Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
set MSBUILD_EXE=
set MSBUILD_PATH=
rem Try to get the MSBuild 15 path using vswhere (see https://github.com/Microsoft/vswhere).
if not exist "%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" goto no_vswhere
if not exist "%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" goto VsWhereNotFound
for /f "delims=" %%i in ('"%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere" -latest -products * -requires Microsoft.Component.MSBuild -property installationPath') do (
if exist "%%i\MSBuild\15.0\Bin\MSBuild.exe" (
set MSBUILD_EXE="%%i\MSBuild\15.0\Bin\MSBuild.exe"
goto Succeeded
set MSBUILD_PATH="%%i\MSBuild\15.0\Bin\MSBuild.exe"
goto End
)
)
:no_vswhere
:VsWhereNotFound
rem Check for MSBuild 15. This is installed alongside Visual Studio 2017, so we get the path relative to that.
call :ReadInstallPath Microsoft\VisualStudio\SxS\VS7 15.0 MSBuild\15.0\bin\MSBuild.exe
if not errorlevel 1 goto Succeeded
rem Try to get the MSBuild 14.0 path directly (see https://msdn.microsoft.com/en-us/library/hh162058(v=vs.120).aspx).
if exist "%ProgramFiles(x86)%\MSBuild\14.0\bin\MSBuild.exe" (
set MSBUILD_EXE="%ProgramFiles(x86)%\MSBuild\14.0\bin\MSBuild.exe"
goto Succeeded
set MSBUILD_PATH="%ProgramFiles(x86)%\MSBuild\14.0\bin\MSBuild.exe"
goto End
)
rem Try to get the MSBuild 14.0 path from the registry.
call :ReadInstallPath Microsoft\MSBuild\ToolsVersions\14.0 MSBuildToolsPath MSBuild.exe
if not errorlevel 1 goto Succeeded
call :GetInstallPath Microsoft\VisualStudio\SxS\VS7 15.0 MSBuild\15.0\bin\MSBuild.exe
if not errorlevel 1 goto End
call :GetInstallPath Microsoft\MSBuild\ToolsVersions\14.0 MSBuildToolsPath MSBuild.exe
if not errorlevel 1 goto End
call :GetInstallPath Microsoft\MSBuild\ToolsVersions\12.0 MSBuildToolsPath MSBuild.exe
if not errorlevel 1 goto End
call :GetInstallPath Microsoft\MSBuild\ToolsVersions\4.0 MSBuildToolsPath MSBuild.exe
if not errorlevel 1 goto End
rem Check for older versions of MSBuild. These are registered as separate versions in the registry.
call :ReadInstallPath Microsoft\MSBuild\ToolsVersions\12.0 MSBuildToolsPath MSBuild.exe
if not errorlevel 1 goto Succeeded
call :ReadInstallPath Microsoft\MSBuild\ToolsVersions\4.0 MSBuildToolsPath MSBuild.exe
if not errorlevel 1 goto Succeeded
rem Searching failed.
exit /B 1
rem Searching done!
:Succeeded
:End
exit /B 0
rem Subroutine to query the registry under HKCU/HKLM Win32/Wow64 software registry keys for a certain install directory.
rem Arguments:
rem %1 = Registry path under the 'SOFTWARE' registry key
rem %2 = Value name
rem %3 = Relative path under this directory to look for an installed executable.
:ReadInstallPath
:GetInstallPath
for /f "tokens=2,*" %%A in ('REG.exe query HKCU\SOFTWARE\%1 /v %2 2^>Nul') do (
if exist "%%B%%3" (
set MSBUILD_EXE="%%B%3"
set MSBUILD_PATH="%%B%3"
exit /B 0
)
)
for /f "tokens=2,*" %%A in ('REG.exe query HKLM\SOFTWARE\%1 /v %2 2^>Nul') do (
if exist "%%B%3" (
set MSBUILD_EXE="%%B%3"
set MSBUILD_PATH="%%B%3"
exit /B 0
)
)
for /f "tokens=2,*" %%A in ('REG.exe query HKCU\SOFTWARE\Wow6432Node\%1 /v %2 2^>Nul') do (
if exist "%%B%%3" (
set MSBUILD_EXE="%%B%3"
set MSBUILD_PATH="%%B%3"
exit /B 0
)
)
for /f "tokens=2,*" %%A in ('REG.exe query HKLM\SOFTWARE\Wow6432Node\%1 /v %2 2^>Nul') do (
if exist "%%B%3" (
set MSBUILD_EXE="%%B%3"
set MSBUILD_PATH="%%B%3"
exit /B 0
)
)
+2 -2
View File
@@ -3,10 +3,10 @@
"Version": {
"Major": 1,
"Minor": 0,
"Build": 6214
"Build": 6216
},
"Company": "Flax",
"Copyright": "Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.",
"Copyright": "Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.",
"GameTarget": "FlaxGame",
"EditorTarget": "FlaxEditor"
}
+2 -17
View File
@@ -6,34 +6,19 @@ setlocal
pushd
echo Generating Flax Engine project files...
rem Make sure the batch file exists in the root folder.
if not exist "%~dp0\Source" goto Error_BatchFileInWrongLocation
if not exist "Development\Scripts\Windows\CallBuildTool.bat" goto Error_BatchFileInWrongLocation
rem Run Flax.Build to generate Visual Studio solution and project files (also pass the arguments)
call "Development\Scripts\Windows\CallBuildTool.bat" -genproject %*
if errorlevel 1 goto Error_BuildToolFailed
if errorlevel 1 goto BuildToolFailed
rem Done.
popd
echo Done!
exit /B 0
:Error_BatchFileInWrongLocation
echo.
echo The batch file does not appear to be located in the root directory. This script must be run from within that directory.
echo.
pause
goto Exit
:Error_BuildToolFailed
echo.
:BuildToolFailed
echo Flax.Build tool failed.
echo.
pause
goto Exit
:Exit
rem Restore original directory before exit.
popd
exit /B 1
Regular → Executable
View File
+2 -16
View File
@@ -6,32 +6,18 @@ setlocal
pushd
echo Performing the full package...
rem Make sure the batch file exists in the root folder.
if not exist "%~dp0\Source" goto Error_BatchFileInWrongLocation
if not exist "Development\Scripts\Windows\CallBuildTool.bat" goto Error_BatchFileInWrongLocation
rem Run the build tool.
call "Development\Scripts\Windows\CallBuildTool.bat" -deploy -deployEditor -deployPlatforms -verbose -log -logFile="Cache\Intermediate\PackageLog.txt" %*
if errorlevel 1 goto Error_BuildToolFailed
if errorlevel 1 goto BuildToolFailed
rem Done.
popd
echo Done!
exit /B 0
:Error_BatchFileInWrongLocation
echo.
echo The batch file does not appear to be located in the root directory. This script must be run from within that directory.
echo.
goto Exit
:Error_BuildToolFailed
echo.
:BuildToolFailed
echo Flax.Build tool failed.
echo.
goto Exit
:Exit
rem Restore original directory before exit.
popd
exit /B 1
+3 -17
View File
@@ -6,32 +6,18 @@ setlocal
pushd
echo Building and packaging Flax Editor...
rem Make sure the batch file exists in the root folder.
if not exist "%~dp0\Source" goto Error_BatchFileInWrongLocation
if not exist "Development\Scripts\Windows\CallBuildTool.bat" goto Error_BatchFileInWrongLocation
rem Run Flax.Build to generate Visual Studio solution and project files (also pass the arguments)
rem Run the build tool.
call "Development\Scripts\Windows\CallBuildTool.bat" -deploy -deployEditor -verbose -log -logFile="Cache\Intermediate\PackageLog.txt" %*
if errorlevel 1 goto Error_BuildToolFailed
if errorlevel 1 goto BuildToolFailed
rem Done.
popd
echo Done!
exit /B 0
:Error_BatchFileInWrongLocation
echo.
echo The batch file does not appear to be located in the root directory. This script must be run from within that directory.
echo.
goto Exit
:Error_BuildToolFailed
echo.
:BuildToolFailed
echo Flax.Build tool failed.
echo.
goto Exit
:Exit
rem Restore original directory before exit.
popd
exit /B 1
+3 -17
View File
@@ -6,32 +6,18 @@ setlocal
pushd
echo Building and packaging platforms data...
rem Make sure the batch file exists in the root folder.
if not exist "%~dp0\Source" goto Error_BatchFileInWrongLocation
if not exist "Development\Scripts\Windows\CallBuildTool.bat" goto Error_BatchFileInWrongLocation
rem Run Flax.Build to generate Visual Studio solution and project files (also pass the arguments)
rem Run the build tool.
call "Development\Scripts\Windows\CallBuildTool.bat" -deploy -deployPlatforms -verbose -log -logFile="Cache\Intermediate\PackageLog.txt" %*
if errorlevel 1 goto Error_BuildToolFailed
if errorlevel 1 goto BuildToolFailed
rem Done.
popd
echo Done!
exit /B 0
:Error_BatchFileInWrongLocation
echo.
echo The batch file does not appear to be located in the root directory. This script must be run from within that directory.
echo.
goto Exit
:Error_BuildToolFailed
echo.
:BuildToolFailed
echo Flax.Build tool failed.
echo.
goto Exit
:Exit
rem Restore original directory before exit.
popd
exit /B 1
Regular → Executable
View File
+6 -5
View File
@@ -16,10 +16,6 @@ This repository contains full source code of the Flax (excluding NDA-protected p
* [Forum](https://forum.flaxengine.com)
* [Roadmap](https://trello.com/b/NQjLXRCP/flax-roadmap)
# Flax plugin for Visual Studio
Flax Visual Studio extension provides better programming workflow, C# scripts debugging functionality and allows to attach to running engine instance to debug C# source. This extension is available to download [here](https://marketplace.visualstudio.com/items?itemName=Flax.FlaxVS).
# Screenshots
![rendering](Development/Images/flax-pic-1.jpg "Rendering")
@@ -30,6 +26,10 @@ Flax Visual Studio extension provides better programming workflow, C# scripts de
Follow the instructions below to compile and run the engine from source.
## Flax plugin for Visual Studio
Flax Visual Studio extension provides better programming workflow, C# scripts debugging functionality and allows to attach to running engine instance to debug C# source. This extension is available to download [here](https://marketplace.visualstudio.com/items?itemName=Flax.FlaxVS).
## Windows
* Install Visual Studio 2015 or newer
@@ -38,7 +38,8 @@ Follow the instructions below to compile and run the engine from source.
* Clone repo (with LFS)
* Run **GenerateProjectFiles.bat**
* Open `Flax.sln` and set solution configuration to **Editor.Development** and solution platform to **Win64**
* Compile Flax project (hit F7 key)
* Set Flax or FlaxEngine as startup project
* Compile Flax project (hit F7 or CTRL+Shift+B)
* Run Flax (hit F5 key)
## Linux
+4 -5
View File
@@ -3,7 +3,7 @@
rem Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
setlocal
pushd
pushd %~dp0
echo Registering Flax Engine project files...
rem Check the current versions config
@@ -14,13 +14,13 @@ if not exist "%appdata%\Flax\Versions.txt" (
)
set EngineLocation=%cd%
find /c "%EngineLocation%" "%appdata%\Flax\Versions.txt"
if %errorlevel% equ 1 goto notfound
if %errorlevel% equ 1 goto NotFound
echo Already registered.
goto Done
rem Register the location (append to the end)
:notfound
echo Location '%EngineLocation%' is not registered. Adding it to the lsit of engine versions.
:NotFound
echo Location '%EngineLocation%' is not registered. Adding it to the list of engine versions.
echo %EngineLocation%>>"%appdata%\Flax\Versions.txt"
goto Done
@@ -31,6 +31,5 @@ echo Done!
exit /B 0
:Exit
rem Restore original directory before exit.
popd
exit /B 1
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
#include "EditorAnalytics.h"
#include "EditorAnalyticsController.h"
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
#pragma once
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
#include "EditorAnalyticsController.h"
#include "Editor/Cooker/GameCooker.h"
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
#pragma once
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using System;
using Newtonsoft.Json;
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
namespace FlaxEditor.Content.Create
{
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using System;
using System.Collections.Generic;
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using System;
using System.IO;
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using System;
using FlaxEditor.Content.Settings;
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using System;
using FlaxEngine;
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using FlaxEditor.GUI;
using FlaxEditor.GUI.Drag;
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using FlaxEditor.GUI.Drag;
using FlaxEditor.SceneGraph;
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using System;
using System.Collections.Generic;
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
namespace FlaxEditor.Content
{
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
namespace FlaxEditor.Content.Import
{
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using System.ComponentModel;
using System.Reflection;
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using System.IO;
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using System.Collections.Generic;
using System.IO;
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using System;
using System.Collections.Generic;
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using System.ComponentModel;
using System.Runtime.CompilerServices;
@@ -262,9 +262,9 @@ namespace FlaxEditor.Content.Import
public int BaseLOD { get; set; } = 0;
/// <summary>
/// The amount of LODs to include in the model (all reaming ones starting from Base LOD will be generated).
/// The amount of LODs to include in the model (all remaining ones starting from Base LOD will be generated).
/// </summary>
[EditorOrder(1120), DefaultValue(4), Limit(1, Model.MaxLODs), EditorDisplay("Level Of Detail", "LOD Count"), Tooltip("The amount of LODs to include in the model (all reaming ones starting from Base LOD will be generated).")]
[EditorOrder(1120), DefaultValue(4), Limit(1, Model.MaxLODs), EditorDisplay("Level Of Detail", "LOD Count"), Tooltip("The amount of LODs to include in the model (all remaining ones starting from Base LOD will be generated).")]
public int LODCount { get; set; } = 4;
/// <summary>
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using FlaxEngine;
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using System.Collections.Generic;
using System.ComponentModel;
+2 -2
View File
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using System;
using System.IO;
@@ -58,7 +58,7 @@ namespace FlaxEditor.Content
public override bool OnMouseDoubleClick(Vector2 location, MouseButton button)
{
return Item.OnMouseDoubleClick(Item.ScreenToClient(ClientToScreen(location)), button);
return Item.OnMouseDoubleClick(Item.PointFromScreen(PointToScreen(location)), button);
}
}
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using System;
using System.Text;
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using FlaxEngine;
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using System;
using System.Collections.Generic;
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using System;
using System.Collections.Generic;
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using FlaxEngine;
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using FlaxEngine;
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using System;
using FlaxEngine;
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using FlaxEngine;
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using System;
using FlaxEngine;
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using System;
using FlaxEngine;
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using System.Text;
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using FlaxEngine;
@@ -1,4 +1,4 @@
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using System;
using System.Collections.Generic;

Some files were not shown because too many files have changed in this diff Show More